Open dscharrer opened 4 years ago
I get similar issues in my game engine on Nvidia as well.
I'm pretty sure I'm having this same issue, or if not then something related.
Environment:
Running my program normally has no issues, but launching it through Steam (with the overlay enabled in settings) leads to it rendering a single frame, then the program catches an OpenGL INVALID_ENUM
error on the start of the next render cycle.
This doesn't look to be a Linux-exclusive problem. If I disable the overlay in settings, then the game runs without issue.
GameOverlayRenderer.dll on Windows also comes with this issue. (I am using Intel UHD 770 which doesn't support ARB_imaging either)
Your system information
Please describe your issue in as much detail as possible:
The Steam overlay calls glMatrixMode() with the invalid enum GL_COLOR. Using this enum requires the ARB_imaging extension which Mesa/radeonsi does not support
With Arx Libertatis, which creates a a KHR_no_error context by default, this causes all textures to be rendered as a single color, see dreamer/luxtorpeda#27.
Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist
Steps for reproducing this issue:
Arx Libertatis supports creating a debug context instead using the --debug-gl option, which will print errors while the overlay is open or a notification is shown: [E] GLDebug:90 API error #2: GL_INVALID_ENUM in glMatrixMode
Stack trace: