According to nvidia’s specs page, the GTS 250 should support OpenGL 3.0, yet no matter how I install the drivers, my OpenGL is stuck at 1.4. Do the Linux drivers simply not support OpenGL 3.0 for this card or do I have to do something special? I have tried both the default Ubuntu drivers and installing the nvidia-provided ones.
Are you sure that you don’t confuse GLX with OpenGL?
glxinfo | grep version
libGL error: failed to load driver: swrast
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 1.4 (2.1.2 NVIDIA 340.76)
The fact that libGL is trying to load swrast indicates that you’re using Mesa’s version of libGL rather than the NVIDIA-provided one. I would suggest asking for help on Ubuntu’s support forums, since this sounds like a problem with the Ubuntu driver packages.
I am not using the Ubuntu-provided drivers, I am using the drivers provided on nvidia.com
edit: funny enough, I just switched to the xorg-edgers provided driver and it works perfectly.