Difference between revisions of "Xorg RandR 1.2"

From ThinkWiki
Jump to: navigation, search
m (wip)
m (Overview: wip)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
'''X RandR '''is used to set the size, orientation and reflection of the sreen display outputs.
+
'''X RandR '''is used to set the size, orientation and reflection of the screen display outputs.
  
 
xrandr is the command line interface to the RandR X extension. Use
 
xrandr is the command line interface to the RandR X extension. Use
Line 11: Line 11:
  
  
This will cover present development of Xorg 7.3 with RandR version 1.2 based on testing the forthcoming Ubuntu 'Gutsy' (7.10) release with a Thinkpad R60e (Intel 946GM graphics chip).
+
This page will cover present development of Xorg 7.3 with RandR version 1.2 based on testing the forthcoming Ubuntu 'Gutsy' (7.10) release with a Thinkpad R60e (Intel 946GM graphics chip).
 +
 
 +
 
 +
== xorg.conf ==
 +
Start testing with a default configuration.
 +
Connect the external display to the VGA port, turn on that display, boot and run (as root)
 +
 
 +
    {{cmdroot|dpkg-reconfigure -phigh xserver-xorg}}
 +
 
 +
The resulting {{path|/etc/X11/xorg.conf}} should include something like
 +
 
 +
    Section "Device"
 +
Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
 +
Driver "intel"
 +
BusID "PCI:0:2:0"
 +
    EndSection
 +
 
 +
  Section "Monitor"
 +
Identifier "Generic Monitor"
 +
Option "DPMS"
 +
  EndSection
 +
 
 +
  Section "Screen"
 +
Identifier "Default Screen"
 +
Device "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
 +
Monitor "Generic Monitor"
 +
DefaultDepth 24
 +
    ...
 +
SubSection "Display"
 +
Depth 24
 +
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
 +
EndSubSection
 +
EndSection
 +
 
 +
Section "ServerLayout"
 +
Identifier "Default Layout"
 +
Screen "Default Screen"
 +
InputDevice "Generic Keyboard"
 +
InputDevice "Configured Mouse"
 +
InputDevice    "stylus" "SendCoreEvents"
 +
InputDevice    "cursor" "SendCoreEvents"
 +
InputDevice    "eraser" "SendCoreEvents"
 +
InputDevice "Synaptics Touchpad"
 +
EndSection
  
 
== Author Notes ==
 
== Author Notes ==

Revision as of 23:38, 24 July 2007

Overview

X RandR is used to set the size, orientation and reflection of the screen display outputs.

xrandr is the command line interface to the RandR X extension. Use

   $ xrandr --help

and

   $ man xrandr

to discover the essentials.


This page will cover present development of Xorg 7.3 with RandR version 1.2 based on testing the forthcoming Ubuntu 'Gutsy' (7.10) release with a Thinkpad R60e (Intel 946GM graphics chip).


xorg.conf

Start testing with a default configuration. Connect the external display to the VGA port, turn on that display, boot and run (as root)

   # dpkg-reconfigure -phigh xserver-xorg

The resulting /etc/X11/xorg.conf should include something like

   Section "Device"

Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller" Driver "intel" BusID "PCI:0:2:0"

   EndSection
  Section "Monitor"

Identifier "Generic Monitor" Option "DPMS"

  EndSection
  Section "Screen"

Identifier "Default Screen" Device "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller" Monitor "Generic Monitor" DefaultDepth 24

   ...

SubSection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection

Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad" EndSection

Author Notes

Version 7.10 (Gutsy) of Ubuntu includes support for Xorg 7.3 with RandR 1.2 Xorg 7.3

For versions of Ubuntu prior to 7.10 see Installing Ubuntu on a ThinkPad R60e for an Xorg.conf suitable for use with more than one screen

RandR extension is currently under development see: Xorg Developer Conference 2007 and X RandR v1.2.