ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi
lynndotpy has quit []
lynndotpy has joined #asahi
hdbngr has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
omidmash2 has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
omidmash has quit [Ping timeout: 480 seconds]
omidmash2 is now known as omidmash
hdbngr has joined #asahi
anticataclyst has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
KxCORP589400034558813182016 has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
gabuscus has quit []
engie has joined #asahi
tobhe has joined #asahi
hdbngr has joined #asahi
anticataclyst has joined #asahi
KxCORP589400034558813182016 has quit [Quit: Bye!]
tobhe_ has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
engie has quit [Remote host closed the connection]
engie has joined #asahi
hdbngr has joined #asahi
anticataclyst has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
engie has quit [Quit: Konversation terminated!]
anticataclyst has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
pb17 has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
the_sea_peoples has quit [Remote host closed the connection]
the_sea_peoples has joined #asahi
anticataclyst has joined #asahi
hexdump0815 has joined #asahi
engie has joined #asahi
hexdump02 has quit [Ping timeout: 480 seconds]
skipwich has quit [Remote host closed the connection]
skipwich has joined #asahi
hdbngr has joined #asahi
tobhe_ has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
cylm has quit [Quit: WeeChat 4.7.1]
tobhe has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
engie has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
engie has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
engie has quit [Quit: Konversation terminated!]
hdbngr has joined #asahi
gabuscus has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
the_sea_peoples has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
engie has joined #asahi
anticataclyst has joined #asahi
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
engie has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
KxCORP589400034558813182016 has joined #asahi
anticataclyst has joined #asahi
hdbngr has joined #asahi
gspbirel56 has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
alarumbe has quit []
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has joined #asahi
KxCORP589400034558813182016 has quit [Quit: Bye!]
hdbngr has quit [Ping timeout: 480 seconds]
KxCORP589400034558813182016 has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
the_sea_peoples has joined #asahi
hdbngr has joined #asahi
anticataclyst has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
elvishjerricco has quit [Remote host closed the connection]
elvishjerricco has joined #asahi
anticataclyst has joined #asahi
engie has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
nst has quit [Ping timeout: 480 seconds]
ravikant_ has joined #asahi
hdbngr has joined #asahi
nst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Remote host closed the connection]
kaazoo has joined #asahi
hdbngr has joined #asahi
the_sea_peoples has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
pjakobsson has quit [Remote host closed the connection]
pjakobsson has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
bjoto` has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
bjoto has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
<Seti_> suddenly the volume buttons dont seem to be working
<Seti_> im on a m1 air
<Seti_> weird because the brightness control does work
<Seti_> im on sway and i got these set in my config:
<Seti_> bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
<Seti_> bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
<Seti_> bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
<Seti_> it was working fine before
anticataclyst has joined #asahi
<j`ey> can you run those commmands in a terminal to make sure theyre working there
maettu1025 has joined #asahi
<Seti_> j`ey: pactl get-sink-volume @DEFAULT_SINK@ is unchanged after running pactl set-sink-volume \@DEFAULT_SINK@ -5%
hdbngr has joined #asahi
jadesoturi_ has quit [Quit: Even death needs to sleep sometimes...]
<Seti_> same story if i do for setting mute, seems like it is a pactl issue and not sway
<Seti_> would explain why brightness control is fine since its not pactl control, so not a hw issue or sway issue
<Seti_> aha, so i saw this issue on the asahi-audio page https://github.com/AsahiLinux/asahi-audio/issues/73
<Seti_> and there they reported that the volume control returned once something that played sound was ran on their computer
anticataclyst has quit [Ping timeout: 480 seconds]
jadesoturi has joined #asahi
<jbe> yeah, back to 100% after boot
maettu102 has quit [Ping timeout: 480 seconds]
maettu1025 is now known as maettu102
<Seti_> j`ey: i opened a video in firefox with sound and now everything is working again
<j`ey> oh
<Seti_> seems to be the same thing that they are reporting on the issue, sound control works as soon as something with sound is played
<jbe> yup
<chaos_princess> is it from reboot, or from running system?
<LarstiQ> Kinda maybe similar for me. I turn the speakers off compeltely but they're back on after reboot.
<Seti_> chaos_princess: from reboot
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
<chaos_princess> is there a chance that you have socket activation, and the server hasn't started yet
<Seti_> sounds reasonable but i havent tweaked anything like that afaik
<Seti_> at least not knowingly
<chaos_princess> i think this is default on systemd
<Seti_> gahdamn
<chaos_princess> try rebooting, run htop and see if all the various sound processes are running
<Seti_> chaos_princess: what should i look for? pipewire? wireplumber?
<chaos_princess> pipewire, wireplumber, pipewire-pulse
<chaos_princess> pactl is the pulse thing, right?
<Seti_> I think so
<Seti_> pulse-audio control
<chaos_princess> so, check all three
<Seti_> I can see pipewire, wireplumber, pipewire-pulse shooting up in htop when i press mute (currently everything working) I'll try after a reboot now
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
<Seti_> chaos_princess: ok so the sound control isnt working after reboot, but i still see all three running and when i press mute (which has no effect) i still see them shoot up in htop
<chaos_princess> well, turns out that was wrong
<chaos_princess> just to check, try running `wpctl set-volume @DEFAULT_SINK@ 10%+`
hdbngr has quit [Ping timeout: 480 seconds]
daneelrolivaw72 has quit []
anticataclyst has joined #asahi
hdbngr has joined #asahi
<Seti_> chaos_princess: wpctl get-volume @DEFAULT_SINK@ returns volume 1.00 and running wpctl set-volume @DEFAULT_SINK@ 10%- doesnt change it
<chaos_princess> well, i tried :P
<Seti_> neither does wpctl set-volume @DEFAULT_SINK@ 10%+
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
ddxtanx_ has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
ddxtanx has quit [Ping timeout: 480 seconds]
daneelrolivaw72 has joined #asahi
anticataclyst has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
hdbngr has joined #asahi
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
CME has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
CME has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
ravikant_ has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
Moprius has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
ravikant_ has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
hdbngr has joined #asahi
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
<maettu102> just append this to your ~/.zshrc or ~/.bashrc or whatever you use
<maettu102> dd if=/dev/zero bs=1024 count=1 2>/dev/null | paplay --format=s16le --rate=48000 --channels=2 --raw
<maettu102> as a workaround
hdbngr has quit [Ping timeout: 480 seconds]
weitcis_ has quit [Ping timeout: 480 seconds]
weitcis has joined #asahi
aditya_ has joined #asahi
vmeson has quit [Quit: Konversation terminated!]
rvalue- has quit [Remote host closed the connection]
rvalue has joined #asahi
ChaiTRex has joined #asahi
Chai-T-Rex has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi
vmeson has joined #asahi
jkangas has joined #asahi
kode545 has joined #asahi
kode54 has quit [Read error: Connection reset by peer]
vmeson has quit [Remote host closed the connection]
opticron has quit [Read error: Connection reset by peer]
vmeson has joined #asahi
opticron has joined #asahi
anticataclyst has joined #asahi
Moprius has quit [Ping timeout: 480 seconds]
alarumbe has joined #asahi
Moprius has joined #asahi
Moprius has quit []
chadmed has joined #asahi
ravikant_ has quit []
<chadmed> Seti_: chaos_princess: the 100% volume thing is some race or something introduced in a wp or pw update a few versions ago
<chadmed> no idea whats causing it, havent had time to do any debugging
anticataclyst has quit [Ping timeout: 480 seconds]
anticataclyst has joined #asahi
Meleody has joined #asahi
seb_ has quit [Quit: Konversation terminated!]
<Meleody> hi everyone, I have a small issue with pipewire upsampling an application requesting a 33103hz sample rate to 44100hz (prior to outputting to speaker), if anybody has a quick fix I'd appreciate it: https://github.com/AsahiLinux/asahi-audio/issues/76
<chadmed> Meleody: i saw the issue, sorry im travelling at the moment
<chadmed> the issue is that pipewire will force the _entire_ graph to the highest common sample rate, you cant have multiple things using multiple sample rates afaik
<chadmed> its nothing to do with the dsp config
<chadmed> that besides, the audio amps only support 44.1 and 48 anyway so no matter what you do something at 33.103 is going to get resampled somewhere in the chain
<Meleody> I know, I just want avoid resampling twice, because I manually route the input in my DAW where it gets properly resampled. And I thought it was strange that it accepted 66207hz but not 33103hz, but thanks for the reply :)
<Meleody> 66207hz is the highest sample rate in the graph, but it certainly isn't shared with other applications or a common one
nimprod3l has joined #asahi
<Meleody> also the highest common sample rate would be 48000hz in my config not 44100hz...
aditya_ has quit [Quit: Connection closed for inactivity]
<chadmed> is some application opening the graph at 44.1?
<chadmed> firefox will do that for example iirc
KxCORP589400034558813182016 has quit [Quit: Bye!]
KxCORP589400034558813182016 has joined #asahi
<Meleody> no firefox is running at 48000hz, everything is looking at pw-top
seb_ has joined #asahi
<Meleody> I have updated the issue to reflect the fact that resampling to 48000hz would also solve the issue
<Meleody> *resampling to 48000hz instead of 44100hz*
<chadmed> if you want pw-top and pw-cli to be more useful for debugging, go to /usr/share/wireplumber/wireplumber.conf.d/99-asahi.conf and set hide-parent to false for your device, then restart wireplumber
<chadmed> this will let userspace see the "real" speaker and mic devices so youll be able to peruse the entire node graph and pw-top will have more useful information for you
<chadmed> just remember to set hide-parent back to true when youre done debugging or things will get weird
<bgtlover[mds]> would anything weird happen if that option was set to false and then someone chose the actual speakers as a sink in an app?
<Meleody> Don't wanna talk on behalf of the devs but AFAICT from me researching my own issue TLDR: yes, it will sound worse and worst case when disabling other failsafes your speakers will literally blow up
<chadmed> it will not just sound worse, it will sound fucking terrible and also be stuck at 100% volume
<chadmed> the dsp and all the pipewire/wireplumber infrastructure to support it isnt just there because we wanted to grind xp doing side quests
<chadmed> it is absolutely 100% necessary
<chadmed> your speakers wont blow up though because speakersafetyd deals with that
seb_ has quit [Read error: Network is unreachable]
<chadmed> if you try to kill speakersafetyd the kernel will just shut the speakers off
<Meleody> I can override that option from my home directory at ~/.config/wireplumber/wireplumber.conf.d/ too right? or does the root filesystem have priority?
<bgtlover[mds]> <chadmed> "it will not just sound worse, it..." <- woe, that's unexpected! but also, I thought the speaker will just explode, so at least that one isn't a thing, or not by doing that. So the volume of that virtual sink is done in another way?
<chadmed> the volume control of the virtual sink is tied to an equal loudness correction plugin, but even if it wasnt pipewire can do virtual volumes. you just sample-wise multiply by a number between 0 and 1 lol
<chadmed> the actual hardware volume controls are always at 100% no matter what you do, and speakersafetyd enforces this
<chadmed> the pipewire virtual volume for the hardware sink is locked to 100% too by wireplumber
nimprod3l has quit [Ping timeout: 480 seconds]
Meleody has quit [Quit: Lost terminal]
Meleody has joined #asahi
Moprius has joined #asahi
anticataclyst has quit [Remote host closed the connection]
km has joined #asahi
anticataclyst has joined #asahi
anticataclyst has quit [Ping timeout: 480 seconds]
kaazoo has quit [Ping timeout: 480 seconds]
kaazoo has joined #asahi
Moprius has quit []
malfunction54 has quit [Ping timeout: 480 seconds]
rizztty has quit [Remote host closed the connection]
rizztty has joined #asahi
kode545 is now known as kode54
dani has joined #asahi
dani has quit []
kit_ty_kate has quit [Remote host closed the connection]
kit_ty_kate has joined #asahi
malfunction54 has joined #asahi
kit_ty_kate has quit [Remote host closed the connection]
kit_ty_kate has joined #asahi
kaazoo has quit [Quit: Leaving.]
WoC has quit [Remote host closed the connection]
WoC has joined #asahi
<chaos_princess> chadmed: is there a consistent repro? Cause i can always waste a bunch of time bisecting versions :P
<chadmed> chaos_princess: dunno if it's model dependent or all machines are affected but it happens ~every cold boot
<chaos_princess> and the steps? Boot, check what the volume is set to?
<chadmed> yeah pmuch, dont open anything before checking though because it seems when something opens the socket it clears whatever is blocking the volume restore
<chaos_princess> how am i supposed to not open anything before checking....?
<chaos_princess> like, not even the kde volume control or?
<chadmed> well yeah thats the problem :p
<chadmed> i just restarted the wp user service and it cleared it when i opened the plasma volume applet BUT it was obviously stuck on 100% before i did
<chadmed> at least the repro is quick
<chaos_princess> idk, full reboot isn't quick :P
<chadmed> systemctl restart --user wireplumber does it
<chaos_princess> oh, not machine reboot but just restarting wireplumber?
<chadmed> yeah, just wasnt sure if it was a reliable repro but i just did it a few more times and it seems reliable
<chaos_princess> ok, might look at it some time then
<chadmed> i might narrow it down to a specific release and bisect right now
<chaos_princess> sure, i don't intend to start until at least tomorrow (eu) anyway
<chadmed> its only 10pm and ive got nothing better to do in this weather :p
anticataclyst has joined #asahi
km has quit []
<chadmed> ffs cant bisect back far enough because libpipewire broke the api
<chadmed> unless the issue is pipewire and not wp
Brainium has joined #asahi
Brainium has quit []
KxCORP589400034558813182016 has quit [Quit: Bye!]
KxCORP589400034558813182016 has joined #asahi
<chadmed> lol pipewire 75566a238fda274bb8d8d03ce46a9fd66c4e9b23
<chadmed> this doesnt make sense though, this is a year old
<chadmed> oh but it only made it into the 1.4 series
<chadmed> its definitely the culprit though. reverting it fixes the issue
<fl0_id> chadmed that's some quick bisecting
<fl0_id> impressive!
kuu_rt has joined #asahi
km has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
kuu_rt has quit [Quit: leaving]
km has quit []
Meleody has quit [Quit: leaving]
nela5 has joined #asahi
km has joined #asahi
nela has quit [Ping timeout: 480 seconds]
nela5 is now known as nela
rvalue- has joined #asahi
km has quit []
rvalue has quit [Ping timeout: 480 seconds]
<chadmed> fl0_id: the binary search is a thing of beauty
ifthenelse has quit [Read error: Connection reset by peer]
ifthenelse8 has joined #asahi