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
<Dantheman825[m]> then I rm'ed the ucm2 directory in /usr/share/alsa, apt removed alsa-ucm-conf, then reinstalled. And I removed the audioreach-tlpg.bin file and replaced it with the one from upstream linux-firmware
<Dantheman825[m]> doing that didn't fix the missing audio on the 6.9.1 kernel from steev's tree, but it brought back audio for my 6.9.0 kernel compiled from jhovold's tree, so partial fix
<Dantheman825[m]> lemme check dmesg
<steev> mine needs the alsa-ucm-conf patches from srini's tree as well as his latest firmware
<Dantheman825[m]> those were the ones I thought I installed
<steev> if you copied it all properly, you'd have working audio :P
<Dantheman825[m]> I probably missed something
<steev> gotta check the dmesg if so
<Dantheman825[m]> so when you installed the ucm conf and firmware files, did you just use cp and copy the files to /usr/share/alsa/ucm2 and /lib/firmware/qcom/sc8280xp/LENOVO/21BX/ respectively?
<steev> i did. well i probably used rsync for the ucm conf files, and cp for the firmware file
<Dantheman825[m]> guess I'll try rsync
<steev> though... i'm probably goign to be moving back to 6.8 for a while. 6.9 has broken injection and monitor mode, which most of y'all probably don't care about
<Dantheman825[m]> hmm, rsync carries permissions over it seems
<Dantheman825[m]> so /usr/share/alsa/ucm2 is owned by my user
<abby> rsync --chown ...
<Dantheman825[m]> okay, fixed the perm issues
<Dantheman825[m]> still no luck on the audio :(
<Dantheman825[m]> and I don't know what to make of the dmesg log, I don't see any glaring errors
<Dantheman825[m]> I think I'll just revert the ucm confs and firmware and stick to my previous kernel
<Dantheman825[m]> mute button light is still broken, but I guess that's what I get for fiddling with things I don't entirely get :/
<steev> what are you seeing when you say no luck with the audio though
<steev> where are you checking
<steev> and do make sure you didn't do somethign silly (like i've done before) where you rsync the umc2... into ucm2 so you end up with the old configs
<Dantheman825[m]> What I did was delete everything in the ucm2 folder, then rsync the new ucm2 into that folder
<Dantheman825[m]> As for what I’m checking, I look at KDE’s volume mixer, and when it’s broken, no devices show up in there
<steev> what about pavucontrol?
<Dantheman825[m]> Nope, nothing (though I’m using pipewire to be fair)
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
alfredo has joined #aarch64-laptops
<JensGlathe[m]> <bamse> "robclark: the current "solution"..." <- Nice. I spent a while to find a chain of incantations to make it boot from type-c and bring up the remoteprocs without killing the rootfs. To "ensure" this the adsp firmware is stored as .disabled in the rootfs and it is only available in the ramdisk... exactly the opposite. If a retry to load from rootfs happens it would still kill the rootfs if it booted from type-c.
<steev> pavucontrol works with pipewire, that's very odd, what does alsaucm listcards show
<steev> i can't recall the exact command
<Dantheman825[m]> list is empty
iivanov has joined #aarch64-laptops
iivanov has quit []
iivanov has joined #aarch64-laptops
iivanov has quit []
iivanov has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
<JensGlathe[m]> after a few days of observation, looks like the ath11k possible ringbuffer issue appears to be fixed / mitigated with the new .41 firmware for WCN6855. 0 occurrences on 3 machines. The X13s did suspends and no occurrence.
emily[m]1 has joined #aarch64-laptops
<emily[m]1> yay!
iivanov has quit [Quit: Leaving...]
jhovold has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
<jhovold> JensGlathe[m]: sounds promising, how often did you hit the ath11k issue before?
aradhya7 has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
<Jasper[m]> Hmm running dracut manually does not make it take the config I created for some reason
<Jasper[m]> @kbingham seems like dracut's install_items option does not do expansion. It's not including the stuff I'm asking :(
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
<kbingham> Jasper[m], I think I found it didn't include subfolders. But did support wildcards if I was ... fairly explicit on those.
<kbingham> I also discovered that almost all of my pain points from when I was at connect was because I had missed/not done this stage mentioned on feodraproject wiki: 'dnf copr enable jlinton/x13s; dnf install x13s'
<kbingham> or more specifically I suspect I was trying to do bits of that myself - not realising it was there and covered it all.
<kbingham> and because the intallation from USB means we add "modprobe.blacklist=qcom_q6v5_pas" - that gets 'remembered' and ends up in a permanant blocklist - so the qcom_q6v5_pas module was blacklisted from ever loading !
<Jasper[m]> kbingham: I copied your approach aswell, but that did nothing either
<Jasper[m]> The json files were not there anyways
<kbingham> and thsi line: https://pagure.io/x13s/blob/master/f/x13s.spec#_35 fixes that
<kbingham> Jasper[m], what task are you currently trying to solve? Get the firmwares to load? or something else?
<Jasper[m]> Both needed firmware and json files aren't included in initramfs so some functionality is broken
<Jasper[m]> I used the Include option before, but that breaks after a kernel upgrade
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
possiblemeatball has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
<JensGlathe[m]> <jhovold> "Jens Glathe: sounds promising..." <- approx once a day on one of the devices, sometimes more often.
<Jasper[m]> @dgilmore do you know if the current ootb dracut config overwrites install_item at some point? Using that in a custom config (that already successfully packs in kernel modules for fde support) doesn't seem to include the firmware at the path I ask it to check.
<Jasper[m]> For some reason it does work for @kbingham, I tried using the exact same option letter for letter, but no dice...
iivanov has quit [Quit: Leaving...]
<kbingham> I'll go grab my x13s and check what my current config file contains
<Jasper[m]> Thanks! I tried what you put in your message before
<KieranBingham[m]> This is what I have currently.
<KieranBingham[m]> and this is also whats in the directories - http://paste.debian.net/1317743/
<Jasper[m]> Aha, the second install_items may do the trick
<Jasper[m]> Now I understand what you meant with the recursive part
<Jasper[m]> Alright, I may know how I can make this work, let me try
<kbingham> is jlinton here ... aha - tab complete works so I guess so. jlinton - are the additions in https://paste.debian.net/1317743/ anything we should add to your repo at https://pagure.io/x13s ?
<Jasper[m]> kbingham, tried doing some shell expansion magic, but dracut says no :(
<Jasper[m]> using ls /lib/firmware/qcom/sc8280xp/{,**/}* will neatly list all files, but has some extra crud that dracut can't do anything with :(
<Jasper[m]> Would be neat if I can filter that out
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #aarch64-laptops
<dgilmore> @Jasper[m]: how did you add the files?
<Jasper[m]> dgilmore: My problem was PEBKAC (and ignorance)
<Jasper[m]> Using "*" as shell expansion only does the files in the current folder without recursion
<dgilmore> Ahh okay I've been known to be the problem
<Jasper[m]> dgilmore: Ah no, that was not my implication. Just figured you may be more familiar with dracut...
<kbingham> looks like the reason I didn't install the jlinton/x13s copr is because copr seems to be different on rawhide ;S so I can't get it to install anyway.
<Jasper[m]> There has to be a way to just list all files with shell expansion
<Jasper[m]> Without spreading random newlines and path names everywhere
<Jasper[m]> Jasper[m]: Okay this implies more things, that's not what I meant
<Jasper[m]> Oh well
<Jasper[m]> Anyways, got a nice idea for a shell expansion oneliner to add all firmware files under /lib/firmware/qcom/sc8280xp to initramfs? {,**/}* adds some unwanted lines dracut cannot use
<dgilmore> Jasper[m]: thats what I currently have
<Jasper[m]> Ah, also a direct path
<Jasper[m]> Oh well
<Jasper[m]> dgilmore: Thanks for the help! (kbingham too)
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
ungeskriptet has quit [Ping timeout: 480 seconds]
<Jasper[m]> @jhovold caught another ath11k oopsie now firmware gets loaded early enough https://paste.centos.org/view/8c7a9bf8
<Jasper[m]> I need to get that panel splat fixed...
Lucanis has quit [Ping timeout: 480 seconds]
Lucanis has joined #aarch64-laptops
<jhovold> Jasper[m]: only seen that once, or on every boot? looks like you fw crashed:
<jhovold> ath11k_pci 0006:01:00.0: firmware crashed: MHI_CB_EE_RDDM
<jhovold> not necessarily related to you loading other fw sooner
<Jasper[m]> jhovold: Only seen that once
<Jasper[m]> jhovold: Understood
possiblemeatball has quit [Remote host closed the connection]
possiblemeatball has joined #aarch64-laptops
<dgilmore> https://paste.centos.org/view/71d89c84 I got earlier today resuming from suspend after lunch
ethan has joined #aarch64-laptops
<jhovold> looks like another ath11k fw crash:
<jhovold> ath11k_pci 0006:01:00.0: firmware crashed: MHI_CB_EE_RDDM
<jhovold> so likely the same issue you've had all along
<jhovold> dgilmore: ^
alfredo has joined #aarch64-laptops
alfredo has quit []
ethan has quit [Ping timeout: 480 seconds]
<\[m]> I put ath11k .41 now too, but I didn't have crashes I believe
iivanov has joined #aarch64-laptops
<\[m]> is this enough you think?
<\[m]> to enable vpn over wireguard
<\[m]> laptop_defconfig works
<jhovold> \[m]: try enabling those and see if works, I won't have time to look at this for while still I'm afraid
<dgilmore> jhovold: cheers
<Jasper[m]> @[Kieran Bingham] you were experimenting with (close to) mainline kernels on Fedora right? Are you using the "official" instructions for that? Last time I tried compiling stopped somewhere sadly...
<kbingham> Jasper[m], Yes, I only run jhovold's 6.9 kernel - which has some additional patches on top to support the Camera + extra configs on top of johan_defconfig to support fedora-rootfs + tailscale-networking (+camera support)
<Jasper[m]> kbingham: Interesting, I think I just used upstream, fedora's distro config and the patch steev made for my panel
<kbingham> I build the kernel on the laptop itself and it builds fine.
<Jasper[m]> I may try again later then if I can get the panel specifics right
<Jasper[m]> I'll come back with some more specific errors
<kbingham> ack
iivanov has quit [Remote host closed the connection]
possiblemeatball has quit [Quit: Quit]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
<DrewCollier[m]> I'm trying to install on my x13s with an encrypted root and unified kernel image on my esp according to https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LUKS_on_a_partition_with_TPM2_and_Secure_Boot
<DrewCollier[m]> When I attempt to build the uki using mkinitcpio, the following modules are not found: crypto_lz4 dm_integrity. I tried using modprobe to load these prior to build but no dice.
<DrewCollier[m]> Any ideas on how to get this working? Thanks
iivanov has joined #aarch64-laptops
<steev> enable those modules in your kernel config
hightower3 has joined #aarch64-laptops
hightower4 has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #aarch64-laptops
pstef has joined #aarch64-laptops
<DrewCollier[m]> Thanks steev. Despite adding those modules and successfully generating a uki without errors, I still am unable to boot (bad kernel image error on boot attempt).
<DrewCollier[m]> There is a warning when making the image that aarch64 is not supported and that it is skipping the hook. Can that be ignored, or do you know what may be the issue causing the bad kernel image boot error?
pstef_ has quit [Ping timeout: 480 seconds]
<steev> i have no idea what warning that is and i don't use arch btw sorry :(
<steev> i don't *think* we even have access to the tpm in linux yet
<steev> https://github.com/jhovold/linux/wiki/X13s shows - for status, so yeah... no tpm yet
<bumble[m]> want to share that arch alarm left my pinephone unusable to the point reinstall was needed about half a dozen times
<bumble[m]> used pmos for almost as long on a different device and never had those problems
<bumble[m]> arch alarm is not stable as the arch name would imply
<DrewCollier[m]> Thanks steev 🥲
pstef_ has joined #aarch64-laptops
pstef has quit [Ping timeout: 480 seconds]
<akaWolf> steev: does tpm es necessary for luks?
<akaWolf> ig*
<akaWolf> is*
Mathew has joined #aarch64-laptops
mcbridematt has quit [Read error: Connection reset by peer]
mcbridematt has joined #aarch64-laptops
Mathew has quit [Read error: Connection reset by peer]
<steev> not for luks, no
<clover[m]> That warning can be ignored I think i get that too. Need to look into it one of these days
jhovold has quit [Quit: WeeChat 4.2.1]
* robclark notices that the HP x1e laptop can be configured w/ 32GB RAM for a not-unreasonable price ($1299.99)
<robclark> anyone found any other reasonable configurable options? Neither lenovo or dell appears to let you customize at this point (AFAICT)
<robclark> looks like wifi is mtk mt7922 or mt7925 if you want wifi7.. which seem to be mentioned in drivers/net/wireless/mediatek .. so I guess that is ok? I don't think I've had anything w/ mtk wifi before
<steev> mtk are fine
<steev> wifi wise
<konradybcio> robclark the dev box looks good.. unless you're looking for a laptop specificallt
<konradybcio> the 1de sku seems to be 100 mhz faster than 84100
<robclark> I kinda like the dev box, but I think it would be pretty inconvenient to haul btwn home and office
<JensGlathe[m]> buy 2
<robclark> so was kinda looking for laptop options which are less than 2x the dev box price ;-)
<robclark> so far.. that seems to be the hp
<steev> yeah, but the downside is, hp quality
<konradybcio> uhhhh the galaxy book edge apparently has ufs
<konradybcio> instead of a nvme
<robclark> smh
<steev> well that's why it's 1000 cheaper :P
<konradybcio> they do throw in a >$300 tv "in the box" in the usa thugh
<steev> oh spiffy, i don't have a tv
<robclark> hp is nvme at least
<JensGlathe[m]> will go for T14s if I can find an excuse
<steev> you want something with good build quality
<steev> ez excuse
<JensGlathe[m]> you have more laptops, but that's not an excuse.
<robclark> t14s is something like $2.7k ... so well into the "just buy two devbox's" territory
<JensGlathe[m]> my excuse will probably be "I want this"
<steev> yeah :( and even f&f don't get a discount on it which is sad
<JensGlathe[m]> hmm I work at a reseller, so maybe...
<steev> you need it in order to give a proper recommendation to customers
<steev> boom
<JensGlathe[m]> in the NAV team, but yeah, employee discount
<konradybcio> wait, t14s STARTS AT 2700!?
<robclark> w/ 32GB
<konradybcio> yeah no i'd rather keep both my kidneys
<robclark> same
<steev> i'm guessing they're just assuming companies will be paying for them
<JensGlathe[m]> they do
<steev> hmm
<steev> i think my intel macbook pro just died
<steev> actually i have no idea, maybe just the display died
<steev> the fans are still going ham
<steev> phew, crisis averted. that would have sucked since its been running benchmarks since monday
<steev> step 28 of 79 though, i don't think this is gonna finish before the weekend
<HdkR> My tower of unused laptops must grow
<HdkR> The X13s shall join the pile!
<steev> HdkR: you can help mine increase too :P
<steev> i've actually finally found something that can oom the 16GB x13s i have, and that's building Zed
<HdkR> Whoa
<steev> which is impressive because chromium doesn't
<steev> it's a rust app, and i'm guessing they use lld
<HdkR> lld's multithreaded linking step can really smash out the memory usage
<steev> that it can
<HdkR> It's pretty great for LTO though, really speeds things up :D