Commit 322c3f1d authored by imirkin's avatar imirkin Committed by nouveau

fix formatting

parent 4eb3425a
......@@ -26,22 +26,23 @@ Randr 1.2 is used by Nouveau. No need to explicitly enable it, and you cannot di
Randr 1.2 does not use multiple Screen sections, so if you have those you have to remove them from your xorg.conf :
* If you have two sections like these, remove one of these sections (in this example Screen1): [[!format txt """
Section "Screen"
Identifier "Screen0"
...
* If you have two sections like these, remove one of these sections (in this example Screen1):
Section "Screen" <==== Remove this second section, if you have sone (start removing lines here)
Identifier "Screen1"
...
EndSection (stop removing lines here)
Section "Screen"
Identifier "Screen0"
...
Section "Screen" <==== Remove this second section, if you have sone (start removing lines here)
Identifier "Screen1"
...
EndSection (stop removing lines here)
"""]]
* If you have a Option "MonitorLayout" or/and "Screen" options in the Device section, remove them
* Also remove the second Screen entry from the ServerLayout section. Example : [[!format txt """
Screen 0 "Screen0" 1680 0
Screen 1 "Screen1" LeftOf "Screen0" <= remove this one (for Screen1)
"""]]
* Also remove the second Screen entry from the ServerLayout section. Example :
Screen 0 "Screen0" 1680 0
Screen 1 "Screen1" LeftOf "Screen0" <= remove this one (for Screen1)
* Also remove any RightOf/LeftOf indications from the remaining Screen line in the ServerLayout section (see above)
#### Settings on xorg.conf for Randr12
......@@ -62,15 +63,18 @@ EndSection
"""]]
The example above configures a framebuffer for two monitors, each using resolutions up to 1680x1050 pixels, put side-by-side dynamically, after you started X. The values are calculated like this:
* {{{ Virtual <witdh of the two monitors, e.g. 1680+1680=3360> <maxium height to used by the montiors, e.g. 1050>
}}} Only the part which the monitors show is used: You can start and use X with one monitor as ususal but later add a new monitor and use `xrandr` with `--leftof` or `--rightof` to place the new monitor left or right of your primary monitor.
Virtual <width of the two monitors, e.g. 1680+1680=3360> <maxium height to used by the montiors, e.g. 1050>
Only the part which the monitors show is used: You can start and use X with one monitor as ususal but later add a new monitor and use `xrandr` with `--leftof` or `--rightof` to place the new monitor left or right of your primary monitor.
#### Preconfigured side-by-side (LeftOf/RightOf) setup thru xorg.conf
If you have done the above, you can also preconfigure the two monitors to be side-by-side right from the X startup. With this, you do not even need the "Virtual <x> <y>" line because then, the X server already knows before starting that it has to allocate a virtual framebuffer which fits both Monitors side-by-side.
You need to make the following changes for this to work (simplest way):
* Change the Monitor identifiers in your xorg.conf to the identifiers which "xrandr" reports and add a LeftOf/RightOf to one of the Monitor sections. Example: [[!format txt """
* Change the Monitor identifiers in your xorg.conf to the identifiers which "xrandr" reports and add a LeftOf/RightOf to one of the Monitor sections. Example:
Section "Monitor"
Identifier "DVI-D-0"
...
......@@ -78,7 +82,7 @@ You need to make the following changes for this to work (simplest way):
Identifier "VGA-0"
...
Option "LeftOf" "DVI-D-0"
"""]]
Then restart X and enjoy :-)
## Examples for the usage of the Xorg xrandr tool to manipulate the monitor setup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment