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
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev>
erebion: bamse: make sure you've downgraded alsa-ucm-conf to 1.2.13 or apply johan's patch(set) to it because 1.2.14 breaks things
<steev>
dianders: speaking of that.... i want to revisit that one patch of yours that the BOE guys nacked on the c630. i saw a decent increase in battery life when using it
<dianders>
steev: link please?
<dianders>
steev: Oh, I know the one you're talking about. It's the one where I hacked the link rate down to fit a lower eDP data rate.
<steev>
yeah
<steev>
i can't actually find the patch itself, or the mail, just my reply to you about it and our thread
<steev>
but it was TEST_ONLY: Propose new timings for boe_nv133fhm_n6x
<dianders>
LOL. Yeah, it was a shame they wouldn't take it...
<dianders>
I think my power savings was 75mW or something. Given that the panel maker NAKed it, though, I'd have a hard time justifying landing it in mainline.
<steev>
oh yeah, but i'm not mainline :)
<dianders>
If you use a hardcoded panel, I believe there's a way to override timings in the devicetree...
<steev>
it could totally be wrong but my c630 was getting around 50 hours of battery life, so i was willing to take the chance
<steev>
In thinking, gwolf may have the one with the boe panel now, I’ll have a look later
<gwolf>
Huh?
<gwolf>
Sorry, lack context... And am not near it to check
<gwolf>
50hr in suspension, i suppose?
<steev>
oh, just which panel i have
<steev>
my c630 is at the bottom of the stack (need to get it out because someone asked me about 2 patches but i haven't yet teested them)
<gwolf>
Tell me how to find out which panel it is, i will confirm as soon as I get home.
<gwolf>
And if there is any patch to test... Well, ab but more than that, but will do happily.
VM8 has joined #aarch64-laptops
<VM8>
# Appears as ANNA
<VM8>
(#G610E;10M1) Is anyone here?
janrinze has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
VM8 has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
janrinze has joined #aarch64-laptops
enyalios_ is now known as enyalios
tobhe has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
hwpplayer1 has joined #aarch64-laptops
hwpplayer1 has quit [Remote host closed the connection]
<steev>
no idea what that was supposed to mean but... re: panel, the edid should say it
chrisl has quit [Ping timeout: 480 seconds]
mbuhl has quit [Ping timeout: 480 seconds]
mbuhl has joined #aarch64-laptops
<Melody91>
That appears to me to have been Microsoft Comic Chat.
jglathe_volterra has joined #aarch64-laptops
hwpplayer1 has joined #aarch64-laptops
hwpplayer1 has quit [Read error: Connection reset by peer]
chrisl has joined #aarch64-laptops
hwpplayer1 has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ravikant_ has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<jdb[m]>
steev: Here is the edid I was able to extract from Linux :
<jdb[m]>
I need to understand which section should describe some timing values to apply for the powering sequence
<steev>
jdb[m]: ah, sorry, i was replying to gwolf about his c630 panel (because i still haven't bothered to just power mine on and look at which one i have)
<jdb[m]>
oops , I misunderstood :-)
<steev>
yeah, gwolf has the boe, i have the ivo
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
hexdump0815 has joined #aarch64-laptops
sally_ has joined #aarch64-laptops
sally has quit [Ping timeout: 480 seconds]
hwpplayer1 has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<Grabunhold>
i have the boe as well and can help out with testing when I get home in a few days
<janrinze>
For me the ability to run Aarch32 (yes, you read that correctly '32') makes all the difference.
<janrinze>
Oh, how do we control the keyboard lights?
<JensGlathe[m]>
from software? EC probably, but AFAIK there is no interface accessible. Fn Spacebar
<janrinze>
JensGlathe[m]: Does not work unfortunately. Does EC work similar like the Chormebook interfaces?
freekurt[m] has joined #aarch64-laptops
<freekurt[m]>
Some x13s laptops, like mine, don't have hardware keyboard lights.
<janrinze>
Oops.. Chromebook
<janrinze>
freekurt[m]: I'm sure i saw it when using Win11. (I hope i'm not imagining things)
<JensGlathe[m]>
Mine has this kb combo, working independent of OS
<janrinze>
jhovold: Do you have a recent kernel for the X13s? I already checked your github.
<janrinze>
JensGlathe[m]: Duh! it works! but I could not see it properly because it's too bright at my desk!
<janrinze>
JensGlathe[m]: Actually it also changes the intensity depending on how long you keep Fn-Spacebar pressed!
<janrinze>
Nice!
<craftyguy>
Johan has updated kernels in different branches, check again 😉
<janrinze>
craftyguy: yup. the question remains: which one. :-D
<JensGlathe[m]>
wip/x1e80100-6.15-rc7 I would assume. It's the one I based my tree on.
<craftyguy>
Depends on what you are looking for. If you want to help test and possibly hit new bugs, the RC kernels are fun. Else stick to a released version
<janrinze>
JensGlathe[m]: You have patches on top of wip/x1e80100-6.15-rc7 ?
<janrinze>
JensGlathe[m]: wip/sc8280xp-6.15-rc7 should be closer to the X13s, right?
<janrinze>
I'm not too worried about 'unstable' kernels. This is a laptop for testing a lot of stuff and Grub allows me to choose the kernel at boot..
<kuruczgy[m]>
hogliux_: I think my camera kernel branch has iris stuff because that was also merged into bryanodonoghue's branch. I just did a rebase and flattened the merge.
<kuruczgy[m]>
But I thought it also needed iris firmware, no? Did you add that?
<janrinze>
JensGlathe[m]: I'll see if i can roll a Debian kernel with your kernel config :-D
<kuruczgy[m]>
Jos Dehaes: was that error you posted about camera or video decode? Either way, that extra patch is needed on top of my rebased kernel branch. And as I said above I believe iris also needs extra firmware.
<JosDehaes[m]>
kuruczgy: yes I added the firmware to dts. I still got that error, however the module was loaded. Not sure how I can test if it's being used
<valpackett>
speaking of performance, why is the cpu not boosting with the cpufreq patch? i see the 4012800 epp in scaling_boost_frequencies, enabled boost but it's still never used
<JensGlathe[m]>
Huh never used this yet. And most of my boxes have the linux source on them, yes
<JensGlathe[m]>
You can remove the dyndbg directive if that's the problem
chrisl has quit [Ping timeout: 480 seconds]
<deathmist>
it probably isn't aware of that supporting spaces when quoted which breaks some parsing somewhere
<robclark>
apple-corps[m]: do you have backtrace from the splats?
<apple-corps[m]>
robclark: there's no call trace so that's why I am trying to get kdump working
<apple-corps[m]>
Will a dyndbg line like "... dyndbg=\"module firmware_class +p\" ..." work to resolve the file drivers/base/firmware_loader/main.c issue ??
<robclark>
hmm, I guess I'm missing context on what the issue is..
<robclark>
maybe stack unwind depends on some kernel config option?
hogliux has joined #aarch64-laptops
<hogliux>
kuruczgy[m]: Yes, I copied the firmware from windows.
<hogliux>
kuruczgy[m]: Have you tried BIOS version V57? Apparently it doesn't require Lenovo signed firmware anymore. It's not coming down via Windows Update for me but I downloaded the .cab file by following the instructions here: https://www.reddit.com/r/snapdragon/comments/1imx4qb/comment/mmbaryd/
<hogliux>
kuruczgy[m]: But I'm too scared to install. There is probably a reason why they are holding back the update.
<kuruczgy[m]>
No I have only used Windows Update so far
<deathmist>
hogliux: I did the v57 BIOS update manually on my Slim 7x previously and it also seemed to be shipping through Canary insider Windows update channel to users too already a month ago
<hogliux>
deathmist: and everything good? Laptop still works ;-) ?
<deathmist>
worked fine till I returned it for OLED burn-in from a store demo program and replacing it with a Asus Vivobook S 15 with double the RAM/SSD :p
<deathmist>
I still need to debug someday why I can't get the same double-dock external display outputs working (or even the HDMI port in coldplug scenario), rn my best bet is looking like DP MST support lol
<apple-corps[m]>
<deathmist> "apple-corps: try applying https:..." <- thanks, i will take a look later on when I am free...
hogliux has joined #aarch64-laptops
<hogliux>
kuruczgy[m]: deathmist: Updated to V57 and everything worked after nuking my /lib/firmware folder and replacing it with upstream linux-firmware (minus the currently broken ath12k firmware)
<hogliux>
kuruczgy[m]: deathmist: Unfortunately, the iris firmware still needs to be copied from the windows partition. The linux-firmware one doesn't work.
<hogliux>
kuruczgy[m]: deathmist: The cdsp firmware file is missing in the LENOVO/83ED (<- slim 7x) folder in upstream linux-firmware. But copying the one from LENOVO/21N1 (Thinkpad T14) works.
<hogliux>
kuruczgy[m]: deathmist: So the only thing needed from windows seems to be the iris firmware. That's progress with V57.
<deathmist>
apple-corps[m]: you'll probably would have to edit the whole thing to build the potentially-space-containing kexec cmdline in the standard arguments array ("set -- cmd 'arg1 etc'") so you can call it via "$@" instead of eval which really messes with all this stuff.. maybe you can get it running by trial and error with some shell script knowledge
<steev>
hm, my c630 isn't even getting to bios for some reason
<nirik>
my 7x still has Firmware Revision: 1.53... is it worth anything to update? swapping the windows nvme back in is a pain...
chrisl has joined #aarch64-laptops
<steev>
you might be able to do it with fwtool
<nirik>
and also still nothing on lenovo's site
hogliux has joined #aarch64-laptops
<hogliux>
nirik: I installed updates with `fwuptool install-blob` from within Linux. The reddit post I shared above has a link to a tool to download bios updates from Windows update.
chrisl has quit [Ping timeout: 480 seconds]
<hogliux>
nirik: I built and ran the tool on Windows but the GitHub website of the tool also claims it runs on Linux. So worth a try.
<nirik>
ok, is there any changelog/idea if it actually fixes anything?
hogliux has quit [Remote host closed the connection]
<nirik>
(I realize it's firmware so it's probibly “improves system performance” or something :)
<JosDehaes[m]>
iris firmware, is it 'qcvss8380.mbn'?
<JensGlathe[m]>
Astonishingly, yes
<apple-corps[m]>
deathmist: I'm not sure I fully follow the claim. Why are you suggesting quoting is an issue for this script in particular whereas it might unexpectedly work in other deployments ?
<apple-corps[m]>
s/unexpectedly//
<deathmist>
apple-corps[m]: based on the error starting exactly at where there is a space in your cmdline and the fact it's using a /bin/sh shell script to deal with spaces is a common recipe for problems, feel free to debug it further, I'm not using the script or a debian-based system
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<JosDehaes[m]>
I was missing SM_VIDEOCC_8550 in my config, now iris probes 🎉
pbrobinson has joined #aarch64-laptops
hwpplayer1 has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
Caterpillar has quit [Quit: Konversation terminated!]
<jdb[m]>
Thanks, it simply means that the panel device is simply not powered up, I guess. What's annoying is that panel-edp.c doesn't shout at me with error messages. Looking at dmesg, everything looks normal and working, but obvisouly when looking at the display, that's ... not the case :)
<robclark>
it could be dp failed to probe because of some missing dependency
<robclark>
does `cat /sys/kernel/debug/devices_deferred` show anything?
<jdb[m]>
nope, it returns nothing
<jdb[m]>
you mean potentially some module dependencies?
<robclark>
it's a possibility
<jdb[m]>
I may build the corresponding parts within the kernel instead of as modules, to give it a try
<robclark>
well, at least nothing is probe deferred waiting for something
chrisl has joined #aarch64-laptops
mbuhl has quit [Remote host closed the connection]
mbuhl has joined #aarch64-laptops
<steev>
reminder for the matrix folks that using matrix features is very hard for the irc users to read and assist