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
<clover[m]> Who was that pine clover freak
<clover[m]> Anyway power is finally back on
<steev> woo
<steev> btw, i pushed 6.9.1; nothing new except based on 6.9.1
<clover[m]> Sweet
<enyalios> HdkR: did you ever get a chance to look into that fex-emu crash when you try to use steam remoteplay?
KREYREN_ has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
<HdkR> enyalios: Spent a bit of time looking at it. Looks like a logic bug in Steam, potentially getting unexpected data back from vaapi. But it tries to convert a nullptr in to a std::string. Didn't dive much deeper than that.
<bumble[m]> about to install linux on the x13s and found that I need to disable secure boot and there are messages at the bios telling me to backup the bitlocker encryption key. I'm not familiar with windows or bitlocker. After google-searching, I found this command `manage-bde -protectors C: get` which shows the following... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/shOvtWrsYDMlpWVTKANPVnAL>)
<bumble[m]> a windows recovery drive is created
<bumble[m]> will a bitlocker key be necessary to recover windows later?
<bumble[m]> I would _guess_ there is no encryption and therefore recovery image could be applied and used without any keys
<HdkR> Only necessary if you care about the data in Windows and keeping it secure
<HdkR> You can also just as easily disable Bitlocker inside of Windows and once it decrypts everything then destroying the keys doesn't matter
<bumble[m]> okay thanks
<bumble[m]> inside windows I opened a bitlocker settings thing from the control panel and it looks like bitlocker is not engaged
<HdkR> Cool, then disabling secureboot won't affect it
<bumble[m]> guess I'll disable secure boot and not worry about this
<bumble[m]> okay thanks for confirming
<bumble[m]> you give me increased peace of mind
<akaWolf> steev: can you share your ls -l /proc/asound?
<enyalios> HdkR: this is the issue i should watch if i want updates on that, correct? https://github.com/FEX-Emu/FEX/issues/3611
<HdkR> enyalios: yea
<enyalios> cool, thanks
<bumble[m]> @_oftc_craftyguy:matrix.org installing pmos here. the pmos usb environment seems perfect. hardware acceleration and wifi are working right away. thank you for adding this device to pmos
<bumble[m]> @_oftc_craftyguy:matrix.org @_oftc_pstef_:matrix.org I also find the volume level to be very nice here on postmarket os + x13s
KREYREN_ has quit [Remote host closed the connection]
<craftyguy> bumble: nice! Glad to hear it's going well for you :)
<akaWolf> who is using x13s? can you share your ls -l /proc/asound please?
<bumble[m]> craftyguy: yeah :)
<akaWolf> bumble[m]: do you have audio working?
<bumble[m]> craftyguy: actually... install process finished from the usb image, but when I reboot the machine it hangs at 'lenovo' image
<bumble[m]> oh its workng now
<bumble[m]> I restarted and selected nvme* from bios boot menu and its n
<bumble[m]> akaWolf: yes audio is working well here
<akaWolf> bumble[m]: can you share your ls -l /proc/asound?
<bumble[m]> sure hold on let me get into this room from that machine
<enyalios> akaWolf: https://bpa.st/WPDA
<enyalios> i have working sound and thats mine
<akaWolf> enyalios: yeah, thanks, and «aplay -l», «aplay -L»?
<enyalios> the output from the second command stars at the line that says 'null'
<akaWolf> enyalios: yeah, I know, thanks
<akaWolf> does «speaker-test -c 2» works for you?
<craftyguy> bumble: interesting, was the nvme drive not in the boot lineup?
<enyalios> i hear static coming out of each speaker in turn
<akaWolf> enyalios: yeah
<enyalios> is it supposed to play white noise?
<akaWolf> yeah, exactly
<akaWolf> «aplay -D sysdefault /usr/share/sounds/alsa/Noise.wav» and this one?
<enyalios> i hear nothing when i run that
<akaWolf> so aplay works well too
<enyalios> yeah it can play sounds normally
<akaWolf> with «-D sysdefault»?
<akaWolf> and can you run «alsactl --file /tmp/asound.state store» and share asound.state?
<enyalios> no nothing plays when i use `-D sysdefault`
<enyalios> im running alsa-ucm-conf-1.2.11
<akaWolf> but it fails or no with sysdefault?
<akaWolf> to execute
<bumble[m]> akaWolf: this is it... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/mTxWYqinLRitmpXMSYYBDHrG>)
<akaWolf> bumble[m]: yeah, thanks
<enyalios> aplay runs when i give it the sysdefault arg but i dont hear anything
<bumble[m]> when I boot the x13s, while the 'lenovo' screen is showing, there appears a red text in the upper left that says something like "device tree could not be found" is that normal?
<akaWolf> enyalios: that's weird...
<craftyguy> bumble: ya that's normal, it'll go away in the next release of sd-boot: https://github.com/systemd/systemd/commit/fb7a902aed5a795fc5e2f613ffbfa07737b25629
<bumble[m]> craftyguy: thanks this system exceeded my expectations!
<bumble[m]> its wonderful
<bumble[m]> craftyguy: question: are all software installed with apk add compiled for arm?
<craftyguy> ya a lot of folks here have done an amazing job supporting the x13s
<bumble[m]> if qutebrowser is installed, does it install an arm64 version of qutebrowser and dependencies?
<bumble[m]> oh okay great!
<bumble[m]> wow
<craftyguy> yep, it's installing from Alpine's aarch64 repo
<bumble[m]> wow!
<bumble[m]> this is so amazing
<craftyguy> flatpak is nice too for installing stuff on it :P
<bumble[m]> for reasons that might not be sensible I don't want to use flatpak
<bumble[m]> maybe guix
<bumble[m]> but qutebrowser has some issues on guix so, maybe not
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
<akaWolf> in the end I've got sound working, but with pipewire only, that's a mystery for me why it's not working directly via alsa, and what's the goal of pipewire here.
possiblemeatball has quit [Remote host closed the connection]
<akaWolf> ah, looks like it's using hw device 0,1 instead of 0,0
<steev> 0,0 is probably the headphones
<enyalios> akaWolf: yup i normally just use plain alsa but couldnt get that working either
<enyalios> so im using pipewire as well :-/
<akaWolf> sound from mic is still very distorted
<akaWolf> is it expected?
<akaWolf> enyalios: to use plain alsa you just have to set default device to hw 0,1
<steev> supposedly, it's only distorted under pipewire
sporos11[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> steev: yeah, with internal mic it's working fine, but with external -- distorted
<steev> what do you mean external mic
<steev> you may need to play around with pipewire settings
<travmurav[m]> akaWolf: have you manually enabled the correct ucm config if you run raw alsa? Why do you even want to use raw alsa?
alfredo has joined #aarch64-laptops
<travmurav[m]> akaWolf: it's a bit of a pita to use raw alsa on devices like this but tl;dr you need to set the ucm profile/device like this:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/SnYXErcPAlyeHIvUEHEgAgrl>)
<travmurav[m]> and then you need to stream audio to the correct pcm subdevice iirc
<travmurav[m]> so i.e. hw:0,1 for Speakers, see PlaybackPCM in ucm
<travmurav[m]> same for CapturePCM
jglathe__ has joined #aarch64-laptops
<akaWolf> steev: I've installed pulse
<akaWolf> and when connect headphones it switches to Mic from DMic
<akaWolf> I guess Mic is external microphone of headphones
<steev> no idea there
<akaWolf> travmurav[m]: no, I didn't enable ucm config, looks like it's autodetect automatically
<travmurav[m]> akaWolf: when you use raw alsa without pa/pw, it won't autodetect anything
<akaWolf> well I have no reason to use alsa standalone, just wanted to check every subsystem sequentially
<akaWolf> travmurav[m]: thanks for the tips, now I understand it better
Liso[m] has quit [Quit: Client limit exceeded: 20000]
Las[m] has quit [Quit: Client limit exceeded: 20000]
aigotchi[m] has quit [Quit: Client limit exceeded: 20000]
Nei[m] has quit [Quit: Client limit exceeded: 20000]
akawolf[m] has quit [Quit: Client limit exceeded: 20000]
albsen[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> steev: which firmware is needed to enable video accel?
AlexMarty[m] has quit [Quit: Client limit exceeded: 20000]
anarchron has quit [Quit: Client limit exceeded: 20000]
Anton[m]1 has quit [Quit: Client limit exceeded: 20000]
ArtyomK[m] has quit [Quit: Client limit exceeded: 20000]
averyfreeman[m] has quit [Quit: Client limit exceeded: 20000]
<steev> somethingvsssomething.mbn
baspar[m] has quit [Quit: Client limit exceeded: 20000]
bioxvirizm[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> steev: yeah, qcvss8280.mbn
pz[m] has quit [Quit: Client limit exceeded: 20000]
danielt has quit [Quit: Client limit exceeded: 20000]
davidebeatrici[m] has quit [Quit: Client limit exceeded: 20000]
emily[m]1 has quit [Quit: Client limit exceeded: 20000]
EnigmaCurry[m] has quit [Quit: Client limit exceeded: 20000]
enserzo[m] has quit [Quit: Client limit exceeded: 20000]
firlaev-hans-fiete[m] has quit [Quit: Client limit exceeded: 20000]
<steev> i believe there are still patches for that in the wip trees
harvests[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> but I have it in place and don't have video accel working
harvestz[m] has quit [Quit: Client limit exceeded: 20000]
hlr[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> [ffmpeg/video] vp9_v4l2m2m: VIDIOC_G_FMT ioctl
szclsya[m] has quit [Quit: Client limit exceeded: 20000]
kazek[m] has quit [Quit: Client limit exceeded: 20000]
LoganLeland[m] has quit [Quit: Client limit exceeded: 20000]
LikeNeosMatrix[m] has quit [Quit: Client limit exceeded: 20000]
lun[m] has quit [Quit: Client limit exceeded: 20000]
malvi[m]1 has quit [Quit: Client limit exceeded: 20000]
matthew[m]1234 has quit [Quit: Client limit exceeded: 20000]
mynery[m] has quit [Quit: Client limit exceeded: 20000]
NomadNaomie[m] has quit [Quit: Client limit exceeded: 20000]
nicholascw[m] has quit [Quit: Client limit exceeded: 20000]
Nick[m]1234 has quit [Quit: Client limit exceeded: 20000]
Nao[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> steev: do you have video accel?
nscnt[m] has quit [Quit: Client limit exceeded: 20000]
owc[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> is it working for you?
patzek[m] has quit [Quit: Client limit exceeded: 20000]
PterKoczka[m] has quit [Quit: Client limit exceeded: 20000]
DocGalaxyBlock[m] has quit [Quit: Client limit exceeded: 20000]
quinine has quit [Quit: Client limit exceeded: 20000]
Guest6634 has quit [Quit: Client limit exceeded: 20000]
resuenehparg[m]1 has quit [Quit: Client limit exceeded: 20000]
sally[m]123 has quit [Quit: Client limit exceeded: 20000]
sally[m]1234 has quit [Quit: Client limit exceeded: 20000]
cenunix[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> ah, what happened with matrix interop
<steev> no idea, it's not one of the things that i test. i only have.... "home movies" on mine and don't really care about hw accel for them, if you catch my drift
shjim[m] has quit [Quit: Client limit exceeded: 20000]
Sobek[m] has quit [Quit: Client limit exceeded: 20000]
steveej[m] has quit [Quit: Client limit exceeded: 20000]
Stirl[m] has quit [Quit: Client limit exceeded: 20000]
<steev> could be the matrix bridge droppiing
<akaWolf> steev: well, at some moment it worked for me, but now -- no, not sure what's reason
sz3m3k[m] has quit [Quit: Client limit exceeded: 20000]
<steev> what kernel are you running
M0133oracle[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> at least you can try with your current kernel.. it's easy
vadikas[m] has quit [Quit: Client limit exceeded: 20000]
Nios34[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> mpv --hwdec=v4l2m2m-copy <file>
wiizzard has quit [Quit: Client limit exceeded: 20000]
wiley[m] has quit [Quit: Client limit exceeded: 20000]
<akaWolf> I'm at 6.7.10
<akaWolf> your branch, steev :)
<akaWolf> steev: looks like it's working?
<steev> i guess so
<steev> that's on 6.9.1
<akaWolf> well, I will try new kernel later, thanks
<akaWolf> do you have in dmesg anything qcvss8280|venus?
jglathe__ has quit [Ping timeout: 480 seconds]
alfredo has quit [Quit: alfredo]
psydroid[m] has quit []
shawnguo has joined #aarch64-laptops
jglathe__ has joined #aarch64-laptops
hightower2 has quit [Remote host closed the connection]
jglathe_volterra has quit [Remote host closed the connection]
alfredo has joined #aarch64-laptops
alfredo has quit [Read error: Connection reset by peer]
jglathe__ has quit [Ping timeout: 480 seconds]
jglathe__ has joined #aarch64-laptops
jglathe__ has quit [Ping timeout: 480 seconds]
jglathe__ has joined #aarch64-laptops
aradhya7 has quit [Quit: Connection closed for inactivity]
alfredo has joined #aarch64-laptops
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
KREYREN_oftc has joined #aarch64-laptops
<jglathe__> Hmm pop-os won't boot with systemd-boot, even if you have efivars on and the install runs through without errors.
<jglathe__> It creates the EFI boot entry
<jglathe__> you ca see the efi variables
<jglathe__> its in the efi menu
<jglathe__> won't show up when booting, only "boot to efi"
<jglathe__> booting via grub (2.12 from Ubuntu) works, though
neobrain[m] has quit []
Pr0xyG33k has joined #aarch64-laptops
Pr0xyG33k has left #aarch64-laptops [Leaving]
alfredo has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
Pr0xyG33k has joined #aarch64-laptops
Pr0xyG33k has left #aarch64-laptops [#aarch64-laptops]
jglathe_volterra has joined #aarch64-laptops
<pine-clover[m]> steev: i can't get past "Loading inital ramdisk" once updating to 6.9.1 (i am using a new install, ext4 with no dm-crypt)
<pine-clover[m]> any tips?
<jglathe__> dtb is referenced?
<pine-clover[m]> i thought that wasn't needed with the linux option enabled
possiblemeatball has joined #aarch64-laptops
possiblemeatball has quit [Remote host closed the connection]
<jglathe_volterra> the dtb must be in the ESP then, in the root directory
<abby> the linux option makes the efi firmware look for the dtb in the ESP
<pine-clover[m]> yes it is
possiblemeatball has joined #aarch64-laptops
<pine-clover[m]> and rolling back to 6.7.10 it boots fine so im wondering if something changed with the kernel parameters maybe?
<pine-clover[m]> i have efi=noruntime pd_ignore_unused and clk_ignore_unused
<jglathe_volterra> arm64.nopauth
<jglathe_volterra> there were a few changes re dtb from 6.7.10 to 6.9.1
<pine-clover[m]> awesome that worked
<pine-clover[m]> thanks glathe
<pine-clover[m]> now i guess i can just disable the pd-mapper service
<jglathe_volterra> the arm64.nopauth patches were removed with 6.8 iirc
<abby> why were they removed?
<jglathe_volterra> jhovold explained it: https://oftc.irclog.whitequark.org/aarch64-laptops/2024-01-26#;nopauth
<abby> "they tried fixing the nopauth issue but it regressed windows" ah
alfredo has quit [Quit: alfredo]
KREYREN_oftc has quit [Remote host closed the connection]
<clover[m]> getting a weird bug with 6.9.1, my bluetooth mouse will connect, but it doesnt work i.e. it wont move my cursor around or register clicks
<clover[m]> not sure if this output is related but that is the address of my BT mouse:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/PwjAvXsQgItWanxairojyUiX>)
<travmurav[m]> is uhid module loaded in the kernel?
<clover[m]> lsmod | grep uhid returns nothing
<travmurav[m]> if its a module for you conig, what if you modprobe it and reconnect hte mouse?
<clover[m]> ➜ ~ modprobe uhid
<clover[m]> modprobe: FATAL: Module uhid not found in directory /lib/modules/6.9.1-0-x13s-g7a6376f16c4f
<clover[m]> must not be enabled in config?
<travmurav[m]> probably want to check it, if it's Y then probably some other issue
<travmurav[m]> but I think I always needed uhid for bt mice
<clover[m]> # CONFIG_UHID is not set
<travmurav[m]> don't quite understand why kb can work with in-kernel stuff but not mice
<travmurav[m]> but I always have uhid enabled and set to probe on boot since it never autoprobes for me either I think
<jglathe_volterra> its not set in johan_defconfig and also not in defconfig, but in (older) laptop_defconfig and in devkit_defconfig
jglathe_volterra has quit [Remote host closed the connection]
possiblemeatball has quit [Quit: Quit]
vadikas[m] has joined #aarch64-laptops
<vadikas[m]> I'd say upgrade to 6.9.1 breaks boot --
<vadikas[m]> silence after EFI messages
<clover[m]> vadikas: do you have arm64.nopauth kernel parameter?
<jglathe__> have it running here, with Ubuntu 24.04 and pop-os 22.04
<vadikas[m]> clover[m]: no, will try it now
<clover[m]> yeah we need it now
<vadikas[m]> well, it partly helps
<vadikas[m]> now it waits for root dev, that never appears (
<clover[m]> ah, do you use FDE?
<jglathe__> doyou have the dts referenced
<jglathe__> sorry dtb
<vadikas[m]> in the kernel command line? no
<jglathe__> hmm how do you boot
<clover[m]> he probably has sc8280xp-lenovo-thinkpad-x13s.dtb in boot
<clover[m]> if he is using the kernel i packaged
<vadikas[m]> yes (both suggestions)
<clover[m]> if you are using block encryption, yeah something is borked with it i would downgrade to 6.7.10
<vadikas[m]> no, i dont
<clover[m]> oh ok
<steev> filesystem type?
<vadikas[m]> ext4
<steev> pointing to the correct device?
<vadikas[m]> well, at least until upgrade
<clover[m]> here is my grub kernel config:
<clover[m]> linux /vmlinuz-linux root=UUID=5fd51afb-a204-42f0-8233-2955c5ad2c41 rw loglevel=3 quiet efi=noruntime pd_ignore_unused clk_ignore_unused arm64.nopauth
<clover[m]> make sure yours looks like htat
<clover[m]> s/htat/that/
<steev> but with the correct uuid; also make sure you have https://github.com/steev/linux/commit/e42d8feb0a7ea96cb121b95ba1f84aae17cab844 those in your initramfs
<clover[m]> speaking of kernel config, steev do we still need iommu.passthrough=0 iommu.strict=0?
<clover[m]> good point my uuid will look different
<steev> it was never *needed*, but it helped with usb perf, iirc
<clover[m]> i have these modules in /etc/mkinitcpio.conf:
<clover[m]> MODULES=(nvme phy_qcom_qmp_pcie pcie_qcom i2c_hid_of i2c_qcom_geni leds_qcom_lpg pwm_bl qrtr pmic_glink_altmode gpio_sbu_mux phy_qcom_qmp_combo panel-edp msm phy_qcom_edp)
<clover[m]> BTW steev i had to add CONFIG_UHID=y to get my mouse to work on 6.9.1
<steev> i can throw that in with 6.9.2
<clover[m]> cool
possiblemeatball has joined #aarch64-laptops
<clover[m]> oh cool, upstream mesa includes freedreno drivers. that means i can stop carrying
<jglathe__> if you get the odd blue screen wake from display suspend blue screen endless loop: don't use fractional scaling, and not have this issue
JensGlathe[m] has joined #aarch64-laptops
<steev> i use it here and don't see the issue, but i don't extensively use suspend
<JensGlathe[m]> well this has bugged me for a while. found out when playing around with pop-os, but its consistent in Ubuntu. Up until 6.7.1, this worked flawlessly, but then... it didn't. Seems to be dependent on the display, too. But the main change I did with my display now (Iiyama 32" 3840x2160 via miniDP) is not use frctional scaling, and it "works".
<JensGlathe[m]> The other boxes when they are on an external screen also don't use fractional scaling, the issue never appeared (others did, though 😈)
<steev> jglathe__: i... lied and just saw the issue, more specifically though, internal display doesn't wake up but the external does, no blue screen though; had to unplug adnd then plug my adapter in (it's some apple hdmi adapter)
<JensGlathe[m]> with usb type-c HDMI adapters this is a whole other host of fun.. need to test the newer kernels
<JensGlathe[m]> s/frctional/fractional/
jglathe__ has quit []
jglathe_x13s has joined #aarch64-laptops
jglathe_x13s has quit [Ping timeout: 480 seconds]
<clover[m]> Yeah I've seen this issue too where the internel display doesn't wake up until replugging the external display
<steev> i'm 90% positive it's a known issue and johan mentioned it in his talk