Jump to content

Recommended Posts

Posted

More tests results is here :rolleyes: Using same desktop image (v20.02.1 buster). But this time with old kernel v4.19.38 from here https://apt.armbian.com/pool/main/l/linux-4.19.38-sunxi/. Same steps as before were made. And performance results are the same! :lol:

 

I think the problem can be with armsoc+X11 pair. To prove that fact I installed an old package xserver-xorg-video-armsoc-sun4i instead of building it from the sources. Performance became very very low.

Posted
21 minutes ago, gafoo said:

any new solution?

 

 

Mali drivers are part of the kernel for more than a year now. How you will use them, its up to you.

Posted

Hello,
How to use the drivers?
Unfortunately I can only run Minecraft (full Java Edition) with 1-2 FPS on the M2U.
Minecraft show a graphics card from VMware and not a Mali GPU.
How can I activate the GPU?
I currently have the latest version of Armbian Buster installed.

I would be very happy about an answer

 

 

Posted
On 5/19/2020 at 4:04 PM, Xedon said:

Hello,
How to use the drivers?
Unfortunately I can only run Minecraft (full Java Edition) with 1-2 FPS on the M2U.
Minecraft show a graphics card from VMware and not a Mali GPU.
How can I activate the GPU?
I currently have the latest version of Armbian Buster installed.

I would be very happy about an answer

 

 

I am having the same problem with Buster, it seems like it should be a straightforward thing to do, I just can't find any documentation or examples.

Posted

Throw your armbianmonitor -u and X.org.log to a pastebin and then lets see.

Posted

Hello, guys.

I need to run QT application with GUI on armbian and i want to do this without installing X11. So, as i think, i need to install OpenGL ES driver thirst.

I built sunxi mali module, and installed the user-space components.

How can i check that driver and opengl is working?

Posted
31 minutes ago, gogoer said:

Hello, guys.

I need to run QT application with GUI on armbian and i want to do this without installing X11. So, as i think, i need to install OpenGL ES driver thirst.

I built sunxi mali module, and installed the user-space components.

How can i check that driver and opengl is working?

It is much better to go with Lima driver (eg: mainline kernel) nowadays, which should provide everything you need already packed and working, including opengl and opengl es via mesa.

However if you want to test Mali driver, read carefully this thread and compile glmark2 to test it.

Posted
$ sudo ldconfig -p | grep -P "(EGL|GLES)"
    libGLESv2.so.2.0 (libc6,hard-float) => /lib/libGLESv2.so.2.0
    libGLESv2.so.2 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libGLESv2.so.2
    libGLESv2.so.2 (libc6,hard-float) => /lib/libGLESv2.so.2
    libGLESv2.so (libc6,hard-float) => /lib/arm-linux-gnueabihf/libGLESv2.so
    libGLESv2.so (libc6,hard-float) => /lib/libGLESv2.so
    libGLESv1_CM.so.1.1 (libc6,hard-float) => /lib/libGLESv1_CM.so.1.1
    libGLESv1_CM.so.1 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libGLESv1_CM.so.1
    libGLESv1_CM.so.1 (libc6,hard-float) => /lib/libGLESv1_CM.so.1
    libGLESv1_CM.so (libc6,hard-float) => /lib/arm-linux-gnueabihf/libGLESv1_CM.so
    libGLESv1_CM.so (libc6,hard-float) => /lib/libGLESv1_CM.so
    libEGL_mesa.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libEGL_mesa.so.0
    libEGL.so.1.4 (libc6,hard-float) => /lib/libEGL.so.1.4
    libEGL.so.1 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libEGL.so.1
    libEGL.so.1 (libc6,hard-float) => /lib/libEGL.so.1
    libEGL.so (libc6,hard-float) => /lib/arm-linux-gnueabihf/libEGL.so
    libEGL.so (libc6,hard-float) => /lib/libEGL.so

 

es2_info
Error: couldn't open display (null)

 

es2gears
EGLUT: failed to initialize native display

 

glmark2-es2 
Error: main: Could not initialize canvas

 

this is output of glmark and others.

Posted
sudo modinfo lima
filename:       /lib/modules/5.4.45-sunxi/kernel/drivers/gpu/drm/lima/lima.ko
license:        GPL v2
description:    Lima DRM Driver
author:         Lima Project Developers
alias:          of:N*T*Carm,mali-450C*
alias:          of:N*T*Carm,mali-450
alias:          of:N*T*Carm,mali-400C*
alias:          of:N*T*Carm,mali-400
depends:        gpu-sched
intree:         Y
name:           lima
vermagic:       5.4.45-sunxi SMP mod_unload ARMv7 thumb2 p2v8 
sig_id:         PKCS#7

as i understand, lima is already installed in my system. 

how can i use it and install OpenGL ES lib?

Posted
5 hours ago, gogoer said:

as i understand, lima is already installed in my system. 

how can i use it and install OpenGL ES lib?

https://wiki.debian.org/PanfrostLima

Quote

Both the Panfrost and Lima drivers are included in Mesa and should work out-of-the-box after installing the relevant packages (which are, in practice, libglx-mesa0 and libgl1-mesa-dri).

 

Posted
Quote

(which are, in practice, libglx-mesa0 and libgl1-mesa-dri).

both packages are installed.

so why es2_info returns error?

what else i need to crosscompile Qt5 with Opengl ES support? what the path to Opengl ES libraries in armbian?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines