2023-12-15
00:00livI'm sorry for my many questions, but I hope to end up with a working system and to be able to do this myself :P
00:02VeeBop8 has joined #asahi-alt
00:03lynndotpy9 has joined #asahi-alt
00:03lynndotpy has quit [Read error: Connection reset by peer]
00:03lynndotpy9 is now known as lynndotpy
00:04zzywysm has quit [Ping timeout: 480 seconds]
00:05VeeBop has quit [Ping timeout: 480 seconds]
00:05VeeBop8 is now known as VeeBop
00:14kidplayer666 has quit [Quit: Connection closed for inactivity]
00:16john-cabaj has quit [Remote host closed the connection]
00:17john-cabaj has joined #asahi-alt
00:20livI am currently in a tmux window SSH'd into a server that has a tmux window running in the background running irssi
00:25zerdox has joined #asahi-alt
00:30zerdoxjanneg, chadmed: i found that both of available 6.6 kernels break speakers volume control for me. it was and still working on 6.5. compiling both using same config, just updated some rust things because kernel required to upgrade them. do you have any ideas? i sent a strace of alsactl above
00:45chadmed_ has joined #asahi-alt
00:46chadmed_liv: you dont build mesa into the kernel. mesa is the userspace component of the graphics stack.
00:46chadmed_once you install rust aand bindgen, you need to rebuild the kernel with RUST=y and DRM_ASAHI=m
00:46chadmed_zerdox: refer to above. speakersafetyd locks the kcontrols. there is no way around this and we will not be providing facilities for them to be unlocked. use pipewire.
00:48zerdoxchadmed_: i do use pipewire, volume control just works on 6.5 but doesn't on 6.6. i use pavucontrol or pwctl to change volume
00:49zerdoxalso as i mentioned before i can change volume of my right speaker, that's strange and i am sure it is not intended behavior
00:52chadmed_please clear out /etc/wireplumber/ and /etc/pipewire/ if they exist and reinstall asahi-audio, wireplumber and pipewire
01:06chadmed_run `echo -n "J313" | sudo tee /sys/class/sound/card0/id` and then log out and log back in
01:11zerdox has quit [Read error: No route to host]
02:34eiln has joined #asahi-alt
03:21jeisom has quit [Ping timeout: 480 seconds]
04:29possiblemeatball has quit [Quit: Quit]
06:09chadmed_ has quit [Quit: Page closed]
06:38kidplayer666 has joined #asahi-alt
08:08marcan< yuka> also when I unload and load the snd_soc_macaudio again my system sometimes locks up <- unloading modules is basically completely untested and expected to be broken in all sorts of ways :p
08:08marcan< yuka> I updated to kernel asahi-6.6-9, speakersafetyd 0.1.7, asahi-audio e1ccf5f. With a freshly booted system the speakers are unlocked, then once I start playing something they immediately become "Speaker volumes locked: Lock timeout" <- IIRC this happens when the routing is configured wrong, which means PW/ALSA UCM didn't do its job.
08:08marcannote that with bare ALSA it's expected not to work out of the box right now, you need to manually poke the routing settings in alsamixer first (UCM does this when using PW)
08:11marcanI need to figure out what to do about the alt routing modes, but honestly I'm tempted to just remove all that, it just makes everything more complicated once speakersafetyd is in the mix
08:47kidplayer666 has quit [Quit: Connection closed for inactivity]
08:59kujeger has quit [Ping timeout: 480 seconds]
09:22livafter running `doas make {menu,n}config` I did not get anything matching `ASAHI` inside the document
09:22ChaosPrincessdid you enable config_rust
09:23ChaosPrincessno, specifically config_rust
09:24ChaosPrincessdon't bother
09:24ChaosPrincesscan you run make menuconfig and search for "RUSt"
09:24ChaosPrincessand say which options matched
09:25ChaosPrincessrun `make rustavailable`
09:25ChaosPrincessanything else?
09:26ChaosPrincesscan you post the full output
09:29ChaosPrincesspastebin
09:29ChaosPrincessdo not post more than 3-4 lines of text at once to irc, it makes everyone cranky
09:30ChaosPrincessdo you have clang installed?
09:33nst_ has quit [Ping timeout: 480 seconds]
09:42nst has joined #asahi-alt
09:48kujeger has joined #asahi-alt
09:55ChaosPrincessidk at this point, what does equery u clang says?
09:57livthen a traceback (because Python) and then `UnboundLocalError: cannot access local variable 'open_file' where it is not associated with a value`
10:56zerdox has joined #asahi-alt
11:04kidplayer666 has joined #asahi-alt
12:12zerdox has quit [Ping timeout: 480 seconds]
12:13zerdox has joined #asahi-alt
12:54jeisom has joined #asahi-alt
12:58zerdox has quit [Ping timeout: 480 seconds]
12:58zerdox has joined #asahi-alt
13:30zerdoxbtw it did the trick. i also had to do etc-update which i missed yesterday. how to make sound card id persistent?
13:41zerdoxi saw this link in #asahi https://github.com/AsahiLinux/linux/commit/a550cfe73050953f3be783ed6466850cc538b3e0
13:43rino has joined #asahi-alt
13:48rino has quit [Quit: leaving]
14:07tpz has joined #asahi-alt
14:12zerdox has quit [Ping timeout: 480 seconds]
14:15tpz has quit [Quit: leaving]
14:22millenialhacker has joined #asahi-alt
14:29matteo has joined #asahi-alt
14:37mpsjanneg: j`ey: to fix uclamp warning in speakersafetyd it is enough to enable UCLAMP_TASK. UCLAMP_TASK_GROUP is not needed
15:10millenialhacker has quit [Quit: Konversation terminated!]
15:11millenialhacker has joined #asahi-alt
15:18millenialhacker has quit [Quit: Konversation terminated!]
15:18millenialhacker has joined #asahi-alt
15:28j`eyliv: https://www.reddit.com/r/AsahiLinux/comments/znnvp9/has_anybody_had_any_luck_getting_hyprland_to_run/
15:31j`eyliv: this seems worth a try https://github.com/hyprwm/Hyprland/issues/1212#issuecomment-1521997314
15:47matteo has quit [Remote host closed the connection]
16:32millenialhacker has quit [Quit: Konversation terminated!]
16:33millenialhacker has joined #asahi-alt
17:10yukaI just got the speakers working correctly(?) for the first time on my MacBook Pro (14-inch, M1 Pro, 2021) on NixOS. The issues was indeed the Alsa UCM config not being visible to pipewire/wireplumber correctly. This sounds amazing!
17:21yukaj`ey: whoops, I'm still on an lsp-plugins version from before they split it into modules, let's see how that works
17:22yukaor, no, actually i am on 1.2.x, but only pulling the repo at https://github.com/sadko4u/lsp-plugins/ ?
17:25tpz has joined #asahi-alt
17:26tpz has quit []
18:34mpscould someone post link of the speakersafetyd package scipt/build system for gentoo or fedora
18:35j`eyhttps://github.com/chadmed/asahi-overlay/blob/main/sys-apps/speakersafetyd/speakersafetyd-0.1.6-r1.ebuild
18:56liv`modbrobe DRM_ASAHI` results in "modprobe: FATAL: Module drm_asahi not found in directory /lib/modules/6.6.0-asahi-10-liv"
18:59livrunning it again, it seems to return: "/lib/modules/6.6.0-asahi-10-liv" as the place it puts the stuff.
19:00liv`ls /lib/modules/6.6.0-asahi-10/kernel/drivers/gpu/drm/` returns: "apple bridge display drm_dma_helper.ko.zst panel vgem"
19:22millenialhackerQQ: do I need to do anything special to get GPU running on Gentoo?
19:25zerdox has joined #asahi-alt
19:26millenialhackerj`ey could you share the specific config entries so I can add them to my .config file?
19:28jeisom has quit [Ping timeout: 480 seconds]
19:36millenialhackerj`ey thank you. Trying it out
19:45millenialhackerIs it normal to experience network issues with wifi connection?
19:55matteo has joined #asahi-alt
19:56livNow I need to wait for DP Alt Mode to be in the kernel and then I'll replace macOS entirely /sarc
20:06tpz has joined #asahi-alt
20:15matteo_ has joined #asahi-alt
20:15matteo has quit [Read error: Connection reset by peer]
20:17matteo_ has quit []
20:23millenialhacker has quit [Remote host closed the connection]
20:30tpz has quit [Read error: Connection reset by peer]
20:45livaccording to Viola in Matrix: "yeah it causes a gpu fault sometimes when exiting, and some gpu faults may break the gpu driver"
21:14billak has joined #asahi-alt
21:21Compassion has joined #asahi-alt
21:31jacksonchen666 has joined #asahi-alt
21:42tpz has joined #asahi-alt
22:01jeisom has joined #asahi-alt
22:02tpz has quit [Ping timeout: 480 seconds]
22:07millenialhacker has joined #asahi-alt
22:08millenialhacker has quit [Remote host closed the connection]
22:10j`ey /var/tmp/portage/media-video/ffmpeg-6.1-r1/temp/build.log will be the important bit i guess
22:18leioliv: Using clang is a bit of a bigger ordeal. Maybe you want to apply the workaround for now instead
22:18billak has quit [Quit: Konversation terminated!]
22:20leiobut I haven't seen a full build log, so I'm not even sure yet it's this problem, but smells like it.
22:25leioI didn't google anything, I'm the person that wrote that dirty patch (I'm also a Gentoo maintainer)
22:27millenialhacker has joined #asahi-alt
22:29millenialhacker has quit [Remote host closed the connection]
22:29jacksonchen666 has quit [Ping timeout: 480 seconds]
22:30millenialhacker has joined #asahi-alt
22:34millenialhacker has quit [Remote host closed the connection]
22:34millenialhacker has joined #asahi-alt
22:36chadmed has quit [Quit: Konversation terminated!]
22:36chadmed has joined #asahi-alt
22:39millenialhacker has quit [Remote host closed the connection]
22:41millenialhacker has joined #asahi-alt
22:46millenialhacker has quit [Read error: No route to host]
22:47millenialhacker has joined #asahi-alt
22:54millenialhacker has quit [Remote host closed the connection]
22:55millenialhacker has joined #asahi-alt
22:57tpz has joined #asahi-alt
23:03DevEthann has joined #asahi-alt
23:05DevEthann has quit []
23:05DevEthann has joined #asahi-alt
23:08DevEthann has quit []
23:09DevEthann has joined #asahi-alt
23:09DevEthann has quit [Remote host closed the connection]
23:33DevEthann has joined #asahi-alt
23:33DevEthann has quit []
23:42livHow does sleep work exactly? Is that a command, can I create a rule that makes my laptop sleep when I close the lid? Does it automatically resume when I open the lid? etc
23:44rino has joined #asahi-alt