<bamse>
Marijn[m]: a coccinelle thing seems quite useful for that
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-msm
pevik has joined #linux-msm
Daanct12 has quit [Ping timeout: 480 seconds]
jhovold has joined #linux-msm
<srinik>
DylanVanAssche: sound should work all the time, I see no reason why it should not work. What kind of errors do you see in failure case?. Not to mention there are some pending slimbus patches that needs to be worked on w.r.t tearing the channels when playback/capture is done.
<DylanVanAssche>
srinik: it happens when the routing is configured. So you execute the amixer cmds, play sound for the first time with aplay (no sound). Repeat aplay and it works fine since then
<DylanVanAssche>
Maybe something is not fully initialized which is then achieved by the first time you run aplay?
<srinik>
DylanVanAssche: or the sequence or the volume setting. do you see any errors when you do not hear
<DylanVanAssche>
srinik: some underflow/overflow errors in the dmesg, but they happen as well when it works
<DylanVanAssche>
DEBUG logs are enabled though
<srinik>
DylanVanAssche: that is okay, it just happens due to the sequence of closing the slim ports and the channels
<srinik>
DylanVanAssche: what ever you are seeing is not normal, I never noticed anything like that, it worth a debug this.. am guessing its to do with order of mixers
<DylanVanAssche>
Besides those none, I checked it line-by-line. I just find it weird that it works after the second call to aplay. It only happens with the wcd codec btw
<srinik>
DylanVanAssche: which kernel version are you using?
<DylanVanAssche>
srinik: I will try to convert to your MR regarding the wcd codec to see if it improves. I use 5.18.1
<Tooniis[m]>
do the slimbus channels have different capabilities?
anholt has quit [Read error: Connection reset by peer]
anholt has joined #linux-msm
Danct12 has quit [Quit: Quitting]
Danct12 has joined #linux-msm
Danct12 has quit [Quit: Quitting]
Danct12 has joined #linux-msm
Danct12 has quit []
Danct12 has joined #linux-msm
<vknecht[m]>
any thought how to diagnose/fix such "rcu_preempt detected stalls" ? afaik it happens about when gpu/dsi/mdp should kick in... https://pastebin.com/aBnMYazg