ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
Startdust has quit [Read error: Connection reset by peer]
<abby>
is this a known issue with the gpu on x13s? https://0x0.st/8xDp.txt I'm seeing it on 6.12.28+ and 6.14.8 (6.12.20 is fine)
<abby>
i use the dtb that matches each kernel version, and it's happening with linux-firmware both 20250410 and 20250311. easy way to trigger it is doing something that needs the gpu, like launching kitty or sway
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
kalebris has quit [Remote host closed the connection]
kalebris has joined #aarch64-laptops
<steev>
abby: im on 6.12.30 and do not see it (in sway)
<abby>
yeah, zdykstra couldn't reproduce with kde wayland
<abby>
so there might be another variable
<abby>
nevermind zdykstra is seeing it
<steev>
what did they do to trigger it
<abby>
have there been any new necessary modules added recently?
<steev>
not that i am aware of
<abby>
i think it was just launching kde, but it was falling back to sw rendering
<steev>
i've been using gnome for a while on 6.14 (admittedly my kernel, not the debian one) and haven't seen it at all (gnome on wayland, not xorg)
<steev>
just switched back to 6.12 to test the bluetooth patch
<abby>
new data point: 6.13.12 works with sway
<abby>
and i can confirm 6.13.12 works with kitty
chrisl has joined #aarch64-laptops
pabs has quit [Read error: Connection reset by peer]
pabs has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev>
was it launching kitty on kde?
tobhe_ has joined #aarch64-laptops
<abby>
it's 3 different cases: kitty on i3 (me), kde wayland (zdykstra), sway (someone else), all on void
hexdump0815 has joined #aarch64-laptops
<steev>
what version of mesa?
hexdump01 has quit [Ping timeout: 480 seconds]
<abby>
24.3.3
<abby>
.4*
<steev>
25.0.5 here
<steev>
and not seeing it
<steev>
have tried sway, gnome on wayland
<abby>
ok, will have to check that later
chrisl has joined #aarch64-laptops
<abby>
i guess that makes sense if it is
tobhe has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<abby>
no dice with mesa 25.1.1, and here's a grep for msm of the full dmesg: https://0x0.st/8xdp.txt
<HdkR>
`*ERROR* Unable to load qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn` That's a pretty damning log. Mesa versions wouldn't resolve that
<abby>
not the problem, as that's been happening for a while, even on working versions
<abby>
that's just saying that firmware isn't in the initramfs, iirc
<HdkR>
Ah, early message. Cool
<steev>
is the sqe firmware in there?
<steev>
in the initramfs
<abby>
no
<abby>
I've tried adding it before but it didn't change iirc
chrisl has joined #aarch64-laptops
<steev>
and nothing in /sys/kernel/debug/devices_deferred ?
martiert_ has joined #aarch64-laptops
martiert_work has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<abby>
will have to check tomorrow
<steev>
I know at one point I was running into the gpu locking up, but i haven't seen it not power up. I know that robclark said that it can get funky if you have the sqe firmware but not the zap? in the initramfs, but you say you don't have that
fantom has quit [Ping timeout: 480 seconds]
<abby>
which firmware is sqe? i assumed that was a typo of the
chrisl has joined #aarch64-laptops
<JensGlathe[m]>
I usually have all 3 of them, .gmu, .sqe and zap in the initramfs.
chrisl has quit [Ping timeout: 480 seconds]
<valpackett>
pmos has none of those in initramfs, no gpu driver either so it doesn't even try anything before mounting the actual rootfs
fantom has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<steev>
weird, then it shouldn't error out at being unable to load the firmware?
<steev>
oh wait, you said pmos, abby is using void
<steev>
jhovold: btw, i found https://patches.linaro.org/project/linux-bluetooth/patch/20240821091340.424248-1-quic_chejiang@quicinc.com/ from around 9 months ago, since applying it, i cannot reproduce the unexpected event message. I sent a reply (thought gse seemed to butcher it and there's no subject now) to ask if it just fell through the cracks because bluetooth's patchwork has it marked as superseded but i can't find what replaced it
chrisl has joined #aarch64-laptops
<jhovold>
steev: ok, let's see what the authour replies, sounds like it's mostly benign but one less random error is always good
<jhovold>
valpackett, steev: that's not good at all, seeking sounds like a pretty standard operation
<jhovold>
I would expect there to be more bugs in the new iris driver, but one would hope something like this would have been fixed in venus long ago
<steev>
jhovold: bryanodonoghue said something about sending an email to the list, but i dunno if he did (and not trying to call him out if he didn't) but no idea, i *think* i saw him say something about them tracking it internally in linaro
<jhovold>
then again, we are only just now starting to enable video acceleration in mainline on machines that people actually use
<JensGlathe[m]>
What an odd thing to say
chrisl has quit [Ping timeout: 480 seconds]
<jhovold>
yeah, there are issues like that all over, hopefully more users hitting and reporting this will add some pressure but someone still needs to find time to work on it
<jhovold>
JensGlathe[m]: which part?
<JensGlathe[m]>
Actually all of it
<JensGlathe[m]>
But also no offense
<jhovold>
I'm lost about what your point is, I'm afraid
<jhovold>
are you referring to what I said or what steev mentioned bryan may have said?
<steev>
i'll be honest, i'm also lost but i never take offense, i was around when the internet was new
<jhovold>
just want to clear out any misunderstanding if something I said was unclear
<JensGlathe[m]>
No, sorry for the confusion. I meant your statement about just now mainlining video acceleration on hardware people actually use. That sounds at least interesting, all things considered (that i know)
<jhovold>
I was referring to qcom hw
<jhovold>
as in enabling it on qcom based laptops running mainline, and not just on the odd demo devboard
chrisl has joined #aarch64-laptops
<JensGlathe[m]>
jhovold and I guess we’re on the same page. Appreciate what you’re doing.
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]>
The PS8830 on the HP X14 has gone AWOL btw
<dgilmore>
steev: are you saying you are old?
ravikant_ has joined #aarch64-laptops
reng_ has joined #aarch64-laptops
reng has quit [Ping timeout: 480 seconds]
* travmurav[m]
somehow remembers trying to use Venus on old 8916
<travmurav[m]>
best attempt could decode h264 for about 2hrs, at which point i realized it was decoding live feed below real-time speed and my phone crashed with about a hour of feed gone xD
<travmurav[m]>
I have no idea how it did it but given the input feed was streamed in and output was streamed out over the network, I guess ram just filled with unprocessed h264 and it died xD
<travmurav[m]>
Ever since then I dont fully believe Venus works even though the decode part seems to work completely fine on 7c1, yet to see encode ever work tho xD
<travmurav[m]>
So i guess i also kinda have an impression it seldom tested until very recently
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<Jasper[m]>
I don't think anyone ever upstreamed the firmware for it so no one officially tested if it worked
<Jasper[m]>
The msm8916 stuff (save for the dragonboard maybe) was all pulled out of random vendor repo's
<travmurav[m]>
Not like it wasn't the same blob with different signature attached anyway xD
<Jasper[m]>
Oh yeah absolutely hahahaha
ravikant_ has quit [Ping timeout: 480 seconds]
patrickm has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ravikant_ has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<bryanodonoghue>
steev jhovold not following your conversation - iris bug is about all i got here
chrisl has quit [Ping timeout: 480 seconds]
pbrobinson has quit [Ping timeout: 480 seconds]
<jhovold>
bryanodonoghue: iiuc, iris breaks when seeking with gstreamer, steev says venus suffers from same problem
<jhovold>
and you are supposedly aware of it :)
<bryanodonoghue>
ah yes i recall steev ? probably reporting breakage on venus too
<bryanodonoghue>
we do have a bug in the db to track
pbrobinson has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<lumag>
alexVinarskis[m]: HdkR, DSC for DP is not wired yet. One of my colleagues posted a patchset some time ago, but unfortunately he never followed up after a feedback.
cyrinux94907 has quit []
chrisl has quit [Ping timeout: 480 seconds]
cyrinux94907 has joined #aarch64-laptops
Caterpillar has quit [Ping timeout: 480 seconds]
<HdkR>
lumag: nice nice
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
Caterpillar has joined #aarch64-laptops
<alexVinarskis[m]>
lumag: thanks for the clarification. Any plans to have it resurrected, if you know?
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<abby>
steev: turns out i made a typo in my dracut conf and adding that firmware does fix it
* abby
head -> desk
<HdkR>
woo
ungeskriptet has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
ungeskriptet has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
matt4542 has joined #aarch64-laptops
<steev>
abby: :) at least you sorted it
ungeskriptet has quit [Ping timeout: 480 seconds]
matt4542 has quit [Quit: Page closed]
ungeskriptet has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
jglathe_volterra has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
ravikant_ has quit []
maor26 has joined #aarch64-laptops
maor26 has quit []
hwpplayer1 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<alexVinarskis[m]>
konradybcio: I tried your re-spinned series from Niels + DT change for mux-switch; and 4 DP lanes on Asus Zenbook A14, PS8833. Tested with: USB3.0 pendrive, Type-C to DP cable (x4 DP lanes, no USB3) and dongle (USB3+DP mode). It appears to work just fine, all three modes, in both orientations. No need to double plug the USB stick after any other mode.
hwpplayer1 has quit [Remote host closed the connection]
<alexVinarskis[m]>
I still do not understand, why it works/doesn't crash during suspend/resume? `qmp_combo_runtime_suspend` will attempt to disable `qmp->pipe_clk`, which in case of x4 lane DP was already powered off by `qmp_combo_usb_power_off` during either switch or mux notification call. Resume will try to power it up, which won't work if USB phy is not being used. When developing my series, without safeguarding suspend/resume functions to
<alexVinarskis[m]>
of course, just trying to understand out of curiousity what did I miss and why your series works with a simpler change.
<alexVinarskis[m]>
only touch `pipe_clk` if USB mode is being used, I would get dmesg errors on suspend, and weird screen artifacts on resume. With your/Neils series I don't get anything in dmesg. During suspend internal screen did flash blue (which is a bit untypical) but otherwise it just worked. As it seems the official implementation was both up much earlier and is more complete, it makes no sense for me to keep developing and testing mine
<alexVinarskis[m]>
Edit: just retested few more times, blue screen on suspend seems unrelated.
jglathe_volterra has joined #aarch64-laptops
jhovold has quit [Ping timeout: 480 seconds]
<konradybcio>
i agree it's not easy to read this driver
<konradybcio>
that said the hardware behind it is loaded too.. although in a technical marvel sense
madiqq83 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
madiqq83 has quit [Ping timeout: 480 seconds]
ungeskriptet_ has joined #aarch64-laptops
ungeskriptet has quit [Ping timeout: 480 seconds]
<valpackett>
um, are those power up/down ops not refcount based?
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
svarbanov_ has joined #aarch64-laptops
svarbanov has quit [Read error: Connection reset by peer]