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
<FarchordSteveCossette[m]>
Btw thanks for you guys's help. If you're willing, I'd like to help with bringing this laptop into a fully working system alongside your lenovo systems! :)
<FarchordSteveCossette[m]>
Though as you prolly noticed, I'm kindof a newb XD
<robclark>
FarchordSteveCossette[m]: can you run `edid-decode /sys/devices/platform/soc@0/ae00000.display-subsystem/ae01000.display-controller/drm/card1/card1-eDP-1/edid` (the path may be slightly different).. maybe from that output I could figure out what you need to get rid of that panel-edp splat you are seeing. (But probably would be worthwhile if you could get setup to rebulid kernel on your end because it might take a few
<robclark>
iterations of patch to get it right)
<FarchordSteveCossette[m]>
robclark: Oh ofc. Might not be until tomorrow though. But I'll get that for you
<robclark>
no hurries, I won't have a chance to look until tomorrow
<FarchordSteveCossette[m]>
As far as building a kernel, I can prolly use copr, it'll be easier that way
<FarchordSteveCossette[m]>
I need to get wifi working at a bare minimum though lol
<robclark>
I mean, these things are fast enough to build kernel in reasonable time locally... I guess in the end come up with a workflow that works for you but bypassing rpm is a lot faster turn around time for me
phire has quit [Remote host closed the connection]
phire has joined #aarch64-laptops
srinik has joined #aarch64-laptops
Nios34[m] has joined #aarch64-laptops
<Nios34[m]>
Hello! What's the Linux counterpart for qcbattminiclass850.inf?
<Nios34[m]>
It's identified as a Qualcomm PMIC Battery Miniclass device
<bluerise>
anonymix007[m]: no the patch doesn't do anything for Linux
<bluerise>
ath12k doesn't support it yet, but I'm also not running Linux :)
<bluerise>
and yes, the board-2.bin probably has entries for that device without a variant
<bluerise>
so it could possibly work without
<zeph[m]>
Hi all! I bought an awesome Dell XPS13 with Snapdragon Elite X ๐๐๐
<HdkR>
Nice
<zeph[m]>
So, I split the drive and tested Suse, Debian, Ubuntu... none of them would boot ๐ ... looking forward for some updates (if I can contribute data/dumps or attempts... just ping me)
<JosDehaes[m]>
for me the (old) debian 12 image that was posted by linaro booted on my yoga 7x. There was a problem with the debian installer though, I had to fix the image to update libc
<zeph[m]>
<JosDehaes[m]> "for me the (old) debian 12 image..." <- u mean this? https://git.codelinaro.org/linaro/qcomlt/demos/debian-12-installer-image ...it didn't boot on my laptop. I disabled fastboot and TPM, still... I select the USB disk and after a few seconds gets back to boot windows
<JosDehaes[m]>
yes
<JosDehaes[m]>
burn it to USB and see if it boots into the installer
<zeph[m]>
any distro I tried I did not even get to the boot of the usb stick... they all failed after selecting em
<zeph[m]>
that's what I did...
<JosDehaes[m]>
of course not it requires a kernel with all the latest Qualcomm drivers
<JosDehaes[m]>
most of the drivers are going in 6.11, so next versions of major distros may just work in the future
<zeph[m]>
yay!
<zeph[m]>
but even not making it to GRUB or similar? seems odd
<JosDehaes[m]>
oh yes, it should boot to grub
<zeph[m]>
well, mine doesn't
<JosDehaes[m]>
ah I remember I had to disable bitlocker in windows and then disable secure boot
<JosDehaes[m]>
otherwise it wouldn't boot from USB
<zeph[m]>
disable bitlocker?? but that shall not just refer to the windows partition?
<zeph[m]>
i already disabled secureboot
<JosDehaes[m]>
does windows still boot then?
<zeph[m]>
i disabled it just for resizing the partition, then back on
<zeph[m]>
yes it does, but it is bitlocker enabled again
<JosDehaes[m]>
you need to disable bitlocker, and then secure boot (and keep it disabled) to be able to boot from USB
<zeph[m]>
uhmm
<zeph[m]>
ok, and the debian12 from above shall at least give me a grub?
<JosDehaes[m]>
it will probably even boot the kernel and into the installer
<zeph[m]>
would be nice to see, hold on a sec
<JosDehaes[m]>
it did on my yoga even though the image was made for the Qualcomm reference device and not the yoga
<JosDehaes[m]>
if the installer boots, it will probably fail at the step to setup users
<JosDehaes[m]>
because it downloads the debian installer which is now linked against a newer libc
<JosDehaes[m]>
so I replaced those with newer aarch64 versions, and then I was able to install from this image
<JosDehaes[m]>
I don't know if there are already device trees for the dell xps though
<zeph[m]>
haven't seen any so far
<JosDehaes[m]>
the CRD device tree and kernel of that debian 12 image are enough to at least basic boot on the yoga
<zeph[m]>
i'm unsure about disabling bitlocker... shouldn't affect the getting to a bootable usb grub point...
<zeph[m]>
(just concerned as right now I do have data on the windows partition... have been working with WSL2 and WSLg so far, with Debian)
<zeph[m]>
(I have backups of data, no worries... several copies)
DocGalaxyBlock[m] has joined #aarch64-laptops
<DocGalaxyBlock[m]>
manage-bde.exe -status and maybe the drive letter or index should show if the drive is un-/encrypted
<FarchordSteveCossette[m]>
Btw guys might not be a bad idea to setup a github or a wiki, and write general howtos to get laptop X and Y working. I feel like as time goes we'll be getting more and more people asking how to get laptop X working on Linux
<FarchordSteveCossette[m]>
I know it's still early days but the interest will grow
<FarchordSteveCossette[m]>
If you want idm I'll set one up
<zeph[m]>
unencrypted... still not booting from the usb
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
<JosDehaes[m]>
check in bios
<JosDehaes[m]>
on the yoga you need to press F12 at splash screen to get into boot menu, don't know about XPS
<zeph[m]>
Same on the XPS, but once I select the USB and get out of the bios screen... The XPS logo comes up a few secs... Then back to normal boot on windows
<JosDehaes[m]>
maybe the device is too different from the CRD ๐คท
<JosDehaes[m]>
you're probably out of luck then until someone figures out how to boot the XPS
srinik has quit [Remote host closed the connection]
<FarchordSteveCossette[m]>
<sera[m]> "Farchord (Steve Cossette): https..." <- Error-wise, what should i be looking for? Because thereโs alot of errors/notices in the system logs. Example:
<FarchordSteveCossette[m]>
Nope nothing from ath12k
<FarchordSteveCossette[m]>
In dmesg
<FarchordSteveCossette[m]>
I copied the files from windows btw
<sera[m]>
can you make sure the ath12k module is loaded? and it should be attached to a device (subfolder should exist in /sys/bus/pci/drivers/ath12k_pci)
srinik has joined #aarch64-laptops
<FarchordSteveCossette[m]>
sera[m]: There is no ath12k_pci folder in /sts/bus/pci/drivers
<sera[m]>
try loading the module with insmod ath12k
<FarchordSteveCossette[m]>
No such file or directory
<sera[m]>
if it's not working now, see if there are more logs from ath12k farther down
<DocGalaxyBlock[m]>
<FarchordSteveCossette[m]> "Btw guys might not be a bad idea..." <- Last year i wrote a list (markdown) win aarch64 laptops for myself.
<DocGalaxyBlock[m]>
Maybe it could be extended to also house instructions
<DocGalaxyBlock[m]>
I wanted to upload it to github.
<FarchordSteveCossette[m]>
sera[m]: So yeah there are folders now its loaded
<sera[m]>
is the wifi working?
<FarchordSteveCossette[m]>
Nope
<FarchordSteveCossette[m]>
And no further errors in the logs
<sera[m]>
no more messages at all about trying to load firmware? huh
<sera[m]>
must be related to that arm-scmi error then
<FarchordSteveCossette[m]>
Btw i just tried for fun to switch to robclark ยดs kernel but i changed the fstab to use the /dev/sda* names, it still cant mount for some reason
<FarchordSteveCossette[m]>
But this is my stopping point for now gotta go feed the dog and get rdy for work
<FarchordSteveCossette[m]>
<konradybcio> "https://github.com/linux-msm/..." <- I'm curious, if you don't mind me asking: What is this used for? I understand it's a file transfer protocol, but what is AF_QIPCRTR?
<travmurav[m]>
QRTR is qcom's special protocol to talk to the other processors in the SoC
<travmurav[m]>
^ is (afaik) not used on x1e but on older socs you need to let i.e. modem cpu/os download files from application (linux) cpu
<konradybcio>
yes you need this to get wifi on e.g. 845
<travmurav[m]>
or on 7c :)
abcdw has quit [Remote host closed the connection]
abcdw has joined #aarch64-laptops
Caterpillar has quit [Quit: Konversation terminated!]
<FarchordSteveCossette[m]>
<konradybcio> "yes you need this to get wifi on..." <- Ah, ok good thanks! I was just trying to find a reason to push this on Fedora
<konradybcio>
nice
<FarchordSteveCossette[m]>
I'm part of the KDE SiG in Fedora, and we're trying to push more the use of Fedora on mobile devices. Right now we're kinda resigned to low power arm devices (pinephone, ...) but it would be really awesome if support was made for more powerful devices in the future XD That's why we got alot riding on those snapdragon x1 CPUs XD
<travmurav[m]>
Farchord (Steve Cossette): for things that plamo targets you likely /do/ want those daemons like tqftpserv and rmtfs
<travmurav[m]>
as in, I think anything modern that has a modem would need at least those two
<FarchordSteveCossette[m]>
travmurav[m]: Oh yeah of course. Right now I'm sure those are built on copr, because, well... to be fair, the use of plasmo is VERY niche lol
<travmurav[m]>
but well if you want an excuse, 7c based laptops like Acer Aspire1 need those, but I haven't yet got my hands to figuring out how much fedora needs to work properly on it
<FarchordSteveCossette[m]>
travmurav[m]: Yeah I'm not getting a 3rd laptop XD
<travmurav[m]>
(and well, I guess any other older laptops like 850 ones)
<FarchordSteveCossette[m]>
to be fair, my plan is to get as much stuff running out of the box as posssible. Then, I'll take a 2nd USB-C HDD and dumb it all down and document ite
<FarchordSteveCossette[m]>
travmurav[m]: Oh, that works too... I wanted something for people using other distros too
<travmurav[m]>
right
<travmurav[m]>
it's indeed then an interesting question where should we collect the information that is device-centric not distro-centric
<\[m]>
maybe they haven't created higher skus from the start? I don't understand though, is it like a different mold or such to start from?
<travmurav[m]>
I had an impression that all x1e skus are just different bins
<JensGlathe[m]>
they are
<travmurav[m]>
(with x1p being a /very/ bad bin with partial goods)
<FarchordSteveCossette[m]>
\[m]: The way I understand it, most laptops use the X1E80100. Samsung has a higher speed sku, and some use the X1 Plus (Not Elite)
<FarchordSteveCossette[m]>
Maybe it's not available in some locations?
<FarchordSteveCossette[m]>
Ahh ok
<\[m]>
that's the order page imo
<FarchordSteveCossette[m]>
ahhh I see what you mean
<\[m]>
it's a damn fine looking laptop tbh
<\[m]>
biggest trackpad I've ever seen lol except the dell xps one, you don't know where it begins nor ends ๐
<FarchordSteveCossette[m]>
<sera[m]> "Farchord (Steve Cossette): https..." <- Okay so, I've got this setup, except I don't get what ID to grab and slap it where as there's two ids in the arguments. This is the error I get and I don't see an ID:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/umrjYHuVpnOpBZPOeguTAkzk>)
<sera[m]>
yeah, same as earlier, I think the problem is something with the arm-scmi driver, but I don't know anything about the pmic/scmi interfaces. Never had that specific error
<FarchordSteveCossette[m]>
Well no I havent used the ath12k_fwencoder yet
<sera[m]>
It's not getting that far
<FarchordSteveCossette[m]>
because I don't know what to feed it
<FarchordSteveCossette[m]>
Ah ok
<sera[m]>
if the issue is there it should explicitly say "can't find the firmware"
<sera[m]>
and it would be from ath12k_pci
<FarchordSteveCossette[m]>
Ah got it
<sera[m]>
I can't find anyone else who has triggered that message... it seems like maybe it is some issues with scmi... protocol 0x10 looks to be just the base. Try modprobe-ing scmi-core, scmi-module, qcom_scmi_vendor, all the modules in /lib/modules/.../kernel/drivers/firmware/arm_scmi
<sera[m]>
then try to modprobe ath12k after
iivanov_ has quit [Quit: Leaving...]
<JosDehaes[m]>
I think I have the same log but WiFi works here
<sera[m]>
you get the same failed to setup protocol error and not any logs about the FW version loading and ath12k saying the interface is up?
<sera[m]>
the first 7 lines are normal
derzahl has joined #aarch64-laptops
<FarchordSteveCossette[m]>
Dangit, I'll have to reinstall my custom kernel, I did a dumb mistake XD
<FarchordSteveCossette[m]>
I'll do that later
<JosDehaes[m]>
Yeah, I have the same, always have: [ 0.094444] arm-scmi firmware:scmi: failed to setup channel for protocol:0x10
<sera[m]>
Yep, those are the messages that say it loaded right. It seems like in their case it does take a few tries for the scmi channel to work, but it starts at boot way before the ath12k driver even probes
srini_ has quit [Ping timeout: 480 seconds]
laine_ has joined #aarch64-laptops
laine has quit [Remote host closed the connection]
<frozen_cheese[m]>
i've tried using the extracted firmware for board-2.bin
<frozen_cheese[m]>
as well as another firmware set that I don't recall where I got right now
laine_ has quit [Remote host closed the connection]
<derzahl>
@JosDehaes[m]: c630? That would be awesome. I used to have ALARM on mine but then I f'd something up. says i dont have access to the link though
<JosDehaes[m]>
derzahl: no the x elite one ๐, slim 7x
<derzahl>
is the x13s still the best non-apple arm linux laptop? No progress on any of new chromebooks?
<derzahl>
JosDehaes[m]: ohh, ill have to check that out
<HdkR>
There's new chromebooks?
<Jasper[m]>
Mediatek mostly
<Jasper[m]>
I think Google gave up on qualcomm since the sc7280 boards never came out
<derzahl>
newish. yeh, mostly mediatek but some with 8GB RAM
<Jasper[m]>
(in chromebook form, WoA has the venerable book2go)
<derzahl>
slim 7x looks nice. everything working on it?
<JosDehaes[m]>
a lot is working, wifi, touchscreen, keyboard, usb ethernet. Only thing I really miss is speakers
<frozen_cheese[m]>
right now? as long as I stay console-based and have a usb-ethernet, yes
<frozen_cheese[m]>
trying to fix those things now
<JosDehaes[m]>
I have full desktop working, with nearly everything, GPU and all
<FarchordSteveCossette[m]>
Ugh this sucks... I might have to completely redo my fedora install.... for some reason it now refuses to mount the root drive and I have no idea why
<JosDehaes[m]>
audio, webcam, sleep these are the major things not working
<frozen_cheese[m]>
JosDehaes[m]: yeah, those were the other firmware I tried. I wonder if my kernel is not properly loading firmware ...
<frozen_cheese[m]>
I used to get "file not found" type errors and those are gone now, so I assume it's reading the firmware ...
<JosDehaes[m]>
no idea it just works here. Doesn't even need to be in initrd I think
<robclark>
anarsoul[m]: re: battery life.. I've been using the yoga 7x unplugged for about 5.5hrs now.. screen is I think about half (but that is already rather bright.). Been compiling mesa, running vscode, crashing the gpu a lot. Battery at 42% and gnome is estimating another 4hrs 51min. So not all that bad considering we are still using clk_ignore_unused pd_ignore_unused so aren't hitting lowest power state.
<frozen_cheese[m]>
distro?
<JosDehaes[m]>
arch
<derzahl>
JosDehaes[m]: not bad. any luck on other X Elite models? the surfaces or sansungs?
<JosDehaes[m]>
I booted off the (slightly fixed) debian image, and just unpacked the ancient generic arm64 arch image, chrooted in and updated. Replaced kernel, initrd, firmware etc of course
<JosDehaes[m]>
I only have the slim 7x
<HdkR>
I have a short list for things I've noticed missing on Slim 7x. I'm sure they'll get resolved over time
<JosDehaes[m]>
it seems only the asus and the yoga are working nicely atm
<JosDehaes[m]>
yes the yoga has already replaced my trusty M1 MBA (I was an early adopter of asahi)
<HdkR>
USB 20git and thunderbolt, USB hotplug seemingly flakey, USB orientation potentially related. Wifi (which I think has patches). no external DP support, no GPU temperature support, no CPU temperature support. CPU Frequency reclocking is a bit sticky at times, Screen brightness controls(?), and audio
<HdkR>
and I just noticed that fn+space lets you adjust keyboard backlight, which is nice
<JosDehaes[m]>
? I have CPU temp
<JosDehaes[m]>
screen brightness also works fine
<JosDehaes[m]>
did not try external displays yet
<HdkR>
Interesting, I don't get CPU temperature in htop
<robclark>
wifi wfm.. for yoga you can use the board-2.bin.xz I pasted yesterday
<robclark>
I think htop/nvtop doesn't know how to figure out the right tsens's to look at
<JosDehaes[m]>
works in btop, and in vitals gnome extension
<robclark>
that's just a general missing thing across the board
<robclark>
(at least for GPU)
<JosDehaes[m]>
(btw, I worked on btop ๐)
<robclark>
I think external DP and sound are the main things missing.. and maybe camera / vidc ?
<HdkR>
Hopefully the X11 breakage gets fixed in a few days
<colemickens>
robclark: are you going to keep a branch going for mesa or do you expect everything to land in main fast enough?
<robclark>
probably won't be too long before it lands
<colemickens>
cool, I should just get it from chaotic-nyx then in a few days :)
<robclark>
maybe a week or so, maybe less
<colemickens>
it'll just be zink, if it works, but I should have a nixos usb image for a yoga7x if someone wants to test it.
<colemickens>
my estimated delivery date is Aug 10ish. :/
<colemickens>
colemickens: cc: adamcstephens
* robclark
got tired of scrambled web pages with zink
<JosDehaes[m]>
huh? I didn't notice any issues since I built mesa
<JosDehaes[m]>
(or even before)
<robclark>
weather.com for example, but noticed a bunch of things that were pretty garbled, at least in chrome/ium
<robclark>
it was one of the things keeping it from being my daily driver ;-)
<robclark>
now I just need external DP ;-)
<JosDehaes[m]>
seems to work fine here in chromium
<JosDehaes[m]>
speakers would be nice though
<robclark>
try scrolling around? Hmm, I guess I was already using ToT mesa so maybe something broke since last release branch
<JosDehaes[m]>
tried different things, don't notice anything weird
<JosDehaes[m]>
using main branch
<robclark>
use it more, I guess
<HdkR>
Are there any WIP branches for bringing up thunderbolt on the Yoga? I don't even see the controllers on lspci today
<steev>
abel or srini or johan would have them, if there was
<HdkR>
Currently it's the only thing keeping me from yeeting my Orin board out the window
<colemickens>
I'm curious because I still haven't heard a go/no-go on egpu yet
<HdkR>
There was some comments talked about when social influencers were invited to a location to talk about X1E, but nothing confirmed as far as I know
<FarchordSteveCossette[m]>
Strange LOL I reimaged my USB-C HDD, removed the udev rule and fixed the grub launcher config. Booted in, but now I got no mouse and keyboard XD
<FarchordSteveCossette[m]>
This is more and more reminding me of when I was trying to setup macos on my PC lol
<robclark>
FarchordSteveCossette[m]: you probably need to modprobe evdev... which is a bit of chicken/egg problem.. I have /etc/modules-load.d/robs-hacks.conf with:
<FarchordSteveCossette[m]>
Jul 20 00:00:05 fedora pd-mapper[1078]: pd-mapper: Cannot open /lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15: No such file or directory
<FarchordSteveCossette[m]>
Jul 20 00:00:05 fedora pd-mapper[1078]: pd-mapper: Cannot open /lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15: No such file or directory