Wednesday, February 28, 2007

How to setup pivot (screen rotation) with proprietary NVIDIA drivers

  • Some LCD monitors are equipped with the pivot feature, to take advantage of it the display has to be rotated 90 degrees. The proprietary nVidia drivers support hardware rotation with the Xrandr extension.
  • To enable rotation support find the "Device" section for the "nvidia" driver in the /etc/X11/xorg.conf file:
Section "Device"                                                               
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
  • Add the following option to this section:
       Option          "RandRRotation" "on"
  • Then the display can be rotated (direction depends on the orientation of the monitor) by:
  1. Setting the "Rotation" property to either "Left" or "Right" in the "System > Preferences > Screen Resolution" dialog.
  2. Issuing either "xrandr -o left" or "xrandr -o right" command.

4 comments:

Unknown said...

Another handy hint which allows you to rotate your screen as soon as the login menu comes up, instead of having to log on first:

If you are using gdm, edit /etc/gdm/Init/Default and insert 'xrandr -o (whatever)' just before the 'exit 0' at the end.

Kakemphaton said...
This comment has been removed by the author.
Kakemphaton said...
This comment has been removed by the author.
Kakemphaton said...
This comment has been removed by the author.
Your Ad Here