Segmentation fault in sun4i-drm_dri.so
Hello,
I'm trying to get OpenGL working on the Orange PI PC board with the Mali400 graphics chip and Armbian/Debian Sid. Everything looks pretty good, xserver runs in fullHD without problem. Glxinfo shows correct informations. But everytime, I run OpenGL application, for example glxgears
or supertuxkart
, I get segmentation fault.
$ gdb glxgears
Starting program: /usr/bin/glxgears
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0xb611cf12 in ?? () from /usr/lib/arm-linux-gnueabihf/dri/sun4i-drm_dri.so
$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
...
Extended renderer info (GLX_MESA_query_renderer):
Vendor: lima (0x13b5)
Device: Mali400 (0xffffffff)
Version: 20.0.4
Accelerated: yes
Video memory: 0MB
Unified memory: yes
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL vendor string: lima
OpenGL renderer string: Mali400
OpenGL version string: 2.1 Mesa 20.0.4
Video memory: 0MB
looks little weird.
$ uname -r
5.4.28-sunxi
Package versions:
xserver-xorg
1:7.7+20
xserver-xorg-video-armsoc-sun4i
1.4.1~armbian5.73+1
mesa-common-dev
20.0.4-1
Can you help me debug this problem, or should I ask for help somewhere else?