paroj / gltut

Learning Modern 3D Graphics Programming
https://paroj.github.io/gltut/
MIT License
1.57k stars 377 forks source link

FreeGlut Problem #16

Closed paroj closed 8 years ago

paroj commented 13 years ago

Originally reported by: Anonymous


Hello, I'm posting here since I did not see any other method of contact. I am getting an error when I try to run any of the tutorials. The console says:

"freeglut (./Test): glXCreateContextAttribsARB not found"

when I run the executables. This is probably very simple, but I need the help.

Thanks!


paroj commented 13 years ago

Original comment by Anonymous:


OK, and here's the error messages I get after I've switched drivers. Any idea on this one? Thanks in advance!

X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 128 (GLX) Minor opcode of failed request: 34 () Serial number of failed request: 38 Current serial number in output stream: 39

paroj commented 13 years ago

Original comment by Anonymous:


Aha, I see. I'm in a weird situation where I must use an older driver in order to use Unity on Ubuntu. I guess I'll disable it and try the newer driver without Unity.

Thanks for the tip.

paroj commented 13 years ago

Original comment by Jason McKesson (Bitbucket: alfonse, GitHub: alfonse):


If that function cannot be found, then your installed driver does not support OpenGL 3.3, which is required to use the tutorials. If updating your graphics driver isn't enough to make the error go away, then there's nothing I can do.