I was able to compile all of the examples on the Persee, but when I try to run any of the SFML examples, I get the following error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 148 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x24
Serial number of failed request: 27
Current serial number in output stream: 27
The error originates from this call:
sf::RenderWindow window(sf::VideoMode(1280, 960), "Color Viewer");
I’ve tried changing the VideoMode parameters to 800,600, but it didn’t help. I’m guessing the problem has something to do with SFML and GLX not working together on the Persee, but I’d like to get it working. glxgears
works fine, so I’m pretty sure the problem is not with GLX.
I can run any of the samples that aren’t SFML, just fine.
Has anyone else tried running the SFML samples on the Persee using Ubuntu?