MX_Master Posted February 25, 2020 Posted February 25, 2020 More tests results is here 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! 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.
gafoo Posted April 9, 2020 Posted April 9, 2020 (edited) any new solution? And what about this manual? https://wiki.debian.org/MaliGraphics Im newbie in Linux, stuck in step with headers download. Edited April 9, 2020 by gafoo
Igor Posted April 9, 2020 Posted April 9, 2020 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.
Xedon Posted May 19, 2020 Posted May 19, 2020 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
RenegadePriest Posted June 1, 2020 Posted June 1, 2020 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.
Werner Posted June 2, 2020 Posted June 2, 2020 Throw your armbianmonitor -u and X.org.log to a pastebin and then lets see.
RenegadePriest Posted June 4, 2020 Posted June 4, 2020 Hi @jock if you still have that image would you mind PM'ing me a link to it? I'd like to check it against the one I'm working on here. Thanks a lot
gogoer Posted June 29, 2020 Posted June 29, 2020 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?
jock Posted June 29, 2020 Posted June 29, 2020 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.
gogoer Posted June 29, 2020 Posted June 29, 2020 $ 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.
gogoer Posted June 29, 2020 Posted June 29, 2020 and how can i install Lima driver? i cant find any manual.
gogoer Posted June 29, 2020 Posted June 29, 2020 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? 1
Werner Posted June 30, 2020 Posted June 30, 2020 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).
gogoer Posted June 30, 2020 Posted June 30, 2020 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?
Werner Posted June 30, 2020 Posted June 30, 2020 Never tried that myself on H3. You can also try to install mesa from scratch. That did the trick for me with Panfrost. https://gitlab.freedesktop.org/lima/web/blob/master/README.md
Recommended Posts