Configure monitor rotation with nVidia.

Dave Woyciesjes woyciesjes at sbcglobal.net
Wed Mar 3 19:19:27 UTC 2010


Dave Woyciesjes wrote:
> Ubuntu 9.10 nVidia GeForce 7600 GT.
> 2 Dell 1907FPv monitors
> Using v185 of the nVidia driver, that came through the Hardware driver 
> applet.
> I've got it set for TwinView, using nVidia-settings control panel.
> DFP-1 - monitor on left
> DFP-0 - monitor on right
> 	I wanted to try and rotate DFP-0, and leave DFP-1 at landscape. 
> nVidia-settings didn't seem to have anything about rotation, so I loaded 
> up the grandr (Multiple Screens) GUI. That only sees one 2560x1024 
> monitor, and the rotation option is greyed out.
> 	Searching around got me to here:
> http://ubuntuforums.org/archive/index.php/t-1335433.html
> Looking at the post from Nick Payne (11/29/2009), I added:
> 
> Option "RandRRotation" "on"
> Option "Rotate" "CCW"
> ...to the one & only Monitor section in my xorg.conf file. Which worked, 
> just not the way I anticipated. Instead of going to the side to get to 
> the other monitor, I had to go to the top of DFP-0, when was "connected" 
> to the bottom of DFP-1. Which was correct when the monitors were 
> physically oriented landscape.
> 	Workaround is to go into nvidia-settings, and change the layout to 
> DFP-1 on top, and DFP-0 on bottom. Works, but not logically correct.
> 
> 	Now for the questions:
> 	Would changing from TwinView to Separate X screens in nvidia-settings 
> allow me to rotate one, and not the other; and would the layout preview 
> in nvidia-settings be logically correct?
> 	I'm guessing using separate X screens would give me 2 monitor sections 
> in xorg.conf, so I can rotate individually. Right?
> 	I saw a gripe about using Separate X screens. Would I still be able to 
> drag windows back & forth between monitors?
> 	I'm assuming Compiz would still work. The cube, painting fire on screen 
> and other toys are good for impressing folks here..
> 	Currently, with TwinView, I can't maximize or resize FireFox & other 
> app windows to use both screens. Would separate X screens fix this 
> annoyance?
> 
> 	I would just try switching, but since this is my production box at 
> work, I need to minimize down-time....
> 

	Well, spent lunchtime fiddling. I ended up going into nvidia-settings, 
switching it to Seperate X Screens. Then I tweaked one   monitor section 
in xorg.conf (DFP-1, the right monitor now)
Option "RandRRotation" "on"
Option "Rotate" "CW"
...and enabled Xinerama.

	So now I got the displays oriented the way I wanted, DFP-0 (left) in 
landsacpe; and DFP-1 (right) portrait.
Course, the fun Compiz stuff is gone...

	Any ideas if I can get the monitor layout I want with Copmiz working?

-- 
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
             Registered Linux user number 464583
"From there to here,
 From here to there,
Funny things
are everywhere."
--- Dr. Seuss




More information about the ubuntu-users mailing list