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
<akawolf> steev: did I miss anything?
<steev> i don't know?
KREYREN_oftc has quit [Quit: Leaving]
akawolf has quit [Quit: leaving]
Ablu is now known as Guest405
Ablu has joined #aarch64-laptops
Guest405 has quit [Ping timeout: 480 seconds]
<bamse> steev: ^^ not sure if you have one of those?
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
<steev> afaik, everyone does
<steev> just that it hasn't been working, i'll definitely kick the tires on that though (and then disable it :P )
<steev> bamse: definitely works here
<steev> sorta?
<steev> probably not a you thing though, definitely can touch the screen to launch stuff, but gnome isn't letting me touch the titlebar and drag things around
<steev> oh, it's just not letting me drag alacritty, gnome terminal is fine
<steev> and verified i wasn't just using the udev rule to enable it
suihkulokki has quit [Remote host closed the connection]
jhovold has joined #aarch64-laptops
KhazAkar has joined #aarch64-laptops
suihkulokki has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit []
iivanov has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit []
iivanov has joined #aarch64-laptops
<jhovold> steev: no, not all x13s come with a touchscreen. Mine does not (fortunately).
<Jasper[m]> Mine neither
omniwrench[m] has joined #aarch64-laptops
<jhovold> Here's an updated wip branch for the X13s:
<jhovold> Changes include:
<jhovold> - fix battery driver crash on boot (6.8 regression)
<jhovold> - fix lowest level of headphone volume control
<jhovold> - add missing delays to enable touchscreen
<jhovold> - drop arm64.nopauth hack
<jhovold> - drop efi=noruntime hack
<jhovold> - drop sc8280xp-crd wifi calibration hack
<jhovold> - johan_defconfig: enable camera clock controller to not block icc sync_state
<jhovold> IMPORTANT:
<jhovold> - 'arm64.nopauth' now needs to be provided in the command line (as with mainline)
<jhovold> - 'efi=noruntime' may need to be provided depending on boot firmware version and config ("Linux Boot" option) or reboot crashes (as with mainline)
<jhovold> I've also pushed on more alsa-ucm-conf change to lower the default headphones volume, which was still set too high. Anyone packaging the ucm config may want to include that one as well (e.g. clover).
<jhovold> My 6.7 branch as also been updated with the new headphone volume fix for anyone that prefers to stay on 6.7 for a while still.
Guest324 is now known as qzed
jglathe_ has quit [Remote host closed the connection]
jglathe has joined #aarch64-laptops
<craftyguy> jhovold: nice, thank you :D
<_[m]123> no touchscreen either here, do they even come in matte ?
<_[m]123> the nopauth and noruntime hacks, does it mean I didn't have to put them before?
<_[m]123> because I did
<danielt> I've got a touchscreen in my X13s. It's been working for a long time but it has needed the userspace workaround. Does the testing above involve turning that off (I haven't read the commit messages yet)?
<danielt> IIRC the "standard" spec for X13s as a 300nit non-touchscreen and when I got mine there were optional upgrades to 400nit non-touch or 300nit touch. However the screen options have disappeared from the configurator in the UK store (and I believe that the "Build your own" options have disappearing entirely from the Lenovo store in some of the geographies).
<jglathe> touch screen here. will try this weekend
iivanov has quit [Quit: Leaving...]
<konradybcio> does anyone have an x13s with a "privacy screen" option?
<_[m]123> I was not aware that was possible even !
<_[m]123> > Display Panel - 13,3" WUXGA (1920 x 1200), IPS, ontspiegeld, geen touchscreen, 100% sRGB, 400 nits, 60 Hz
<_[m]123> it says "demirrored/unmirrored"
<_[m]123> clearly pretty motivated to get the best one I could lol no wonder it was $$$
<jhovold> _[m]123: you didn't need to use the nopauth and efi noruntime parameters with my wip branches (and by extension steev's branches), they've always been needed with mainline
<jhovold> danielt: yes, i'm sure bamse didn't have a udev rule to reprobe the driver
<_[m]123> but now we'll be needing them? I think the confusion comes from installing your distro with mainline
<jhovold> right, I'm aligning my wip branches with mainline so that people can more easily switch between the two
<jhovold> hopefully there is no confusion, you need those two kernel parameters with mainline, the wip branches used to have a workaround that effectively set them for you
<jhovold> the hope was that the underlying firmware bugs would be fixed by now, but we seem to be stuck with those parameters for a while still
<ema> I've added a few words about the firmware file needed for audio to work to https://wiki.debian.org/InstallingDebianOn/Thinkpad/X13s#Audio - I think a few people were asking about that here in the past
<ema> hopefully soon https://bugs.debian.org/1057040 will be fixed and we'll be able to remove the words :-)
f_ is now known as [irc-less]f_
[irc-less]f_ has quit [Remote host closed the connection]
f_ has joined #aarch64-laptops
<ema> quite beautiful that a few seconds ago there was only silence here, now there's Master of Puppets
<ema> also kernel 6.7.1 currently in experimental includes QCOM_QSEECOM/QCOM_QSEECOM_UEFISECAPP=y https://tracker.debian.org/news/1496976/accepted-linux-671-1exp1-source-into-experimental/ which means EFI variables work fine
<ema> as in efibootmgr and friends
<bamse> jhovold: CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT=y seems cause sync_state to happen in the desired fashion i talked about on Wednesday...
<steev> jhovold: ah, mine was supposed to *not* come with it, but it did anyway
pbsds is now known as Guest496
pbsds has joined #aarch64-laptops
<travmurav[m]> inb4 only disabled in software
Guest496 has quit [Ping timeout: 480 seconds]
<steev> travmurav[m]: heh, that's how i discovered it; i'd run the echo command to see what it did... and suddenly my touchscreen was working
<steev> jhovold: have you looked over krzk's patch for the microphone?
<steev> srini says it breaks it but i don't see how
<craftyguy> so for booting jhovold's 6.8_rc1 branch, only the two cmdline params are required now? efi=noruntime and efi=noruntime, and nothing else ?
<Jasper[m]> swap one of those for arm64.nopauth
<craftyguy> oops, copy/paste error :P
<Jasper[m]> Yeah the rest is fixed upstream afaik
<craftyguy> nice, thanks :)
<Jasper[m]> Don't have anything else on fedora either
jglathe_ has joined #aarch64-laptops
<dgilmore> bamse: touchscreen works here with that patch and without a udev rule
<jhovold> craftyguy, Jasper[m]: no, you still need the ignore-unused ones
<jhovold> the command line section from the wiki no applies to both wip and mainline (and distro) kernels:
<craftyguy> oh ok, that wasn't clear to me since it said "to boot mainline"
<craftyguy> should probably say "to boot mainline OR my branch" or something :P
<craftyguy> (or "and", whatever. I read that wiki section that thought it was only for mainline and not your branch)
<jhovold> yeah, that word was there since before you only needed the two ignore-unused ones with wip
<craftyguy> so to clarify, this is what I need with your 6.8_rc1 branch?__"clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime"_
<jhovold> correct
<jhovold> that is, same as with mainline and distro kernels
<craftyguy> gotcha, thank you :)
<Jasper[m]> jhovold: Ah wait yeah, my bad
<jhovold> I've dropped "mainline" from that section in the wiki now (I considered doing so earlier today, but left it in in the end)
<craftyguy> jhovold: ya that's a lot more clear now :)
<clover[m]> jhovold: interesting updates and thanks fo rheads up
<clover[m]> for heads up*
<clover[m]> as for the guy who wants kernel config changes, yes i take PRs
derzahl has joined #aarch64-laptops
jglathe_ has quit [Remote host closed the connection]
<steev> i plan to go over them for 6.8 changes
jglathe_ has joined #aarch64-laptops
<derzahl> hey guys, I have a question. I've been playing with an aarch64 port of proxmox on my opi5plus(rk3588) and surprised to find that 1) the iso img boots and installs without a hitch, and 2) the resulting install also boots without any dtb being specified(albeit, after a 5-10 minute hang) and seems to function decently
<derzahl> i take it the kernel is using ACPI instead of the devicetree to boot...?
<derzahl> if so, im wondering what, if any, disadvantages that may bring
<derzahl> sorry for being slightly off-topic and possibly a dumb question
<derzahl> i forgot to mention, the thing that struck me as the strangest is that the generic 6.1 kernel even showed a text login prompt on the HDMI out. Graphic support has only been present in the old 5.10 BSP kernel up until very recently(mainline 6.7 i believe)
jglathe_ has quit [Remote host closed the connection]
jglathe_ has joined #aarch64-laptops
<steev> derzahl: likely it's just generic stuffs; but are you sure u-boot doesn't provide a dtb at all? i thought most did
jglathe_ has quit [Remote host closed the connection]
<robclark> check /proc/device-tree/ .. or dmesg should print the machine name from dtb
jglathe_ has joined #aarch64-laptops
<derzahl> theres no uboot, i think the intention of the port is to run on arm64 actual server, no SOCs
<derzahl> i recall reading the UEFI firmware i flashed might provide a BSP devicetree
<derzahl> but im also booting in acpi-only mode
<derzahl> robclark: will check, i compiled a 6.7.1 kernel which also boots in ACPI-only mode, but now tried to boot in devicetree mode while passing the proper dtb and its hanging
<derzahl> putting it back to working config right now
jglathe_ has quit [Remote host closed the connection]
<derzahl> ok, its back up. no /proc/device-tree exists. so the UEFI firmware must be supplying configuration info through ACPI?
<robclark> it's possible, the kernel does support ACPI on arm.. which works for devices that are simple enough
<robclark> what the kernel doesn't support is the PEP stuff (which is kinda the way MS/qcom punted when it came to things too hard to do properly in ACPI)
<derzahl> Platform extension plugin? what kind of device(s) would you expect to need them to function properly?
<robclark> yeah, platform extension plugin. It basically encapsulates the various clk controller, genpd/gdsc, and interconnect drivers (and maybe regulators and that stuff too?)
<robclark> I'm not entirely handles situations where client driver wants to directly and explicitly set bandwidth, like display controller where required bandwidth is a function of resolution
<konradybcio> power*
<konradybcio> actually, power engine* IIRC
<robclark> is that a windows API?
<konradybcio> sorta kinda
<konradybcio> saying "windows APIs" is very liberal, as everybody just NIHs stuff in their own hundreds-of-megabytes-big drivers
<robclark> hmm, did they backronym "platform extension plugin" to "power engine plugin"?
<derzahl> bonkers...i cant even get this kernel to boot when i pass it a dtb. i know DTB support is compiled in but I based my config on the initial proxmox aarch64 generic kernel...must be something enabled that conflicts with device tree usage
<robclark> https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/using-peps-for-acpi-services <-- older doc that refers to it as "platform extension plugin"
<steev> oh, you're using the opi5plus uefi firmware
KREYREN_oftc has joined #aarch64-laptops
<craftyguy> hmm I got 2 lockups in a row with jhovold's 6.8_rc1 on the x13s. no clue what caused it, whatever was in the kernel log when it happened wasn't written to disk
<robclark> /o\
<robclark> hard enough lockup that you can't even ping the laptop?
<steev> i've not had a chance to play yet