stikonas has quit [Quit: Konversation terminated!]
hanetzer has quit [Ping timeout: 244 seconds]
hanetzer has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 276 seconds]
hexdump0815 has joined #linux-rockchip
hanetzer has quit [Quit: WeeChat 4.5.2]
psydroid has quit [Ping timeout: 252 seconds]
System_Error has quit [Remote host closed the connection]
cbeznea has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
gnuiyl has joined #linux-rockchip
raster has joined #linux-rockchip
FergusL has quit [Quit: Ping timeout (120 seconds)]
FergusL has joined #linux-rockchip
warpme has joined #linux-rockchip
<warpme>
detlevc : just fyi: i updated rkvdec to current one and now rkvdec3 h264 issue is more "consistent": on some content playback is consistently fine while on other is consistently with artefacts. For example this sample plays always ok: https://minimyth2.mooo.com/h264-TVN_2_1080_25fps.ts This sample always has artefacts: http://minimyth2.mooo.com/h264-Sat_1080i_25fps.mkv So maybe there is specific h264 content type when rkvdec3 fails? All this is
<warpme>
only on rkvdec3. rkvdec2 is all fine.
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<CounterPillow>
mmind00: looks like RK3588 surprisingly enough does not need the same svbus treatment. I have no idea why. the vbus valid pin of the board I'm using is pulled up, not even by an fusb302 but by a resistor. May need to cobble together some solution to power one of my other RK3588 boards through not-usb-c so I can look into what's happening there.
<CounterPillow>
the rock5b I have also just ties it high, and the ODROID M2 I have also just ties it high. Now I'm gonna look into the sige5 again, which also seems to just tie it high, to make sure what I'm doing is actually needed
<CounterPillow>
oh, I should probably test with a USB-C device that does not have a battery in it
<CounterPillow>
now it just works on sige5 as well without the patch :/ what the hell changed between me getting stuck in detection loops and now
<CounterPillow>
even with the udphy part that also sets those grf regs commented out and a cold reboot, it's no longer needed. Oh well, mysteries
naoki has quit [Quit: naoki]
<detlevc>
warpme: Still all fine here. I'll need the exact distro you are using (kernel + userspace), because I have no idea what is happening on your side
<detlevc>
warpme: Have you seen the issue with mpv + patched ffmpeg ?
<warpme>
detlevc : let me rebuild latest mpv. i'm not playing with mpv frequently - do i need patching it to add v4l2_request support?
<detlevc>
warpme: No, it just uses ffmpeg for that
<warpme>
ah ok - let me try then. give me sec
<detlevc>
then just mpv --no-audio -fs --hwdec=v4l2request --msg-level=vd=v ~/h264-Sat_1080i_25fps.mkv
<warpme>
oh thx for this. indeed helpful!
<detlevc>
also, do you run your tests standalone or on to of a wayland compositor like weston ?
<warpme>
my tests are: mythtv: eglfs (qt full screen via egl); kodi: kodi-gbm. I tested 2 drawing methods: egl dmabuf and direct-to-plane. both players with both drawing methods have the same artefacts. Now i tested also mpv and with mpv there is on artefacts....but this is because - by some reason - mpv is not using hw accell : https://gist.github.com/warpme/5b7a24904430a4ec017b7bfb5ea12108 Should i run mpv under Xserver maybe?
<warpme>
when you are playing sample under your mpv: what cpu load you have?
dsimic has quit [Ping timeout: 252 seconds]
<detlevc>
Is it using the patched ffmpeg version ?
dsimic has joined #linux-rockchip
<detlevc>
The mpv log gives me `Using hardware decoding (v4l2request).` and I checked with strace that v4l2 ioctl are used
<warpme>
i think yes. i have single build wide ffmpeg7.1 used by kodi and mpv. are you building yours mpv from sources?
<detlevc>
but I guess you can just apply the patches in debian/patches/v4l2request/ if you don't want to build a debian package (which would be understandable)
<warpme>
ah this is important. let me try build from this branch...
<diederik>
warpme: You first need to built the patched ffmpeg and then you need to install the -dev packages it generates and then you build mpv with its own (2) patches
<warpme>
yes. i done exactly such order (deleted any ffmpeg libs; build ffmpeg7.1 with v4l2 patches; rebuild mpv with 2 patches) and...still artefacts
<diederik>
When building a debian package, the patches under debian/patches (which are listed in debian/patches/series) get applied (and then the compile itself starts).
<diederik>
ok :-)
<warpme>
i'm not at debian. i'm on my distro build system... I'll try to go with exact detlev kernel repo (no any other patches)
<diederik>
I haven't yet tried detlevc' patch-set, but I did get mixed results previously. But that was with rkvdec1 and it's been a while since I last tried it
<warpme>
now i must run. will return to you soon!
<diederik>
I kinda had that feeling; my description was to explain the separation *in* Debian packages between the normal/upstream source and (potential) Debian patches applied on top. Outside Debian packages you can just ``git am`` the patches under debian/patches (in the sequence mentioned in the series file)
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psydroid has joined #linux-rockchip
stikonas has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
stikonas_ has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]