NOTE I reinstall Ubuntu LTS 64 bit and the Nvidia 331 recommended drive before i made this changes, last i install Steam after i made the changes and it works great with no errors.
The key is that steam (and any other 32-bit program, for that matter) need to load the 32-bit libGL.so library. However, the nvidia driver packages in Ubuntu Raring 64-bit (such as nvidia-304, nvidia-304-updates, nvidia-319, etc.) don't properly configure ldconfig to use the nvidia version of libGL.so for 32-bit programs (like steam and tf2). So steam and games like tf2 will end up loading some other non-nvidia graphics library. This causes steam to warn you about not using direct rendering (because you're using software rendering instead) and games like tf2 to fail to start altogether. Fortunately, the fix for this is really simple:
1.) In /usr/lib, there is a directory called something like nvidia-304 or nvidia-304-updates or nvidia-319 etc., which holds the nvidia OpenGL libraries.
If that directory is called nvidia-304, for instance, you'd want to, as root, edit the file /usr/lib/nvidia-304/alt_ld.so.conf (which you'll notice is currently blank) and add the lines:
Code:
/usr/lib32/nvidia-304
/usr/lib/nvidia-304
If that directory is something else, like /usr/lib/nvidia-304-updates you'd want to edit the file /usr/lib/nvidia-304-updates/alt_ld.so.conf as root and add the lines:
Code:
/usr/lib32/nvidia-304-updates
/usr/lib/nvidia-304-updates
And if your directory is /usr/lib/nvidia-<something else>, you'd want to edit /usr/lib/nvidia-<something else>/alt_ld.so.conf as root and add the lines:
Code:
/usr/lib32/nvidia-<something else>
/usr/lib/nvidia-<something else>
You get the idea...
2.) In the linux terminal, run the command:
3.) Restart steam/Install Steam. You'll notice that there's no warning about not using direct rendering anymore. You'll also be able to play games like tf2 again.
Above you need to use Nono to change the alt_ld.so.conf file.
For example:
Code:
sudo nano /usr/lib/nvidia-331-prime/alt_ld.so.conf
When you add the two lines you save the input with "ctrl o" and Enter and Exit Nano with "ctrl x"
Bookmarks