Mpv no work in Rock Pi 4Cplus

Hello,

I just bought a Rock Pi 4Cplus and I have put the official Debian image with XFCE ([https://github.com/radxa/debos-radxa/releases/download/20221111-1029/rock-5a-debian-bullseye-xfce4-arm64-20221111-1344-gpt.img.xz]) on it and it shows me the following information:

rock@rock-4c-plus:~/montaje$ mpv bbb_sunflower_1080p_30fps_normal.mp4
 (+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
 (+) Audio --aid=1 (*) (mp3 2ch 48000Hz)
     Audio --aid=2 (*) (ac3 6ch 48000Hz)
File tags:
 Artist: Blender Foundation 2008, Janus Bager Kristensen 2013
 Comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
 Composer: Sacha Goedegebure
 Genre: Animation
 Title: Big Buck Bunny, Sunflower version
[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should fix your graphics drivers, or not force the xv VO.
AO: [pulse] 48000Hz stereo 2ch float
VO: [xv] 1920x1080 yuv420p
Could not initialize video chain.
Video: no video
A: 00:00:02 / 00:10:34 (0%)


Exiting... (Quit)
rock@rock-4c-plus:~/montaje$

Video is working, audible, but can’t seem to start graphical context.

The documentation on the RXDA website is outdated (https://wiki.radxa.com/Rock4/Debian) and supposedly the graphic drivers that make it work are already in the image.

Somebody can help me?

Regards

Hi, firstly I don’t why did you flash system for Rock 5A and then run on Rock Pi 4 C+.
Is it that download link correct?

Secondly recently I tried Armbian system on Rock Pi 4a and was able to play videos on it. Even mpv player should run faster I tried vlc and then I would try Kodi.

1 Like

I’m sorry… Yes, it’s a wrong link. The correct image was:https://github.com/radxa/debos-radxa/releases/download/20221111-1029/rock-4c-plus-debian-bullseye-xfce4-arm64-20221028-1344-gpt.img.xz

Have you tried vlc ?

Hi again,

The tests I have done with VLC tell me that the player does not load the correct drivers with video acceleration from the Mali chip and that is why a 1080p video looks slightly slow and a 2160p video with audio delayed more than 5 seconds and the video having flickering:

Example of 1080p video:

rock@rock-4c-plus:~/montaje$ cvlc --fullscreen bbb_sunflower_1080p_30fps_normal.mp4
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000000559f89a2f0] dummy interface: using the dummy interface module...
[0000007f64004680] egl_x11 gl error: cannot select OpenGL API
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f64004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f64004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
[0000007f64004680] egl_x11 gl error: cannot select OpenGL API
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f64004680] gl gl: Initialized libplacebo v2.72.0 (API v72)

Example of 2160p video:

rock@rock-4c-plus:~/montaje$ cvlc --fullscreen bbb_sunflower_1080p_30fps_normal.mp4
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000000559f89a2f0] dummy interface: using the dummy interface module...
[0000007f64004680] egl_x11 gl error: cannot select OpenGL API
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f64004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f64004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
[0000007f64004680] egl_x11 gl error: cannot select OpenGL API
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f64004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
^Carm_release_ver of this libmali is 'r18p0-01rel0', rk_so_ver is '4'.arm_release_ver of this libmali is 'r18p0-01rel0', rk_so_ver is '4'.rock@rock-4c-plus:~/montaje$ cvlc --fullscreen bbb_sunflower_2160p_30fps_normal.mp4
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[00000055ab3db630] dummy interface: using the dummy interface module...
[0000007f50004680] egl_x11 gl error: cannot select OpenGL API
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f50004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f50004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
[0000007f50004680] egl_x11 gl error: cannot select OpenGL API
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[0000007f50004680] gl gl: Initialized libplacebo v2.72.0 (API v72)
[h264 @ 0x7f80dfaa20] co located POCs unavailable
[h264 @ 0x7f80ddee90] mmco: unref short failure
[h264 @ 0x7f80dc3300] co located POCs unavailable
[h264 @ 0x7f80d5fe10] mmco: unref short failure
[h264 @ 0x7f80d44360] co located POCs unavailable
[h264 @ 0x7f80dc3300] mmco: unref short failure
[h264 @ 0x7f80ddee90] co located POCs unavailable
[h264 @ 0x7f80d5fe10] co located POCs unavailable
[h264 @ 0x7f80d5fe10] co located POCs unavailable
[h264 @ 0x7f80da7850] mmco: unref short failure
[h264 @ 0x7f80ddee90] co located POCs unavailable
[h264 @ 0x7f80da7850] co located POCs unavailable
[h264 @ 0x7f80ddee90] co located POCs unavailable
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f80d2f6d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[h264 @ 0x7f80dfaa20] co located POCs unavailable
^X[h264 @ 0x7f80dfaa20] co located POCs unavailable
[h264 @ 0x7f80d5fe10] co located POCs unavailable
[h264 @ 0x7f80ddee90] co located POCs unavailable

were you able to fix this ?

Yeah I’m hanging for a fix too.

Need VLC playing RTSP stream, so used Flatpak, but whether compiled locally or using the pack it appears to be an issue!