ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
agl7-Galaxy has quit [Quit: Leaving]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
derzahl has joined #aarch64-laptops
xroumegue has quit [Ping timeout: 480 seconds]
xroumegue has joined #aarch64-laptops
Cyrinux9 has quit []
Cyrinux9 has joined #aarch64-laptops
ptitSeb_ has joined #aarch64-laptops
ptitSeb has quit [Ping timeout: 480 seconds]
derzahl has quit [Ping timeout: 480 seconds]
<jhovold>
steev: you're hitting race so any random changes in timing could potentially determine whether you trigger the bug or not
<jhovold>
and you said you saw it also with 6.3, but not just every boot, right?
<jhovold>
but the commit that enabled regmap caching until the device is enumerated is not to blame here, that one only changed the symptoms of the race
<jhovold>
broonie was spot on yesterday in that the codec need to wait until the soundwire device has been enumerated
<jhovold>
I can easily reproduce the issue here by adding a short delay to the enumeration
<jhovold>
I had not realised that the soundwire subsystem was this fragile...
svarbanov has joined #aarch64-laptops
svarbanov has quit [Ping timeout: 480 seconds]
svarbanov has joined #aarch64-laptops
svarbanov has quit [Ping timeout: 480 seconds]
<clover[m]>
How would we test this? Just reboot a bunch and see if headphones work every time? BTW Guatemala trip going well I proposed to my gf
<jhovold>
clover[m]: i have a reliable reproducer here that i've tested it against, but I thought you and steev never for your headphones to work with 6.4
<jhovold>
the hope is that the two fixes will address that issue for you
<jhovold>
When you hit the race during you should see:
<jhovold>
wcd938x_codec audio-codec: ASoC: error at soc_component_read_no_lock on audio-codec for register: [0x000034b0] -16
<jhovold>
in the log and pulseaudio will not switch to the headphone if you plug them in
<jhovold>
with the fixes that message should be gone, and the headphones should work
agl7-Galaxy has quit [Remote host closed the connection]
agl7-Galaxy has joined #aarch64-laptops
agl7-Galaxy has quit []
derzahl has joined #aarch64-laptops
<jhovold>
clover[m]: yeah, i've seen that once with 6.4, but pretty sure sure I've seen it once or twice also with older kernels
<jhovold>
it looks like the fw crashed, and then the ath11k recovery looks broken
<jhovold>
either way, it's probably something that you should report to the ath11k maintainer
agl7-x13s has joined #aarch64-laptops
<steev>
jhovold: i do get audio on 6.4 with the second patch also applied :D
<agl7-x13s>
steev: I'am have switched on my X13s after some weeks. The accu was full when I switch it off, but now the accu was completely empty. That's not good! Ok now I will get you newest kernel an see what works :-)
<steev>
clover[m]: also, congrats :D
<agl7-x13s>
steev: I see 6.4 is out since 25.6.2023
<steev>
indeed it is, but i need to push a new version with johan's 2 fixes for audio
<steev>
which, i'm doing now
<agl7-x13s>
ok
<agl7-x13s>
steev: Is it still necessary to turn on the "IOMMU_DEFAULT_DMA_LAZY" switch to have a high data transfer rate on the USB-C ports?
<steev>
try it and see :) i do not heavily use usb devices so i'm not sure
<agl7-x13s>
ok
agl7-x13s has quit [Quit: Leaving]
agl7-x13s has joined #aarch64-laptops
derzahl has quit [Ping timeout: 480 seconds]
agl7-x13s has quit [Quit: Leaving]
agl7-x13s has joined #aarch64-laptops
<jhovold>
steev: thanks for confirming
<jhovold>
agl7-x13s: yes, IOMMU_DEFAULT_DMA_LAZY (or the command line parameter) is still needed
<agl7-x13s>
ok
<agl7-x13s>
jhovold: What is the command line paramter?
agl7 has joined #aarch64-laptops
agl7-x13s has quit [Quit: Leaving]
agl7-x13s has joined #aarch64-laptops
<agl7-x13s>
steev: Are you ready with a new version of 6.4.y with the two Johan's fixed for audio?
<steev>
yes? i said "which, i'm doing now"
<agl7-x13s>
ok
agl7-x13s has quit [Quit: Leaving]
agl7-x13s has joined #aarch64-laptops
agl7-x13s has quit [Remote host closed the connection]