This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenGL Hardware acceleration?
#1
I installed openarena on the latest tinkerOS linaro, getting around 2-5 fps.
This feels like Its using software rendering on a Pentium 2....

Is there no hardware accelerated OpenGL renderer or am I'm doing something wrong?
Reply
#2
Try this
https://tinkerboarding.co.uk/forum/thread-1526.html
...working my way through the 1000+ ways things don't work to find the one that does...
Reply
#3
I was talking about Open GL not CL ... complete different thing.
Reply
#4
https://stackoverflow.com/questions/7907...se-and-why
...working my way through the 1000+ ways things don't work to find the one that does...
Reply
#5
Officially, there's only OpenGL ES acceleration available. Meaning no Desktop OpenGL, but only the embedded version of OpenGL.
Now, there are things like https://github.com/ptitSeb/gl4es that tries to make OpenGL applications useable with OpenGL ES drivers.

Now, if you can, try to see if your software has an OpenGL ES renderer.
[-] The following 1 user Likes Myy's post:
  • qaplus
Reply
#6
(06-03-2018, 01:12 PM)Myy Wrote: Officially, there's only OpenGL ES acceleration available. Meaning no Desktop OpenGL, but only the embedded version of OpenGL.
Now, there are things like https://github.com/ptitSeb/gl4es that tries to make OpenGL applications useable with OpenGL ES drivers.

Now, if you can, try to see if your software has an OpenGL ES renderer.


I tried to compile gl4es with Droid profile and it worked fine.
Code:
mkdir build; cd build; cmake .. -DODROID=1; make


Tried the opengl lib with Cave Story (nxengine-evo). Tinkerboard CPU usage dropped from 90% to 10%..
Code:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/gl4es/build/lib ./nx &


output:
LIBGL: Initialising gl4es
LIBGL: v1.1.1 built on Aug 11 2019 14:34:36
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Extension GL_OES_texture_stencil8 detected and used
LIBGL: Extension GL_EXT_texture_rg detected and used
LIBGL: Extension GL_EXT_color_buffer_float detected and used
LIBGL: Extension GL_EXT_color_buffer_half_float detected and used
LIBGL: high precision float in fragment shader available and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Extension GL_OES_get_program detected and used
LIBGL: Number of supported Program Binary Format: 1
LIBGL: Max texture size: 8192
LIBGL: Max Varying Vector: 15
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: sRGB surface supported
LIBGL: Targeting OpenGL 2.0
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: FBO workaround for using binded texture enabled
LIBGL: glX Will try to recycle EGL Surface
LIBGL: Current folder is:/home/linaro/nxengine-evo/bin
LIBGL: Loaded a PSA with 3 Precompiled Programs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)