Altere o arquivo /etc/X11/xorg.conf conforme indicado:
Save a backup copy of this file as xorg.conf.back before you do any editing and then edit the following sections:
In the "Module" section comment out these two lines:
and also make sure that the following line is in the "Module" section
Then Go to the "Device" section and change the following line:
And voila, you've successfully updated the driver to the nvidia driver. In order for this to take effect you'll need to restart the x-server, and if you've changed it properly a pretty NVidia screen should pop up before your login. If you want this screen to go away add the following line to the "Device" section:
Option "NoLogo" "1"
If this doesn't work, you should be loaded automatically into the command line, but if you're just staring at a blank screen hit CTRL+ALT+F1 to exit into the command line and type the following command:
$ cp /etc/X11/xorg.conf.back /etc/X11/xorg.conf
and then restart the x server.
Configuring 2 screens:
First we need to alter the "Device" section by altering the Identifier and adding a screen line:
Then we need to create a second "Device" section:
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "TV"
IMPORTANT: make sure that the value of BusID is the same as the value of BusID in the first device section.
For the TVOutFormat and TVStandard values please substitute in the appropriate values (e.g. if you are using composite out then substitute "COMPOSITE" for "SVIDEO" or if you're standard is PAL-B substitute "PAL-B" for "NTSC-M"), for more on this see the nvidia readme appendix J.
What we've done here is divided our nvidia card into two seperate devices that are going to provide picture out to two seperate monitors each running its own screen.
Next we need to change the existing "Monitor" section's identifier to:
and then create a second monitor section for our TV:
Identifier "Monitor1" #TV
Option "HorizSync" "30-50"
Option "VertRefresh" "60"
Now that we've set up both of our monitors we need to set up the screens that will be displayed on each. In the existing screen section you'll need to change the identifier, device and monitor lines to match the following:
and then you'll need to add a second screen section for your TV:
Make sure that default depth for the TV is the same as the default depth for your other monitor. You may also have to screw around with the modes, 800x600 works for my tv and will probably work for most TVs, but if you have a better TV you may want to try 1024x768 or other resolutions.
The last thing we need to do is set up the "ServerLayout" section so that X knows how to set up your new configuration (Note: keep your own InputDevice settings for this):
Screen 0 "Screen0"
Screen 1 "Screen1" leftOf "Screen0"
If your TV is to the right of your primary monitor change the leftOf to rightOf. Once you've finished this save your xorg.conf file, make sure your TV is hooked up to your computer and restart. You'll notice that if you watch a movie in full-screen on the TV it doesn't effect your primary monitor at all and you can use your computer to still do whatever you want.