ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
derzahl has quit [Ping timeout: 480 seconds]
Lucanis0 has quit []
Lucanis has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
<steev> well that was... surprisingly painless
<steev> argh. I need to go into bios… they did this same keyboard on the x1c line, I have no idea who thought it was a great idea to swap the fn and ctrl keys
<leezu> dianders: thanks. Good to know Power-Refresh also reboots EC. The EC has been working fine ever since the reboot via Cr50 update, so it must have been a weird edge-case that got it into the bad state
<leezu> The wifi issue on the second lazor turned out to be an issue with the AP. The netmask was misconfigured and only allowed 16 devices to obtain IP addresses, causing the lazor to voluntarily disconnect after giving up on receiving an address. Ie. the "chan info: invalid frequency 0 (idx 41 out of bounds)" error in the kernel log is harmless
<leezu> Does anyone know about Freedreno WebGL support in Firefox? WebGL works mostly fine with Chrome, but Firefox fails with "Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)" in about:support even if webgl.force-enabled is enabled in about:config. (This breaks zoom.us video conferencing.) For Chrome, a few tests fail at
<steev> leezu: <qzed> last step in https://gitlab.com/postmarketOS/pmaports/-/issues/494#note_307360685 - re idx 41 out of bounds
<leezu> steev: Thank you. I'll try that
hexdump01 has quit [Read error: Connection reset by peer]
hexdump01 has joined #aarch64-laptops
<leezu> Regarding WebGL, Chrome WebGL also breaks (becomes unavailable / disabled) when running with --ozone-platform=wayland. But Firefox WebGL is broken on both x11 and wayland.
<steev> i couldn't tell you the first thing about GL, unfortunately
<steev> you might try asking in #freedreno
<Dylanger> Firefox UX is terrible on aarch64 chromebooks from my experience
<steev> is it specific to the chromebooks? seems fine everywhere else
<Dylanger> Not sure, I assumed because the amount of users running on aarch64 would be very, very small, I'm running Ungoogled Chromium on my Duet 5 currently
<steev> i mean what's terrible about it - i've not had any issues here
<steev> otoh, i use esr, mostly because don't want it randomly updating on me
<Dylanger> Oh, everything
<Dylanger> It's the worst browsing experience
<steev> because...
<robclark> I'd generally expect webgl to work, I'd kinda get a lot of bugs about it on CrOS things otherwise.. but on linux chrom(ium) has different deny-lists for gl.. and I guess similar situation for ffox.. and the whole "omg there are gpus that don't have pci-id's" on arm things doesn't help.. so there might be some config things you need to do to override deny-lists
<Dylanger> Compared to Chromium, again I assume this is just because Google have put a bunch of man hours into aarch64
<steev> again, you're just saying "it's bad" - i'm asking HOW it's bad, not if it is or isn't
<Dylanger> Oh, like 2 fps, terrible when scrolling
<Dylanger> Forghettaboutit trying to watch a video
<travmurav[m]> Hm, it seems like my eDP panel fails with "Unexpected max rate (0x0); assuming 5.4 GHz" -> "Link training failed, link is off (-5)" if the panel power was cut, forcing it's regulator "fixes" the thing
* travmurav[m] has no issues with FF on his 7c laptop so far
* travmurav[m] also had no problem with using FF on a snap 410 device so maybe it's travmurav issue
<steev> robclark: i'm not sure the fix for non-visible planes is correct - my c630 won't wake the display up now - the backlight comes on, but nothing comes on screen
<steev> i lied, it just came back, after the 4th attempt :(
<robclark> iirc on my fedora setup, I had to figure out some chromeium and ffox overrides for gl/webgl.. but I'm not sure I can remember at this point what those steps are (but I guess the interwebs would remember)
<robclark> steev: that shouldn't really break anything with visible planes ;-)
<robclark> the fix was all about making things actually invisible when they are supposed to be ;-)
<robclark> (ie. cursor that moves off screen and that sorta thing)
<steev> robclark: heh, I figured, just was weird that it wouldn’t wake the display from suspend
<robclark> I won't rule out that I missed some case where we should disable something for non-visible plane (but I don't think you should be hitting that.. and so far it has fixed a whole lot of igt edge cases)
<steev> i'm not sure, i'll have to try to ssh in next time and see what it thinks should be happening
<steev> part of why i bugged srinik so much back in the day was because my audio wasn't working right and that meant i couldn't watch youtube videos, or more importantly, our PWK course videos
jhovold has joined #aarch64-laptops
<HdkR> Speaking of watching videos. Only V4L2 video decode support on Snapdragon SoCs? Nothing wired in to VAAPI to take advantage of more "traditional" video decode pipelines from mainly x86 setups?
<travmurav[m]> Also speaking of watching videos. Can I expect the venus blobs from the linux-firmware to "just work" on WoA or I must load whatever is signed for the device? Seem to have a bit of trouble with this (well with all remoteprocs so far)
<steev> travmurav[m]: that's a good question... i *believe* i'm using the upstream firmware for venus on my c630, but i can't remember
<robclark> HdkR: just v4l2... but in theory ffmpeg and gst have support.. and chrom(ium) but in that case it is all behind "I'm building for CrOS" build flags probably
<robclark> venus fw is signed afaiu.. but not sure if all the WoA things use the same signing or not.. CrOS things just kinda ignore the signing on venus fw afaiu (since it doesn't really matter from CrOS security model)
<steev> well... that's not good since there's no way to differentiate them
<robclark> in theory the firmware-path in dt is the way to do it.. I don't remember if venus supports that yet
<travmurav[m]> So far it seemed like my WoA blobs are signed by qualcomm but copying "qcvss7180.mbn" (with v for video I assume) instead of what was there just gave me a new error: "failed to reset venus core" with -110 timeout
<steev> travmurav[m]: do you have an mdt file as well?
<travmurav[m]> only found mbn, let me re-check the C drive
<steev> robclark: it definitely doesn't support it yet, all the firmware sits in qcom/venus-X.X
<steev> travmurav[m]: there's either just one mbn or an mdt and bXX files
<steev> and i believe you can use pil-splitter to split the mbn
<travmurav[m]> I think what I did is to copy the mbn over the mdt and hope the TZ would figure it out as iirc it can read both packed and bXX
<travmurav[m]> I think so far the tendency was to squash non-squashed blobs :D
<steev> travmurav[m]: hm, i do believe that should work
<robclark> steev: sadness.. oh, are they still also requiring split fw.. there needs to be some loud complaining about that ;-)
<steev> i'm not sure if it's *required*
<steev> but e.g.
<steev> https://packages.debian.org/unstable/firmware-qcom-soc seems to include both mbn and split?!
<travmurav[m]> steev: a search for the "*.mbn" and "*.mdt":... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/XBIMoCZRlSuWaUXplxWDXhtn)
<steev> hm
<steev> let me
<travmurav[m]> so I think they're all squashed, there was only some bluetooth stuff with .bX I think, and that's some other fun afaiu
<steev> i just have the qcvss850.mbn in there, along with the split ones
<steev> in venus-5.2 that is, i'm assuming the 7180 is 5.4?
<HdkR> robclark: My concern is mostly libraries that never compiled in V4L2 support, so we need some sort of VAAPI->V4L2 translation layer :/
<travmurav[m]> steev: yes, 5.4 iirc
<robclark> HdkR: vaapi->v4l2, esp for stateful vl42 decoders isn't a good idea.. it is putting a lower level abstraction on top of a higher level abstraction.. the better option si that things don't use vaapi directly, sadly
<robclark> ie, implementing a vk->gl trnaslation layer isn't a good idea.. same thing..
<HdkR> robclark: Better than software decoding still
<travmurav[m]> ah, just decided to check and the linux-firmware venus is test key signed, so definitely need the device firmware
<HdkR> Ideally venus can just gain support for vaapi and I don't have to think about this headache :)
<robclark> HdkR: questionable .. tbh these things should be able to do at least 1080p sw decode w/ competent sw codec
<robclark> travmurav[m]: yeah, l-f stuff is defn test-key signed
<steev> travmurav[m]: you can try splitting it - python2 pil-splitter.py qcvss7180.mbn venus and then copy the venus.* files into /lib/firmware/qcom/venus-5.4
<robclark> HdkR: again.. it is layering a low level api on top of something that does more things in hw.. it isn't a sane way to do things and is just asking for endless supply of bugs ;-)
<robclark> if it was a sane thing to do, CrOS would have already done it for you ;-)
<HdkR> I deal in the insane arts
<HdkR> For now I have a note to do some benchmarking since this is going to be an...interesting problem space
<robclark> well, there is "insane == hard to do" and "insane == dumb to do" ;-)
<robclark> vaapi on v4l2 statedful decoder is latter
<steev> not gonna lie, even without the gpu, i'm surprised at how good the thinkpad is
<HdkR> robclark: So you're saying that Venus firmware is signed but ignored? ;)
<steev> on cros
<robclark> ^^ that
<HdkR> I could get a cros device for mangling
<HdkR> If it comes to that
<steev> yeah but then you'd have to use cros, and no one needs that negativity
<HdkR> It's a powerful energy
<steev> i actually don't mind cros at all
<robclark> for WoA just copy the fw from windows.. and apparently sned patch to bring venus driver into the modern age
<steev> somewhere around here, i have uhhhh... like, cros 26 or cros 29 for the efikamx
<robclark> pretty straightforward to run linux on cros things.. upstream kernel support is good, only thing is different boot arch
<steev> robclark: oh that reminds me... someone started working on getting it running a modern kernel....
<steev> i used to get so mad at shawnguo nacking all our patches
<robclark> I've been running modern kernel on qc cros things since long before first qc cros thing shipped
<steev> robclark: ah i mean on the efikamx :P the i.mx51 thing
<robclark> ahh
<steev> we were so excited when freedreno first got announced
<steev> we absolutely *hated* dealing with bugs in the graphics drivers and having to wait for things to go through amd/ati and qcom
<robclark> afaiu cphealy got pretty far w/ freedreno on imx5 things.. it would be nice to have some a2xx things in CI but right now that is a bit of a test coverage gap
<steev> if rtp makes a lot of progress, i have 8 efikamx in my drawer
<Dylanger> <robclark> "vaapi on v4l2 statedful decoder..." <- Can confirm v4l2 uses Venus perfectly on the Duet 5 (Cadmium), video playback is damn smooth
<Dylanger> <steev> "Dylanger: playing video here..." <- No idea why I can't hit that with mine
<robclark> for some reason people expect youtube to "just work" on chromebooks :-P
<robclark> (I sit next to a few folks who work on video side of these things so I hear all the horror stories ;-))
<travmurav[m]> well, after patching the splitter to work on py3 and replacing the bobs I got the same "failed to reset" result
<Dylanger> <robclark> "for some reason people expect..." <- lol fair enough, I think I ended using ytdl pipped into mpv with the v4l2 flag
<Dylanger> To it it working just right
<Dylanger> s/it/get/
<minecrell> travmurav[m]: split vs squashed firmware should be irrelevant for TZ, since it only changes how Linux loads the firmware segments
matthias_bgg has quit [Ping timeout: 480 seconds]
Erisa4 has joined #aarch64-laptops
matthias_bgg has joined #aarch64-laptops
jhovold has quit [Quit: WeeChat 3.4.1]
jhovold has joined #aarch64-laptops
alpernebbi has quit [Remote host closed the connection]
alpernebbi has joined #aarch64-laptops
alpernebbi has quit [Quit: alpernebbi]
alpernebbi has joined #aarch64-laptops
falk689_ has quit []
falk689 has joined #aarch64-laptops
falk689 has quit [Quit: So Long, and Thanks for All the Fish.]
falk689 has joined #aarch64-laptops
falk689 has quit []
falk689 has joined #aarch64-laptops
falk689 has quit [Remote host closed the connection]
falk689 has joined #aarch64-laptops
derzahl has joined #aarch64-laptops
matthias_bgg has quit [Ping timeout: 480 seconds]
matthias_bgg has joined #aarch64-laptops
<steev> robclark: since you may be a bit more familiar with pwcli... any idea why it's doing this? https://paste.debian.net/1246612/ i'm applying a patch and once it says it's applied... it says a different one?
<robclark> I don't use pwcli at all.. I use git-pw
<steev> ah
<steev> jhovold: since i think you're working on thinkpad support - something i see here - panel-simple-dp-aux aux-aea0000.displayport-controller: Unknown panel IVO 0x854b, using conservative timings
matthias_bgg has quit []
SallyAhaj has quit [Ping timeout: 480 seconds]
SallyAhaj_ has joined #aarch64-laptops
derzahl has quit [Ping timeout: 480 seconds]
<bamse> steev: everyone gets their own panel :)
<bamse> makes me happy that dianders was pushing for panel-edp and asking the panel for its properties
<dianders> steev / bamse: Yeah, the conservative timings will probably work OK, but if you have the panel datasheet you can do better and then avoid the warning. :-) ...and adding the proper timings is now a tiny patch instead of needing to add dts bindings plus copy/paste from an EDID decode...
<bamse> exactly
<steev> dianders: i was trying to find my email where you had given me the instructions for grabbing the edid from the panel itself over i2c, but... thunderbird's search sucks
<steev> that said... it's working great, no complaints even with that message :)
<bamse> steev: you don't need that, to get rid of the message you need to patch edp_panels in drivers/gpu/drm/panel/panel-edp.c, to specify some timing parameters and the name of the panel
<dianders> steev: the EDID won't contain the timings you need, which is why you've got to manually add them...
<bamse> and the name you can find in the edid dump in /sys
<steev> yeah... that uhh, isn't really complete
<bamse> and as dianders says, if you have datasheet you can specify timings...for the cases where we don't have the sheet, i guess we can specify some concervative numbers and comment that it's done without datasheet
<bamse> but that's the hpd and power timings, not the clock timings...those comes from the panel
<dianders> bamse: yeah, I'd be OK w/ that as long as it was documented that they were non-official. For the most part almost all the panels have very similar timings...
<dianders> steev: the timings needed are actually things from the eDP power on timing diagram.
<steev> i definitely don't have that
<dianders> steev: See the ASCII art in Documentation/devicetree/bindings/display/panel/panel-edp.yaml
<dianders> ...and then the kernel doc for `struct panel_delay` correlates to those...
<steev> ah, okay
<steev> either way... this system is... ridiculously nice
<steev> and even without gpu, works great
<dianders> steev: It's quite likely that on most panels you'd be fine with hpd_absent=200, unprepare=500, and enable=80. In most cases you don't actually need hpd_absent if everyone has HPD hooked up, but can be nice to specify it anyway...
<dianders> That's all documented in the comment right next to the error message where it yells about conservative timings. ;-)
<steev> bold of you to assume i read
jhovold has quit [Ping timeout: 480 seconds]