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
checkfoc_us9 has quit [Remote host closed the connection]
checkfoc_us9 has joined #aarch64-laptops
<steev> okay, replaced the ssd in my t14s, so that's the first step to switching it over to linux :D
<steev> i did try out tobhe_ 's ubuntu image and it was actually quite pleasant aside from the really slow wifi speeds
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tobhe has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump02 has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
hexdump02 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
eluks has quit [Remote host closed the connection]
eluks has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<krzk> steev: does usb-c orientation and altmode works for you on the ubuntu concept image?
<steev> krzk: i need to check; i dunno about altmode as i don't think my only usb-c display adapter does that, but i can check that too i think
<krzk> I am using that one and neither on ubuntu kernel nor on johan's tree I cannot get it working - there is simply no PMIC_RTR_ADSP_APPS rpmsg device which is responsible for altmode/orientation
<krzk> steev: just plug any USB-hub or USB adapter after system boots... or re-plug it with different orientation.
<krzk> I already added all possible modules to initrd and tweaked the order and still no help. The funny part is that looks like this is problem of my ubuntu as I did not see many reports (and it works in other folsk setups)
<krzk> steev: USB-C to be precise
<steev> that's for orientation though not altmode, right?
<krzk> steev: both
<krzk> that's the rpmsg device which will spawn pmic_glink device handling entire usb-c magic
<steev> krzk: able to use the Apple usb-c digital av multiport adapter in both orientations in the usb-c port closest to the front - about to test back https://usercontent.irccloud-cdn.com/file/7VPvGjfh/1743661173.JPG
<steev> Port closest to the display as well yeah
<steev> i don't know if i have the latest version of the image, but it's the #30 kernel build here
<steev> this is the oled no touch screen variant
<krzk> steev: thanks for checking... so maybe the moment of Ubuntu concept installation mattered? I wonder why my setup has it broken. :/
<krzk> btw, are using encrypted rootfs?
<steev> this is the livecd not an install
<steev> for personal reasons, i will never install ubuntu
<krzk> ah, ok
jhovold has joined #aarch64-laptops
<steev> maybe try the live iso and see if it works there for you? i don't know what is in build 30 of their kernel, but it worked in both orientations of both ports here
<krzk> steev: my livecd also works, because it is something with my installation of ubuntu, that's why I was wondering if you installed it
<steev> ah, got ya, sadly, no, sorry
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
ravikant_ has joined #aarch64-laptops
ravikant_ has quit [Remote host closed the connection]
ravikant_ has joined #aarch64-laptops
davidinux has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
srinik has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
SpieringsAE has joined #aarch64-laptops
ektor52 has joined #aarch64-laptops
ektor5 has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
<tobhe> krzk: the livecd is probably on a slightly older kernel than your installed system, so that would be one possible difference
<tobhe> i also don't remember anyone else reporting this though
chrisl has quit [Ping timeout: 480 seconds]
<krzk> tobhe: I also booted same kernel as livecd (I think -5) and tried others as well
<krzk> tobhe: I already spent few days debugging this and have no clue. The difference I have comparing to many folks is that I use full disk encryption and mayybe this changes something how initramfs is handled and how modules are loaded
<krzk> tobhe: for example on my system - on the livecd and ubuntu (your) kernels, I do not have sound, because not all modules are loaded. I need to modprobe lpass and WCD codecs manually.
<krzk> Or manually add them to /etc/initramfs-tools/modules - then I have sound. FW is already in initramfs and rootfs, btw.
<krzk> So I suspect there is something similar happening for rpmsg/glink/pmic_glink/pmic_altmode
<krzk> For now what I spotted is some race condition in glink (narrowing it now), but I don't think this is the cause
<tobhe> maybe a timing issue?
<tobhe> maybe you hit some timeout during the password prompt
pbrobinson has quit [Ping timeout: 480 seconds]
davidinux has quit [Quit: WeeChat 4.3.1]
chrisl has joined #aarch64-laptops
todi1 has quit []
todi has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
Caterpillar has quit [Quit: Konversation terminated!]
Caterpillar has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
ravikant_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
abcdw has quit [Remote host closed the connection]
ursa-major has quit [Remote host closed the connection]
kuruczgy has quit [Remote host closed the connection]
abcdw has joined #aarch64-laptops
kuruczgy has joined #aarch64-laptops
ravikant_ has joined #aarch64-laptops
ursa-major has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
loki_val has joined #aarch64-laptops
srini_ has joined #aarch64-laptops
crabbedhaloablut has quit [Remote host closed the connection]
shoragan has quit [Remote host closed the connection]
Erisa91 has quit [Quit: Ping timeout (120 seconds)]
sre has quit [Quit: Ping timeout (120 seconds)]
pbrobinson has joined #aarch64-laptops
srinik has quit [Remote host closed the connection]
juergh has quit [Remote host closed the connection]
Erisa91 has joined #aarch64-laptops
fantom has joined #aarch64-laptops
jannau_ has joined #aarch64-laptops
jannau has quit [Read error: Connection reset by peer]
juergh has joined #aarch64-laptops
shoragan has joined #aarch64-laptops
a_fantom has quit [Ping timeout: 480 seconds]
sre has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<kuruczgy[m]> Were the slim7x DP patches dropped from the ubuntu-concept kernel branch? Can't find it in either qcom-x1e or unstable-x1e. (Not sure which one is supposed to be the most up-to-date.)
chrisl has joined #aarch64-laptops
SpieringsAE has quit [Quit: SpieringsAE]
chrisl has quit [Ping timeout: 480 seconds]
<tobhe> possibly, I did reduce the number of out-of-tree patches over the last month
<tobhe> yep looks like it
<adrian_> JensGlathe[m]: it's me, hi. :-P
<adrian_> (I'm the problem, it's me)
<JensGlathe[m]> Did I miss something?
chrisl has joined #aarch64-laptops
<JensGlathe[m]> Okay the gold bar dropped. Yeah 😆
<tobhe> an engineer with a screwdriver (and a song)
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
davidinux has joined #aarch64-laptops
ravikant_ has quit []
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> adrian_: same lol, working at a small company, I both program the systems and assemble them
SpieringsAE has quit [Remote host closed the connection]
srini_ has quit [Quit: Leaving]
srinik has joined #aarch64-laptops
srinik has quit [Remote host closed the connection]
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> JensGlathe: alexandrs vinarskis managed to get the hdmi working on the zenbook and with those changes applied it also works on the vivobook
<SpieringsAE> its very borked though
<SpieringsAE> but I managed to get display out of it, it completely blew up when I unplugged the hdmi cable though lol
<SpieringsAE> It also only seems to work when the hdmi cable is plugged in on boot time, not inserted later
<JensGlathe[m]> Well thats progress
SpieringsAE has quit [Remote host closed the connection]
<krzk> tobhe: abelvesa: JosDehaes[m]: so the answer for this my damn issue - PMIC_RTR_ADSP_APPS was never sent from FW via glink to kernel. Never. It turns out that except proper firmware in qcom/x1e/LENOVO/21N1/ I also had some ADSP files with JSN files in qcom/x1e/ (so top level) and they were silently messing things up!
<krzk> After removing these top level ADSP files - PMIC_RTR_ADSP_APPS appears and type-c orientation works. I don't know how did these files appear. Maybe from linux-firmare? Or maybe I put them there after installation? Who knows? But I do not have them in my installation log (and I follow/document steps) thus I suspect linux-firmware or some other Ubuntu package.
<krzk> Uh, I pinged wrong person, should be jhovold above
<tobhe> dpkg -S /file/path should tell you if it was part of a package
<tobhe> like $ dpkg -S /lib/firmware/qcom/x1e80100/adsps.jsn
<tobhe> linux-firmware: /lib/firmware/qcom/x1e80100/adsps.jsn
<tobhe> why does this only happen on your machine though?
<krzk> tobhe: no clue! Maybe depends on the actual FW? Before I removed windows, so like 5 months ago, I upgraded the Lenovo FW to newest available
<sgerhold> krzk: the jsn files shouldn't be doing anything anymore, since we've had the in-kernel pd-mapper enabled since 6.12... if they really do make a difference, make sure you remove the userspace service from your distro install
<krzk> tobhe: ah, maybe this was zst from linux-firmware? So the /lib/firmware/qcom/x1e80100/LENOVO/21N1/qcadsp8380.mbn.zst? I see I removed it as well.
<krzk> sgerhold: pdmapper is disabled for this platform, I think sinvce forever... and never got enabled
<sgerhold> krzk: so removing what exactly did make a difference here?
<krzk> tobhe: I copied the firmware from lenovo EXE package, which had unpacked files, but linux-firmware brought duplicated and maybe they conflicted?
<krzk> sgerhold: unfortunately I did two things - dropped top-level adsp files and the packaged files from linux-firmware
<sgerhold> I don't see how removing some top-level .mbn files could make a difference
<sgerhold> Having two different adsp versions with/without .zst seems more likely then
<sgerhold> The upstream linux-firmware should work fine for T14s, maybe try a clean /lib/firmware from upstream and remove everything custom?
<krzk> sgerhold: yeah, I'll try. Initially I needed the self-unpacked firmware, but it's not the case anymore
<krzk> sgerhold: tobhe: so clean linux-firmware works, but when I added firmware from Lenovo package - where the binaries differ - I gave both packed zst (from linux-firmware) and unpacked mbn (from lenovo) and this breaks things.
<krzk> So it was still me who broke my setup :/
<krzk> s/I gave both/I have both/
<tobhe> best possible outcome :) at least not everything is broken
pbrobinson has quit [Remote host closed the connection]
pbrobinson has joined #aarch64-laptops
<dgilmore> steev: I should make a fedora image for the t14s
<steev> dgilmore: you should :D
<steev> i'd test it out
hexdump0815 has joined #aarch64-laptops