Arch Linux on RockPro64
#21
(12-03-2018, 09:59 AM)fosf0r Wrote: No available images are properly set up for acceleration from the jump, but that can be fixed.


If you install libmali-rk-midgard-t86x-r14p0-gbm and then build and install fbturbo, you can have accelerated X11.
https://github.com/ssvb/xf86-video-fbturbo

Reminder: rockpro64 cannot do hardware GL, but GLES2 will be accelerated.
Software GL and hardware acceleration conflict, so you can't have MESA GL (software) plus accelerated GLES (libmali-rk) at the same time (that I know of. I've been trying, so if I'm wrong, please correct!)

xscreensavers will be unaccelerated, for example, but you can run Kodi if build for GBM+GLES.
But Kodi is better without X11 at all, when run from framebuffer in GBM mode.
It suffers performance a lot if you launch from within X11.


If you use fbturbo, and your window manager supports compositing and/or some form of acceleration, TURN IT ALL OFF.
For example, XFCE has software compositing, but that is unaccelerated by fbturbo, so things actually go faster once you disable it.
Counter-intuitively, if any programs (example: SMplayer) ask you what surface to render to, choose "x11 slow", NOT any of the options that would seem like they have acceleration.
(Also, "drm" and "GBM" can be appropriate choices as well depending on the context of the question and the program that is asking.)
If you go this route you may also want to disable all hardware acceleration inside of your web browser (Chromium, Firefox, etc) as well, since those are counter-intuitive as well. When I disabled as much hardware accel as I could in Chromium, it started functioning even more responsively.




If you want Wayland and Weston, you must install libmali-rk-midgard-t86x-r14p0-wayland
Weston on Wayland with this driver is 100% accelerated and composited.
I'm not 100% sure if having the libmali-rk-*-wayland package is allowed at the same time as the GBM one, I have not tried using both systems at the same time before (X11 and Wayland).

Thank you! I'll try it.


Messages In This Thread
Arch Linux on RockPro64 - by mmatyas - 07-29-2018, 03:31 PM
RE: Arch Linux on RockPro64 - by Tigger - 08-06-2018, 01:29 PM
RE: Arch Linux on RockPro64 - by hiccupstix - 08-06-2018, 03:40 PM
RE: Arch Linux on RockPro64 - by Tigger - 08-07-2018, 03:02 AM
RE: Arch Linux on RockPro64 - by mmatyas - 08-08-2018, 01:49 AM
Arch Linux on RockPro64 - by hiccupstix - 08-07-2018, 03:17 AM
RE: Arch Linux on RockPro64 - by Tigger - 08-08-2018, 04:48 AM
RE: Arch Linux on RockPro64 - by ah- - 08-28-2018, 03:14 PM
RE: Arch Linux on RockPro64 - by dukla2000 - 08-29-2018, 03:37 AM
RE: Arch Linux on RockPro64 - by ah- - 08-29-2018, 11:25 AM
RE: Arch Linux on RockPro64 - by ali - 11-09-2018, 08:54 AM
RE: Arch Linux on RockPro64 - by mmatyas - 11-06-2018, 03:47 PM
RE: Arch Linux on RockPro64 - by mmatyas - 11-20-2018, 06:29 PM
RE: Arch Linux on RockPro64 - by ali - 11-27-2018, 12:28 AM
RE: Arch Linux on RockPro64 - by p1x3l3d - 11-22-2018, 05:28 PM
RE: Arch Linux on RockPro64 - by mmatyas - 11-24-2018, 04:09 AM
RE: Arch Linux on RockPro64 - by p1x3l3d - 11-26-2018, 02:11 PM
RE: Arch Linux on RockPro64 - by p1x3l3d - 01-13-2019, 12:41 PM
RE: Arch Linux on RockPro64 - by mmatyas - 01-19-2019, 11:30 AM
RE: Arch Linux on RockPro64 - by mmatyas - 11-27-2018, 01:21 AM
RE: Arch Linux on RockPro64 - by ali - 12-01-2018, 07:16 AM
RE: Arch Linux on RockPro64 - by fosf0r - 12-03-2018, 09:59 AM
RE: Arch Linux on RockPro64 - by ali - 01-11-2019, 02:21 AM
RE: Arch Linux on RockPro64 - by mmatyas - 02-26-2019, 11:31 AM
RE: Arch Linux on RockPro64 - by mmatyas - 02-27-2019, 06:07 PM
RE: Arch Linux on RockPro64 - by mmatyas - 09-10-2019, 01:58 PM
RE: Arch Linux on RockPro64 - by oreggin - 09-26-2019, 03:09 PM
RE: Arch Linux on RockPro64 - by TaborFife - 09-28-2019, 04:30 AM
RE: Arch Linux on RockPro64 - by hev - 03-20-2020, 12:27 AM
RE: Arch Linux on RockPro64 - by rhysperry111 - 05-23-2020, 02:29 PM
RE: Arch Linux on RockPro64 - by mmatyas - 05-30-2020, 12:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,875 11-20-2024, 03:53 PM
Last Post: mara
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 92 105,973 08-17-2024, 02:32 PM
Last Post: taltamir
  OpenEuler OS on RockPro64 Yuriy Gavrilov 0 289 06-15-2024, 09:38 AM
Last Post: Yuriy Gavrilov
  yocto for RockPro64 Fide 1 1,114 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 3,473 10-29-2023, 04:43 PM
Last Post: brotherj4mes
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,497 09-22-2023, 04:27 AM
Last Post: diederik
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 21,323 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 92,887 08-11-2023, 11:13 AM
Last Post: mara
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,287 07-14-2023, 04:22 AM
Last Post: hunderteins
  How to enable CoreSight ETM trace on RockPro64 shpark 0 864 05-21-2023, 11:34 PM
Last Post: shpark

Forum Jump:


Users browsing this thread: 22 Guest(s)