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
<enyalios>
robclark: /lib is a symlink to /usr/lib, so thats not it
<enyalios>
thats for digging into that
<robclark>
ok.. then only hint I can think of is what is different about the sqe/gmu fw that the kernel successfully loaded
<robclark>
there are a some diff paths fw load can take (I think mainly depending on CONFIG_FW_LOADER_USER_HELPER .. I have that disabled).. but not entirely sure how that could explain 2 of 3 fw files loading ok and the 3rd not..
<enyalios>
yeah, and the thing that is confusing me is that it works on one kernel version but not the other
<robclark>
on the "working" dmesg you pasted, it was also having trouble loading zap.. so gpu not working may be unrelated to video not working (but would at least make video rendering a lot less efficient)
<robclark>
(and from the looks of it there is some badness in the "zap fail" error path.. admittedly that is probably not a well tested error path)
DavidGee[m] has quit [autokilled: This host has violated network policy. Mail support@oftc.net if you feel this is in error. (2025-04-09 00:23:00)]
lucanis has joined #aarch64-laptops
<enyalios>
robclark: yeah there still seemed to be a lot of errors in the working one too which was surprising
<robclark>
in the ideal case (but idk if mkv/etc supports this) the decoder would output NV12+UBWC frames which would require the GPU to render.. this will be more efficient from a memory bw standpoint (but I guess if sw rendering worked, then either mkv doesn't support UBWC or it disables it)
tobhe_ has joined #aarch64-laptops
phire has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #aarch64-laptops
hexdump02 has quit [Ping timeout: 480 seconds]
eluks has quit [Remote host closed the connection]
eluks has joined #aarch64-laptops
ungeskriptet_ has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
a_fantom has quit [Read error: Connection reset by peer]
ravikant_ has joined #aarch64-laptops
martiert_ has joined #aarch64-laptops
martiert_work has quit [Ping timeout: 480 seconds]
jglathe_angrybox has joined #aarch64-laptops
colb has joined #aarch64-laptops
colb has quit [Remote host closed the connection]
srinik has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
pbrobinson has joined #aarch64-laptops
sudeepholla has joined #aarch64-laptops
srinik has joined #aarch64-laptops
pbrobinson has quit [Ping timeout: 480 seconds]
pbrobinson has joined #aarch64-laptops
pbrobinson has quit [Ping timeout: 480 seconds]
Caterpillar has joined #aarch64-laptops
pbrobinson has joined #aarch64-laptops
reng has quit [Ping timeout: 480 seconds]
reng has joined #aarch64-laptops
pbrobinson has quit [Ping timeout: 480 seconds]
bluerise has quit [Quit: brb]
bluerise has joined #aarch64-laptops
bluerise has quit [Quit: brb]
pbrobinson has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
ravikant_ has quit [Ping timeout: 480 seconds]
pbrobinson has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
pbrobinson has joined #aarch64-laptops
ravikant_ has joined #aarch64-laptops
bibikski has joined #aarch64-laptops
pbrobinson has quit [Ping timeout: 480 seconds]
<bibikski>
T14s Friends: What process did you perform to get the T14s to boot your OS?
<JensGlathe[m]>
There's a patch from jhovold that needs to be in the kernel to increase the chance, there seems to be a bug in the UEFI
<bibikski>
I'll check it out! I went the mkosi route and I am super close to booting, but regardless of the modules and everything the screen still blanks out. Speculating the modules aren't being loaded, but I'm unsure at this time
<tobhe>
also: is this the 64GB T14s? there is more bugs with that one
<bibikski>
Unfort yes
<bibikski>
I thought it would be a good idea given the soldering of the ram o_O
<tobhe>
it is in theory but unfortunately there is a bug when you use the upper 32GB
* travmurav[m]
still wonders if el2 fixes that
* tobhe
joins travmurav[m] and wonders too
<tobhe>
bibikski: in grub we have to use "cutmem 0x8800000000 0x8fffffffff" to make it boot
<JensGlathe[m]>
*tobhe has one and could try that
<tobhe>
I know but I don't have el2 set up and haven't had time yet unfortunately with release coming up...
<bibikski>
Yeah I haven't touched grub for the install yet, still trying to boot of the usb. I'm currently dealing with a weird scenario where I have multiple initrds being loaded, possibly due to the nature of mkosi-qcom. I was experimenting by adding more initrds and stacking them, at that point I then got a bright blue screen.
<bibikski>
What is e12?
<travmurav[m]>
tl;dr virtualization/kvm is locked down by very weird design choice but we can boot linux in EL2 (hypervisor level) to get KVM work; I strongly suspect that 32GiB issue is in gunyah which would be dead if linux takes its place
<travmurav[m]>
(gunyah == qcom's proprietary hypervisor that runs by default, windows replaces it with hyper-v so it's not affected is the theory)
<bibikski>
Is the dtbhack.efi worth trying? My os is loading the device tree
<travmurav[m]>
for x1e just need to apply the changes to the dts according to the overlay file
<JensGlathe[m]>
you need it for the modifications. need accessible arm-smmuv3, and no zap -shader node
<bibikski>
Okay, then I'll read up on this more
<travmurav[m]>
i.e. alternatively can fdtoverlay -i my-laptop-dtb -o my-laptop-el2.dtb x1e-el2.dtbo
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
bibikski has quit [Quit: Leaving]
<anthony25>
On my yoga slim 7x, the animations on hyprland can be laggy when I'm on battery, but when on AC I don't have the problem. What can I look to make the CPU and GPU scheduler a bit snappier on battery?
<anthony25>
scheduler/governor
<anthony25>
the stutters in the animations happen mostly if the laptop was idling, like switch from a workspace from a terminal to firefox
<travmurav[m]>
is it same if you force cpu to work with performance governor?
<anthony25>
it's better with performance governor
<travmurav[m]>
for schedutil I think there is uclamp to let it know some task needs more performance but not sure if x1e is asymmetric enough for it to change as much
<anthony25>
I looked at the uclamp, it's already really low
<anthony25>
it's set at 45
<travmurav[m]>
well what if you set min uclamp to like 768 for the de?
<anthony25>
ha I can set a min uclamp per process?
<travmurav[m]>
obviously don't want to set system-wide knobs xD
<anthony25>
oh nice
<anthony25>
ok I'll try, thanks a lot!
<travmurav[m]>
^^ is very noticeable on lower end systems (i.e. big.little 7c1) where shceduler would much more eagerly put de on fast cores with high minimal uclamp (and I think scale the freq up more rapidly for them)
<anthony25>
ha nice, so it forces the scheduler to keep my WM on big cores?
<travmurav[m]>
but I think x1e has all same cores (tho I guess there are few that are allowed to boost more)
<travmurav[m]>
as far as I understand uclamp, yes
<travmurav[m]>
s/forces/suggests though
<anthony25>
true
<anthony25>
actually that's a really good point, I'll see also if the uclamp values change if I'm on battery or AC
<travmurav[m]>
I'd also wonder if firmware somehow affects boosting on AC
<travmurav[m]>
afaiu x1e does quite more stuff in firmware compared to older things
<anthony25>
I also thought about it
<anthony25>
the firmware binaries on the slim 7x are quite old, if I understood correctly
<travmurav[m]>
since afaiu the charger is part of qcom chipset I'd not be surprised it's all heavily integrated
<travmurav[m]>
that is, I had a strong impression that x1e devices just have a bunch of qcom chips like pm/smb pmics for everything under the sun and qcom likes to tightly integrate everything
<travmurav[m]>
which is why we get charger working depending on adsp
* travmurav[m]
always forgets the bridge doesn't pass strikethrough text to irc
<travmurav[m]>
but I guess not like this bridge has long to live anyway...
<anthony25>
hopefully this bios will be shipped soon
<craftyguy>
Has anyone been able to flash a recent x13s bios without using windows?
srinik has quit [Read error: Connection reset by peer]
<robclark>
anthony25: is something in userspace changing scheduler or something like that when you switch btwn AC and battery? Maybe your distro has some misguided x86 oriented battery optimization?
<anthony25>
robclark: I'll check, but I don't think so (it's running Tumbleweed)
ravikant_ has quit []
roy has joined #aarch64-laptops
<anthony25>
hmm, so after testing again, the slowdowns are in fact still happening even on AC, and even with the performance governor on the CPU and GPU
<anthony25>
uclampset seems to help, however
<anthony25>
so it might be hyprland being slow to render something
<roy>
Hi! Trying to boot my t14s (non-oled) with jhovold's 6.14 branch. It is almost working, but stuck on getting the GPU to initialize enough to run swaywm. The msm driver is loaded, but it is failing to detect/initialize the hardware. sway starts fine on Ubuntu
<roy>
full dmesg https://bpa.st/DMHQ this line looks different to ubuntu, `msm_dpu ae01000.display-controller: bound 3d00000.gpu (ops msm_hdmi_hdcp_transfer_v_h [msm])`, on ubuntu it reads `... (ops a3xx_ops [msm])`
<roy>
any help appreciated :)
<steev>
you seem to be missing firmware
<roy>
I saw that fw was loaded after initrd - `[ 17.017631] msm_dpu ae01000.display-controller: [drm:adreno_request_fw [msm]] loaded qcom/gen70500_sqe.fw from new location` so thought its ok
<roy>
or... is there more? I could not see anything different in the ubuntu dmesg though
<tobhe>
maybe also from a nix linux-firmware package
<roy>
thanks. I'm pretty sure it should be using linux-firmware already, so i will look into this
<robclark>
anthony25: hmm, odd.. I don't _think_ the fw should be controlling cpu freq too much, compared to x86 (ie. lots of that stuff is in acpi on x86, but in drivers in kernel on dtb systems)... maybe `perf record -a sleep 5` while triggering animations and then `perf report` in both cases.. or even just compare htop, and see if something is using more cpu on AC vs battery?
<robclark>
I guess I could do more testing on battery... but my external display also provides power so I can't help but be on AC a lot of the time
roy has quit [Remote host closed the connection]
roy has joined #aarch64-laptops
<roy>
IDENTIFY
<roy>
with the firwmare blobs, but still no GPU. dmesg is now https://bpa.st/XOKA
<robclark>
roy: dmesg looks ok.. what mesa version?
roy has quit [Remote host closed the connection]
pbrobinson has joined #aarch64-laptops
enyalios_ has joined #aarch64-laptops
enyalios has quit [Ping timeout: 480 seconds]
roy has joined #aarch64-laptops
<roy>
robclark: that was a very good question.
<roy>
Turns out that the system was not linking the mesa driver in the right place. Must have been something leftover from one of the previous failed installs
<roy>
with that fixed graphics comes up just fine
<roy>
i really wish that error message was a little bit more descriptive