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
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
djakov_ has joined #aarch64-laptops
djakov has quit [Read error: Connection reset by peer]
djakov_ has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
<clover[m]>
Dang nice, too bad UPS returned my T14s to sender while i was on vacation :(
lotheac has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
Libre___ has quit [Ping timeout: 480 seconds]
f_ has quit [Ping timeout: 480 seconds]
f_ has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
Libre___ has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
tobhe_ has joined #aarch64-laptops
djakov has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
djakov_ has joined #aarch64-laptops
djakov has quit [Read error: Connection reset by peer]
djakov_ has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
hexdump02 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
djakov_ has joined #aarch64-laptops
djakov has quit [Ping timeout: 480 seconds]
djakov_ has quit [Remote host closed the connection]
hexdump01 has joined #aarch64-laptops
<zdykstra1>
Dang. How hard is it going to be to get it re-shipped?
djakov has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
alpernebbi has quit [Ping timeout: 480 seconds]
enyalios has joined #aarch64-laptops
_mike_ has quit [Quit: Connection closed for inactivity]
enyalios_ has quit [Ping timeout: 480 seconds]
djakov has quit [Read error: Connection reset by peer]
alpernebbi has joined #aarch64-laptops
djakov has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
<steev>
clover[m]: oh no :(
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
_mike_ has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
xing has joined #aarch64-laptops
f_ has quit [Ping timeout: 480 seconds]
f_ has joined #aarch64-laptops
djakov has quit [Ping timeout: 480 seconds]
djakov has joined #aarch64-laptops
djakov has quit [Ping timeout: 480 seconds]
djakov has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
ravikant_ has joined #aarch64-laptops
djakov has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
ravikant_ has quit [Ping timeout: 480 seconds]
ravikant_ has joined #aarch64-laptops
_mike_ has quit [Quit: Connection closed for inactivity]
laine__ has joined #aarch64-laptops
laine_ has quit [Read error: Connection reset by peer]
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
pbrobinson has joined #aarch64-laptops
abelvesa has quit [Ping timeout: 480 seconds]
djakov has quit [Remote host closed the connection]
patrickm has quit [Read error: Network is unreachable]
djakov has joined #aarch64-laptops
trchen has joined #aarch64-laptops
patrickm has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
pbrobinson has quit [Ping timeout: 480 seconds]
djakov has quit [Remote host closed the connection]
<trchen>
Hi, I'm trying to build vanilla linux-6.16.5 for Lenovo Yoga 7x and I'm having trouble getting the sound drivers working. The main blocker I got is `platform 6e80000.pinctrl: deferred probe pending: qcom-sm8550-lpass-lpi-pinctrl: Failed to get clk 'core'`.
<trchen>
I've extracted the latest ADSP firmware from Windows. There is a known mdt_loader bug that prevented the ADSP firmware from loading and I've cherry-picked Bjorn's patch. With the mdt_loader patch the ADSP firmware loaded and booted. I also confirmed that I got a bunch of glink message from ADSP and both the fastrpc and gpr drivers probed.
<trchen>
However I wasn't able to get q6apm and q6prm to probe. I've added debug prints in `apr_pd_status()` but didn't get anything. I guess it has something to do with the servreg. Am I missing some kernel options or userspace daemons?
djakov has joined #aarch64-laptops
crpalmer has joined #aarch64-laptops
<crpalmer>
trchen: what config are you using and what linux distribution?
<trchen>
crpalmer: I’m starting from scratch. Using the qcom defconfig as the base and tried to trim unused stuff and builtin everything. Haven’t even prepared the rootfs yet. I just threw a busybox in my initramfs.
<crpalmer>
trchen: I needed the qcom_laptops.config from the linaro kernel and a few other things to get a vanilla linaro kernel working with FC42. For Fedora, I had to enable CONFIG_SND_SEQUENCER to get audio working.
<crpalmer>
Don't bother looking at my 6.16 or 6.17 patches right now because my config is still a mess of trying to get it working at all.
djakov has quit [Ping timeout: 480 seconds]
<trchen>
Thanks! I think that will be very helpful. There’s no point to repeat what people already found workaround. BTW do you recommend to start with 6.17rc or even linux-next?
djakov has joined #aarch64-laptops
<lotheac>
i was just hacking the alpine linux stable kernel for yoga 7x support. i don't have sound yet though, but i had similar 'deferred probe pending' issues. make sure you have CONFIG_HWSPINLOCK=y
<trchen>
Another weird thing I noticed is that my kernel will boot loop if I enabled hid-over-i2c. The laptop will simply soft reset after a few seconds. It is a pain as the builtin keyboard requires it. 🤷
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
<lotheac>
are you loading the correct dtb?
<trchen>
Yea, I use the yoga 7x dtb from the mainline.
<lotheac>
then i dunno, my boot loops got fixed by loading the dtb from the bootloader before booting the kernel
<trchen>
Hmm I used ukify to bundle the dtb to the efi kernel. Chainloaded from systemd-boot. The BIOS seems to be fragile, I wouldn’t be surprised if subtle differences in the boot chain breaks stuffs.
<lotheac>
or maybe it's more likely you're just hitting an entirely different issue i was :)
<lotheac>
i used grub off of a usb drive to boot
<trchen>
I remember there’s a hardware/firmware issue that USB bus power may become unstable during some driver loading. So I tried to boot off the ESP on the NVME. (Which is another reason why I’m trying to minimize my kernel. The ESP is small!)
<trchen>
I’m trying to achieve some really crazy setup to do dm-crypt in the initramfs to unlock the Windows partition, and setup a loopback to the WSL vmdk as the rootfs. It’d be really fun if I can pull this off. But before anything I need to get the kernel into a mostly working state. :)
<lotheac>
that sure sounds crazy enough :p
crpalmer has quit [Remote host closed the connection]
crpalmer has joined #aarch64-laptops
<crpalmer>
trchen: I think you can start with whichever version you prefer. I started with 6.16 and I don't believe that there are any show stoppers there. I moved to the linaro mostly to see what is coming.
crpalmer has quit [Remote host closed the connection]
xeliteCJF has joined #aarch64-laptops
<xeliteCJF>
valpackett: thanks for the link for the ASPM manipulation. I test it on my ASUS check caps for it both Wifi and SSD support L1 but not set. Now set it (my case)
<xeliteCJF>
check with lspci -v and have it enabled: LnkCtl: ASPM L1 Enabled; RCB 64 bytes, LnkDisable- CommClk+
<xeliteCJF>
quick question, do I need to enable the L1 on the 0006:00:00.0 PCI bridge: Qualcomm Technologies, Inc SC8380XP ?? to make it work with the SSD ? or is that independ
xeliteCJF has quit [Remote host closed the connection]
ravikant_ has quit [Ping timeout: 480 seconds]
abelvesa has joined #aarch64-laptops
ravikant_ has joined #aarch64-laptops
<anthony25>
I thought L1 aspm was now enabled by default
abelvesa has quit [Ping timeout: 480 seconds]
abelvesa has joined #aarch64-laptops
xeliteCJF has joined #aarch64-laptops
<xeliteCJF>
I enabled L1 ASPM in the kernel config, but needed to run that command to have it active.
<xeliteCJF>
you might check yours with lspci -vv | grep ASPM
pbrobinson has quit [Ping timeout: 480 seconds]
craftyguy has quit [Read error: No route to host]
<Jasper[m]>
@[Val Packett] do you have the changes for your alsa ucm conf somewhere to test? I'd like to check if it works on my X13s
craftyguy has joined #aarch64-laptops
<JensGlathe[m]>
Jasper: you could use my clone, in the branch jg/master
<Jasper[m]>
@[Jens Glathe] your own fork of alsa ucm conf?
<JensGlathe[m]>
Yep
<jhovold>
anthony25, xeliteCJF: aspm is no longer enabled due to a pci/pwrctrl regression in 6.15, still not fixed
<dgilmore>
cralmer gave a hint on sound yesterday, it got a step further
<anthony25>
ha, maybe it's active for me because I force the global aspm policy to powersave
<anthony25>
I will double check, thanks jhovold!
<jhovold>
you more likely have a suggested fix if you're kernel is based on one of my earlier wip branches or linaro's branch
<dgilmore>
seems I have some clock/s not active
<anthony25>
jhovold: I am, so this might be it
<jhovold>
I mean, a posted fix which has been rejected or is still undergoing review
<Jasper[m]>
@[Jens Glathe] I don't see any changes related to HiFi playback and powersaving. Got a direct link?
<anthony25>
* I am running on linaro's branch
xeliteCJF has quit [Read error: Connection reset by peer]
xeliteCJF has joined #aarch64-laptops
<xeliteCJF>
<jhovold> I'm on 6.17-rc, and do not have driver issues with the L1 enabled on both my PCI devices. But I enable it after system is up with a post script now.
<xeliteCJF>
but thanks for the info I will have my eye on it. once a fix had been issues.
<xeliteCJF>
issued.
xeliteCJF has quit []
crpalmer has joined #aarch64-laptops
<crpalmer>
dgilmore, have you run dnf update to update your system? I know someone had problems when they installed rawhide and had not updated the system. If that's not the problem, I have a 6.17 kernel with working sound. You can untar this into / and compare modules/logs/config with your system:
<Jasper[m]>
Ahhh I was looking in the wrong spot hahaha
kalebris_ has joined #aarch64-laptops
pbrobinson has joined #aarch64-laptops
kalebris has quit [Ping timeout: 480 seconds]
kalebris_ is now known as kalebris
patrickm has quit [Remote host closed the connection]
patrickm has joined #aarch64-laptops
patrickm has quit [Remote host closed the connection]
patrickm has joined #aarch64-laptops
patrickm has quit [Remote host closed the connection]
patrickm has joined #aarch64-laptops
pbrobinson has quit [Ping timeout: 480 seconds]
pbrobinson has joined #aarch64-laptops
ravikant_ has quit []
pbrobinson has quit [Ping timeout: 480 seconds]
crpalmer has joined #aarch64-laptops
crpalmer has quit []
rsuinux[m] has joined #aarch64-laptops
<trchen>
dgilmore: Looks like I’m in the same place with you. I think your q6prm is not probing just like mine. Have you verified your ADSP booting properly and gpr driver running?
martiert_ has quit [Ping timeout: 480 seconds]
valy_ has joined #aarch64-laptops
<valy_>
hey, i'm looking for some help with my arm64 laptop - honor magicbook(x1e80)
<valy_>
it mostly works but the eDP display does not
<valy_>
anybody seen this before? it basically turns gray on boot and stays like that
<valy_>
the panel is detected correctly and even backlight works
<Jasper[m]>
@[Val Packett] @jglathe_sdbox2 okay, I applied all three patches from the fuck ulp branch and it did fix the distortion over some volume amount. It did not fix the weird overboost/undercut on attacks though
<tobhe[m]>
valy_: which device tree did you use? this is the first time i hear someone say it works
<tobhe[m]>
ah nice, that seems to be based on the one from Kirill
<tobhe[m]>
as far as I know he didn't get it working on Linux, he'll be happy to hear you got it working 🙂
<valy_>
good to hear
<valy_>
I'm keeping a status list in the readme
<valy_>
just the Display Panel is stoping me from using the laptop full time
<Jasper[m]>
@[Val Packett] @jglathe_sdbox2 https://youtu.be/1QWEPdgS3As properly hearable with this, going from silent to "KDE Volume Change" sound also crackles, but while something else is playing it doesn't
<Jasper[m]>
Also why the hell is this jack so powerful, that's crazy. It can drive my notoriously undriveable headphones
<valy_>
any idea about the display? I talked to @[abelvesa] at Linaro Connect this year, but they didn't have any idea either
<HdkR>
ooo, it can power through some good 800 ohm headphones then
<tobhe[m]>
valy_: unfortunately not ☹️ I vaguely remember the display having a higher resolution than all the other machines and I think last time I saw Kirill try booting Linux it wasn't grey but random colorful pixel noise
<valy_>
yes something like that, seems to depend on refresh
<valy_>
it also supports 120Hz which is nice
<valy_>
I was guessing that might be one the reasons but it seems to be the only x1e80 to have this problem with the oled display
<Jasper[m]>
@HdkR Mine are 50Ohm, but they have a max of like 3W
<tobhe[m]>
robclark is the freedreno expert. Maybe he has an idea how you could debug this
<valy_>
thanks, I lurk around maybe I can catch him
<JensGlathe[m]>
valy_: Also fighting with an OLED display, Samsung ATNA40CT01. Appears to need some special power sequencing, but it's not the one from atna33xc20. With panel-edp, it works well even with backlight control (0..2046). But after suspend / resume, its stuck at max brightness, which is quite bright for an OLED display.
<valy_>
mine is marked as EDO14
<valy_>
that's the EDID
<JensGlathe[m]>
Ideapad 5 2in1 14Q8X9
<valy_>
the ACPI tables have some xmls! for color calibration, but otherwise nothing special
<HdkR>
Jasper[m]: I decided to be sane, only 70 ohm at 5W :D
<HdkR>
Although I've never driven them at their maximum 5W
<valy_>
panel-edp currently but I tried the Samsung ATNA...
<valy_>
same issue
martiert_work has joined #aarch64-laptops
<robclark>
valy_: lumag might have some ideas, I usually have my hands full with the gpu side of things.. but it does sound like a panel driver issue.. the OLED panels tend to sometimes not be generic and need a special power sequence or something like that. I don't think it is a 120Hz issue, some of the other laptops have 120Hz panels (and probably your panel also supports a 60Hz mode with same pixel clk for power savings)
<valy_>
right, I have the xml from ACPI wichi has some power sequences https://pastecode.io/s/1491qei8 and some additions from the manufacturer but no idea how to integrate them
<robclark>
looks like EDO is a different OLED vendor.. all the other OLEDs I've seen are samsung
<robclark>
the EDPPowerTimingCustomAuxCmd* parts might be relevant.. hopefully the timings match what we read in the EDID from the panel?
<valy_>
the timings yes, I've check and hopefully I didn't misunderstand
<robclark>
not quite sure how to interpret those EDPPowerTimingCustomAuxCmd* things.. but it probably turns into needing to write a new panel driver (unless there is already a driver for a similar EDO panel?)
<valy_>
no, EDO seems to be quite obscure, you barely find information about them on google
<robclark>
does look like there is upstream a panel driver for _an_ EDO panel.. but it is mipi-dsi, not eDP
<valy_>
yes, the raydium thing, but that was just some hexbuffer write, coulnd't make anything out of it
<robclark>
I guess maybe comparing the xml stuff to some other known samsung OLEDs and generic eDP panels might give a clue?
<valy_>
the panel drivers I can see in mainline are about timings of the panel
<valy_>
I can see most MIPI ones send all kinds of commands to the panel, but nothing for eDP
<valy_>
so I had no idea where to start if I were to write a driver for the panel
<robclark>
mipi tends to be non-standard when it comes to power sequence (ie. the order to power up/down the panel.. unrelated the display mode timings)
<robclark>
most eDP is fairly standardized and the generic panel-edp driver works.. the exceptions seem to be mostly the OLED panels.. the different samsung OLEDs seem to be similar enough to share a driver.. but no idea about EDO
<valy_>
I was able to find a manual for a EDO 15" panel and it talked mostly about timings, not one thing about init commands, so I just assumed maybe my problem is unrelated
<JensGlathe[m]>
Timings are quite important
valy_ has quit [Ping timeout: 480 seconds]
<robclark>
timings are important... _after_ you manage to power on the panel properly ;-)
<JensGlathe[m]>
yes. And that's where you need a data sheet if the standard way doesn't work
<freekurt[m]>
Is anyone building the more recent Linaro kernels and publishing them somewhere?
jhovold has quit [Ping timeout: 480 seconds]
<steev>
i am not publishing them, but i do run it on my T14s
<steev>
with the config fragment that gets rid of most other arches, its a very quick build