Jump to content

Is Mali GPU driver available in Mainline for H3?


Nazar Gerasymchuk

Recommended Posts

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.

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines