2023-12-22
00:00matteo has quit [Ping timeout: 480 seconds]
00:00vLily9 has quit [Remote host closed the connection]
00:06zumi_ has joined #asahi-alt
00:07zumi has quit [Remote host closed the connection]
00:10matteo has joined #asahi-alt
00:11zumi_ is now known as zumi
00:18matteo has quit [Ping timeout: 480 seconds]
00:30matteo has joined #asahi-alt
00:38matteo has quit [Ping timeout: 480 seconds]
00:47matteo has joined #asahi-alt
00:55matteo has quit [Ping timeout: 480 seconds]
01:04matteo has joined #asahi-alt
01:23jeisom has quit [Quit: Leaving]
01:40jeisom has joined #asahi-alt
02:10kidplayer666 has joined #asahi-alt
02:11matteo has quit [Ping timeout: 480 seconds]
02:17mcint has joined #asahi-alt
02:21matteo has joined #asahi-alt
02:51jeisom has quit [Ping timeout: 480 seconds]
03:12vLily9 has joined #asahi-alt
03:14kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
03:15kdb424 has joined #asahi-alt
03:29matteo has quit [Ping timeout: 480 seconds]
03:29vLily9 has quit [Remote host closed the connection]
03:38matteo has joined #asahi-alt
04:07pthariensflame has joined #asahi-alt
04:13possiblemeatball has quit [Quit: Quit]
04:22kidplayer666 has quit [Quit: Connection closed for inactivity]
04:25pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
04:45matteo has quit [Ping timeout: 480 seconds]
04:53matteo has joined #asahi-alt
05:11matteo has quit [Ping timeout: 480 seconds]
05:27matteo has joined #asahi-alt
05:35matteo has quit [Ping timeout: 480 seconds]
05:46matteo has joined #asahi-alt
05:46billak has joined #asahi-alt
06:02billak has quit [Quit: Konversation terminated!]
06:04zumi_ has joined #asahi-alt
06:04zumi has quit [Remote host closed the connection]
06:05matteo has quit [Ping timeout: 480 seconds]
06:09zumi_ is now known as zumi
06:14matteo has joined #asahi-alt
07:12tpw_rulesso i've got the speaker stuff running under nixos (w/ official versions and configs) but it only works if i manually start speakersafetyd after logging into plasma. if it starts during boot, then plasma shows me no audio devices until i stop it. once i start it everything works again
07:20Glanzmann has joined #asahi-alt
07:21Glanzmanntpw_rules: Nope, but I have the same issue with Debian with the version I packages approx. around Nov 11 2023. I'll spend the next day to get on par regarding the audio stuff with Debian. So if you find anything out, please let me know, I'll do the same.
07:22leiotpw_rules: the autostart from udev works only with systemd: https://github.com/AsahiLinux/speakersafetyd/blob/main/95-speakersafetyd.rules
07:26leiochadmed: the speakersafetyd ebuild shouldn't have a systemd USE flag, as it's only used to install openrc service when it's not set - openrc and systemd service files ought to be installed unconditionally when there's no extra deps (and there are eclasses to figure out where to install service files instead of upstream pkg-config variable checks)
07:27leio(maybe one day I'll manage to get that far that I can send a bunch of PRs, that day is not yet today :( )
07:33kidplayer666 has joined #asahi-alt
08:41cow123 has quit [Ping timeout: 480 seconds]
08:45cow123 has joined #asahi-alt
09:22vLily9 has joined #asahi-alt
09:22vLily9 has quit [Remote host closed the connection]
09:23matteo has quit [Ping timeout: 480 seconds]
09:25Glanzmann has quit [Quit: EOF]
09:28matteo has joined #asahi-alt
09:36matteo has quit [Ping timeout: 480 seconds]
09:46stintelplugged in but still discharging - tried 3 different power supplies that all worked fine before
09:47stintelI have the udev rule: SUBSYSTEM=="power_supply", KERNEL=="macsmc-battery", ATTR{charge_control_end_threshold}="80"
09:47stinteland I changed that to 100 because I'm traveling today, so I can have a full battery when I leave
09:52stintelnow my original problem was: I was building chromium (gentoo), and it claimed the charger wasn't powerful enough, which is bs, I've also tried all 3 which worked fine before
09:53stinteland the battery kept discharging, estimate was ~2h remaning which isn't even enough to compile chromium (takes 4+h) so if that was right, I would have never been able to compile chromium before
09:55stintelalthough I don't have time to let it finish anymore, need to leave for the airport in less than the time it takes to compile chromium :P
09:55jannegbut yes, setting charge_control_end_threshold to 100 doesn't seem to have the desired effect
09:57stintelalso I read in the code something that charge_control_start_threshold is writeable to not confuse userspace but it's either 100 if charge_control_end_threshold is 100, otherwise it's always 75
09:58stintelso maybe I was still > 75 and didn't notice the echo 100 > charge_control_end_threshold not having worked, and somehow the plasma widget decided this meant "charger not powerful enough"
10:01matteo has joined #asahi-alt
10:09matteo has quit [Ping timeout: 480 seconds]
10:11matteo has joined #asahi-alt
10:58matteo has quit [Remote host closed the connection]
10:59matteo has joined #asahi-alt
11:04matteo_ has joined #asahi-alt
11:05matteo has quit [Read error: Connection reset by peer]
11:33aspargas2 has quit [Ping timeout: 480 seconds]
11:40aspargas2 has joined #asahi-alt
12:05zumi_ has joined #asahi-alt
12:06zumi has quit [Remote host closed the connection]
12:10zumi_ is now known as zumi
12:45matteo_ has quit [Remote host closed the connection]
12:45matteo has joined #asahi-alt
12:45matteo has quit [Read error: Connection reset by peer]
13:01matteo has joined #asahi-alt
13:01vLily9 has joined #asahi-alt
13:01vLily9 has quit [Remote host closed the connection]
13:11matteo has quit [Remote host closed the connection]
13:11matteo has joined #asahi-alt
13:18pitust has joined #asahi-alt
13:35matteo has quit [Remote host closed the connection]
13:38matteo has joined #asahi-alt
14:31possiblemeatball has joined #asahi-alt
14:33SalimTer- has quit [Ping timeout: 480 seconds]
14:33matteo has quit [Remote host closed the connection]
14:33vLily9 has joined #asahi-alt
14:33vLily9 has quit [Remote host closed the connection]
14:33matteo has joined #asahi-alt
14:35matteo_ has joined #asahi-alt
14:36jeisom has joined #asahi-alt
14:43matteo has quit [Ping timeout: 480 seconds]
14:43SalimTerryLi has joined #asahi-alt
14:43liv has quit [Quit: leaving]
14:45tpw_rulesleio: yes, all that stuff is running. the rules and service files are installed afaik. the problem seems to be that speakersafetyd starts too soon, which udev would make worse? also why is it started by the rules and wanted by multi-user.target in the service file?
14:45liv has joined #asahi-alt
14:46tpw_rules"if you omit the WantedBy=multi-user.target line and no other enabled service includes a Requires=your.service or Wants=your.service in its service definition, your service will not be started automatically. "
14:47tpw_rulesalso, if i make speakersafetyd wait 30 seconds to start, then wait 31 seconds to log in, it's still broken. so it's specifically an interaction with plasma and whatever it starts, not something else afaict
14:49possiblemeatball has quit [Quit: Quit]
14:49vLily9 has joined #asahi-alt
14:49vLily9 has quit [Remote host closed the connection]
14:52possiblemeatball has joined #asahi-alt
14:53zzywysm_tpw_rules: i'm into day 3 writing a shell script that starts with the Fedora Asahi kernel config and builds you a NixOS-Apple-Silicon kernel config, and every change i make includes a rationale
14:56tpw_ruleszzywysm_: i'm interested to see, but i did already figure out an interim solution on the wip branch. i'd like the next step to be to just use nixos's built in system but that does have some downsides
15:08zzywysm_tpw_rules: i agree it would be nice to use the built-in system, but it's kind of a wreck
15:09zzywysm_one of the oldest open issues in nixpkgs is about modernizing how the kernel stuff works
15:13kidplayer666 has quit [Quit: Connection closed for inactivity]
16:00jacksonchen666 is now known as Guest11451
16:00jacksonchen666 has joined #asahi-alt
16:05Guest11451 has quit [Remote host closed the connection]
16:07kidplayer666 has joined #asahi-alt
16:08jacksonchen666 is now known as Guest11453
16:08jacksonchen666 has joined #asahi-alt
16:10jacksonchen666 is now known as Guest11454
16:10jacksonchen666 has joined #asahi-alt
16:10Guest11453 has quit [Remote host closed the connection]
16:16Guest11454 has quit [Ping timeout: 480 seconds]
16:19eiln has quit [Quit: WeeChat 4.1.2]
16:19jacksonchen666 has quit [Quit: WeeChat 4.1.2]
16:23john-cabaj has joined #asahi-alt
16:25matteo_ has quit [Remote host closed the connection]
16:25matteo has joined #asahi-alt
16:25matteo has quit [Remote host closed the connection]
16:35possiblemeatball has quit [Quit: Quit]
16:35john-cabaj has quit [Ping timeout: 480 seconds]
16:42matteo has joined #asahi-alt
16:45jacksonchen666 has joined #asahi-alt
17:06matteo has quit [Remote host closed the connection]
17:06matteo has joined #asahi-alt
17:06matteo has quit [Remote host closed the connection]
17:22matteo has joined #asahi-alt
17:30matteo has quit [Ping timeout: 480 seconds]
17:39matteo has joined #asahi-alt
17:47matteo has quit [Ping timeout: 480 seconds]
17:56marcantpw_rules: > if it starts during boot, then plasma shows me no audio devices until i stop it.
17:57matteo has joined #asahi-alt
17:57marcanPipeWire has a check that refuses to open any cards with busy subdevices. speakersafetyd keeps a subdevice busy.
17:57marcanI fixed this with logic in PipeWire to check for a udev env var and ignore that subdevice
17:57marcanthat is set by this udev rule in speakersafetyd: KERNEL=="pcmC*D2c", ATTRS{id}=="AppleJ*", ENV{ACP_IGNORE}="1"
18:05matteo has quit [Ping timeout: 480 seconds]
18:05zumi_ has joined #asahi-alt
18:05zumi has quit [Remote host closed the connection]
18:10zumi_ is now known as zumi
18:15matteo has joined #asahi-alt
18:20vLily9 has joined #asahi-alt
18:20vLily9 has quit [Remote host closed the connection]
18:27matteo has quit [Ping timeout: 480 seconds]
18:30jeisom has quit [Ping timeout: 480 seconds]
18:36matteo has joined #asahi-alt
18:45matteo has quit [Ping timeout: 480 seconds]
18:45possiblemeatball has joined #asahi-alt
18:47tpw_rulesmarcan: i have pipewire 1.0.0 i believe so i'll double check the second. thank you for the info
18:53matteo has joined #asahi-alt
19:02vLily9 has joined #asahi-alt
19:02vLily9 has quit [Remote host closed the connection]
19:17matteo has quit [Ping timeout: 480 seconds]
19:27matteo has joined #asahi-alt
19:33kidplayer666 has quit [Quit: Connection closed for inactivity]
19:37matteo has quit [Remote host closed the connection]
19:37matteo has joined #asahi-alt
19:39nela has quit [Ping timeout: 480 seconds]
19:45matteo has quit [Remote host closed the connection]
19:46matteo has joined #asahi-alt
19:59matteo has quit [Remote host closed the connection]
20:00matteo has joined #asahi-alt
20:02nela has joined #asahi-alt
20:05matteo has quit [Remote host closed the connection]
20:06matteo has joined #asahi-alt
20:06matteo has quit [Remote host closed the connection]
20:06matteo has joined #asahi-alt
20:14matteo has quit [Ping timeout: 480 seconds]
20:22ciara has quit [Remote host closed the connection]
20:24matteo has joined #asahi-alt
20:27ciara has joined #asahi-alt
20:36jeisom has joined #asahi-alt
20:47vLily9 has joined #asahi-alt
20:47vLily9 has quit [Remote host closed the connection]
21:06vLily9 has joined #asahi-alt
21:06vLily9 has quit [Remote host closed the connection]
21:19kidplayer666 has joined #asahi-alt
21:32matteo has quit [Ping timeout: 480 seconds]
21:52vLily9 has joined #asahi-alt
21:52vLily9 has quit [Remote host closed the connection]
21:52vLily9 has joined #asahi-alt
21:52vLily9 has quit [Remote host closed the connection]
21:58matteo has joined #asahi-alt
22:10chaos_princessi can patch the ebuild and re-do it with audio checks
22:13chadmedwhen you have a moment to troubleshoot, can you go to /usr/share/wireplumber/policy.lua.d/85-asahi-policy.lua and set hide_parent = false
22:13chaos_princessthats the output, which is unfortunately rubbish, i haven't tried enabling speakers before they were done on this machine
22:15chaos_princess~arm64
22:17chaos_princessthe raw was set to 40%
22:17matteo has quit [Remote host closed the connection]
22:18matteo has joined #asahi-alt
22:18matteo has quit []
22:18chaos_princessok, setting both to 100%, the speakers is just as ear-hurtingly loud as macos, thx
22:20chaos_princesswhat specific name are you looking for, the one in the kde panel is just called "Speakers (Built-in Audio Speakers)"
22:21chaos_princessthe profile is "Default", the only other choice is "Pro Audio"
22:22chaos_princessdeleting it? that is what happened after i deleted it, it also reset volume on raw device from 100% to 40
22:23chaos_princessmedia-libs/asahi-audio-1.6
22:28chadmedin /usr/share/wireplumber/scripts/policy-asahi.lua, can you set line 20 to be `if profile == nil or profile.name ~= "HiFi" or profile.name ~= "Default" then`
22:28matteo has joined #asahi-alt
22:33chaos_princessseems like something went horribly wrong, i now have no audio devices and i do not see wireplumber in htop. Logging out and back in did not help
22:33chaos_princessheadphones do not work either
22:36matteo has quit [Ping timeout: 480 seconds]
22:39vLily9 has joined #asahi-alt
22:39vLily9 has quit [Remote host closed the connection]
22:42kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
22:42kdb424 has joined #asahi-alt
22:46vLily9 has joined #asahi-alt
22:46vLily9 has quit [Remote host closed the connection]
22:58kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
22:59chaos_princessdo you need any additional info, pipewire state dump or something?
22:59kdb424 has joined #asahi-alt
23:10possiblemeatball has quit [Quit: Quit]
23:18kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
23:20kdb424 has joined #asahi-alt