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.
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.