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 quit [Ping timeout: 480 seconds]
Hugo[m] has joined #aarch64-laptops
travmurav[m] has joined #aarch64-laptops
kuruczgy[m] has joined #aarch64-laptops
<agl>
steev: Was there always patches necessary on 6.13.y for the x13s?
<steev>
we will always need them if we want venus until qcom get off their asses and submit the firmware
<steev>
you can run vanilla without it though
juergh_ has joined #aarch64-laptops
<agl>
steev: excuse me for asking so ignorantly: what is venus?
juergh has quit [Ping timeout: 480 seconds]
<agl>
steev: This is the first time I've heard this in connection with the x13s.
<steev>
the hardware media encoder/decoder
<agl>
Ah for the sound, or?
<abby>
video
<agl>
abby: OK
<anthony25>
why can't the patches be upstreamed? the firmware are not in linux-firmware, but can't we refer to them in the device trees?
<steev>
something something interconnects something power usage
<steev>
agl: i pushed again, dropping the bore scheduler, it has makes the kernel test bots too cranky at me (and i'm not developing it so don't wanna deal with them)
<agl>
steev: Does it need some time until there isn't "last week" for the setting time?
<steev>
huh?
<agl>
I mean the time where you have pushed the new kernel?
<steev>
`lenovo-x13s-linux-6.13.y had recent pushes 14 minutes ago`
<steev>
if you're looking at the actual commit, i *dropped* one, i didn't apply others
<agl>
steev: OK, I get it once more ...
<agl>
steev: the new zip-archive of 6.13.y is exactly 5727 Bytes smaler.
<robclark>
steev, bamse, konradybcio: re: venus/iris fw vs power when driver doesn't probe.. what if we had zero length placeholder fw files in linux-firmware, which could be overridden with the actual fw copied from windows (or if vendor upstreams firmware).. then the driver just needs to realize it got a bogus fw and shut things down? Would that give us a path to enabling venus/iris by default?
<steev>
that seems like a lot of steps to just say "if no firmware, shutdown" instead?
<robclark>
problem is kernel needs a way to differentiate btwn "no fw" and "no fw yet, try again later"
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<agl>
Good Night, here in Europe is it now 2:56am o'clock ... I'am going now to bed ...
<steev>
5 fails and shut down? ideally without spamming the kernel logs
<konradybcio>
robclark it wouldn't pass authentication
<konradybcio>
So I'm guessing einval
<robclark>
that is kinda the point.. or driver could just check length before trying to authenticate it
xamboni has joined #aarch64-laptops
<xamboni>
I recently purchased a Lenovo Yoga 7x. Tobhe's Ubuntu live CD boots out of the box which is very nice. Are there any resources to help get started building my own kernel for a snapdragon machine?
<konradybcio>
robclark i think this is a bigger discussion.. we would certainly appreciate a mechanism that would probe venus and shut down its resources to allow for sync_state to complete
<robclark>
I am ofc open to other ideas, but we need to do _something_
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
AladdinSane78 has quit []
AladdinSane78 has joined #aarch64-laptops
xamboni has left #aarch64-laptops [#aarch64-laptops]
AladdinSane78 has quit []
alfredo has quit [Read error: Connection reset by peer]
jhovold has joined #aarch64-laptops
srinik has joined #aarch64-laptops
haver has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<icecream95>
There seems to be a PSCI firmware bug (on x1e) where sometimes trying to enable CPUs gets ON_PENDING forever. (It seems to be deterministic based on the order of bringing up cores.)
<icecream95>
This doesn't happen if CPUs are brought up at boot rather than setting maxcpus=1 and enabling them one-by-one later... *except* that a normal boot doesn't CPU_ON core 0, so the bug still occurs there.
<icecream95>
(The qcom EL2 hypervisor doesn't hit this bug, so maybe it isn't actually turning off cores for CPU_OFF calls.)
<icecream95>
Of course I am hitting this with my own hypervisor... which might be stable enough to boot Windows now, or at least would be if Windows didn't decide to reboot the system for some reason.
<icecream95>
Hopefully it at least gets far enough to load the kernel debugger, I'll check that tomorrow
<icecream95>
I am a bit worried that the "Firmware protection" setting in Windows can't be turned off (without it turning itself on again); it's unsurprising that Secure Launch can't be disabled, but might cause problems for me (unless I decide to implement nested virt?)
srinik has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
srinik has quit [Remote host closed the connection]
srinik has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
icecream95 has quit [Ping timeout: 480 seconds]
alpernebbi has quit []
<kuruczgy>
xamboni: Do you want to build it manually, or using a distro package? Manually it should be `make johan_defconfig` (if using Johan's branch, or a different defconfig if using a different one), and then something like `make -j12 Image dtbs modules`
<kuruczgy>
For cross some extra flags would be needed, but I don't know them off the top of my head
<kuruczgy>
icecream95: Cool. What's your boot chain? Are you booting your hypervisor using slbounce, which then loads the windows bootloader? Do you already have any code to share for the hypervisor?
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
svarbanov_ has joined #aarch64-laptops
svarbanov__ has quit [Ping timeout: 480 seconds]
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
<Treibholz>
steev: Copying the venus firmware manually from the windows partion to /lib/firmware works for me, unfortunatelly it's not very stable (on 6.11.x), so I rmmod the module in "normal operation".
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
srinik has quit [Remote host closed the connection]
<albsen[m]>
Treibholz: which OS did you install, and did you leave a windows partition or removed it completely?
<Treibholz>
albsen[m]: I'm currently running Ubuntu 24.10 with 6.11.0-99-generivc from ubuntu concept ppa on the X13s. For now I kept the windows-partition (just shrinked it to ~100gb)
<albsen[m]>
ok, got it. I'm using debian on my x13s, trying to figure out how to best setup my t14s now.
<Treibholz>
albsen[m]: As I want to use it as my daily driver, I don't want to use trixie, yet. I'll wait until the the soft-freeze. (if I can endure Ubuntu that long...)
srinik has joined #aarch64-laptops
<exeat>
I don't think I've ever had venus work without decode errors, though I've only tried mpv and ffplay and not (say) gstreamer
<Treibholz>
And I must say, I picked the right point in time, to buy the X13s. Since January everything of "real" relevance to me works.
<exeat>
I'd love for someone to point me to a video that decodes with no errors with e.g. "mpv --hwdec=v4l2m2m-copy" or "ffplay -vcodec <codec>_v4l2m2m" (or tell me that I'm doing it wrong)
<Treibholz>
exeat: it works okeyish with mpv on the stream of German public television. But somehow firefox does not want to display GIFs then,,,
<Treibholz>
exeat: but without it, mpv uses about the same amount of CPU, as on my T14gen3 (i7) with hw-acceleration.
<Treibholz>
(but it get's hot and makes noise and the battery lasts max. 3h, so the X13s is the much better choice for me)
<Treibholz>
also the T14gen3 is not really faster than the X13s - maybe for max. 10sec, then the temperature throttles the CPU.
<albsen[m]>
Treibholz: I been using trixie and it's great. haven't had any issues and it's my main machine.
<Treibholz>
albsen[m]: My younger self got burnt by rolling-release distributions too often. I normaly run Debian stable (with bpo and some personal backports), because I prefer to know what doesn't work, to finding out whats broken after a dist-upgrade. :-)
<Treibholz>
albsen[m]: Ubuntu is experimental enough for me :-)
<Treibholz>
albsen[m]: but I already prepared a small trixie-partition, to play around. Snap makes me crazy. But on the other hand, I don't know how to get a recent, stable firefox (not ESR, not nightly) on debian aarch64. And compiling firefox yourself is a PITA.
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<exeat>
Debian unstable works great IME, as long as you can cope with its step function (pre-release freeze, post-release flood every couple of years) and are prepared to deal with the occasional, well, instability
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<albsen[m]>
Treibholz: I'm on trixie so, that FF is recent, but you can always use nixos in debian, or mark trixie FF to be included in bookworm
SpieringsAE has joined #aarch64-laptops
<SpieringsAE>
is there a way to make an i2c bus depend on a supply? Not just a device on the bus? Can't really find a property like that on any i2c bindings
<SpieringsAE>
theres a 1v8 regulator ruining my life
<JensGlathe[m]>
That i2c bus has a controller node somewhere...?
<SpieringsAE>
yeah but I don't see a property for a supply on the i2c bus controller
<SpieringsAE>
so it wont do anything with it I think
<\[m]>
anyone by any chance has interest in trying to compile mROC and functionally testing ?
<JensGlathe[m]>
maybe for the complete block ?
<JensGlathe[m]>
or domain?
<Treibholz>
albsen[m]: trixie also only provides firefox-esr, but the nix-idea is interesting...
<albsen[m]>
yeah, been using nix on voidlinux too, its great to work around those odd 2 or 3 missing ones. let me check if I have esr ...
<albsen[m]>
nope, dont think so, at least help/about doesnt show esr. (I recall it used to at some point)
<Treibholz>
probably brew on linux could also be an option for those missing ones... But they don't support arm on linux (yet)
alfredo has joined #aarch64-laptops
<anonymix007[m]>
icecream95: can you somehow virtualize the environment for qcom hypervisor to work and log what it actually does to enable DSPs?
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<robclark>
maybe with nested virt if QC hyp doesn't check that it is running under a VM?
<JensGlathe[m]>
which would be hilarious
<SpieringsAE>
maz: fixed my i2c issue, the 1v8 ldo output to ground resistor was too high, so it didn't drop fast enough during a reboot (?) which left some jank in a level shifter or something which ruined the i2c bus
<SpieringsAE>
that was one hell of a journey
SpieringsAE has quit [Quit: Leaving]
chrisl has joined #aarch64-laptops
alfredo has quit [Read error: Connection reset by peer]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
alfredo 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]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
alfredo has quit [Read error: Connection reset by peer]
SpieringsAE has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
enyalios_ is now known as enyalios
chrisl has quit [Ping timeout: 480 seconds]
<steev>
Treibholz: you can enable sid for *just* firefox (just an option); but yeah, i see a lockup using anything gstreamer here and i have spent 0 time looking into it
<ppd[m]>
I guess I should change my question: what's the audio situation on the t14s, surface romulus, or the hp omnibook? Does it have limitations?
<ppd[m]>
I'm asking because I was going around comparing device trees and the slim 7x seems to be missing the audio-codec entry
<JensGlathe[m]>
t14s is known to be working. I intend to duplicate this on the HP Omnibook. Still pending.
<ppd[m]>
I assume you have the omni?
<JensGlathe[m]>
yep
<ppd[m]>
Ah, ok. What was the requirements for getting it working on the t14s? Just firmware, devicetree, and ucm stuff?