RK3328 Media Script
#2
I tested it on my 4 GB r64. The script successfully got the X driver installed so that OGLES works accelerated by the Mali driver under Armbian bionic but I was unable to get any of the video players to work properly although thats partly because the developer has failed to mention how to run any of them in the README / 1st post of the forum thread for the script. Thankfully I think I know how mpv and gstreamer should be run but I could be incorrect.

mpv segfaults like this, whether run as root or a normal user:

dan@rock64:~/Videos$ mpv --vo=gpu --gpu-context=drm --hwdec=rkmpp VID_20190125_163620.mp4
Playing: VID_20190125_163620.mp4
(+) Video --vid=1 (*) (h264 3840x2160 29.304fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
Segmentation fault

gstreamer, when ran like so:

$ gst-play-1.0 --videosink=rkximagesink video.mp4

Came the closest to working of the three but the video was unwatchable as it was very jerky with lots of horizontal green bars.

kodi, as installed with this script, has 3 binaries. The one that comes the nearest to working (kodi-gbm-wrapper or something) only shows the UI for a few seconds before you get kicked out to the VT. I was unable to play a video with kodi so its a big fat 0/3 for all three video players currently. I had more luck with mpv under armbian when I built it myself - I was able to get hw accel video working but only at FullHD output res.

Its not mentioned in the README yet and the script seems to almost run fine as a normal user (it doesn't stop you) but the first time I ran the script I ran it as a normal user and my screen went black (X crashed?) part way through installing the gstreamer stuff. I ran it again with the same options but as root and it completed fine.

I signed up to the armbian forums to give my feedback but I am currently unable to post replies to any threads on the armbian forum nor can I send the dev a DM yet either.
  Reply


Messages In This Thread
RK3328 Media Script - by zet_lab - 01-19-2019, 04:14 AM
RE: RK3328 Media Script - by danboid - 01-26-2019, 06:15 AM
RE: RK3328 Media Script - by danboid - 01-26-2019, 10:41 AM
RE: RK3328 Media Script - by danboid - 01-27-2019, 04:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 192,027 10-09-2023, 03:31 AM
Last Post: mara
  Video : Media Script for the Rock64/4K video in Linux NicoD 1 4,249 03-30-2019, 02:17 AM
Last Post: zet_lab
  Error when installing some packages - Installing new rk3328-rock64.dtb. msg thewonderer 0 1,836 02-07-2018, 05:22 AM
Last Post: thewonderer
  Need .h includes for rk3328 gene83 4 4,025 10-06-2017, 07:26 PM
Last Post: gene83

Forum Jump:


Users browsing this thread: 1 Guest(s)