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
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
rmsilva- has joined #aarch64-laptops
rmsilva has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pabs has quit [Read error: No route to host]
pabs 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]
tobhe has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
todi has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<valpackett> huh. one random missing thing: night light etc. - msm/dpu has no gamma lut support
tstachecki has joined #aarch64-laptops
tstachecki-laptop has joined #aarch64-laptops
<tstachecki-laptop> playing with the rtc on the pm8xxx tonight - two fun observations...
<tstachecki-laptop> 1) https://github.com/tj90241/linux/commit/cb7a135e18ace66ab5833232ace45dcb12a3ded4 - to get jhavold's uefi offset storing/loading to work for the rtc offset (reliably), i had to move the pm8xxx rtc mod after uefisecapp registered efivars or it would sometimes just load time epoch as 0
<tstachecki-laptop> 2) seems like windows stores some kind of persistent tz offset somehow to pm8xxx rtc offset? when i change TZ in windows, it affects what the time the surface7 sees in linux when it reads the rtc
Core5792 has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
luca020400 has quit [Quit: WeeChat 4.6.1]
luca020400 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tstachecki has joined #aarch64-laptops
Core5792 has quit [Read error: Connection reset by peer]
<steev> makes sense (somewhat) since windows by default (did?) store(s) the time in local, not utc
<tstachecki-laptop> yeah, just really annoying as the surface bios does let you set TZ and the EFI variable that holds the TZ doesn't seem to do anything when I poke it in linux
<tstachecki-laptop> surface bios doesn't let you set TZ*
<tstachecki-laptop> if you can't set it and its not UTC, everytime you startup the laptop the time is wrong by some hours because writes to the RTC directly are blocked and the offset is only stored in UEFI right now
<steev> you should be able to tell windows itself to use utc
ungeskriptet_ has quit [Remote host closed the connection]
<tstachecki-laptop> i can, but intend to blow out linux and i don't know how persistent the setting is. imagine its in some kind of volatile ram.
ungeskriptet has joined #aarch64-laptops
<tstachecki-laptop> blow out windows* for linux
tstachecki-laptop has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
Core5712 has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
craftyguy has quit [Ping timeout: 480 seconds]
craftyguy has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<jhovold> tstachecki-laptop: the efivars dependency is fixed here:
<jhovold> I mistakingly convinced myself we could do without the dt property when respinning v2...
<jhovold> and like steev said, you need to use UTC in windows if you want to dual boot (e.g. same as on x86)
<steev> (or tell linux that its set in local time)
<steev> e.g. timedatectl set-local-rtc 1 (for local) timedatecctl set-local-rtc 0 (utc)
tstachecki has joined #aarch64-laptops
Core5712 has quit [Read error: Connection reset by peer]
<jhovold> looks like charge control is supported also for x1e after all:
<jhovold> kuruczgy[m]: sometimes you need to be persistent, perhaps we should ask again about sc8280xp too...
jglathe_volterra has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev> they'd have to add it to the firmware and i haven't seen it yet :(
Core2417 has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
Core2417 has quit [Read error: Connection reset by peer]
tstachecki has joined #aarch64-laptops
<jhovold> steev: it was already in the firmware for x1e, maybe it already is also for sc8280xp even if the initial reply when asked for bot was "no, it's not supported"
<jhovold> both*
M9names[m] has joined #aarch64-laptops
jhovold has quit [Quit: WeeChat 4.4.3]
jglathe_volterra has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<kuruczgy_> jhovold: oh amazing. I was worried about being a bit annoying by asking another follow-up, but I guess a bit of persistence does pay off.
Core1026 has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tstachecki has joined #aarch64-laptops
Core1026 has quit [Read error: Connection reset by peer]
tstachecki has quit [Read error: Connection reset by peer]
tstachecki has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<tstachecki> jhovold: ah okay using edefer, that's cleaner anyways thanks!
Core4964 has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
Core4964 has quit [Read error: Connection reset by peer]
tstachecki has joined #aarch64-laptops
ungeskriptet_ has joined #aarch64-laptops
ungeskriptet has quit [Ping timeout: 480 seconds]
Core4335 has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
tstachecki has joined #aarch64-laptops
Core4335 has quit [Ping timeout: 480 seconds]
ungeskriptet_ has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
witcher01 has quit [Remote host closed the connection]
witcher01 has joined #aarch64-laptops
<spawacz> From time to time (say 1 of 3 runs) my x13s hangs completely when running wine. The relevenat part of journalctl -b -1: https://0x0.st/s/tQ6_mLdYWTjaWcxWmNz7Mg/83b3.txt What's the problem or solution?
iivanov has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<robclark> spawacz: https://patchwork.freedesktop.org/series/143686/ should help.. mmu-500 has a tendency to get itself wedged when there are mmu faults otherwise, leaving gpu and gmu with no access to memory, in a kinda doom loop
akaWolf has quit [Ping timeout: 480 seconds]
iivanov has quit [Quit: Leaving...]
tstachecki has joined #aarch64-laptops
tstachecki has quit [Read error: Connection reset by peer]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
xroumegue has joined #aarch64-laptops
xroumegue has quit []
xroumegue has joined #aarch64-laptops
<kuruczgy[m]> (I think this should work on all x1e devices, and I would bet that it works on x13s too, though that isn't confirmed.)
<valpackett> nice
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev> kuruczgy[m]: i'll give it a whirl on the x13s
<steev> i don't think the firmware supports it though on x13s
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev> kuruczgy[m]: well, i do get the files, at least, how would i test that it works?
<steev> actually, gnome has an option to preserve battery health so i guess i check that
<kuruczgy[m]> steev: `echo 80 > /sys/class/power_supply/qcom-battmgr-bat/charge_control_end_threshold` (as root)
<kuruczgy[m]> And then observe whether the battery charges past 80%
<steev> gotta let it get down below 80% :D
<steev> assuming i read the patch right, it should just be the bat_props and psy_desc changes for sc8280xp
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<kuruczgy[m]> Yes
<steev> echoing 80 into that file, it doesn't change (stays at 0), and alas, charging just went up to 82%
<kettenis> appears to work on the vivobook (with my own test code in OpenBSD)
<kettenis> let's see what happens on the x13s
<steev> that is the x13s :(
<kettenis> yeah, looks like the x13s firmware doesn't respond to the command
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<kuruczgy[m]> steev: Sad :/
<kuruczgy[m]> You might want to respond here to ask about sc8280xp: https://lore.kernel.org/lkml/025c297a-de13-49ee-81ea-2290df0f6843@oss.qualcomm.com/#t
<kuruczgy[m]> Does it work on windows on the x13s?
<steev> windows does not offer the option in lenovo vantage, unfortunately
<steev> i'm double checking something though
<kuruczgy[m]> Also I get qcom_battmgr.pmic_glink_power_supply pmic_glink.power-supply.0: unknown message 0x48 on dmesg because I did not add the code for handling the response, you might want to check if you ser something like that
<steev> that's what i was checking(ish?)
<steev> i do not see that message, but i'm doing one more check of things
<steev> speaking of power though... does anyone happen to know why the ac always reports as offline? e.g. plugging it in, and checking /sys/class/power_supply/qcom-battmgr-ac/online always reports 0
<steev> kuruczgy[m]: no glink messages amiss re: battery, but all the additions do not seem to help so i am assuming we would need new firmware on the X13s https://www.irccloud.com/pastebin/MV6iJuIM/
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
erebion_[m] has joined #aarch64-laptops
erebion_[m] has left #aarch64-laptops [User left]
erebion_[m] has joined #aarch64-laptops
<erebion> Are there patches to suspend for the X13s that are not yet upstreamed? Currently only longer suspend time is lacking for perfection, imho :)
<steev> i think konradybcio was working on something but i don't know
<steev> https://github.com/quic-kdybcio/linux if you wanna poke around at things
tstachecki has joined #aarch64-laptops
Core5327 has joined #aarch64-laptops
tstachecki has quit [Ping timeout: 480 seconds]
erebion_[m] has left #aarch64-laptops [User left]
xbjfk has quit [Ping timeout: 480 seconds]
xbjfk has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
Core5327 has quit [Read error: Connection reset by peer]
tstachecki has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tstachecki has quit [Read error: Connection reset by peer]
<valpackett> HUUUUUH >>>> "Other Qualcomm platforms require more driver changes to restore the link state after wakeup." last commit there "better nvme hack"
<valpackett> that must be why i see nvme not coming back up from deep sleep
<steev> i can't say :) i don't know enough, i just know how to poke around and find things on github that aren't hidden but not announced either :D
<steev> also, got somewhat excited because lenovo's windows software had a power and battery update but sadly, still no enablement on X13s
mbuhl has quit [Remote host closed the connection]
mbuhl has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]