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]
<Segfault[m]>
<steev> "re: pinebook pro, probably..." <- how is that patch still around...
<Segfault[m]>
running the big cores at 1.3V is out of rockchip's recommend specs and increases the heat output a lot, every rk3399 I've seen can do 2ghz at 1.25V anyway
<steev>
Segfault[m]: because the kernel doesn't run them at 2ghz
<steev>
as long as the kernel doesn't i keep it around for my personal system, and since it is technically an overclock, i haven't submitted it to the kernel
<steev>
but also, it wasn't as stable at 1.25
<Segfault[m]>
oh you have a cpu that won't do 2ghz at 1.25? i quite thoroughly tested a few and never found one that couldn't so that's a first for me
<Segfault[m]>
i daily drove 2.08ghz at 1.25v on my pbp for a while and it was stable, i tried higher but the crypto accelerators started to misbehave
<steev>
honestly, that was my older one, i have a newer one, maybe the new one is different
<Segfault[m]>
regardless i really wouldn't recommend 1.3v, especially on a pinebook, that laptop has enough heat problems as is and running 1.3v only makes them worse
<Segfault[m]>
steev: mine is from 2019
<steev>
i've never had issues with it, but i can try downclocking further, that's just what we were running into stability issues prior
<steev>
er, downvolting*
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
<spawacz>
Very often when I plug the charger the x13s says that it started charging and immediatelly after, running on battery power. I don't have anything else plugged in, to fix that I have to shut down
<spawacz>
I'm on the recent Debian sid kernel
chrisl has joined #aarch64-laptops
<spawacz>
is that a known issue?
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]>
if its not a mechanical issue with the plug (my power brick is getting replaced because of this) no, not seen here
<JensGlathe[m]>
Ubuntu 24.04, Kernel 6.11
alfredo has joined #aarch64-laptops
hogliux has joined #aarch64-laptops
<hogliux>
JensGlathe[m]: I use my yoga 7x to compile yocto builds from scratch. A build can take up to two hours with fans going full speed. I've never had the laptop shut off once. I'm on vanilla 6.11 with mmac's recent EC patches.
<hogliux>
JensGlathe[m]: and also on Ubuntu 24.04. I've actually never had the whole system crash. I had a GPU crash once which restarted Wayland and sometimes the laptop "hangs" if I try to suspend or wakeup. But that's it. Inteterestingly: I get many more BSOD in the few times I used windows.
<JensGlathe[m]>
hmm interesting. I did my first real load tests yesterday. No crashes either, temps topping at 95°C for the cores. But 2 hours straight is something else 😵💫
<JensGlathe[m]>
Only thing I've seen is some dire warnings from arm-smmu on suspend, but the X14 suspends. Ethernet adapter on the type-a port produces errors, but it is not fully sleeping because of some wakeup issue.
<hogliux>
JensGlathe[m]: So on my yoga, I can't suspend the device when it's AC powered. It wakes up again immediately. But I don't really need suspend on AC power, I guess ¯\_(ツ)_/¯
<hogliux>
spawacz: check that you have the `qcom_q6v5_pas` module loaded. Without that, my yoga 7x will also not charge.
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
erebion[m] has joined #aarch64-laptops
<erebion[m]>
Hi, anyone here tried using their own platform keys on an X13s? How did it go? Ordered one, don't want to brick it first thing when it gets here.
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<Segfault[m]>
aw damn, looks like qualcomm used a cache-incoherent pcie controller on sc8280xp
<Segfault[m]>
i tried connecting a few different gpus to the m.2-m slot in my x13s but all the drivers complained in the same way they do on other similar systems like rockchip or broadcom socs
<Segfault[m]>
i wonder if x1e is any different
<JensGlathe[m]>
did you try this on EL2?
<Segfault[m]>
i did not
<JensGlathe[m]>
On EL2 the arm-smmuv3 driver has control
<Segfault[m]>
hm alright, i've just packed everything up and it's a total nightmare to set back up so i'll give that a go tomorrow lol
flokli has joined #aarch64-laptops
tobhe has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
hogliux has quit [Quit: Page closed]
martiert_work has quit [Read error: Connection reset by peer]
martiert_work has joined #aarch64-laptops
crisma has joined #aarch64-laptops
hogliux has joined #aarch64-laptops
hogliux has quit []
alfredo has quit [Quit: alfredo]
hogliux has joined #aarch64-laptops
SpieringsAE has joined #aarch64-laptops
<SpieringsAE>
Segfault[m]: that has got to be an amazing looking setup lol, do you have like an m.2 to ribbon cable adapter? And then a seperate pcie slot attached on the other side?
<SpieringsAE>
hogliux: fellow yocto enjoyer, I am planning on doing some too when I get my 32gb ram asus, yeah from scratch is very rough, stuff like nodejs takes half an hour ish on my ryzen 9 5900x at work
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
cris has joined #aarch64-laptops
crisma has quit [Ping timeout: 480 seconds]
hogliux has quit [Quit: Page closed]
macc24 has joined #aarch64-laptops
<macc24>
kuruczgy: iirc i was just running i2cdetect on the available buses and probably the one with the keyboard froze it
cris is now known as crisma
chrisl has joined #aarch64-laptops
<JensGlathe[m]>
I'm getting weird effects when I try this on i2c5. There is the EC (on HP x14), and actually the function keys, too.
chrisl has quit [Ping timeout: 480 seconds]
<erebion[m]>
Is there any chance at all of breaking an X13s by replacing the Platform Key and using Secure Boot?
<travmurav[m]>
Segfault: there are some funny pcie controllers for the usb type-c ports on 8c3 as well as on x1e but idk if they're supposed to be any better or even if they can be used in linux
<travmurav[m]>
but for x1e my impression was that they were considering dgpu support
<macc24>
travmurav[m]: aren't they for usb4?
<travmurav[m]>
well yes but aren't there some funny dgpu enclosures for that?
hogliux has joined #aarch64-laptops
<hogliux>
travmurav[m]: pcie tunneling over usb4 works in Windows on the yoga slim 7x. I have a Sonnet Thunderbolt PCIe enclosure with a PCI Aquantia NIC and that works in Windows (although an Arm driver is missing for the actual NIC itself.)
<hogliux>
travmurav[m]: but i think there would be significant effort needed to get this working on linux
<macc24>
hogliux: there's regulators missing for usb4 stuff
<macc24>
i can try my best at getting that if i get a usb4 device :P
<hogliux>
macc24: happy to send you one if you give me dm me your address
<macc24>
hogliux: will dm you later today, got lots of life stuff to do
macc24 has quit [Quit: WeeChat 4.4.2]
alfredo has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<SpieringsAE>
The x elite dev kit has an unsoldered PCIE slot, I wonder if it would be possible to solder that one and dump a gpu on there
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
DanielFriedrichs[m] has joined #aarch64-laptops
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
<zdykstra>
JensGlathe[m]: how's linux on the HP X14 - does it "just work" or is it still missing a lot of functionality?
<JensGlathe[m]>
no sound (yet), no camera, haven't tested eDP yet, no function keys on the keyboard
<JensGlathe[m]>
Keyboard, Touchpad, Touchscreen, Display work
<JensGlathe[m]>
WCN-6855 WiFi and BT work (BT range could be better, working on it)
<zdykstra>
that's pretty usable!
<JensGlathe[m]>
All firmwares load, battmgr works, suspend works
<JensGlathe[m]>
venus doesn't
<zdykstra>
are most laptops of that generation basically at that state?
<JensGlathe[m]>
performance is nice
<JensGlathe[m]>
you could say that
SpieringsAE has quit [Quit: Leaving]
<JensGlathe[m]>
couldn't test USB4 yet (although I have a TB4 dock... will try)
<JensGlathe[m]>
type-c and type-a ports work
<zdykstra>
I was on my T480 with an 8th gen i7 for the last week and it was enough to convince me it's time to expense a new work laptop - this new crop of ARM laptops is high on my list.
<JensGlathe[m]>
No I don't think so, but I guess you can come pretty far with most of them
<JensGlathe[m]>
I'm pretty happy with my lucky ebay shot
<zdykstra>
what did you end up paying for it?
<zdykstra>
looks like they're on sale now for just under $1000 new from HP
<JensGlathe[m]>
800
<JensGlathe[m]>
€
<JensGlathe[m]>
i know
<zdykstra>
that's a good price for one that I imagine was like-new
<kettenis_>
the sc8280xp pcie controllers are DMA-coherent
<HdkR>
JensGlathe[m]: USB4 isn't wired up, you get 10gbit USB max currently
<Segfault[m]>
<SpieringsAE> "Segfault: that has got to be..." <- r42sl riser
<Segfault[m]>
and to boot the system i've taken the ssd out and put it in a usb enclosure, my fedora install seems to have the right modules in the initramfs that usb boot "just works"
<Segfault[m]>
i had to tape the speakers down to stop them from falling out lol
<Segfault[m]>
the riser just sticks out the front of the laptop, no way to put the bottom cover on
tomhet[m] has joined #aarch64-laptops
<Segfault[m]>
<travmurav[m]> "Segfault: there are some funny..." <- what is that what the unused pcie2b and pcie3b controllers are for on the x13s?
<Segfault[m]>
i would've really liked usb4 on the x13s but i guess that would've made it too expensive
<travmurav[m]>
Segfault: yes the first ones
<travmurav[m]>
I don't know if there some other hardware missing for that though
<travmurav[m]>
i.e. some retimers or whatever
<travmurav[m]>
not sure if they officially advertized usb4 for 8c3
<travmurav[m]>
but pcie controllers exist
<Segfault[m]>
there's no usb4 controller on any 8cx g3 device afaik
<Segfault[m]>
it's just 10gbit typec + dp alt mode straight off the soc
<travmurav[m]>
officially :^)
<travmurav[m]>
i.e. maybe they tried but there is some errata that prevents it from being useable
<Jasper[m]>
Oh o
<Jasper[m]>
I smell jank
<Jasper[m]>
travmurav[m]: oh, nevermind
<travmurav[m]>
as in
<travmurav[m]>
all i know is that there are extra pcie controllers "for usb"
<Segfault[m]>
what usb4 controllers do the x1e devices use? in-soc or is it some asmedia chip like amd is using?
<travmurav[m]>
as in for typec
<travmurav[m]>
no idea but I think there are also a bunch of pcie controllers
<travmurav[m]>
but I don't think there are any other chips on the boards
<Segfault[m]>
i guess there are extra pcie controllers but they have no external phy since they're meant to be tunnelled in a usb4 connection
<Segfault[m]>
hmm, the dts says x1e has pcie4, pcie5 and pcie6a which all have normal phys
<Segfault[m]>
2, 2 and 4 lanes respectively
<travmurav[m]>
well but what about 0,1,2,3 :^)
<HdkR>
Yea, the additional lanes aren't currently described in dts :)
tomhet[m] has left #aarch64-laptops [#aarch64-laptops]
alfredo has quit [Remote host closed the connection]
alfredo has joined #aarch64-laptops
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
iivanov_ has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
AustinGeorge[m] has joined #aarch64-laptops
<steev>
c630 is kind of interesting... we don't *always* get a null pointer deref on boot. https://dpaste.org/a1tmd
alfredo has quit [Quit: alfredo]
iivanov_ has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
crisma has quit [Ping timeout: 480 seconds]
hogliux has quit [Quit: Page closed]
<agl>
steev: I have installed your 6.11.y kernel. IT IS necessary top have new Firmware?
<kuruczgy[m]>
Random question: is it possible for the mbox files downloaded from lore.kernel.org to change? Has anyone run into something like this in the past?
<kuruczgy[m]>
(Or if you forget your bios password of course)
<kuruczgy[m]>
But I don't think the X13s iGPU would need an Option ROM to boot
macc24 has quit [Quit: WeeChat 4.4.2]
todi has joined #aarch64-laptops
<erebion[m]>
<kuruczgy[m]> "erebion 🏳️🌈♾: Normally the only..." <- > <@kuruczgy:matrix.org> erebion 🏳️🌈♾: Normally the only way to brick a device using secure boot is if an Option ROM is needed to boot: https://github.com/Foxboron/... (full message at
<steev>
please remember that the matrix is bridged with irc
<JensGlathe[m]>
I guess you will find out
<erebion[m]>
Well no. I prefer not trashing something expensive upon arrival just to find out.
<erebion[m]>
Except if there's a way to debrick it.
clover[m] has joined #aarch64-laptops
<clover[m]>
steev: anything special i need to know about 6.11 like different bootloader config
<erebion[m]>
But I don't know the device well yet. I only played around with one a year or two ago and followed the progress here a bit. That device was borrowed from my employer so I could try it out. They wanted it back, so I did not follow progress any longer.
<erebion[m]>
Now that prices dropped a bit further, I got interested again and ordered one.
<steev>
clover[m]: i can't recall if pwrseq is enabled or not, but it should be; the big changes are (on top of johan's stuff); the pwrseq bits for wifi/bluetooth, konrad's idr0.cctw for apps_smmu, bjorn's v1 of qcrypto, and an experimental patch of mine to add the proper pmu nodes that i still need to submit upstream
<erebion[m]>
Instead of helping with porting here, I started porting Mobian to the Pixel 3a. So in the end I still played with an ARM device. lol
<steev>
i say its experimental because currently the dts has IRQ_TYPE_LEVEL_HIGH whereas every other system seems to have IRQ_TYPE_LEVEL_LOW so i change it to that when making the proper nodes
<erebion[m]>
I also remember a Debian-specific chat room, not sure whether Matrix or IRC. Anyone got the ID?
<steev>
there's debian-arm
<erebion[m]>
oftc?
<steev>
i'm on irc, so yeah :D i think it is bridged to matrix too though
<steev>
clover[m]: the specific pwrseq is PCI_PWRCTL_PWRSEQ iirc
<steev>
but i do believe it should get selected
<erebion[m]>
Is IRC still thriving in some corners? I have not seen much activity anywhere lately
<steev>
the debian channels can be quite lively
<abby>
it's very lively
<steev>
everything i do is irc based so i can't say i see the lack of activity here
<robclark>
erebion[m]: I guess if you try enrolling your own keys, try that while the laptop is still within exchange/warranty period
<clover[m]>
6.11 pushed to my ironrobin repo
<steev>
woo
<steev>
please let me know if you see anything funky with it, the pmu patch is the most recent commit, so if you see funkiness try removing that first
<clover[m]>
so far, nothing funky
<clover[m]>
still no webcam
<steev>
i can't recall if i have the rgb patch in 6.11
<steev>
you might have to try a few times for it to work, iirc i do with cheese
<steev>
it came right up here :(
<steev>
so the patch should be in
<clover[m]>
i have libcamera 0.3.2-1
<clover[m]>
and pipewire-libcamera 1:1.2.5-1
<steev>
yeah it should be in there, it's part of johan's patches
<steev>
you might need to restart it a few times
<steev>
unless
<steev>
dmesg| grep CMA
<clover[m]>
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000878000000, size 128 MiB
<steev>
i'd try launching it a few more times, i think i get that occasionally
<steev>
but maybe bryanodonoghue has ideas
<steev>
or maybe KieranBingham[m]
jhovold has quit [Ping timeout: 480 seconds]
<KieranBingham[m]>
I see a GstV4L2Src - so I don't think there's anything being allocated or used with libcamera there. What platform is this ?
<steev>
that's the x13s
<KieranBingham[m]>
Whatever's happening - it's not trying to use libcamera, so it won't be able to work the camera in that case. I suspect the libcamera gst element (gstlibcamerasrc?) isn't installed or isn't installed in a suitable place?
<KieranBingham[m]>
Hrm ... I can't even run cheese at the moment - it segfaults but seems to be not related to libcamera that I can see ... I just get : ** (cheese:22679): ERROR **: 22:58:57.186: cheese-window.vala:1322: Error: <data>:56:5: Parse error: unexpected character `'', expected character `]'