dimag0g
Very Active Member
Update: I managed to run some of the OpenGL software on Mali400 GPU using glshim, but it's far from perferct. Notably, darkplaces engine segfaults:
openarena starts, but has several visual issues:
(gdb) r
Starting program: /usr/games/darkplaces
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Game is DarkPlaces-Quake using base gamedir id1
DarkPlaces-Quake Linux 10:23:04 Oct 12 2012 0~20110628+svn11619-3 Debian
Current nice level is below the soft limit - cannot use niceness
WARNING: base gamedir id1/ not found!
Playing shareware version.
Skeletal animation uses generic code path (SSE not compiled in)
DPSOFTRAST not available (SSE2 not compiled in)
Failed to init SDL joystick subsystem:
couldn't exec quake.rc
couldn't exec default.cfg
couldn't exec config.cfg
couldn't exec autoexec.cfg
Client using an automatically assigned port
Client opened a socket on address 0.0.0.0:0
Linked against SDL version 1.2.15
Using SDL library version 1.2.15
libGL:loaded: libGLESv1_CM.so
libGL:loaded: libEGL.so
libGL: built on Aug 10 2015 19:37:50
[New Thread 0xb5528410 (LWP 3088)]
[New Thread 0xb4d28410 (LWP 3089)]
[New Thread 0xb4528410 (LWP 3090)]
GL_VENDOR: ARM
GL_RENDERER: Mali-400 MP
GL_VERSION: 1.4 glshim wrapper
glXGetProcAddress: glMultiTexCoord1fARB not found.
glXGetProcAddress: glMultiTexCoord3fARB not found.
glXGetProcAddress: glStencilOpSeparate not found.
glXGetProcAddress: glStencilFuncSeparate not found.
glXGetProcAddress: glBlendEquationEXT not found.
glXGetProcAddress: glDrawRangeElements not found.
Video Mode: fullscreen 640x480x32x0.00hz
glActiveTexture: texture > GL_TEXTURE_MAX
glClientActiveTexture: texture > GL_TEXTURE_MAX
glActiveTexture: texture > GL_TEXTURE_MAX
glClientActiveTexture: texture > GL_TEXTURE_MAX
glActiveTexture: texture > GL_TEXTURE_MAX
glClientActiveTexture: texture > GL_TEXTURE_MAX
warning: invoking glX stub
Program received signal SIGSEGV, Segmentation fault.
0xb68ecf94 in memcpy () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0 0xb68ecf94 in memcpy () from /lib/arm-linux-gnueabihf/libc.so.6
#1 0xb5585886 in _gles_fb_tex_image_2d () from /usr/lib/mali/libGLESv1_CM.so
#2 0xb556d586 in _gles_tex_image_2d_internal ()
from /usr/lib/mali/libGLESv1_CM.so
#3 0xb556d69c in _gles_tex_image_2d () from /usr/lib/mali/libGLESv1_CM.so
#4 0xb5578570 in _gles1_tex_image_2d () from /usr/lib/mali/libGLESv1_CM.so
#5 0xb556bd64 in glTexImage2D () from /usr/lib/mali/libGLESv1_CM.so
#6 0xb57255a8 in glTexImage2D (target=<optimized out>, level=0,
internalformat=<optimized out>, width=1024, height=512, border=0,
format=6408, type=5121, data=0x2)
at /root/opengl/glshim/src/gl/texture.c:179
#7 0xb572ce26 in render_raster () at /root/opengl/glshim/src/gl/raster.c:231
#8 0xb57823e4 in glXSwapBuffers (dpy=0x183f3e0, drawable=<optimized out>)
at /root/opengl/glshim/src/glx/glx.c:504
#9 0xb6b548a6 in ?? () from /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0
#10 0xb6b548a6 in ?? () from /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Starting program: /usr/games/darkplaces
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Game is DarkPlaces-Quake using base gamedir id1
DarkPlaces-Quake Linux 10:23:04 Oct 12 2012 0~20110628+svn11619-3 Debian
Current nice level is below the soft limit - cannot use niceness
WARNING: base gamedir id1/ not found!
Playing shareware version.
Skeletal animation uses generic code path (SSE not compiled in)
DPSOFTRAST not available (SSE2 not compiled in)
Failed to init SDL joystick subsystem:
couldn't exec quake.rc
couldn't exec default.cfg
couldn't exec config.cfg
couldn't exec autoexec.cfg
Client using an automatically assigned port
Client opened a socket on address 0.0.0.0:0
Linked against SDL version 1.2.15
Using SDL library version 1.2.15
libGL:loaded: libGLESv1_CM.so
libGL:loaded: libEGL.so
libGL: built on Aug 10 2015 19:37:50
[New Thread 0xb5528410 (LWP 3088)]
[New Thread 0xb4d28410 (LWP 3089)]
[New Thread 0xb4528410 (LWP 3090)]
GL_VENDOR: ARM
GL_RENDERER: Mali-400 MP
GL_VERSION: 1.4 glshim wrapper
glXGetProcAddress: glMultiTexCoord1fARB not found.
glXGetProcAddress: glMultiTexCoord3fARB not found.
glXGetProcAddress: glStencilOpSeparate not found.
glXGetProcAddress: glStencilFuncSeparate not found.
glXGetProcAddress: glBlendEquationEXT not found.
glXGetProcAddress: glDrawRangeElements not found.
Video Mode: fullscreen 640x480x32x0.00hz
glActiveTexture: texture > GL_TEXTURE_MAX
glClientActiveTexture: texture > GL_TEXTURE_MAX
glActiveTexture: texture > GL_TEXTURE_MAX
glClientActiveTexture: texture > GL_TEXTURE_MAX
glActiveTexture: texture > GL_TEXTURE_MAX
glClientActiveTexture: texture > GL_TEXTURE_MAX
warning: invoking glX stub
Program received signal SIGSEGV, Segmentation fault.
0xb68ecf94 in memcpy () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0 0xb68ecf94 in memcpy () from /lib/arm-linux-gnueabihf/libc.so.6
#1 0xb5585886 in _gles_fb_tex_image_2d () from /usr/lib/mali/libGLESv1_CM.so
#2 0xb556d586 in _gles_tex_image_2d_internal ()
from /usr/lib/mali/libGLESv1_CM.so
#3 0xb556d69c in _gles_tex_image_2d () from /usr/lib/mali/libGLESv1_CM.so
#4 0xb5578570 in _gles1_tex_image_2d () from /usr/lib/mali/libGLESv1_CM.so
#5 0xb556bd64 in glTexImage2D () from /usr/lib/mali/libGLESv1_CM.so
#6 0xb57255a8 in glTexImage2D (target=<optimized out>, level=0,
internalformat=<optimized out>, width=1024, height=512, border=0,
format=6408, type=5121, data=0x2)
at /root/opengl/glshim/src/gl/texture.c:179
#7 0xb572ce26 in render_raster () at /root/opengl/glshim/src/gl/raster.c:231
#8 0xb57823e4 in glXSwapBuffers (dpy=0x183f3e0, drawable=<optimized out>)
at /root/opengl/glshim/src/glx/glx.c:504
#9 0xb6b548a6 in ?? () from /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0
#10 0xb6b548a6 in ?? () from /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
openarena starts, but has several visual issues:
Last edited by a moderator: