Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling for RPi 2 [armv7l] Error: Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! #392

Open
Architector120 opened this issue Oct 30, 2024 · 2 comments

Comments

@Architector120
Copy link

Hi, I successfully built the project on "Raspberry Pi 2 Model B"
but when i run the executable i get an error:

user@raspberrypi:~/build/hl2 $ ./hl2_launcher 
WARNING: setlocale('en_US.UTF-8') failed, using locale:'C'. International characters may not work.
SDL version: 2.0.14 rev: hg-14525:e52d96ea04fc
LoadLibrary: path: /home/user/build/hl2/bin/libfilesystem_stdio.so
SDL video target is 'x11'
SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system DOES NOT support the OpenGL extension GL_EXT_draw_buffers2.
Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! Either your video card is unsupported, or your OpenGL driver needs to be updated.

it seems to be a common issue with an older GPUs... and people somehow get around it using this trick: https://github.com/ValveSoftware/Source-1-Games/issues/32#issuecomment-14117516
but its not applicable for ARM platform... is there is a way around?

@mittorn
Copy link
Collaborator

mittorn commented Oct 30, 2024 via email

@Architector120
Copy link
Author

What opengl versions your gpu supports? What driver do you use? Maybe try build gles3 engine? Anyway it should launch with gl4es, but performance will be awful..

pi@raspberrypi:~ $ glxinfo | grep "OpenGL"
OpenGL vendor string: Broadcom
OpenGL renderer string: VC4 V3D 2.1
OpenGL version string: 2.1 Mesa 20.3.5
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

It looks like rpi2 is using OpenGL v2.1, is this a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants