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
<freekurt[m]> can anyone confirm for me that I don't need to keep a local copy of windows for my x13s in order to update the firmware or find a mac address or get some blob in the future? i want to nuke windows completely without a backup. is that a poor decision for any reason?
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
smpl has quit [Ping timeout: 480 seconds]
<craftyguy> I nuked my windows install asap (never booted it), I haven't noticed anything worse than having windows
<FarchordSteveCossette[m]> craftyguy: I needed it to get firmware offa it
<FarchordSteveCossette[m]> But if we're talking about the Snapdragon X1 laptops, I'd say it's really not in a state right now where you can run without windows
<FarchordSteveCossette[m]> Things are way too unstable as it stands.
<craftyguy> I've been using fw from linux-firmware + extracted from lenovo dl site. It there some other fw that can only be had from windows? IIRC there are ways to get fw from windows update without running windows?
<robclark> so fw falls into two camps.. stuff loaded from kernel (ie /lib/firmware) and bios.. at least on x13s (but I think it should work on other things) there was a way to install fw updates without windows
<robclark> and for x13s lenovo pushed everything else to linux-firmware
<robclark> ofc I'm failing now to find the instructions for bios update.. iirc there where on github somewhere
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
<craftyguy> robclark: I've used this in the past to upgrade EFI fw on the x13s without windows https://gitlab.com/TheOneWithTheBraid/x13s-firmware-update
hexdump01 has joined #aarch64-laptops
<craftyguy> ohh there was an EFI fw update posted this week for the x13s... anyone try it yet?
<craftyguy> 1.61
hexdump0815 has quit [Ping timeout: 480 seconds]
<craftyguy> change log seems kinda boring, just 1 "security update" listed
iivanov has quit [Quit: Leaving...]
paddymahoney has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov has quit []
paddymahoney has quit [Read error: Connection reset by peer]
iivanov has joined #aarch64-laptops
<dgilmore> robclark: https://pagure.io/arm-image-installer/blob/main/f/update-x13s-bios will make a usb disk to update the bios. it should be in arm-image-installer in fedora
paddymahoney has joined #aarch64-laptops
<dgilmore> though looks like it is mising
paddymahoney has quit []
clee_ is now known as clee
paddymahoney has joined #aarch64-laptops
paddymahoney has quit [Read error: Connection reset by peer]
vk6[m] has joined #aarch64-laptops
krzk has joined #aarch64-laptops
paddymahoney has joined #aarch64-laptops
paddymahoney has quit [Read error: Connection reset by peer]
paddymahoney has joined #aarch64-laptops
<sera[m]> <FarchordSteveCossette[m]> "How can I see which modules..." <- I didn't put any modules in the initramfs, pretty much just set everything to builtin. You can see what's enabled by checking /proc/config.gz
dubiousness has joined #aarch64-laptops
<danielt> Yay! mutter-46 just landed in Debian Trixie. That means gnome-shell/wayland is now working out of the box for multi-monitor set ups (and as far as I can tell the visual glitch on workspace switching that made multi-monitor close to unuseable is fixed too).
hightower3 has joined #aarch64-laptops
hightower4 has quit [Ping timeout: 480 seconds]
krzk is now known as Guest1297
krzk has joined #aarch64-laptops
krzk has quit []
Guest1297 has quit []
krzk has joined #aarch64-laptops
hightower2 has joined #aarch64-laptops
hightower3 has quit [Ping timeout: 480 seconds]
baryluk3 has quit [Remote host closed the connection]
<steev> si
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
hightower2 has quit [Ping timeout: 480 seconds]
smpl has joined #aarch64-laptops
<kalebris> what's the best way to check what is using power (like powertop) that works on arm64 (x13s)?
minecrell754 has quit []
minecrell754 has joined #aarch64-laptops
QinZhou[m] has joined #aarch64-laptops
hightower2 has joined #aarch64-laptops
QinZhou[m] is now known as TSIN[m]
<TSIN[m]> hi
<konradybcio> kalebris: you can't really do much here, there's no hardware to measure the current consumption onboard
<konradybcio> only what's flowing out of the battery
<TSIN[m]> Is there any tutorial or post about installing linux on surface pro 11 or xelite laptops?
<FarchordSteveCossette[m]> <TSIN[m]> "Is there any tutorial or post..." <- I haven't seen anyone do anything on the surface pro 11 personally
tobhe_ has quit [Read error: No route to host]
<Painkiller995[m]> Farchord (Steve Cossette): Can you provide more information about the project? I have been checking GitHub, but I haven't found much activity there. I discovered these rooms through GitHub, but I'm still not sure where to find more information.
<FarchordSteveCossette[m]> Painkiller995[m]: The information is generally splattered a bit everywhere. A Decent amount of effort has been made on the Yoga laptop, but you really have to simply scrounge up in the channel history
<FarchordSteveCossette[m]> We're still in the discovery phase tbh, nothing is 100% usable. I personally think it's inadvisable to nuke your Windows install as things stand.
<FarchordSteveCossette[m]> We're very much still in the discovery phase.
<FarchordSteveCossette[m]> i.e. this is a good way to get the wifi running. I'm trying to make it work on Fedora but I think there's something about the way Fedora builds it's kernel that stops this from working
<FarchordSteveCossette[m]> https://pastebin.com/vJEGy5RD
<FarchordSteveCossette[m]> Joske has written a good little walkthrough for arch here: https://gist.github.com/joske/52be3f1e5d0239706cd5a4252606644b
<FarchordSteveCossette[m]> I honestly just think we should just setup 1 repo where we dump all the information required to make our respective laptops working
<FarchordSteveCossette[m]> But as things stands, there's bits and pieces of infos peppered a bit everywhere
<Painkiller995[m]> Farchord (Steve Cossette): This is the issue new members here are facing, or maybe it's just me. Thanks for the info, by the way. I saw a screenshot of your Vivobook running Linux. Is there a guide or something on how you did that? Which kernel build and configuration did you use?
<FarchordSteveCossette[m]> Painkiller995[m]: Right now I don't have anything solid. .sera gave me an image he built of archlinuxarm which makes it boot perfectly (without sound mind you), and wifi works. I don't have a definite guide as I'm still investigating myself. I'm personally working hard right now on transferring the stuff I learn from that image over to Fedora
<FarchordSteveCossette[m]> But as it stands, my Fedora image has no keyboard and mousepad support, so I gotta use an external mouse/kb
<FarchordSteveCossette[m]> Sound as I understand it is currently a no-go
<FarchordSteveCossette[m]> on my laptop, USB-A ports also don't work (If I remember right, Asus used a chipset that other vendors didn't for their USB-A ports, hence why they dont work)
alpernebbi has quit [Ping timeout: 480 seconds]
iivanov has quit [Remote host closed the connection]
<freekurt[m]> <craftyguy> "I nuked my windows install asap..." <- thx for the feedback! going to nuke today. thx for all the pmOS work you are doing. were you able to get the camera working in a browser yet? i tried building Libcamera with softIPA but i kept running into build errors. is that needed?
alpernebbi has joined #aarch64-laptops
<KieranBingham[m]> freekurt: For camera in a browser, then yes you need libcamera for x13s
<freekurt[m]> Kieran Bingham: thanks! do I have to build it myself or are there any releases somewhere? i couldn't find them. i've never used alpine before and they don't really provide good build instructions on the libcamera website.
<KieranBingham[m]> freekurt: Well - if the libcamera build instructions aren't suitable - that's my fault.
<KieranBingham[m]> What do you need to be fixed?
<KieranBingham[m]> But yes - you should be able to use a libcamera release from your package manager as long as it's version 0.3.0 or 0.3.1
<KieranBingham[m]> https://libcamera.org/getting-started.html git clone https://git.libcamera.org/libcamera/libcamera.git cd libcamera meson setup build ninja -C build install
<KieranBingham[m]> the tricky part of building yourself is installing to the right place, and having all the right dependencies.
<freekurt[m]> Kieran Bingham: i don't think it is an issue of being unsuitable, it is just that i am not used to converting all the names of debian packages into alpine packages so that i have all the correct dependencies before building. this is my first time using alpine.
<KieranBingham[m]> I see you're on pmos ... I'm sure there's a pmos libcamera package.
<KieranBingham[m]> You'll also need to have pipewire ... and run firefox-nightly.
<travmurav[m]> freekurt: you can probably just pick up the makedepends from APKBUILD for alpine
<travmurav[m]> ("git repository" link in above one)
<travmurav[m]> but I believe the packaged one should work and I thiiink it was tested in pmOS on few qcom devices
<freekurt[m]> KieranBingham[m]: i was unaware that all i needed was to make sure the libcamera package was 3.0 or above. i thought building it locally was a requirement due to this being a fork or something.
<freekurt[m]> travmurav[m]: thanks!
<KieranBingham[m]> I've used x13s for several video calls now. But please bear in mind this is still fairly early development ;-) - the support for firefox only gets into firefox 129 - and firefox 128 was only just released.
<KieranBingham[m]> (hence nightly builds required)
<freekurt[m]> are the colors expected to improve at some point on the x13s camera?
<KieranBingham[m]> freekurt: 'improve' yes ;-) But how much depeneds on what you're starting from and what you've tried so far
<KieranBingham[m]> But otherwise - it's being actively developed (the softisp) and I'll probably handle some tuning phase when the softisp matures to handle parameterised CCM's
<KieranBingham[m]> you said 'improve' so what have you used so far to see a picture on x13s ?
<KieranBingham[m]> At the moment it's quite usable for video calls - but it's like having a webcam from 2000
<freekurt[m]> i haven't tried video calls yet. just gnome camera.
flokli has quit [Ping timeout: 480 seconds]
cyrinux has quit []
cyrinux has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
<lollaritits[m]> im trying to run GUI apps through FEX Emu but it fails at the mesa driver
<lollaritits[m]> does anyone know how to get it working
iivanov has joined #aarch64-laptops
<lollaritits[m]> i always end up on this error 'MESA-LOADER: failed to open msm: libLLVM-17.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)'
<travmurav[m]> lollar (it/its): are you trying to run fex on alpine host?
<lollaritits[m]> nope archlinux
<travmurav[m]> mhm
<lollaritits[m]> host and rootfs
<lollaritits[m]> i can open stuff like wine explorer
<lollaritits[m]> or this steam update window
<lollaritits[m]> but thats about it
<lollaritits[m]> rootfs is update
iivanov has quit [Ping timeout: 480 seconds]
* colemickens might be in vancouver. bestbuy vancouver might not have a restocking fee
* colemickens can taste the linux on yoga7x already
<\[m]> did anyone maybe contact lenovo to ask where the higher end SKUs are? I might just do it now myself
<robclark> lollaritits[m]: normally you'll need an x86 build of mesa in the fex chroot/container thing.. but HdkR is the resident expert
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit []
<lollaritits[m]> <robclark> "lollar (it/its): normally you'll..." <- how would i get that?
<robclark> I think fexemu has chroots to download for different distro's which should include mesa
khilman has joined #aarch64-laptops
<ektor5> lollaritits[m]: you probably are using the Archlinux rootfs
<ektor5> use Ubuntu24.04 instead
<JensGlathe[m]> Has anybody got an idea where to look? I get this constantly since 6.10, but only on the box running EL2
<lollaritits[m]> <ektor5> "use Ubuntu24.04 instead" <- doesnt work at all :/
flokli has joined #aarch64-laptops
<ektor5> lollaritits[m]: ? I'm using it, the llvm problem is caused from an update in Arch, Ubuntu24.04 works fine for me because version is fixed
<ektor5> you may need to use `export MESA_LOADER_DRIVER_OVERRIDE=zink`
<lollaritits[m]> i got a 2001 game to run
<lollaritits[m]> but without sound
<lollaritits[m]> weirdly sound works in winecfg
<FarchordSteveCossette[m]> <JensGlathe[m]> "Screenshot from 2024-07-26 19-41..." <- That's not a bug, that's a feature. (Don't worry that's "normal", you can ignore it)
<lollaritits[m]> <lollaritits[m]> "i got a 2001 game to run" <- i think the random generator is broken on linux
<lollaritits[m]> the output is very weird
<lollaritits[m]> i get the same all the time
flokli has quit [Quit: WeeChat 4.3.4]
flokli has joined #aarch64-laptops
<colemickens> Do I need to do anything special to get x1e mesa going? I think I need to use zink, but I think it's going to do that by default since the new mesa pr isn't merged yet.
<robclark> you'll want the MESA_LOADER_DRIVER_OVERRIDE=zink env var... just don't forget to remove it after the branch is merged
<robclark> or if you are building mesa, just build it from the PR. I'm down to just a handful of remaining fails, so probably it will be ready to merge later today or over the weekend
<colemickens> nice, thanks.
<lollaritits[m]> <ektor5> "you may need to use `export MESA..." <- failed to load driver: zink
<lollaritits[m]> that just gives me this
<FarchordSteveCossette[m]> Urgh.... everytime I update dracut to add files to the initramfs, the root drive no longer mounts
<FarchordSteveCossette[m]> I have no idea why
<FarchordSteveCossette[m]> and keyboard and mouse still aren't loading
<HdkR> lollaritits[m]: Sounds like the archlinux rootfs borked somehow since llvm-17 wasn't able to be found. If you're running on an X1E device then you'll need to use zink until the Freedreno stuff lands
<lollaritits[m]> im running on X13S
<lollaritits[m]> just as a fun side note
<lollaritits[m]> zuma deluxe (random childhood game) does run
<vk6[m]> so i bought the asus vivobook s15 with the x elite recently, and i was wondering how i could compile a working kernel for it. so far, everything i've tried has resulted in a black screen right after the early kernel startup. i noticed that the device tree for it seems to rely on some firmware binaries i can't seem to find anywhere (qcom/x1e80100/ASUSTeK/vivobook-s15/qcadsp8380.mbn and some others). does anyone know where i could get
<vk6[m]> these files? my end goal is to get debian sid working on this device
<robclark> some of the fw you'll need to copy from windows
<vk6[m]> where is the firmware located in windows?
<vk6[m]> also, i just found this github repository that seems to have the right files, so i think i'll just download them from there https://github.com/Seraphin-/linux-firmware-x1e80100-vivobook
<robclark> I don't remember the windows path offhand.. I just disabled bitlocker and mounted from linux and used find
<vk6[m]> i did a quick search in file explorer and that seems to have worked
<robclark> fwiw, someone posted this earlier: https://gist.github.com/joske/52be3f1e5d0239706cd5a4252606644b
<robclark> looks like the closest thing to instructions that anyone has had a chance to write up yet
paddymahoney has quit [Ping timeout: 480 seconds]
paddymahoney has joined #aarch64-laptops
<amstan> Thanks!
<amstan> ... One of these days
<amstan> Most of those steps look familiar, I actually have another way, but it's good to get the corner cases documented
echanude_ has joined #aarch64-laptops
echanude_ has quit []
echanude has quit [Quit: WeeChat 4.3.3]
<colemickens> lmao I just disabled SB on a Copilot+ laptop and windows just happily booted right up
<colemickens> wait these arent FDE'd? I thought MS was doing bitlocker on all win11 devices now
<colemickens> wtaf
<HdkR> The Yoga 7x that I got had Bitlocker enabled at least
<colemickens> weird just grabbed one in vancouver and it seemingly doesn't. sure enough, no usual bitlocker icon or anything
<colemickens> bummer, saw systemd-boot menu and then black screen :(
<vk6[m]> my asus vivobook s15 also had bitlocker on by default
<colemickens> I actually think it powered off even
<vk6[m]> i believe you have to compile your own kernel (with the right drivers built in), add the right firmware to the initramfs, and specify the correct device tree through grub
<vk6[m]> though i havent gotten it working lol
<colemickens> i'm using abelvesa's kernel, have a custom devicetree line in my systemd boot config entries
<colemickens> should be good to go
<colemickens> interesting, definitely some sort of screen flash
<colemickens> any other kernel params I need to consider
<colemickens> ?
<vk6[m]> i'm not sure about what custom kernel parameters to use
<vk6[m]> but you can try boot_delay=500 to see if you can figure out where it's crashing
<colemickens> Exiting boot services, then sometimes a "screen flash" then nothing