openspades icon indicating copy to clipboard operation
openspades copied to clipboard

SDL_GL_SetSwapInterval is not a supported operation: Ubuntu.

Open adterval opened this issue 4 years ago • 4 comments

I tried installing OpenGL for Ubuntu several times but this keeps happening, the program only runs if software rendering mode is selected. image

adterval avatar May 12 '20 21:05 adterval

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: image

Make sure r_ignoreGLErrors is set to 0 in the Startup Window's advanced tab during troubleshooting.

feikname avatar May 16 '20 22:05 feikname

Same here... I tried it @yvt without positive result and with the same error.

Fran6nd avatar Oct 18 '21 19:10 Fran6nd

I think this issue is related to wayland.

badcodecat avatar Feb 17 '24 17:02 badcodecat