If you have a Sony Vaio VPCCW laptop, you may follow the below instructions. Note that the configuration details for the Nvidia GT 310M cards may be different across machines. For example, some manufacturers may implement some kind of hybrid graphics (like Optimus). For more details on that, see Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?
From this post on the Ubuntu Forums
- Download >sonycw.txt< to your
/home/username/
directory.
Note bodhi.zazen: You probably need to have an account on the forums to download that file, I could not find another option, sorry.
Note bodhi.zazen: - I left the sonycw.bin link as it may help some. If you do not have a sony, try the nvidia driver without the sonycw.bin. If it does not work, google search for your hardware and a more appropriate EDID.
Rename sonycw.txt
to sonycw.bin
Open terminal and paste these commands.
sudo mv /home/your_user_name_here/sonycw.bin /etc/X11/
gksu gedit /etc/X11/xorg.conf
Paste this in xorg.conf and then save:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ConnectedMonitor" "DFP-0"
Option "CustomEDID" "DFP-0:/etc/X11/sonycw.bin"
EndSection
Install nvidia-glx-185
sudo apt-get install nvidia-glx-185
Restart the computer and your done
for additional information see
http://www.nvnews.net/vbulletin/showthread.php?t=140482&page=2