The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
Xming -- Can't create window: Couldn't find matching GLX vis
martyfouts
Joined: 16 May 2015
Posts: 2
Posted: Sat May 16, 2015 11:55 pm
I think this is a FAQ, but I haven't hit the right combination of search terms to find it.
My setup is a linux box running FC21 with the display variable set to point to an XMing server running on a Windows 7 laptop.
If I run the below application I get "Can't create window: Couldn't find matching GLX visual"
I believe the problem is that SDL2 is initializing the window trying to use client rendering, but I need server rendering. Server rendering works with GLUT-based opengl apps in this configuration.
So my question is: What can I do before trying to create the window to convince SDL2 to use server rendering? Or does SDL2 even support server rendering?
Thanks,
Marty
my source code.
martyfouts
Joined: 16 May 2015
Posts: 2
Posted: Sat May 16, 2015 11:57 pm
I neglected to add the code to the tail of the first message. Here it is.