robclark 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
vadikas[m] has joined #aarch64-laptops
valentine has joined #aarch64-laptops
Nios34[m] has joined #aarch64-laptops
wiizzard has joined #aarch64-laptops
wiley[m] has joined #aarch64-laptops
dlx[m] has joined #aarch64-laptops
mcbridematt has joined #aarch64-laptops
hightower3 has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
hightower2 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
jglathe_volterra has joined #aarch64-laptops
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit []
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit [Read error: Connection reset by peer]
alfredo has quit [Quit: alfredo]
ungeskriptet has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
iivanov has joined #aarch64-laptops
ellyq_ has joined #aarch64-laptops
ellyq_ has quit []
ellyq has quit [Ping timeout: 480 seconds]
<KieranBingham[m]> I've installed pd-mapper from the fedora rawhide packages, but it's failing to start saying no pd maps available. Is there some extra files I need to install?
<travmurav[m]> Kieran Bingham: there should be .jsn files in lib/firmware for it
<steev> yep
<steev> should be part of the firmware package(s)
<travmurav[m]> inb4 they're there but compressed
<KieranBingham[m]> looks like I have files ... /lib/firmware/qcom/sc8280xp/LENOVO/21BX/adspr.jsn
<KieranBingham[m]> stracing pd-mapper to see where it's looking
<steev> that's what i was gonna suggest
<KieranBingham[m]> hrm ... it#s trying to process /sys/class/remoteproc which is empty..
<travmurav[m]> ah yeah it tries to read where to find the jsn files from the remoteproc
<steev> dmesg to check the remote procs
<steev> which kernel sources are you using?
<KieranBingham[m]> johans' 6.9-rc7 ... I'll probably rebuild the 6.9 tag next
<steev> and using his defconfig?
<steev> i mean the defconfig itself should be fine
jhovold has joined #aarch64-laptops
<jhovold> KieranBingham[m]: did you get pd-mapper to start? As travmurav[m] mentioned, I think fedora is using compressed fw so you may need to enable that option in the config if you haven't already
<jhovold> Segfault[m]: yes, the missing usb-pd bits are supposed to be 6.10, haven't had time to test it myself beyond smoke testing the first two iterations (that failed the test)
<KieranBingham[m]> ah yes , I went back to Johans' defconfig as part of getting back to a stable build and I probably dropped my additional configs for the fedora ...
<jhovold> craftyguy: wifi is quite stable here (also when travelling) so I assume it depends a lot on your AP
<jhovold> lollaritits[m]: pulseaudio handles bluetooth just fine, that's what I've been using
<lollaritits[m]> jhovold: didnt for me on pmOS
<lollaritits[m]> Pipewire now does
<jhovold> must have been missing some package, bluetooth support is a separate package on arch for example
<travmurav[m]> <travmurav[m]> "inb4 they're there but compresse..." <- (I've actually forgot but pd-mapper nowdays supports .xz compressed .jsn files, but only xz)
<Jasper[m]> iirc they should be xz
<Jasper[m]> I had a particularly nasty wifi crash not too long ago
<Jasper[m]> Have a dmesg, but only from some error messages since ath11k was spamming a lot
<KieranBingham[m]> travmurav: The json files are not compressed, but the firmware files are and indeed I think this kernel currently doesn't have that enabled. Just trying to rebuild now with my additions to johan_defconfig
<KieranBingham[m]> so the remoteprocs are not loading.
<travmurav[m]> ah that would make sense if kernel couldn't boot them at all
<jhovold> Jasper[m]: sounds like the one I reported upstream, a little worrying that the qualcomm guys have not gotten back to me on that one yet
<jhovold> my talk here at linaro connect from yesterday about the (conclusion of) the arm laptop project is now up:
<steev> conclusion :(
<jhovold> still hoping that someone will step up and fund a continuation in some form
<steev> that would be nice :(
<Jasper[m]> <jhovold> "https://lore.kernel.org/all/Zh6b..."; <- Yep, that's the one
<Jasper[m]> jhovold: Glad that it started, sad that it ended.
<Jasper[m]> jhovold: They'll figure it out hopefully, though likely with X Elite
<jhovold> one of the key points of my talk is that almost all of the remaining issues with the x13s are generic qualcomm issues
<jhovold> so work should continue on the x13s as it will benenefit later platforms directly
<jhovold> for when they become available and eventually become as usable as the X13s already is
<steev> Maybe we need to start a Lasahi Linux gofundme
<steev> I’ll watch it after I wake up, or maybe to fall asleep to
<travmurav[m]> I wonder if qcom would bother with remoteprocs for the alleged x elite EL2 mode
<travmurav[m]> there are definitely a bunch of hexagons in it and I think they boot the same way
<Jasper[m]> <steev> "I’ll watch it after I wake up..." <- Lo-fi Swedish man talking about computing to work or fall asleep to
<steev> lol so I ended up watching the whole thing. The most impressive to me is Johan pronouncing my last name correctly
<jhovold> :)
<steev> Also hrw’s comments about his Chromebook made me laugh. I was “around” (on irc) for that… good times
f_ has joined #aarch64-laptops
todi has joined #aarch64-laptops
jhovold has quit [Quit: WeeChat 4.2.2]
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
<KieranBingham[m]> hrm ... I'm pretty sure my firmwares are being handled (particularly as wifi is working anyway) ... but /sys/class/remoteproc is still empty. I do'nt see anyhting in menuconfig that would suggest needing an additional config for sysfs interface to remoteproc (there is for cdev) so I guess something else is still going on ... (dmesg for reference https://pastebin.com/raw/4evR2Ukn)
<travmurav[m]> Kieran Bingham: can you check sys/kernel/debug/devices_deferred ?
<KieranBingham[m]> 33c0000.pinctrlplatform: wait for supplier /soc@0/remoteproc@3000000/glink-edge/gpr/service@2/clock-controller
<KieranBingham[m]> soundsnd-sc8280xp: WCD Playback: error getting cpu dai name
<travmurav[m]> I guess all of this depends on the adsp remoteproc too
<travmurav[m]> something feels missing for it to appear...
<travmurav[m]> kernel didn't even try booting it
<Jasper[m]> I think I've also included some firmware in initramfs before it started working
<Jasper[m]> You can include the json files aswell
<Jasper[m]> I think the problem was that it enters some failstate at boot because the firmware wasn't included
<travmurav[m]> I think it'd still at least register the remoteproc and complain it failed to boot it
<Jasper[m]> iirc it took a bit of finding out though, so maybe there's nothing there
<KieranBingham[m]> It does look like my initramfs isn't including the full /usr/lib/firmware/qcom ... I'll see if I can figure out how to tell dracut to rebuild that.
<Jasper[m]> Should be enough to just include the sc8280xp folder
<Jasper[m]> And iirc there's a simple "add" command for it
jglathe_volterra has quit [Remote host closed the connection]
jglathe_volterra has joined #aarch64-laptops
<KieranBingham[m]> yeah - it' the "how do I tell fedora thigns to include it" is the hard part. Currently all I'm doing is running "make install modules_install" which seems to hook in somewhere to rebuild things.
<pstef_> it's what I do under Fedora Rawhide
possiblemeatball has joined #aarch64-laptops
possiblemeatball has quit []
<Jasper[m]> <KieranBingham[m]> "yeah - it' the "how do I tell..." <- I'll tell you what I did when I get home. I'm pretty sure it's a permanent solution luckily
<KieranBingham[m]> Jasper: Thanks, I think I've got the dracut conf. I've done this:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/cKbCtCANcoOAJQMEhUssDJkV>)
<Jasper[m]> My bad, something came in the way
<Jasper[m]> <KieranBingham[m]> "Jasper: Thanks, I think I've got..." <- > <@kbingham:matrix.org> Jasper: Thanks, I think I've got the dracut conf. I've done this:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/ATtYjEmaimKPrBZrdPWCqzbj>)
<akaWolf> steev: is there any meaningfull changes from 6.7.10?
alfredo has joined #aarch64-laptops
f_ has joined #aarch64-laptops
<jglathe_volterra> oh this doesn't look good https://pastebin.com/vFaknEQ8
<jglathe_volterra> BH-M9A is my bluetooth headset
possiblemeatball has joined #aarch64-laptops
alfredo has quit [Read error: No route to host]
alfredo has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
alfredo has joined #aarch64-laptops
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
<bumble[m]> <jhovold> "https://resources.linaro.org/en..."; <- watched the entire video and enjoyed it, thank you
<bumble[m]> hoping that x13s will continue to improve for linux
<bumble[m]> it seemed activity level around x13s was high and one could be hopeful support would reach a high level
alfredo has quit [Quit: alfredo]
Caterpillar has joined #aarch64-laptops
Caterpillar has quit [Quit: Konversation terminated!]
<adamcstephens> :( nixos is now zstd compressing the firmware
<adamcstephens> so of course pd-mapper is now brokwn
<HdkR> Looking forward to that in-kernel implementation
<travmurav[m]> We were discussing using zstd for linux-firmware in alpine and afaiu if one uses the tooling inside it, it would respect whence file and won't compress the .jsn files since they're marked raw
<travmurav[m]> the tqftpserv would still be sad in this case but that's not needed on x13s ig
<travmurav[m]> but yeah having it in the kernel would make everyone's life easier xD
ungeskriptet has quit [Quit: Ping timeout (120 seconds)]
ungeskriptet has joined #aarch64-laptops
cyrinux30 has joined #aarch64-laptops
abcdw_ has joined #aarch64-laptops
krei-se- has joined #aarch64-laptops
abcdw has quit [Read error: Connection reset by peer]
indy has quit [Write error: connection closed]
krei-se has quit [Read error: Connection reset by peer]
Erisa has quit [Quit: Ping timeout (120 seconds)]
Erisa has joined #aarch64-laptops
ungeskriptet has quit []
abcdw_ is now known as abcdw
juergh has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
juergh has joined #aarch64-laptops
cyrinux3 has quit [Ping timeout: 480 seconds]
HdkR has quit [Remote host closed the connection]
HdkR has joined #aarch64-laptops
indy has joined #aarch64-laptops
ungeskriptet has joined #aarch64-laptops
<\[m]> didn't know it was funded by arm
<\[m]> who initiated it, arm or linaro?
<HdkR> Who is ARM funding? Netsplit dropped the message
hightower4 has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
<steev> HdkR: the laptop project (aka jhovold's work the past 2 years)
hightower3 has quit [Ping timeout: 480 seconds]
<HdkR> ah
jglathe__ has joined #aarch64-laptops
jglathe_volterra has quit [Ping timeout: 480 seconds]
<jglathe__> Great Job, happy this happens
ellyq has joined #aarch64-laptops
jglathe__ has quit [Remote host closed the connection]
<steev> KieranBingham[m]: the other thing i would suggest... make sure you're using the correct dtb?
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
<KieranBingham[m]> steev: Yes I believe so. I think my(last) issue really is to get the initramfs generated correctly. When I had to stop earlier I was working with srini to get the adsp modules loaded. I think most of my issues are related to the distro and a big part that stopped me this week was I didn't realise fde was blocking and I had to press "enter" to get a prompt to enter my decrypt password. That was annoying to discover :-) it looked
<KieranBingham[m]> like it had hung but was just waiting without displaying a prompt!
<steev> oh wow, that's weird
<steev> definitely shouldn't require input... to do input lol
<craftyguy> robclark: are you using startup.nsh to run slbounce on your x13s? (finally looking at the drive you let me copy last week)
<robclark> yeah.. the slbounce esp has Shell.efi as the bootaa64.efi
<robclark> then runs startup.nsh
<robclark> so I don't have to type a lot of things each time I reboot ;-)
<craftyguy> make sense. I noticed that script is not running the dtbhack thing, is that intentional? I thought it was required for linux boot (or, fixed some things with it?) ?
<robclark> it is commented out at the momemnt, I just hacked the dts when I build kernel
<robclark> so dtb is "pre-hacked" ;-)
<craftyguy> ahh ok
<craftyguy> do you use that same dtb for booting w/o slbounce?
<robclark> no
<robclark> not the final solution
<robclark> I just haven't gotten around to getting the dtb patching to work properly
<craftyguy> I see, just curious
<craftyguy> so for now I'll just use dtbhack since I'm using a different kernel
<steev> - based on johan's 6.9
<steev> clover[m]: pushed 6.9.0; there is no laptop_defconfig for now, just johan's defconfig.
<steev> - include dmitry's in-kernel pd-mapper (enabled as module in johan_defconfig)
<steev> - konrad's pshold work (and fix so that the x13s shuts down)
<steev> - srini's dp audio work (needs his latest firmware and alsa-ucm-configs)
<steev> - dmitry's usb work which should mean no more orientation flipping
<steev> - my bump to the thermals so it can get hotter
<steev> - enable OVERLAY_FS as module in johan_defconfig (i needed this for my sbuild chroots)
<steev> - my patch to bluetooth for using the windows nvm name for the bt firmware
<akaWolf> steev: are there a lot of important changes since 6.7.10?
<steev> there've been a few, yeah, but if 6.7.10 works for you, there's no need to feel like you have to jump to the latest
<akaWolf> audio doesn't work properly, recording too
<akaWolf> sometimes it rebooting while starting graphical podsystem
<clover[m]> Steev: interesting! I will build it tonight. I'm sick of work and want something else to do
<steev> relatable :D i'm building 59 debian testing chroots
<akaWolf> does audio works well for you?
<akaWolf> clover[m]: what's reason to have mesa forked from upstream now?
KREYREN_oftc has joined #aarch64-laptops
<KREYREN_oftc> Does anyon know what's the kernel mainline of https://www.nxp.com/part/MIMX8ML8CVNKZAB#/ ?
KREYREN_oftc has quit [Remote host closed the connection]
<akaWolf> someone using nixos on x13s
<akaWolf> it can be alternative to arch linux arm