Hi! I'm sorry, didn't noticed I had posted in wrong section, so here we go again!
I'm trying to activate X11 hardware acceleration on this board. It's running an RT PREEMPT Kernel from the project AllwinCNC which aim to run linuxcnc software using ARISC core to generate steps in realtime. Unfortunately, I'm getting very bad performance in X11 with lima driver. It seems to be running on software and not the lima driver itself and I'd like to know if it is possible to have the graphics acceleration done in hardware instead. CPU usage is going to 100% and it is resulting in errors on the aforementioned CNC controller software due to this.
BOARD: Orange Pi PC 1GB
armbianmonitor -U output -> https://we.tl/t-RKjLXMHAGt
orangepipc:~:% uname -a
Linux orangepipc 5.10.21-rt34-sunxi #trunk SMP PREEMPT_RT Thu Apr 1 12:25:28 +06 2021 armv7l GNU/Linux
orangepipc:~:% lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
I got this on glxgears:
111 frames in 5.0 seconds = 22.122 FPS
184 frames in 5.0 seconds = 36.786 FPS
It seems to be handled in software:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 7.0, 128 bits) (0xffffffff)
Video memory: 999MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 18.3.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
How can I have hardware acceleration on X11 using Lima? Is it possible?