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]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
enyalios has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
enyalios_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
weirdtreething_ has joined #aarch64-laptops
weirdtreething has quit [Read error: Connection reset by peer]
weirdtreething_ is now known as weirdtreething
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<Sashko[m]>
* checking! that's really, * pretty convenient. and real home / end are too far from arrows π
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
SpieringsAE has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
paulk-bis has joined #aarch64-laptops
xeliteCJF has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
paulk has quit [Ping timeout: 480 seconds]
<SpieringsAE>
macc24: Not to my knowledge, would be fun to get working to hook random stuff up to it with an external dock
<SpieringsAE>
jglathe: Did you/anyone get that unsoldered pcie slot in the dev kit working?
<SpieringsAE>
I seem to remember there was someone messing with that
<JensGlathe[m]>
There is code for it, from the qcp
<JensGlathe[m]>
I didn't try, but used parts of the code to activate pcie3 on the Ideapad Slim 5x (cardreader there on this one)
chrisl has quit [Ping timeout: 480 seconds]
xeliteCJF has quit [Quit: Leaving]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<macc24>
SpieringsAE: welp, i'll need to take a look at it
chrisl has joined #aarch64-laptops
paulk-bis has quit []
paulk has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<SpieringsAE>
I don't think I've seen anything usb 4 related, if I understand correctly the usb-c ports are currently 3.whatever under Linux
<SpieringsAE>
I fear this may be quite involved
<SpieringsAE>
don't even know if this platform is capable of pcie tunneling, from what I saw it is an optional part of usb 4
<JensGlathe[m]>
They do on the Surface Pros on Windows, so there's that
chrisl has joined #aarch64-laptops
<SpieringsAE>
ah okay didn't know that, cool!
<macc24>
ps8830 supports pcie so it's a matter of having lenovo actually hook it up
hogliux has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<SpieringsAE>
Now I want to try it on my asus, docks be pricey though
<hogliux>
SpieringsAE: pcie tunneling works just fine on slim 7x on windows. I posted some screenshots on this a while back.
hogliux has quit [Remote host closed the connection]
<macc24>
also iirc it's described in dsdt
pbrobinson has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<SpieringsAE>
hogliux: nice must've missed it
ravikant_ has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
pbrobinson has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
pbrobinson_ has joined #aarch64-laptops
pbrobinson has quit [Read error: Connection reset by peer]
pbrobinson__ has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<macc24>
yup it works, i see firewire device of my thunderbolt 3 dock
<macc24>
on windows 11*
pbrobinson_ has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
pbrobinson__ has quit [Read error: Connection reset by peer]
chrisl has quit [Ping timeout: 480 seconds]
icecream95 has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
enyalios_ has joined #aarch64-laptops
enyalios has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
[UNAVAILABLEUSER][m] is now known as Sukiru[m]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
kettenis has quit [Remote host closed the connection]
kettenis has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
SpieringsAE has quit [Quit: SpieringsAE]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
ravikant_ has quit [Remote host closed the connection]
ravikant_ has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
paulk-bis has quit []
paulk has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
Annon000 has joined #aarch64-laptops
Annon000 has left #aarch64-laptops [WeeChat 4.1.1]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<clover[m]>
getting a weird issue when booting a live USB disk fails about 60% of the time. I will show a snapshot of when it works (1st pic) vs when it doesn't work (2nd pic). if you want a full video of the boot let me know.
* travmurav[m]
doesn't remember which things are affected by adsp reboot
<JensGlathe[m]>
you have the adsp firmware loaded, right? X13s has only type-c connectorss, this wont work well. Loading of adsp firmware interrupts VBUS on type-c, often triggering a re-enumeration of devices,
<travmurav[m]>
but there is clearly adsp reboot in the log, so ig
<travmurav[m]>
yeah
<clover[m]>
so if adsp comes up too soon, it re-enumerates my usb device causing the failure?
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]>
more like not soon enough
<JensGlathe[m]>
needs to be in the initramfs
chrisl has joined #aarch64-laptops
<JensGlathe[m]>
it has do be up (and re-enumerated) before rootfs is mounted
ravikant_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<spawacz>
Hardware decoding on x13s is functional with ffmpeg -c:v h264_v4l2m2m, however the moment I try to use it to encode, the laptop freezes and reboots after 2-3 seconds
<clover[m]>
Jens: ok, i've added "/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn" to my mkinitcpio.conf, hopefully this works
<agl>
clover[m]: Have you an update for the x13s EOS?
<clover[m]>
no just working on the archiso
<agl>
ok
<clover[m]>
hm seems like there is more i need to do.
ravikant_ has joined #aarch64-laptops
<clover[m]>
Jens: is there a module that loads adsp?
<clover[m]>
maybe i need cdsp in there too
<clover[m]>
i see the device tree looks for these and tries to load them
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
ravikant_ has quit []
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<deathmist>
could someone with EFI filesystem handle related knowledge chip in on https://github.com/limine-bootloader/limine/issues/521? either Limine is doing something very wrong since the very first v4.0 aarch64 binary I could find or it exposes something in X1E UEFI that is extremely slow but I'm afraid I can't really do much more than I commented there already
chrisl has joined #aarch64-laptops
<deathmist>
specifically gpt_get_part() -> fs_get_label() -> fat32_get_label() -> fat32_init_context() -> volume_read() was really slow for a lot of stuff, each time taking over 500ms for a call with just one of the "broken handles"
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
<sgerhold>
deathmist: I think there are some partitions in the flash that fail to read from UEFI, I've seen this on GRUB as well if you make it search for a filesystem label. I've mainly had it on the CRD though where I thought the delay primarily comes from the endless amount of errors it spams to UART, you shouldn't have that ...
agl has joined #aarch64-laptops
agl has quit []
<sgerhold>
... unless they left all the UEFI UART debug stuff enabled on that laptop ...
<deathmist>
I've seen it on both Lenovo Yoga Slim 7x and now Asus Vivobook S 15
<deathmist>
the wasted time scales with SSD size
<deathmist>
and I probably would've also seen it on the HP OmniBook X 14 if I tried limine back then already
agl has joined #aarch64-laptops
<valpackett>
"skip partitions which addressing of slows down".. is that all side by side with a windows install?
<valpackett>
ppd: ath12k works almost perfectly for me on linux-next currently
<JensGlathe[m]>
Hmm I have it on X1E and X1p and WCN7850 works okay
<valpackett>
the one remaining issue is that sometimes after waking up from suspend it takes a loooong time to see *specifically* my 5ghz home AP
<valpackett>
but that's just "normal wifi bullshit" i guess xD
<JensGlathe[m]>
this takes a while, yeah. 10 secs or so
<ppd[m]>
I'll chalk it up to the AP being wonky right now then. I might build vanilla with kuru's patches to see, but I should probably head home first and test it there...
<deathmist>
valpackett: thanks for the hint about MEDIA_HARDDRIVE_DP, will see if I can hook something up by myself now
chrisl has joined #aarch64-laptops
<sgerhold>
valpackett: deathmist: Looking at the EFI shell output I suspect the flash partitions are "harddrive" paths as well π
chrisl has quit [Ping timeout: 480 seconds]
<sgerhold>
deathmist: The limine code is super weird since they don't just *read* from every single partition, they also *write* to each partition, on every startup, just to check if this fails and the partition is therefore an "optical" CD??
<sgerhold>
The whole thing looks super crazy just for a cat-themed bootloader :/
chrisl has joined #aarch64-laptops
<longptr>
spawacz: Can you share what all is needed to enable the hardware decoding / encoding / v4l-m2m ? I have an X13s and I wanted to get this going too. Debian Trixie / johvold's 6.16-rc7
chrisl has quit [Ping timeout: 480 seconds]
Lucanis has quit [Ping timeout: 480 seconds]
<sgerhold>
deathmist: and the disk_volume_from_efi_handle() function has some fallback that not just reads and writes the same data, if the partition is < 64 KiB it temporarily replaces data on each partition to write some random "signature"?
<sgerhold>
I'm either reading this wrong or I'm even positively surprised this doesn't brick the machine completely :D
<sgerhold>
if you write to random partitions and the machine dies inbetween, it won't look good ...
<JensGlathe[m]>
The magic solution is to brick it properly
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<clover[m]>
Jens Glathe: what if i remove the DSP firmware completely? would that keep the usb safe from re-enumeration?
<JensGlathe[m]>
yes. or blacklist q6v5_pas from USB
chrisl has quit [Ping timeout: 480 seconds]
<deathmist>
sgerhold: yikes, commented about that as well since axing the fallback seems to have been the remaining piece to get rid of the remaining extra delay I saw still
<longptr>
Maybe this is off topic, but why another bootloader? Why not extend something like refind ?
chrisl has joined #aarch64-laptops
<deathmist>
because rEFInd is EFI-only? I mean it's in the name :p distributions may want to support booting on a wide variety of hardware even if it's legacy x86(_64) stuff for example
<Kelsar>
also refind is technicaly not a bootloader, just a boot manager
<clover[m]>
<JensGlathe[m]> "yes. or blacklist q6v5_pas..." <- that one or CONFIG_QCOM_Q6V5_ADSP?
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<longptr>
So what about extending something like coreboot then?
<longptr>
Just genuinely curious . Once upon a time I worked on bootloaders.
chrisl has quit [Ping timeout: 480 seconds]
anthony25_ has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<JensGlathe[m]>
Just the driver
anthony25 has quit [Ping timeout: 480 seconds]
anthony25_ is now known as anthony25
<JensGlathe[m]>
Actually it would be cool to⦠detect this situation. Load, boot adsp, do the enumeration before trying to mount rootfs
<clover[m]>
trying to figure it out! if the dts does it regardless, i dont see how it can be prevented / blocked
<clover[m]>
"This is a known issue on some Qualcomm platforms where the initialization of the DSP firmware causes a brief power fluctuation (a "power brownout") on the USB-C VBUS line. This power drop causes connected USB devices to lose power and re-enumerate, which can disrupt the root filesystem if it's connected via USB-C."
<clover[m]>
from gemini, not sure how valid this is
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<longptr>
BTW, is this aDSP a Hexagon DSP who's firmware is being loaded? Is it some embedded controller that's doing some system-level stuff?
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<clover[m]>
i think it mainly has to do with sound
<robclark>
longptr: "yes" (it is a hexagon in the always-on power domain which seems to also perform some ec functions)