Tuesday, November 3, 2009

Dual Screens on Ubuntu 9.10 with nvidia-settings

As you may already know, Ubuntu 9.10 was released on Thursday, October 29th. it has been a very exciting experience! The release notes have been very helpful in helping me get things working again, but I have run into a couple issues. As I find fixes, I will post them here.

Dual Monitor Configuration using nvidia-settings :

After installing the nvidia binary drivers for my XFX Fatal1ty 7600GT Video card, I was easily able to configure Twinview and extend my desktop across two LCD monitors at a resolution of 2560 x 1024. However, when I attempted to save the settings to the X configuration file using the "Save to X Configuration File" button, the program crashed. Although the settings for my dual screen monitors continued to work, the settings were reset back to a single monitor upon my next login.
I first tried running sudo nvidia-settings from the command line to see if it was a permissions issue. it wasn't. Fortunately, Google was my friend, and pointed me to an old Ubuntu bug report that suggested the solution that worked for me.
I simply had to run sudo nvidia-xconfig first, then run sudo nvidia-settings from the command line. Typing the commands in this order allowed me to save the configuration file without crashing, and now I am able to enjoy my dual screens. It appears that this issue was caused by problems with the permissions and locations of X configuration files in the default install.