mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Client Quit]
alpernebbi has quit [Ping timeout: 240 seconds]
alpernebbi has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
loki_val has joined #linux-rockchip
crabbedhaloablut has quit [Ping timeout: 264 seconds]
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eballetbo has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has joined #linux-rockchip
<warpme> guys: since many months i see most recent mainlining rk3588 kernel (collabora tree; armbian patches) are offering working hdmi on rk3588 but in the same time other rk socs (3399, 3566, 3568) becomes broken (usually trap at boot in dw_hdmi_rockchip_mode_valid call). Is this just me....or this is known state of things?
ldevulder has quit [Quit: Leaving]
matthias_bgg has joined #linux-rockchip
<mmind00> warpme: it always will depend on people testing and also sending patches with fixes ... especially things like hdmi are highly dependent on the display(-mode) used, so even not everybody will see the same faults
<mmind00> warpme: at least doing a git bisect between last-working and nonworking will help a lot, as it identifies the commit causing a regression
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
loki_val has quit [Ping timeout: 256 seconds]
crabbedhaloablut has joined #linux-rockchip
warpme has joined #linux-rockchip
<warpme> mmind00 : i spent some time trying to get it working by playing with Cristian Ciocaltea (collabora) 3588 dw_hdmi-rockchip code - but i'm too weak with dw kernel code knowledge to get singe dw_hdmi-rockchip working on 3399/3566/3568/3588. 356x hdmi breakage is by single commit: https://github.com/armbian/build/blob/main/patch/kernel/rockchip-rk3588-edge/0137-drm-bridge-synopsys-Add-initial-support-for-DW-HDMI-.patch So currently
<warpme> i'm facing binary situation: no this patch = all ok except 3588; with this path: only 3588 hdmi works. As my goal is: one kernel for all 13+ SoCs, 3588 is still out of game for me (since years; so pita....)
stikonas has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
<qschulz> warpme: from the URL, this seems to be an armbian kernel, have you tried upstream directly instead? v6.9 for example
stikonas_ has joined #linux-rockchip
stikonas_ has quit [Read error: Connection reset by peer]
stikonas_ has joined #linux-rockchip
<mmind00> warpme: also the rk3588 hdmi work is still hugely "work-in-progress" ... when you look at Cristian's collabora tree you see huge changes being made
<mmind00> so he's still figuring out how everything goes together so that both the new and old hdmi-variants work
<mmind00> qschulz: upstream has no rk3588 hdmi support yet ;-)
<diederik> I can't find the patch right now, but it mentioned it made it work on LVDS ... and I only later found out the significance of that line ;)
<warpme> mmind00 : "rk3588 hdmi work is still hugely "work-in-progress" - yeah. This is also my conclussion :-( So we need wait (hope not another year). Ough....
hramrach has joined #linux-rockchip
<warpme> btw: this looks interesting: https://gitlab.collabora.com/cristicc/linux-next/-/commits/rk3588-bridge need to try....
stikonas_ has quit [Quit: Konversation terminated!]
stikonas_ has joined #linux-rockchip
naoki has joined #linux-rockchip
naoki has quit [Client Quit]
stikonas_ has quit [Ping timeout: 252 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
FergusL has quit [Read error: Connection reset by peer]
FergusL has joined #linux-rockchip
FergusL has quit [Changing host]
FergusL has joined #linux-rockchip
<warpme> mmind00 : FYI Just tested https://gitlab.collabora.com/cristicc/linux-next/-/commits/rk3588-bridge on 3588 and 3399. both have hdmi working! Finally!. Now only need to test 2835/2711/2712/h6/h313/h616/h618/3328/3566/3568 :-)
Stat_headcrabed has quit [Quit: Stat_headcrabed]
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-rockchip
vagrantc has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 240 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 252 seconds]
<sre> FWIW Cristian has a Rock 3B to test if his changes regress RK3568 support and hopes to send out a series for basic RK3588 HDMI support in the near future; hopefully in time for 6.11.
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 260 seconds]
<sre> correction: he has a Rock 3A / RK3566 for regression testing.
<sre> ah he got confused and it actually is RK3568. Probably time to call it a day :D
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 260 seconds]
vagrantc has quit [Quit: leaving]
<urja> Are we interested in the hardware H.264 decoding looking like it's... glitching in time (=showing frames in the wrong order, not sure how to explain) with some files?
warpme has joined #linux-rockchip
<urja> That is, i built https://github.com/kwiboo/FFmpeg as the system ffmpeg, rebuilt mpv, added hwdec=drm to mpv.conf, and get https://urja.dev/glitchyaf.mp4 stuff like this with some videos
<urja> (If you recognize the intro, no you didnt :P)
<diederik> Did you add the kernel patches that go with those ffmpeg patches? Probably also useful to specify which device SoC you're using
<urja> RK3288 with the mainline hantro-vpu driver (it's running 6.6.30)
<urja> and yeah sorry you wouldnt remember a question from two weeks ago (where I asked if i can haz h.264 decode on RK3288), thank you valpackett for the reply btw <3
<urja> (and yeah, i'm less interested in integrating that to firefox if the result would be "some videos will randomly be really glitchy")
<urja> Interestingly, ChromeOS (just the "Gallery" video player) on the same hardware plays that specific video just fine, but glitches real bad on some other videos (which play ... better, still slightly glitchy... on this setup)
<urja> But yeah, if the result is "some videos play like _that_" i'm not as interested in integrating this to firefox as i was before lol
<urja> (Still... it'd be neat, would free up resources to run the twitch chat and other javeascript... which yeah seems to be about as heavy as the video decode and playback, it seems :P)
warpme has quit [Ping timeout: 264 seconds]
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 268 seconds]
<valpackett> well, all the issues like that should be debugged :)
<valpackett> I wonder if this ancient rk3066 i'm playing with has the same vpu and isp blocks as the newer ones…
<valpackett> oh the isp is different but there is a mainline driver submission for it!! https://lkml.org/lkml/2023/11/16/262
psydroid has quit [Ping timeout: 268 seconds]
naoki has joined #linux-rockchip
naoki has quit [Client Quit]
<valpackett> oh we already have rk3066-vpu even, cool