openspades
openspades copied to clipboard
SDL_GL_SetSwapInterval is not a supported operation: Ubuntu.
I tried installing OpenGL for Ubuntu several times but this keeps happening, the program only runs if software rendering mode is selected.
I didn't check the rendering code, im just adding this comment as a reminder it might be related to this:
Some systems allow specifying -1 for the interval, to enable adaptive vsync. [...] If application requests adaptive vsync and the system does not support it, this function will fail and return -1. In such a case, you should probably retry the call with 1 for the interval.
https://wiki.libsdl.org/SDL_GL_SetSwapInterval
What's your current r_vsync
value?
You might try changing it to circumvent your issue:
- 0 for immediate updates, (no vsync)
- 1 for updates synchronized with the vertical retrace, (standard vsync)
- -1 for adaptive vsync; (adaptative vsync)
Also, please post your SystemMessages.log
located in the User Resource Directory (tipically %APPDATA%\OpenSpades\Resources
) and your System Info such as this one:
Make sure r_ignoreGLErrors
is set to 0 in the Startup Window's advanced tab during troubleshooting.
Same here... I tried it @yvt without positive result and with the same error.
I think this issue is related to wayland.