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
shoragan has quit [Quit: quit]
shoragan has joined #aarch64-laptops
<harvestz[m]>
I'm looking to install the Armbian image to the x13s, any tips on what I should do in the bios? Enable the beta linux option?
<steev>
maybe #armbian over on libera? (though i believe they also have a matrix channel and their irc/matrix/discord are all bridged)
<harvestz[m]>
I got it working, very slick!
<harvestz[m]>
appreciate everyone working on this
<steev>
oh nice
<steev>
which version of the kernel do they have? (they mentioned me in their tweet about it)
<harvestz[m]>
<steev> "which version of the kernel do..." <- 6.4 but I'll check for a more specific version tomorrow.
<harvestz[m]>
<steev> "which version of the kernel do..." <- 6.4.3
<steev>
okay, cool - i let them know the 6.4.7 push breaks audio and the changes needed based on what johan said is needed but i'm not sure if i posted it in the right area of their discord or not
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
Guest5653 has quit [Quit: WeeChat 4.0.1]
sally has quit [Remote host closed the connection]
guillaume_g has joined #aarch64-laptops
guillaume_g has left #aarch64-laptops [#aarch64-laptops]
martin has joined #aarch64-laptops
martin is now known as Guest7456
ema has quit [Quit: leaving]
ema has joined #aarch64-laptops
xroumegue has joined #aarch64-laptops
Guest7456 has quit [Quit: WeeChat 4.0.2]
martin has joined #aarch64-laptops
martin is now known as Guest7471
heapify has joined #aarch64-laptops
heapify is now known as heapheap
heapheap has quit []
iivanov_ has joined #aarch64-laptops
iivanov has quit [Read error: Connection reset by peer]
<jlinton>
Is there a public TODO for generic (not distro specific) x13s issues? Ex: It seems that the USB-C isn't negotiating PD voltages/etc correctly while in linux (vs the firmware or windows, where it will negotiate 9V using the supplied charger, but usually just leaves it at 5V in linux).
<jlinton>
I applied some of the not yet upstream patches, to get the USB phy/speeds up, but none of that appears to have cleared the problem up either.
<robclark>
is pd for charging, or providing power? A couple times I saw that the x13s stopped charging while plugged in.. (but I haven't seen that in the last couple weeks or so)
<bamse>
robclark: it would be for negotiating with the oter side who should provide power, and how much
<robclark>
ok, so for power in both directions? So this could be related to the charging bug?
<bamse>
we have ucsi_glink.c upstream, which does this on sm8450 and sm8550, but it's not enabled for sc8280xp
<clover[m]>
Also isn't iris already an intel/apple gpu lol
<bamse>
and the rf module for wcn3660/wcn3680...
<HdkR>
nack because of the bad overlapping name? Name it cornea or something? :P
<bamse>
i much prefer "iris" over the good old "vidc"
<bamse>
clover[m]: and no, x13s works with the current "venus" driver
<bamse>
clover[m]: with some patches in flight...
<robclark>
so, both venus and iris conflict with mesa driver names.. someone pls ask qcom to consult mesa dev's before naming a new hw block ;-)
<bamse>
robclark: :)
<HdkR>
"Mesa has a good sounding name for that. Lets use it."
<HdkR>
oh no, not the bad timeline!
<clover[m]>
'snapdragon' is a great name though
<bamse>
well, the "venus hardware" has been named iris for years now...
<steev>
yavd-ng; yet another video decoder, next generation
<steev>
ez
<bamse>
vidc2
<steev>
the best name i ever came up with for a dev board was "shortbus" because they kept taking features away from us and making the board stupid
<steev>
CEO loved it because he thought it was talking about the size of the board
<bamse>
love it
<steev>
unsurprisingly, the board never made it out of development
<Bioxvirizm-x13s[m]>
trashcan best name=)
heapify is now known as heapheap
<steev>
those are the hostnames for my rpis
<Bioxvirizm-x13s[m]>
=))))
<HdkR>
Worked on a product that played on the codename which turned in to "Mistake". That also never shipped :P
<jlinton>
robclark: The USB-C/PD for powering/charging the machine from the AC adapter. So, yes if the machine is drawing more than ~10W it probably won't be charging.
<_`[m]>
wtf am I the only one who can't manage to build a bootable kernel around here 😢
<_`[m]>
nixos is tedious af too lol go figure huh 😉
<jlinton>
No, it took me a _long_ time to sync the fedora config with the defconfig that booted because everytime something went wrong I couldn't see what was wrong because the DT/vrm/clk/whatever was turning off the screen.
<konradybcio>
dont even get me started about getting all the ubuntu's weirdness to run without distro config ;)
<konradybcio>
at this point i should switch to a real distro but ever since ndec lent me a usb stick with an installer ive been too lazy..
heapheap has quit []
<_`[m]>
<jlinton> "No, it took me a _long_ time..." <- how you worked around that huh?
<_`[m]>
<konradybcio> "at this point i should switch to..." <- I get that 😲
<_`[m]>
I'm even considering running arch at this point haha
<clover[m]>
got my modem working on my X13s, had to create my own symlink since what modemmanager ships with doesn't match what i have in lspci directly. but im getting bad speeds and low signal strength. 1.5 Mbps per fast.com
<clover[m]>
oh its the same in Windows. maybe my apartment just has crap 5G speeds
<jlinton>
Its still not 100% but I got a big honken arm server and I merged, built and booted 6.5 with bits of the working defconfig against the non working sections in the fedora Config reverting when it didn't boot. The reason I say its not quite there yet, is because its not just a single pass event because there are dependent config options, and I've got another entire pass or two left before its just bugs and QC drivers.
<jlinton>
Things like "CONFIG_DEBUG_LIST" and "CONFIG_BUG_ON_DATA_CORRUPTION=y" ended up getting turned off because they failed to boot at some point, so i'm going back in and turning them on and trying to see if whatever was failing was transient or I can capture output with either the network or the rootfs mounted.
<ajhalaney[m]>
fwiw jlinton i had booted from kernel-6.5.0-0.rc1.eb26cbb1a754.13.el127 in kernel-ark with the default aarch64 fedora config. You do need to manually at the interconnect driver(s) into the initramfs unless you are on rawhide (which has this https://src.fedoraproject.org/rpms/dracut/pull-request/41)
<ajhalaney[m]>
I haven't found much time since then to poke at anything x13s related unfortunately, and I spent most of the time I wanted to dedicate to that realizing the interconnect drivers weren't included in my initramfs :P
<ajhalaney[m]>
I also see that the grub issue I wanted to chase eventually has already been properly chased by you and qzed :)
<Jasper[m]1>
Oh nice, FF 116 is out. Should mean v4l2-m2m hopefully.
<clover[m]>
bumped mesa to 44.3 for gnome arch users. still carrying that meta-kms-better-handling-for-universal-planes patch...
<robclark>
hmm, that would be a mesa release 21yrs in the future :-P
<jlinton>
ajhalaney: well I have that kernel, and that dracut fix, and the grub fix, *ignore_unused, arm64.nopauth, and various other things and it doesn't boot completely by default. Granted, I'm booting off a USB disk, and I do have a working debug kernel config, with a couple other things compiled in at the moment, so its likely another dracut patch needed, etc. It feels like i'm finally closing in on a functional machine, but
<jlinton>
i've also got some of the non-upstream patches applied now too.
<jlinton>
Either way, hopefully in the next day or two I can understand what exactly needs to be tweaked/merged to get it functional.
<steev>
i've heard a few people say usb booting doesn't work for them
<jlinton>
Yah, the USB boot is likely mandatory for the default fedora workstation/etc install process for most people.
<steev>
robclark: well he's a futuristic kinda guy ;) im pretty sure he meant mutter
<ajhalaney[m]>
Sounds pretty identical to my setup except I was booting off pcie
<Jasper[m]1>
Yep, for me it loads the kernel but doesn't find the rootfs. Replugging doed work
<Jasper[m]1>
*does
<steev>
i've seen some other usb patchsets on the mailing list, but i've just not had the free time lately to look at things
<steev>
even now... 1 more person going on vacation so it's down to just 2 of us working on the team
<ajhalaney[m]>
I've been told somewhere (can't find it but it's somewhere here) that when adsp remoteproc starts the USB loses power briefly, so that would complicate things
<jlinton>
Yes? One of the problems is that something is starting late which appears to be resetting the USB after the rootfs is mounted and its been a bit of a mystery what it is.
<jlinton>
At the moment though the working/noworking deltas are the same for the remoreproc config options.
<jlinton>
I'm also getting iommu faults from the XHCI once or twice a day, which is fun too.
<ajhalaney[m]>
iiuc pd-mapper (userspace) kicks off all the dsp related stuff, so maybe that will help you on your quest. wrt iommu faults that's one I don't think I've seen
<jlinton>
I've got a bunch of the !upstream USB patches in my tree to fix the fact that it was only running the USB at USB2 speeds. So its possible I've shot myself in the foot with some of them too.