usr/bin/nvidia-xconfig -a --multigpu=Auto --randr-rotation --separate-x-screens --xineramaとかで上書き。
単一のカードからでた出力は1つのモニタを作る。かなり意外だった。
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Mar 12 02:12:40 PST 2010
# Xorg configuration created by pyxf86config
# re-written by hand
# references:
# https://calomel.org/mulidisplay_xorg.html
# http://ubuntu-ky.ubuntuforums.org/showthread.php?t=1354736
Section "ServerLayout"
#Screen "Screen2" Leftof "Screen A" #Right G2220HD, upcomming.
#Screen "ExtraScreen" 3840 0 # Rightof "Screen A" #Princeton
Identifier "Default Layout"
Screen 0 "Screen A"
Screen 1 "Screen B" RightOf "Screen A"
Screen 2 "Screen C" RightOf "Screen B"
# Screen 3 "Screen D" RightOf "Screen C"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "1"
Option "Clone" "off"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
# http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/chapter-03-section-02.html
# It is a submodule used by other video drivers. A fbdevhw module is currently
# available for linux framebuffer devices.
# video for linux
#"Load "GLCore"
#"Load "dri" # won't boot.
Load "nvidia"
# proprietary nvidia driver.
Load "dbe"
# Double Buffering
Load "extmod"
# misc extension
Load "fbdevhw"
# provides functions for talking to a framebuffer device. It is os-specific.
Load "glx"
# OpenGL for X window
Load "record"
Load "freetype"
Load "type1"
# Load "v4l"
Load "ddc"
Load "int10"
EndSection
Section "ServerFlags"
Option "Xinerama" "on"
Option "Clone" "off"
# Option "AutoAddDevices" "off"
Option "AutoAddDevices" "on"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "MonitorAB"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "MonitorCD"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device A"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device B"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Device C"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
BusID "PCI:2:0:0"
Screen 0
EndSection
#Section "Device"
# Identifier "Device D"
# Driver "nvidia"
# VendorName "NVIDIA Corporation"
# BoardName "GeForce 7600 GS"
# BusID "PCI:2:0:0"
# Screen 1
#EndSection
Section "Screen"
Identifier "Screen A"
Device "Device A"
Monitor "MonitorAB"
DefaultDepth 24
Option "RandRRotation" "True"
Option "MultiGPU" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen B"
Device "Device B"
Monitor "MonitorAB"
DefaultDepth 24
Option "RandRRotation" "True"
Option "MultiGPU" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen C"
Device "Device C"
Monitor "MonitorCD"
DefaultDepth 24
Option "RandRRotation" "True"
Option "MultiGPU" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
#Section "Screen"
# Identifier "Screen D"
# Device "Device D"
# Monitor "MonitorCD"
# DefaultDepth 24
# Option "RandRRotation" "True"
# Option "MultiGPU" "off"
# SubSection "Display"
# Depth 24
# EndSubSection
#EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
1 コメント:
コメントを投稿