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
tobhe_ has quit [Ping timeout: 480 seconds]
tobhe has joined #aarch64-laptops
<leland[m]>
T14s snapdragon on a good sale right now it looks like
<HdkR>
"sale" :)
<leland[m]>
Haha yeah.....
<erebion[m]>
I've got Secure Boot working with Unified Kernel Images :D
<erebion[m]>
So yeah, this indeed works without bricking anything.
<robclark>
dummy regulator msgs are ok.. that dates back to days when genpd functionality was exposed to drivers as regulators.. probably some code we could remove these days.. the "fb0: Framebuffer is not in virtual address space" stuff, not sure what that is about offhand or if it matters
<erebion[m]>
Battery life does not seem the way it should be, just around six or seven hours, something must be missing for this X13s... 🤔
<erebion[m]>
Also, suspend seems to only blank the screen and not actually suspend
<steev>
we don't hit the deepest sleep states, it's known
<steev>
we should be hitting s2idle in suspend though, not just blanking
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
schueszy[m] has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<JensGlathe[m]>
Framebuffer not in VA space is a warning, introduced that the graphics driver isn't using some memory mapping correctly afair
<JensGlathe[m]>
it works regardless (for now)
paddymahoney has quit [Ping timeout: 480 seconds]
paddymahoney has joined #aarch64-laptops
<kuruczgy[m]>
ahoneybun: You probably have to build the install ISO for yourself, I haven't seen any upstream support for booting the ISO with a device tree.
<kuruczgy[m]>
But I believe if you configure it with the right initrd kernel modules + right device tree you should be able to get it booting on the X13s
<kuruczgy[m]>
I have a repo with the necessary nixpkgs patches to do exactly that, but unfortunately for the x1e80100 and not sc8280xp: https://github.com/kuruczgy/x1e-nixos-config/
alfredo has joined #aarch64-laptops
SpieringsAE has joined #aarch64-laptops
<SpieringsAE>
for some reason it seems impossible to find the lenovo t14s with 64gb ram here in europe, the sale makes it actually reasonable, but only in the US :(
<SpieringsAE>
is there already fwupd support for arm devices? I guess not
<SpieringsAE>
it does run on my pinebook pro, but there just isnt any supported firmware
jhovold has joined #aarch64-laptops
srinik has joined #aarch64-laptops
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
alfredo has quit [Remote host closed the connection]
<ahoneybun[m]>
The device tree file is in upstream now it's just telling it that it's there or something
chrisl has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
paddymahoney has quit [Ping timeout: 480 seconds]
paddymahoney has joined #aarch64-laptops
<erebion[m]>
Tried using the Pinephone dock with the X13s, lsusb shows this as a "billboard", but I don't get a video output. Is there anything missing kernel side for video output or am I just missing some sort of firmware or udev rule for that?
<erebion[m]>
<SpieringsAE> "for some reason it seems..." <- That was also the case for the X13s around a year ago. Maybe Lenovo first want to sell the less interesting option or whatever. I did not buy an X13s for a long time as 16 GB of RAM just is not enough for me. And 32 GB was not available. Maybe it will be soon-ish.
alfredo has quit [Quit: alfredo]
<erebion[m]>
Where does the X13s store its Bluetooth MAC?
<Jasper[m]>
<erebion[m]> "Tried using the Pinephone dock..." <- USB C alternate mode stuff is still a bit messy iirc, I've had issues upstream with some ports being stuck to single functions
<Jasper[m]>
You can try flipping the cable over, trying the other ports
<Jasper[m]>
erebion[m]: I think the latest theory is that tz is involved? I don't remember completely
<Jasper[m]>
I've also heard it's supposed to be in DPP
<\[m]>
<SpieringsAE> "for some reason it seems..." <- I've actually called their sales twice and got a direct answer - but if it's not available that will probably be their answer. they might have a view on timelines
<erebion[m]>
<Jasper[m]> "You can try flipping the cable..." <- Already tried that
<erebion[m]>
<Jasper[m]> "I think the latest theory is..." <- timezone? o.O
<Jasper[m]>
Trustzone
<erebion[m]>
Oh, that makes more sense
todi has quit [Remote host closed the connection]
<\[m]>
I know there's like repackaging companies for getting stuff from the usa though? might add significant costs though
<Jasper[m]>
Superbuy will work iirc
<\[m]>
I am planning to get an x1e laptop like around release date of 6.13 kernel - that's a good timing as I understood?
<Jasper[m]>
I'm just waiting for them to drop in price or show up on second hand sites a lot more
alfredo has joined #aarch64-laptops
<macc24>
there will probably be a lot of them in outlets
<erebion[m]>
<\[m]> "I know there's like repackaging..." <- I've had good experience with shipito.com
<erebion[m]>
Also, I know some nerds get their devices via people bringing them to Chaos Communication Congress, as we have people from everywhere coming there :D
svarbanov_ has quit [Ping timeout: 480 seconds]
SouthernPenguin_ has joined #aarch64-laptops
SouthernPenguin has quit [Read error: Connection reset by peer]
SouthernPenguin_ is now known as SouthernPenguin
todi has joined #aarch64-laptops
<JosDehaes[m]>
Jasper: I'm willing to sell my yoga 7x
<Jasper[m]>
JosDehaes[m]: NU AL
<Jasper[m]>
That's quick
<JosDehaes[m]>
a bit disappointed in the device
<Jasper[m]>
Can imagine
<JosDehaes[m]>
it's not even faster than my M1 MBA
<JosDehaes[m]>
so, no, the X elite is not a macbook killer
SpieringsAE has quit [Remote host closed the connection]
<macc24>
JosDehaes[m]: wtf
<macc24>
did you benchmark them both?
<JosDehaes[m]>
yes, in a benchmark that matters to me, compiling big rust projects
<JosDehaes[m]>
as that's my job
<JosDehaes[m]>
even though it has 12 P cores and the M1 only has 4+4
<Jasper[m]>
JosDehaes[m]: On Linux?
<Jasper[m]>
Can imagine there's some performance scaling issues for now
<JosDehaes[m]>
linux on the yoga, macos on the M1
<macc24>
do you have cpufreq stuff enabled?
<JosDehaes[m]>
I use johan_defconfig
<macc24>
are you using a patched kernel or not?
<JosDehaes[m]>
should it be faster?
<Jasper[m]>
JosDehaes[m]: Yeah okay, it should be faster in every way possible hahahaha
<macc24>
you need patches for cpufreq on x elite
<macc24>
otherwise it's running on boot clocks(slow)
<JosDehaes[m]>
oh, haven't seen those then
<Jasper[m]>
So I'd indeed recheck your kernel builds
<JosDehaes[m]>
can you point me to the patches?
<JosDehaes[m]>
I'll benchmark it again, and may need to revisit my offer Jasper 😁
<Jasper[m]>
JosDehaes[m]: Hahahah no worries
<JosDehaes[m]>
anyway, planning on getting an M4 max, which will for sure blow it out of the water (at 5 times the cost of course)
<Jasper[m]>
Yeah M4's quicker, haven't seen by how much though
<Jasper[m]>
iirc ipc on the X elite cores is a lot better going off the die pics someone made
<JosDehaes[m]>
it's not even close to anything else on the market
<JosDehaes[m]>
and benchmarked on a thin ipad
<JosDehaes[m]>
so imagine how fast that will be in a macbook pro with active cooling
hexdump01 has quit []
hexdump0815 has joined #aarch64-laptops
<Jasper[m]>
<JosDehaes[m]> "it's not even close to anything..." <- I'm mostly saying that it's quite a bit bigger than the X Elite on a smaller TSMC node
<Jasper[m]>
Sure it's quicker, but I'm sure if qualcomm was planning a bigger die it'd be quicker too
<leland[m]>
I think my next device will be from ampere
<Jasper[m]>
I kinda hope Nvidia and qualcomm's (possible) desktop stuff will trickle down to consumers
<leland[m]>
Can't believe Qualcomm didn't have great Linux support on release for the new laptops
<Jasper[m]>
But they could have made it a lot easier, or at least planned it better
<JosDehaes[m]>
no that seems already in
<Jasper[m]>
@leland some parts of that issue are not directly Qualcomm's fault
<Jasper[m]>
JosDehaes[m]: Just to be sure, you're running the latest kernel Johan built?
<Jasper[m]>
And you have a corresponding recent dt for the yoga?
<Jasper[m]>
Jasper[m]: Well, you may have built it, but I'm specifically talking about his tree
<macc24>
<JosDehaes[m]> "macc24: is this the relevant..." <- yes, however, you need the entire series
<macc24>
<leland[m]> "Can't believe Qualcomm didn't..." <- that's the standard for arm chips
<Jasper[m]>
macc24: Even then they overdelivered
<Jasper[m]>
Which is still not much
alfredo has quit [Quit: alfredo]
<HdkR>
macc24: Something to note is that 3.4Ghz is quite a bit slower than the 4.2Ghz of the higher end SKUs still. So it'll still be a lot closer to M1/M2 than expected, just more cores on average :)
<HdkR>
Would have been nice if Lenovo shipped something higher than x1e-80-100, but eh.
<robclark>
I mean, tbf qcom's support for linux has been a _lot_ better than apple's ;-)
<robclark>
the missing bits are really things only the OEMs could have supplied, for the most part (although I think we are still waiting for some speedbin bits, like for gpu)
<robclark>
as far as speed, it (my x1e78100 7x) is faster at compiling stuff than the new zen5 laptop parts (comparing phoronix benchmarks to local runs of same benchmark) which is apparently still faster than LL.. the apple SoCs aren't really relevant to me (not interested in running macos), but I would be interested to see some M1/2/3/4 benchmarks with 4k page size (I guess 5-10% of the perf advantage is down to apple controlling
<robclark>
the OS and being able to do things like use larger page size)
<macc24>
<HdkR> "macc24: Something to note is..." <- yeah... i see quite often the cpu frequency pegged at 3.4ghz and i sometimes wonder how it compares to faster skus
<pstef>
robclark: would you be willing to run geekbench 6 preview and share the result?
<robclark>
I think there already should be GB6 results from linux uploaded
<robclark>
if not, I can run it later, but I think GB results aren't hard to find
<JosDehaes[m]>
<macc24> "yes, however, you need the..." <- it seems everything except drivers/mailbox/Kconfig is already in johan's 6.12-rc1 tree
<robclark>
I did run GB6 when I first got linux running on it, and pretty sure the results were uploaded.. IIRC it was similar to the results from windows
<JosDehaes[m]>
ok, the entire cpufreq series is in johan's tree
<HdkR>
Yea, I also ran geekbench and bytemark and the numbers were roughly comparable between Linux and Windows on x1e-80-100. Higher end SKUs would take a hit since CPU turbo isn't wired up?
<HdkR>
bytemark scales linerally with clockspeed on the platform, so it's nice to see where 4.2/4.3Ghz /would/ land it
<HdkR>
linearly
<spawacz>
I can't play the sound via headphones plugged to x13s. The internal speakers work but there's no sound when I plug the headphones. I tinkered in pavucontrol to no avail
<spawacz>
reboot helped. But the balance is weird. The playback volume jumps up and down strangely
<spawacz>
no, it sounds like there are short breaks without any sound
<spawacz>
Oct 05 20:52:54 x13s pulseaudio[939]: ALSA woke us up to write new data to the device, but there was actually nothing to write. Most likely this is a bug in the ALSA driver 'snd_soc_sc8280xp'. Please report this issue to the ALSA developers.
<Jasper[m]>
<robclark> "the missing bits are really..." <- Or venus :^)
<Jasper[m]>
<JosDehaes[m]> "ok, the entire cpufreq series is..." <- Okay, dumb question, but did you replace the DT you're booting with a new one aswell?
<steev>
venus is just waiting on the firmware to be submitted (we have no idea what the hold up is)
<Jasper[m]>
steev: Yeah, that's what I mean
<JosDehaes[m]>
Jasper[m]: yes, of course, I have a script that does the building, initrd and devicetree stuff automatically so I can't forget.
<JosDehaes[m]>
I did retest it just now, and the yoga IS a bit faster than the M1
<Jasper[m]>
Alright
<Jasper[m]>
Is there a firmware based performance mode setting maybe?
<JosDehaes[m]>
1m15 for the yoga and 1m42 for the M1
<Jasper[m]>
I remember some laptops having it, but idk if it's windows driver driven or something in the firmware
<JosDehaes[m]>
in windows our rust code doesn't even compile (rocksdb issue)
<JosDehaes[m]>
and in WSL2 it's MUCH slower than in linux
<JosDehaes[m]>
so can't use that benchmark 😅
<JosDehaes[m]>
to compare with windows I mean
paddymahoney has quit [Ping timeout: 480 seconds]
paddymahoney has joined #aarch64-laptops
paddymahoney has quit [Ping timeout: 480 seconds]
jhovold has quit [Ping timeout: 480 seconds]
paddymahoney has joined #aarch64-laptops
<erebion[m]>
X13s: ath11k_pci 0006:01:00.0: firmware: failed to load ath11k/WCN6855/hw2.1/firmware-2.bin (-2)
<erebion[m]>
Is that obtainable somewhere?
<JensGlathe[m]>
no, standard error message. it loads board-2.bin and amss.bin, m3.bin.
<erebion[m]>
Huh, I thought that would explain my network connection being somewhat slow
<erebion[m]>
Compiling the kernel on the X13s - for porting Mobian to the Pixel 3a - is definitely a lot more fun than on the X270
<erebion[m]>
Maybe 3 or 4 minutes instead of closer to ~1.5 hours
<erebion[m]>
Huh, today the Pinephone dock just works on the X13s
<erebion[m]>
Seems I did something that makes it work \o/