Beware, ROCKPRO64 is a hardcore SBC for developers.
Out of the box, most things have to be "fixed", or at least changed.
I have already done quite a bit of work on video, but not for X11.
X11/xorg isn't very good in RK, because GL doesn't exist, and the provided armsoc driver has no acceleration, and the kernel is missing rkmpp and rkvdec (for HEVC/4K/x265/PRIME) by default if you're using ayufan's images. The latest version/kernel may not have working HDMI i2s sound either, beware of that as well.
If you replace armsoc driver with fbturbo it should be MUCH nicer.
But not 100%.
Caveats:
- Please backup this file before doing anything in case you want to go back to armsoc driver: /etc/X11/xorg.conf.d/20-armsoc.conf
- GL acceleration doesn't exist (not related to which driver you use; RK3399 has no GL, period)
--> if you continue to use armsoc, you get software GL at least, sorta, kinda. I think? I quit trying to mess with GL a long time ago. At least GLES2 works and is accelerated.
--> you might have to install the gbm driver again after making changes or if anything weirds out on you: ' apt install libmali-rk-midgard-t86x-r14p0-gbm --reinstall '
- Once using fbturbo, programs that contain their own acceleration should be turned OFF, yes OFF. (Chrome/ium, Firefox, smplayer - use "X11 slow", and xfce4/MATE compositor must be DISABLED). Counterintuitively, the more you disable each app's built-in acceleration, the faster things will go. fbturbo basically takes software graphics calls and forces them to be accelerated. So if Chrome/Chromium/Firefox is trying to directly accelerate things, it will actually go slower until you tell the program to use software rendering - then suddenly it will accelerate again, like I said, counterintuitively.
- There's probably a bunch of gnarly caveats that I've forgotten, because both because xorg is really hard to use on RK3399, and because I moved away from X11, to framebuffer console + kodi.
- This fbturbo/armsoc situation still has nothing to do with playing videos, those will still play horribly, it's a different problem ->
https://forum.pine64.org/showthread.php?tid=6896
fbturbo:
https://github.com/ssvb/xf86-video-fbturbo
Kernel 4.4.138-1100 is the only one I can recommend currently.
https://github.com/ayufan-rock64/linux-k...hip-ayufan