How to use GLFW / OpenGL ES on Armbian
#2
For whatever it's worth glxgears tells me the same thing.
Code:
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip

And es2gears:
Code:
libEGL warning: DRI2: failed to open rockchip (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)

But in my xorg log
Code:
[   727.608] (II) Loading sub module "dri2"
[   727.608] (II) LoadModule: "dri2"
[   727.608] (II) Module "dri2" already built-in

In the README with armsoc (xorg video driver, this from Ayufan at
https://github.com/ayufan-rock64-package...deo-armsoc
it talks about building a DRM driver yourself and there is a drmmode_rockchip.c which compiles by the makefile into drmmode_rockchip.lo
So I copied that to one of the paths mentioned and ran ldconfig but it didn't seem to make any difference.  (DRM and DRI are different versions of the same thing).  Oh, wait a normal library is a .so file, I think a .lo is only for linking to something else.

I remember there was an ad that touted the Rock64 as a multimedia powerhouse and I think I remember 500-600 FPS from es2gears or glxgears.  I also remember fullscreen video without CPU load.   But now I'm seeing 200-300 with a lot of CPU usage so the Mali isn't doing anything.  When in doubt, reboot, so I'll try that.

I installed glmark2 (benchmark) from https://github.com/glmark2/glmark2 and it tells me:
Code:
   OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 7.0, 128 bits)
    GL_VERSION:    OpenGL ES 3.0 Mesa 18.3.6
so it's running under Mesa as I suspected.  I don't know how to switch.  But I'm running an Ayufan image not Armbian.  You can run Mesa on pretty much anything I think, it's software emulation, it's not the Mali.

Try glxinfo too, what I see at the top is
Code:
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
then it proceeds to exercise Mesa and show lots of data about it.  But it confirms that it's not hardware OpenGL ES.
  Reply


Messages In This Thread
RE: How to use GLFW / OpenGL ES on Armbian - by ab1jx - 11-24-2019, 10:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Armbian/Ubuntu for Rockbox Wizzard 5 864 05-18-2021, 08:18 AM
Last Post: Wizzard
  Armbian for Rock64 pineadmin 31 25,149 05-08-2021, 09:35 AM
Last Post: Wizzard
  Armbian 5.4.43: Network is unreachable; Red LED blinking; RNG failure? aves 1 1,190 07-27-2020, 02:04 PM
Last Post: aves
  Unable to boot armbian fchazal 2 1,627 05-19-2020, 06:43 PM
Last Post: Rocklobster
  armbian / bionic - hdmi to vga not functioning on newer5.4 kapqa 1 1,257 03-31-2020, 07:19 PM
Last Post: tllim
  Not able to boot Armbian 5.75@Rock64 4GB wundidajah 1 1,306 03-29-2019, 05:30 AM
Last Post: dkryder
Question No USB Power (ROCK64+ARMBIAN 5.7) takezo 2 1,866 03-15-2019, 07:46 AM
Last Post: takezo
  WiFi on Armbian problem scalextrix 14 8,142 09-08-2018, 01:13 AM
Last Post: scalextrix
  Mali OpenGL ES 2.0 SDK ab1jx 4 2,721 07-08-2018, 01:09 PM
Last Post: ab1jx
  rock64 is on Armbian's supported boards list cooker 10 5,379 05-17-2018, 01:40 PM
Last Post: KernelPanic

Forum Jump:


Users browsing this thread: 1 Guest(s)