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
<jiegec> Yet the internal touchpad required HID-over-SPI driver instead of SAM, I am trying to fix it, but it was not working yet.
<jiegec> GPU acceleration was not working yet: It failed when loading firmware. But using llvmpipe on a performant core is okay for development uses.
louist103_ has joined #aarch64-laptops
louist103 has quit [Remote host closed the connection]
louist103_ has quit [Remote host closed the connection]
<robclark> "qcom/x1e80100/LENOVO/83ED/qcdxkmsuc8380.mbn")
<robclark> jiegec: for gpu you'll have to find and copy qcdxkmsuc8380.mbn from windows partition.. see arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts for ex, the firmware-name property should be something like (I guess) "qcom/x1e80100/microsoft/$something/qcdxkmsuc8380.mbn" where $something is based on the DMI string (ie for yoga 7x the dmi is `DMI: LENOVO 83ED/LNVNB161216, BIOS NHCN36WW 05/23/2024` so the path becomes
<robclark> with that, plus ToT mesa, gpu should be working
<robclark> there is integration branches with extra patches which are needed for some things, ie. https://github.com/jhovold/linux/tree/wip/x1e80100-6.11-rc1
<jiegec> Thanks, i will try that. I downloaded the firmware from linux-firmware, but maybe a specific firmware is required.
louist103 has joined #aarch64-laptops
<louist103> so... regarding my issue above, I didn't have an initramfs....
<louist103> I forgot that dracut failed right after the kernel build. Issue now is that grub-mkconfig doesn't see the initramfs in the bootfolder
louist103 has quit [Remote host closed the connection]
<robclark> jiegec: the "zap" fw (ie. qcdxkmsuc8380.mbn) is signed by the OEM.. lenovo pushed it to l-f for x13s but I think so far no on has for x1e so for now you need to copy that one from windows partition..
<robclark> the sqe and gmu fw.. not sure if latest is in l-f yet (but I guess it will be eventually).. the OEM signed zap fw, idk
louist103 has joined #aarch64-laptops
<louist103> Update2... got the DTB installed and read from in GRUB but I just get 'qcom_aoss_qmp_c300000.power-management: failed to acquire IPC mailbox" and on the next line: arm-smmu 5040000.iommu: probe with driver arm-smmu failed with error -110. I have no idea how to troubleshoot that one...
<louist103> Could it be that I didn't install the firmware from the windows side yet? Last time I did that after I booted into the real system
systwi_ has quit [Ping timeout: 480 seconds]
<louist103> I set the log level to 5. Hoping this helps https://ibb.co/r2JMPRH
systwi has joined #aarch64-laptops
<jiegec> @robclack thanks for suggestion, I will try the firmwares from windows partition.
<jiegec> On Surface Laptop 7 I also encountered rfkill hard-blocked Wi-Fi one morning, but one day before it was working... No idea. It still works if I boot to Windows, but back to Linux it is still blocked.
<steev> robclark: that patchset, unfortunately, doesn't seem to help here
<steev> louist103: that looks like you're missing a bunch of modules in the initramfs - https://github.com/jhovold/linux/wiki/X13s make sure your command line has the options johan lists here, as well as making sure the initramfs has the modules listed in the commit for johan's defconfig (c.f. https://github.com/steev/linux/commit/95346caa14eeb6d4f6aeabbf1ea599ff43adf639 ) - additionally, make sure qnoc-sc8280xp is in there (this is x13s?)
<steev> or is this the c630?
<louist103> Its the C630. I used the config you linked yesterday
<louist103> I do have these options though "clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime"
louist103_ has joined #aarch64-laptops
louist103 has quit [Remote host closed the connection]
louist103_ has quit [Remote host closed the connection]
louist103 has joined #aarch64-laptops
krei-se has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
krei-se- has quit [Ping timeout: 480 seconds]
<HdkR> https://github.com/Sonicadvance1/wfe_mutex?tab=readme-ov-file#spurious-wake-up-benchmark Spurious wake-up numbers are looking better on all platforms except for Oryon-1. Not sure what's up with Oryon when Linux is booted :)
checkfoc_us has quit []
<JensGlathe[m]> Jos Dehaes: okay, thank you. But it starts with wl
martiert_work has quit [Quit: WeeChat 4.3.3]
martiert_work has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
<JosDehaes[m]> Jens Glathe: yes, right now it's `wlP4p1s0`, but I've also seen `wlP5p1s0` IIRC
iivanov has quit [Quit: Leaving...]
iivanov has joined #aarch64-laptops
<JensGlathe[m]> iwconfig will be the way to go to find out for bootmac
bumble[m] has joined #aarch64-laptops
<bumble[m]> using x13s here; wireplumber `wpctl status` only lists a "Dummy Output" Audio would anyone have any suggestion for getting the audio device to appear there? (system is postmarketos edge)
Caterpillar has quit [Quit: Konversation terminated!]
<Jasper[m]> <jiegec> "On Surface Laptop 7 I also..." <- It might be if you warmboot Linux that it's still loaded in from Windows
<lollaritits[m]> <bumble[m]> "using x13s here; wireplumber `..." <- alsa installed?
martiert_work has quit [Quit: WeeChat 4.3.3]
martiert_work has joined #aarch64-laptops
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #aarch64-laptops
adamcstephens has quit [Ping timeout: 480 seconds]
adamcstephens has joined #aarch64-laptops
abcdw has quit [Remote host closed the connection]
dubiousness has quit [Remote host closed the connection]
abcdw has joined #aarch64-laptops
dubiousness has joined #aarch64-laptops
<abby> bumble[m]: got alsa-ucm-conf?
louist103 has quit [Remote host closed the connection]
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #aarch64-laptops
rlittl01 has quit [Ping timeout: 480 seconds]
rlittl01 has joined #aarch64-laptops
louist103 has joined #aarch64-laptops
louist103 has quit [Remote host closed the connection]
indy has quit [Ping timeout: 480 seconds]
indy has joined #aarch64-laptops
flokli has quit [Quit: WeeChat 4.3.5]
flokli has joined #aarch64-laptops
flokli has quit []
flokli has joined #aarch64-laptops
flokli has quit [Quit: WeeChat 4.3.5]
flokli has joined #aarch64-laptops
hightower2 has joined #aarch64-laptops
<bumble[m]> @_oftc_abby:matrix.org I do not have alsa-ucm-conf. I will try installing it...
<bumble[m]> @abby @lollar:catgirl.cloud it works! thank you!
<colemickens> Any update on the udev/module/reboot thing? I've only got a couple more days with the Yoga, might have a lead on 24.2/tip of mesa building, it'd be so cool to see it light up 🤞
<robclark> I don't think so.. I've just been working around it by commenting the problematic udev rule
<JensGlathe[m]> colemickens: I have prepared a bootable image for Volterra /X13s /Yoga 7 / Vivobook S15, it's still a bit rough, but should boot up (have no X1E hw to test though). Do you want to test if this comes up?
<colemickens> If you want a guinea pig I can try it. But mostly trying to get something workable for NixOS users so I can "announce and abandon" it in a close to usable state.
<JensGlathe[m]> Guinea Pig sounds fine. I've tested it on Volterra / X13s.
<colemickens> Sure, do you use magic-wormhole? I'll probably transfer it to my fast server and then rsync it slowly to this laptop and burn it. Jens Glathe
<JensGlathe[m]> google drive
<colemickens> that works too
<colemickens> well, :/ idk if it will play nice with my very slow internet, but I'll probably go to a coffee shop in a bit anyway.
<JensGlathe[m]> uploading.
<colemickens> lmk filename to try when it's done uploading, I'll try it this afternoon along with maybe one more attempt on my side
<colemickens> I'm going to try to mask the udev rule again and then force uas/usb_storage and see if I can get it to come up.
<JensGlathe[m]> It's a raw image, just write with disks or dd onto a USB stick or SSD
<colemickens> * this afternoon (2-4 hours from now) along with
<JensGlathe[m]> Ubuntu_Desktop_24.04_x1e_6.11rc.img.xz
<JensGlathe[m]> It's up, 3,88GB
<JensGlathe[m]> Will write up some doc on it later, it is a start but no perfect image
krei-se has quit [Quit: ZNC 1.9.1 - https://znc.in]
krei-se has joined #aarch64-laptops
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
flokli has quit [Ping timeout: 480 seconds]
flokli has joined #aarch64-laptops
louist103 has joined #aarch64-laptops
<robclark> colemickens: I think the "udev reboot" is something remoteproc related? With CONFIG_DRIVER_DEBUG=y this is the last I see.. https://photos.app.goo.gl/B2XEzcGxtxqZASi49
<colemickens> robclark: hmph.
<colemickens> Jens Glathe: `035aad34b3d638109f31bf05574ab31a797ad61e932565985b55558b7091b901 Ubuntu_Desktop_24.04_x1e_6.11rc.img.xz`
louist103 has quit [Remote host closed the connection]
smedir[m] has joined #aarch64-laptops
Erisa has quit [Quit: Ping timeout (120 seconds)]
<robclark> or.. maybe not.. still reboots after removing remoteproc modules from initrd and rootfs
Erisa has joined #aarch64-laptops
<JosDehaes[m]> Jens Glathe: I tried booting your image on yoga 7x, it boots, but it reboots before reaching desktop
<robclark> JosDehaes[m]: yeah, I guess this is the "udev reboot", ie. reboot that happens if you don't remove udev role that auto-loads kernel modules
ellyq has quit []
<JosDehaes[m]> strange I didn't have this issue before, I installed Arch and Debian on the yoga
<robclark> workaround is to comment a line:
<robclark> in /lib/udev/rules.d/80-drivers.rules
<JosDehaes[m]> thx, I can try that
<robclark> the root issue might come down to the order modules are probed
<robclark> I don't quite understand what is triggering the reboot yet
<colemickens> someone supposedly got the _pas module loaded after probing some other modules, not sure if related.
<robclark> it _might_ be.. but OTOH I was still hitting this if I removed the remoteproc moduels altogether
<robclark> with remoteproc out of the picture, this is the last thing before reboot: https://photos.app.goo.gl/3p9qDQcjpuuFdK5j7
<robclark> looks like the last thing that probed without defer was qcom-bwmon
<JosDehaes[m]> robclark: in the rootfs, this udev rule is not there, is it in the initrd?
<JosDehaes[m]> nope, the initrd only has firmware and modules
rlittl01 is now known as Guest2271
rlittl01 has joined #aarch64-laptops
Guest2271 has quit [Ping timeout: 480 seconds]
ellyq has joined #aarch64-laptops
rlittl01 is now known as Guest2273
Guest2273 has quit [Read error: Connection reset by peer]
<robclark> hmm, it could be somewhere else with different version of udev? I know it is the same btwn debian and fedora at least
rlittl01 has joined #aarch64-laptops
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #aarch64-laptops
rlittl01 is now known as Guest2274
Guest2274 has quit [Read error: No route to host]
rlittl01 has joined #aarch64-laptops
rlittl01 has quit [Read error: Network is unreachable]
rlittl01 has joined #aarch64-laptops
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #aarch64-laptops
rlittl01 has quit [Remote host closed the connection]
rlittl01 has joined #aarch64-laptops
rlittl01 is now known as Guest2276
rlittl01 has joined #aarch64-laptops
Guest2276 has quit [Read error: Connection reset by peer]
rlittl01 is now known as Guest2277
Guest2277 has quit [Read error: Connection reset by peer]
rlittl01 has joined #aarch64-laptops
rlittl01 has quit [Read error: Connection reset by peer]