ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<qzed>
ah well, it's late here... so that's an issue for tomorrow
<HdkR>
As expected, it's just in `/usr/lib/` because of no multiarch support.
<HdkR>
You could bind those files to some directory and set LD_LIBRARY_PATH but things that overwrite that will break
<HdkR>
Theoretically RPATH/RUNPATH ELF things could avoid the environment variable fails, but that is hardcoding badly in a different way.
<HdkR>
But really this is just working around the problem that Arch doesn't support multiarch. So maybe they should just fix that instead?
agl7-x13s has joined #aarch64-laptops
<clover[m]>
the way asahi lina has it is she is using an x86 box plus her arm laptop. when she needs to make a change she updates the chroot on her x86 machine then rsyncs it to a chroot on the arm laptop
<HdkR>
Yep, that's the easiest way of doing it
<HdkR>
Since without multiarch support in the chroot, you would need a static linked FEX (or qemu) which has its own problems.
<HdkR>
If the Linux kernel was cool enough to support binfmt_misc namespaces, then we could provide a static linked fex-emu provided specifically for chroots in that vein.
agl7-x13s has quit [Quit: Leaving]
iivanov has quit [Quit: Leaving.]
schaeffer_ has joined #aarch64-laptops
schaeffer has quit [Read error: Connection reset by peer]
srinik has quit [Killed (NickServ (Too many failed password attempts.))]
srinik has joined #aarch64-laptops
<vkoul>
steev: I should be able to send update soon and hopefully bamse can merge it for next window
jhovold has quit [Ping timeout: 480 seconds]
<qzed>
steev: cheers, the lpg fix did the trick
<xnox>
who is agl7-x13s? and can they please email me? or stay connected?
<xnox>
they keep popping in and asking thing out of hours
<xnox>
@agl7 @agl7-x13s => there is no need to rebuild ubuntu-concept iso (as doing that will require a lot of time, and installer validation) the installs it produces are still fully upgradable, with apt full-upgrade twice brings all the enchancements done since the iso was made. (i.e. gl accelerated firefox)
<robclark>
sounds like someone was doing some work to enable building v4l2 support outside of CrOS.. I'll try to find out some more details a bit later
<robclark>
srinik, vkoul: ^^^ maybe chrome/ium v4l2 vid enc/dec is a thing one of you is interested in?
<srinik>
robclark: yes this is something that we wanted to try on x13s..
<robclark>
ok.. conveniently I sit next to some CrOS video folks.. so I can try to find out more
<leezu>
to be more specific. Above ticket contains some reports from Stefan back in 09/2022 about remaining issues
<leezu>
Would be great if you can reconcile those with the CrOS video folks :)
<robclark>
so that CL looks like it is about splitting the code between what depends on upstream kernel v4l2 vs stuff that depends on downstream kernel patches... AFAIU for mtk there is some stateless av1 (I think?) related uabi required, but this hasn't been merged upstream because there is no upstream driver using it
<robclark>
so it isn't _directly_ linux support.. but probably is a required first step and points you in the right direction
<steev>
http://sprunge.us/QbCdh0 is the 6.4 kernel config i'm using, in case maybe i'm just missing some dependency somewhere, but alsaucm listcards shows our audio device, and "playing" audio, shows something on the meters, but no output from the speakers
<leezu>
steev: Would you mind trying to enable the various Remoteproc drivers config options next time you recompile and let me know if you see the /dev/adsprpc-smd /dev/cdsprpc-smd devices?
<leezu>
Or perhaps the two devices already show up with your existing config based on CONFIG_QCOM_FASTRPC=y. If so, no need to change anything. It would be helpful if you can check
<steev>
i do not get the -smd devices, no
<leezu>
I see. Thank you for checking. Do you see any /dev/fastrpc-* devices?
<steev>
one moment
<steev>
all i get is fastrpc-cdsp{,-secure}
<leezu>
That's great. So cDSP driver is working on sc8280xp
<HdkR>
Huh, that's a new issue. The cursor froze in place
<HdkR>
Oh neat, finally got the X13s to thermally throttle