There's a similar question on the site, but it's outdated and doesn't specify exactly what I'm faced with. Namely, I have an old computer that I'm fixing for someone, and it's got this Intel 82865G integrated graphics controller. The problem is that it doesn't appear to handle any OpenGL things i throw at it.
For instance, glxgears returns this:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Serial number of failed request: 28
Current serial number in output stream: 30
And glxinfo returns the same.
The computer runs Ubuntu 12.04 in Unity 2D. The graphics card is capable of up to OpenGL 1.3 according to Intel, if that is at all relevant.
Thanks for the link to that bug report, fossfreedom. I hadn't found it. The bug report doesn't state a direct answer, but the answer seems as simple as the following command:
OpenGL now works. It appears to be stuck in Unity 2D, but that's fine.
This package did destroy my X11 installation. To reinstall the following commands worked for me:
The installation of the OpenGL driver was in my case because of a non working XBMC installation. Now everything works.