#
…

2023-12-14

00:03supae has quit [Ping timeout: 480 seconds]
00:03supae has joined #asahi-alt
00:14zerdox has quit [Ping timeout: 480 seconds]
00:26zerdox has joined #asahi-alt
00:34jeisom has joined #asahi-alt
00:44kidplayer666 has quit [Quit: Connection closed for inactivity]
01:15zerdox has quit [Read error: Connection reset by peer]
01:16zerdox has joined #asahi-alt
01:33supae has quit [Ping timeout: 480 seconds]
01:33supae has joined #asahi-alt
02:35jeisom has quit [Remote host closed the connection]
02:35jeisom has joined #asahi-alt
02:38supae has quit [Quit: Quit]
03:23jeisom has quit [Ping timeout: 480 seconds]
04:28phire has quit [Remote host closed the connection]
04:29phire has joined #asahi-alt
06:17zerdox has quit [Read error: Connection reset by peer]
06:17zerdox has joined #asahi-alt
06:29jannegzerdox: please do not assume that just because something was said to som,eone else applies to your situation. Also mention which device you're on. Which exact kernel version are you using?
08:10liv has joined #asahi-alt
08:12liv has quit []
08:15kidplayer666 has joined #asahi-alt
08:17liv has joined #asahi-alt
08:17livI can't seem to do /list, am I actually in here or not?
08:37chadmedliv: yeah youre here
08:41livokay :D
08:41livwell anyways
08:41livI am currently still not rebooted, the script is done and I ran the system update/rebuild
08:42livSince I needed to install stuff now, I was looking to install gui-wm/hyprland (since Wayland seems to be recommended for Asahi), but I can't seem to do so?
08:43livgui-wm/hyprland seems to be masked: `gui-wm/hyprland-0.33.1::gentoo (masked by: missing keyword)`
09:01chadmedhave you installed gentoo before?
09:01chadmedlike do you use it on your other machines?
09:06mpsI'm curious, does hyprland work on gentoo/musl
09:07livI am currently typing from one...
09:07livI have installed Gentoo before and do use Gentoo on my desktop, have used it on my laptop as well before I switched from my ThinkPad to the MacBook.
09:08mpsliv: with musl?
09:08mpsaha, ok. I tried to build it for alpine but didn't got it
09:10livI meant that I have installed Gentoo before and am typing from a machine that'
09:10livs running it rn :P
09:10sam_liv: lots of stuff isn't yet kw'd for arm64
09:10sam_you just have to put it in package.accept_keywords and then request it on bugzilla
09:12chadmedliv: ok cool just checking
09:12chadmedyou can unmask hyprland by adding its atom to /etc/portage/package.accept_keywords
09:12chadmedoh sam beat me to it
09:12chadmedsam_: do you ever sleep :p
09:13sam_what i recommend doing for stuff like this is: gui-wm/hyprland ~amd64, rather than ** or something, because then you can't accidentally get a 9999
09:13sam_and no
09:13sam_you can also do ~* which means "if it's keyworded on any arch"
09:27livah okay that makes sense
09:27livso is it like this on much more packages?
09:27chadmednah i have like 3 things unmasked
09:28chadmedi would have 0 if i submitted KEYWORD bugs
09:28j`eyso ~arm64 means 'unstable for arm64'?
09:28j`eyand newer versions, and even whole packages can be masked by that?
09:28chadmed"stable" ~= LTS
09:29chadmednot really, but same concept. well tested and supported version
09:29chadmed"unstable" ~= latest bleeding edge version
09:29sam_(note that i deliberately said ~amd64 here to say "use the ~amd64 version", given in this case, there's no ~arm64 version yet; it means you pick some version which is exposed to ~amd64 users and hence should be fine)
09:29livmakes sense
09:31livokay so I now have: gui-wm/hyprland ~amd64
09:31livdev-libs/libliftoff ~amd64
09:31livdev-libs/hyprland-protocols ~amd64
09:31livoops that was not supposed to be sent in 3 messages...
09:32livanyways I have those in /etc/portage/package.accept_keywords/hyprland
09:32livand it fails on hyprland-protocols that misses a keywords
09:32livkeyword*
09:32chadmed has quit [Remote host closed the connection]
09:33ChaosPrincessarm64, not amd64
09:33livwhy would I tag it as arm64?
09:33j`eysam_ just said amd64 would work there ^
09:34livyeah waht j`ey: say
09:35chadmed has joined #asahi-alt
09:36livhello again
09:38chadmedliv: hyprland-protocols is _only_ keyworded for amd64, not ~amd64
09:38chadmedso youve unmasked ~amd64, but there is no ebuild that satisfies that keyword
09:38chadmedso you need to explicitly say amd64
09:42livwhere can I see the keywords?
09:46chadmedin the ebuilds themselves
09:46chadmedalternatively emerge gentoolkit and use equery
09:56leioI wasn't aware amd64 KEYWORDS wouldn't imply ~amd64 in terms of package.accept_keywords against it, hmm
10:04livI thought ~amd64 automatically grabbed amd64 if needed because it's stable anyways
10:04livBut it makes sense and gives the user "the control" if they do it like this
10:13chadmedin normal circumstances it does but we're unmasking keywords so we have to be explicit
10:26leiobut do file keywording requests; not that I'd be very thrilled about hyprland personally :P
10:35livwhen I used hyprland, I loved it
10:36MichaelLong has quit [Remote host closed the connection]
10:37MichaelLong has joined #asahi-alt
10:37livbut I want to be able to run hotkeys for OBS whilst not being in OBS (having something else focussed)
10:37chadmedthe community is toxic as shit and the lead dev is a gigachud, but thats neither here nor there
10:38livbut animations..?
10:45livWhen emerging waybar I get this: https://0x0.st/HYiK.txt
10:47livmake.conf for reference: https://0x0.st/HYiq.conf
10:49leioguess you don't use a desktop profile
10:50leiobut you have pango installed with USE=X but now get cairomm pulled in, and you don't have matching USE flags on X between existing cairo and cairomm installs
10:50leioand because you aren't doing a world upgrade with --changed-use or such, it errors instead of rebuilding pango as well
10:51leio(or pango without USE=X isn't possible due to other installed packages)
10:52j`eychadmed: also j4nnau said he wouldnt look at drm/dcp issues from hyprland
10:52j`ey(but I personally think that we shouldnt otherwise try stop ppl using it)
10:53chadmedyeah idc if people use it but im not going to be fixing it
10:54chadmedliv: while work on detangling X from "desktop/gui" packages is ongoing, its not quite there yet for having -X in your USE
10:54chadmedi have it, but i have a package.use file with about 12 packages that require X for plasma to work properly
10:55chadmedits safest to set yoursel to the arm64/desktop profile and let packagers handle when X can be safely removed
10:56j`eyUSE="-pipewire" probably dont want that either?
10:57livchadmed: so I'd use `default/linux/arm64/17.0/desktop`
11:00livWAIT THAT EXISTS?
11:00livlemme read
11:00livthis is awesome tysm
11:01chadmedliv: yeah thats the one
11:03j`eythere also seems to be a 23.0/desktop?
11:05j`eycan you only have one profile? presumably thats why there's desktop/gnome desktop/plasma?
11:12livwhich macbooks do you all use?
11:12livI am on a 2023 M2 Pro 14"
11:12livbase model
11:14livand can I perhaps use someone's make.conf?
11:17j`eyif I eventually get a mini I might try out gentoo, but sticking with fedora on this air
11:18j`eyI really want to build chromium so I can try debug this wayland issue Im having, but I doubt it can handle it
11:26chadmedi have a 14" macbook pro, a 15" macbook air, an m2 max mac studio and an m2 pro mac mini
11:26chadmedall running gentoo
11:26j`eyquite the collection now
11:28leioliv: going to a different version variant involves migration steps; just for USE flag purposes switch between base, desktop, desktop/plasma, desktop/gnome, desktop/gnome/systemd and the like you'd keep the same version like 17.0 or 17.1
11:28leioI somewhat doubt you were on 17.0 before
11:29leio23.0 is in the works and not technically released yet and will involve migration steps as well that need to be done according to news item that is going to be released
11:29j`eyleio: arm64 seems to only have 17.0 and 23.0
11:29leioso if you had 17.1 before, your new choice must be 17.1 too, unless you are working on migration to a newer one
11:29leiooh, right, arm64 never had the need to do 17.1
11:30leioso you stay on a 17.0 for now
11:31leiofor desktop there's generic one, gnome one ad plasma one; and systemd or not variants of each
11:32chadmedits a bit deranged because i use clang/llvm as my system toolchain but you get the idea
11:33j`eyand systemd/merged-usr
11:35livthanks :D
11:36ChaosPrincess"-O3" - found the gentoo user :P
11:36leiothat there is a clang -O3, not gcc -O3 though ;)
11:37livleio: I switched to the desktop profile, removed all X-useflags I had assigned and made sure nothing was Xorg/Wayland-specific and just did a `emerge -avquDN @world --with-bdeps=y`
11:37livshould be enough right?
11:37livchadmed: why do you have so many Macs? /gq
11:39livleio: I was on `default/linux/arm64/17.0` before.
11:39livis `-O3` actually worth using?
11:39chadmedliv: ive been doing the speaker tuning
11:40chadmedplus i need a server, a desktop and a laptop at the minimum
11:40livDoes it break often or not? I've always been on -O2, even on painfully slow dualcores :L
11:40chadmedm a rcan sent me the 15" to do the speakers for it
11:40livthat's really nice
11:40j`eychadmed: now that the speakers work, send it my way, ta
11:40chadmedalso clang -O3 does some vectorisation that gcc does at -O2 but isnt as spec-breaking as gcc -O3
11:40chadmedor something like that
11:40livI just have some HPE enterprise servers in a rack :P
11:41livand then a "gaming" desktop that I only play minecraft on sometimes
11:41chadmedthe weirdest computer related thing i own is a hard copy of the sparcv9 architecture manual
11:41livlemme think of mine
11:42chadmedlike, the original v9 without any of oracle or fujitsu's simd/db isa extensions
11:42livhonestly I am pretty normal regarding that
11:42livexcept for my 80G Windows ISO collection because I wanted to see what they changed over the span of Windows 10 release -> now
11:42liv(did not look yet)
12:00fugi has quit [Quit: bye]
12:00fugi has joined #asahi-alt
12:11livalso chadmed: why do you have -j50?
12:12livdo you have the 192GB ram model?
12:13chadmedno i have the mini and studio as build machines
12:13chadmedusing distcc
12:14livI did that with my servers back when I used my ThinkPad, otherwise a monthly system update would take litteral days
12:18j`ey:o cool
12:18livHad 24+32+8 threads :)
12:19livbut they are slow Xeon threads so that did not really help as much as I'd like it to, oh well, they helped enough and I am happy to be on a fast M2 Pro nowadays...
12:36livchadmed: what do you recommend for wifi?
12:39livand once I have finished the install script, can I now just reboot and install stuff as normal?
12:40chadmedliv: i use iwd
12:40chadmedonce youve finished the asahi script keep following the handbook as normal
12:40chadmedthen after that its just a normal gentoo system
12:57livOn macOS, I use Karabiner-Elements to remap keys (as the built-in keyboard has a Dutch layout), can I do this system-wide on Gentoo as well?
12:57livI know that it's possible on Xorg, but that it's not a perfect solution.
13:00Compassion has quit [Ping timeout: 480 seconds]
13:00chadmedi think its DE-dependent for wayland
13:00chadmedplasma lets you just select a layout iirc
13:01livWill look into that, thanks :)
13:19livGoing to reboot now... Wish me luck!
13:22jeisom has joined #asahi-alt
13:22livit works, kind off...
13:22livI think I missed something with firmware, `ip a` shows only `lo`
13:23livbut it boots fine
13:26livlspci only shows 5 devices, is that normal?
13:30chadmedliv: paste dmesg somewhere and link
13:30chadmedor better yet, paste the output of asahi-diagnose
13:30chadmedbut yes 5 pcie devices sounds about right. basically just the wifi/bt and the sdhc slot are on pcie
13:34livcant really get a dmesg off there :P
13:34livill see what i can do
13:35livhuh, asahi-diagnose said I installed using export mode (which I did not do?)
13:36livor is archlinux-arm automatically expert mode?
13:37livUSB isnt working either
13:38chadmeddid the script build your kernel for you?
13:39chadmedokay one thing to try
13:39livuname -a returns 'Linux jugon 6.6.0-asahi-10-ARCH #1 PREEMPT_DYNAMIC Thu Dec 14 02:18:47 -00 2023 aarch GNU/Linux'
13:40livthat might help I guess?
13:40chadmedbuild a kernel with this config
13:40chadmedto build the initramfs, do dracut --kver $(make -s kernelrelease) --zstd
13:41chadmedthen grub-mkconfig -o /boot/grub/grub.cfg
13:41livHow would I go about that?
13:41chadmedsame way you would on any other gentoo system
13:41chadmedoh wait you cant get the config into the computer
13:41livI could type it over...
13:41chadmedno lets not do that :p
13:42chadmedi really need to see asahi-diagnose or dmesg to give you more info sorry
13:42livwould pictures on matrix help?
13:43j`eyno usb stick?
13:44chadmedliv: yeah but might upset some of the fedora folks since its ot. if you could upload them somewhere else and link here that would probably be better
13:45chadmedits late here now though so ill take a look tomorrow
13:45livdmesg does show some numbers and then 'usb usb1: Product: xHCI Host Controller'
13:45livI can DM you?
13:45livalright
13:45j`eyliv: put dmesg on the EFI partition
13:45j`eyboot into macOS and upload it
13:46livwait SD might work
13:46livill try
13:46livyo usb works on 1 port
13:46livill try that first
13:50livsd works too
13:50livill upload them in a few min
13:50livill try building the kernel later
13:50livlike in 30m
13:51j`eycould also upload the kernel config
13:51j`eyso which url did you curl the installer with?
13:52livsorry, asahi-diagnose was wrong, this is the correct one: https://0x0.st/HY-Z.txt
13:54chadmedhm could you try mkdir /lib/firmware/vendor/
13:54chadmedthen reboot and see what happens
13:55livbrb, 15m
13:55livit detects my wlan now
13:55livafter making the dir
13:55livill test further in a few
13:55livgotta walk my dog now lmao
13:56chadmedok cool thanks, need to own that dir in the asahi-firmware ebuild and that should never happen for anyone again
13:56chadmedyou should build a kernel though once you get rust installed so you can use the gpu
14:13livwith the config above?
14:21j`eywhen you install a package with gentoo, does it just run the `make install` directly, or does it somehow create a package that is installed?
14:41zerdox has quit [Read error: No route to host]
14:47leioit installs to a DESTDIR and then takes it from there (makes a binary package and/or copies to live filesystem)
14:48leiovia the src_install ebuild phase, which typically calls the equivalent of make install for the given build system in use by the package via eclasses having a default src_install implementation and whatnot
14:48Compassion has joined #asahi-alt
14:48leio(src_install bit does the DESTDIR install, other phases deal with it getting to filesystem from there)
14:50leiothere are some packages that handcode things in src_install via helpers, but the vast majority end up being essentially make/ninja install to DESTDIR
14:54j`eycool, so it's a bit more like a ""normal"" package manager there
14:55ChaosPrincessyou can even split the compile and install phase, and do it on separate machines
14:56j`eybindist or hostpkg or something like that
14:56j`eyterms ive seem while randomly reading about gentoo
15:24livhow can I install the GPU drivers?
15:25j`eyliv: you have to build DRM_ASAHI and install the mesa package
15:25j`eyDRM_ASAHI relies on rust
15:25livyeah i am currently insatlling rust
15:37eiln has joined #asahi-alt
15:38eiln has quit []
15:41eiln has joined #asahi-alt
15:41eiln has quit []
15:41eiln has joined #asahi-alt
15:43eiln has quit []
15:50liveverything okay? xd
16:00livj`ey: I am pretty new to kernels, how would I go about doing that? Are there docs for that somewhere?
16:00j`eyyou'll have to ask chadmed about setting up rust for gentoo
16:02livI installed rust
16:02livthat's not the issue I think
16:02j`eytrying `make rustavailable` in the linux source dir
16:03livRust bindings generator 'bindgen' could not be found.
16:03livI will Google that
16:12livCould not find anything...
16:12livchadmed:
16:30mpsso iiuc speakers works only on old m1 air?
16:31j`eythat's whats currently enabled without any kernel command line, yeah
16:32mpsj`ey: thanks. is it possible to enable them on j316 or j293?
16:32mpsI would like to test
16:32leioyou need to install bindgen, I think system package works nowadays iirc
16:33leioliv: ^^ I think there's some postinst information about it in asahi-sources too?
16:33j`eymps: with the blow up speakers kernel command line still
16:34mpsj`ey: ah ok. doesn't work in j316. I reported it to povik some time ago
16:35j`eyshould do
16:35j`eyas in, there's support in the kernel
16:36mpsno, it print kmesg that it cannot initialize it
16:37j`eymarkan was looking for someone with a machine.. but I cant remember if it was that one off the top of my head
16:38mps`rmmod snd_soc_macaudio` even remove /dev/dri/card0 on my machine, new kernels and new m1n1
16:38j`eythat sounds odd
16:39j`eydcp depends on SND/SND_PCM, but surely removing macaudio wouldnt remove all that and DCP too
16:39j`eydoes lsmod show dcp?
16:40mpsah, no dcp
16:42mpswhat should be enabled in kernel to get dcp module
16:44j`eyif you run menuconfig, and search for DRM_APPLE, it will show you what you are missing
16:45mpsI have it as yes
16:45mpseverything looks fine
16:45j`eypaste the full dmesg, or grep for dcp
16:48mpsjust grep for dcp
16:49j`eydidnt study it too much, but looks about right
16:49mpsj`ey: thanks
16:50mpslets upgrade to 6.6_11
16:57mpssame with it
16:58* mpsadd more patience to self
16:58j`eydo you have anything in /dev/dri?
16:59mpsyes, both cards till I remove audio driver
16:59mpscard0 card1 renderD128
17:00j`eydoes lsmod show macaudio depending on dcp or the other way around?
17:00mpsno deps
17:01mpsand there is no dcp module because I've built DRM_APPLE=y
17:02mpsnow I go to check on j293, will be afk for some time
17:31livleio: where could I find that information?
17:32livoops, didnt read the ebuild cargo message :P
17:33livleio: I'll just install dev-util/bindgen for now to try it out
17:36mpsj`ey: same behavior with j293
17:40Compassion has quit [Quit: lounge quit]
17:47Compassion has joined #asahi-alt
17:50livRust compiler 'rustc' is too new. This may or may not work.
17:50livRust bindings generator 'bindgen' is too new. This may or may not work.
18:04Compassion has quit [Quit: lounge quit]
18:06j`eymps: same behaviur like https://tpaste.us/YY6e ?
18:08mpsj`ey: I didn't tried 'diff' but looks like same
18:30Compassion has joined #asahi-alt
18:32Compassion has quit []
18:46jannegdcp depends on snd_pcm but I don't see how removing snd_soc_macaudio should influence any of those
19:05cyrinux has quit []
19:06cyrinux has joined #asahi-alt
19:08jannegmps: are those timestamps time since boot? Please reboot with the mod option set
19:13jannegmps: do you have CONFIG_REGULATOR_FIXED_VOLTAGE
19:14mpsjanneg: what means 'mod' option? and how to set it? in kernel cmdline?
19:15jannegthe speaker option
19:16mpsah don't have REGULATOR_FIXED_VOLTAGE
19:17mpsrebuilding it with =y
19:21mikee30008 has quit [Quit: The Lounge - https://thelounge.chat]
19:22mikee30008 has joined #asahi-alt
19:27mpsjanneg: REGULATOR_FIXED_VOLTAGE=y fixed it. many thanks
19:30mpsand speakersafetyd works
19:31mpsnow, how to control speakers volume
19:33livI ran `doas make -j10 && doas make -j10 modules_install` to compile my kernel. It's done now, what do I do now?
19:35mpsI have this 'WARN [speakersafetyd::uclamp] Failed to set uclamp' as output from speakersafetyd when started it
19:38j`eymps: you need the UCLAMP kernel config option
19:38j`eyUCLAMP_TASK
19:39jannegUCLAMP_TASK/UCLAMP_TASK_GROUP
19:39j`eywas just checking if you needed both, but there you go!
19:41j`eymps: that allows speakersafetyd to run on the e/little cores
19:41j`ey(but seems to be a warning, not an error)
19:41jannegI'm not sure either, I just checked what the fedora kernel has enabled
19:43j`eyah, GROUP seems to be cgroup support
19:43j`ey(probably not used much on alpine?)
19:56mpsaha, thanks booth. will build again now
20:08mpsfine, one of these (UCLAMP_TASK/UCLAMP_TASK_GROUP) fixes this warning with speakersafetyd
20:09mpsbut alsamixer can't change volume on speakers
20:10possiblemeatball has joined #asahi-alt
20:26possiblemeatball has quit [Quit: Quit]
20:26possiblemeatball has joined #asahi-alt
20:26possiblemeatball has quit []
20:31possiblemeatball has joined #asahi-alt
20:38possiblemeatball has quit [Quit: Quit]
20:39possiblemeatball has joined #asahi-alt
20:39possiblemeatball has quit [Remote host closed the connection]
20:39possiblemeatball has joined #asahi-alt
20:57Compassion has joined #asahi-alt
21:03chadmedmps: yes that is intentional
21:03chadmedspeakersafetyd controls the mixer elems. it has to, theres no other way to do this
21:03chadmeduse pipewire as a system daemon
21:04chadmedliv: you can just use the gentoo-packaged rust and bindgen these days. the number of nightly features in the kernel is down enough that mainline rust doesnt error
21:05chadmedthat warning about it being too new doesnt matter
21:06mpschadmed: thanks for info
21:06mpsthough I don't like pipewire
21:08chadmedwell unfortunately theres no other way to sanely drive these machines. you can even have pipewire create an alsa sink so your workflow doesnt have to change at all
21:10mpsok, will look at it. modern things looks inevitable
21:24j`eytheyre modern computers after all!
21:24kidplayer666 has quit [Quit: Connection closed for inactivity]
21:52mpsj`ey: hah, I'm not modern ;)
21:52kidplayer666 has joined #asahi-alt
21:58SalimTerryLi has joined #asahi-alt
22:02SalimTer- has quit [Ping timeout: 480 seconds]
22:06Compassion has quit [Quit: lounge quit]
22:34livchadmed: I figured I'd give it a try, installed rust and bindgen using emerge
22:35livworked fine, kernel has been compiled, but I don't really know where to go from now
22:35livI've always used dist-kernels and stuff got taken care of :P
22:35lividk grammar :P
22:43j`eyyou need to build an initramfs and run grub
22:43j`eys/run/update/
22:47livHow do I build an initramfs?
22:48livIs that `dracut --kver something something`?
22:53j`eyhm, i wonder why that relies on /boot as ESP
23:00livj`ey: ${KERNVER} does not return anything, however
23:00livchadmed: Is it safe to build using those commands?
23:00j`eyright, you have to make that match wat you just installed
23:00j`eybut yeah, best wait for him
23:12livokay this is weird... I installed media-libs/mesa right? It has installed mesa::gentoo for some reason...
23:18livcurrently emerging `media-libs/mesa-23.3.0_pre20230904`
23:18livI should clarify; I meant: `media-libs/mesa-23.3.0_pre20230904::asahi`
23:20livETA is 25 minutes from now, according to `genlop`.
23:21liv(that's only for llvm, then I need llvm-toolchain-symlinks which is not that big iirc and then I need mesa itself.)
23:31sam_i continue to tell chadmed he should be doing dist kernels for this stuff too :p
23:54livPlease yes...
23:59zzywysm_ has joined #asahi-alt
…