Talk:Dell Latitude D820
From Gentoo Linux Wiki
(Redirected from Talk:HARDWARE Dell Latitude D820)
[edit] xorg.conf
[edit] TwinView
TwinView is Nvidia's dual monitor feature.
The following configuration uses the Nvidia GeForce Go 7400 card using the nvidia driver.
x11-drivers/nvidia-drivers-1.0.8776-r1
I have configured my laptop for two layouts:
- Docking station with two DFP monitors ("Work")
- One DFP monitor connected to laptop's VGA port ("Home")
| File: /etc/X11/xorg.conf |
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "record"
Load "extmod"
#Load "dri"
Load "drm"
Load "xtrap"
Load "glx"
#Load "GLcore"
Load "dbe"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Option "DRI" "true"
Identifier "Twinview@WorkDevice"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce Go 7400"
BusID "PCI:1:0:0"
Option "NoLogo" "true"
Option "UseEdidFreqs" "true"
Option "TwinView" "true"
Option "UseDisplayDevice" "CRT-0,DFP-1"
#Option "TwinViewOrientation" "CRT-0 LeftOf DFP-1"
EndSection
Section "Device"
Option "DRI" "true"
Identifier "Twinview@HomeDevice"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce Go 7400"
BusID "PCI:1:0:0"
Option "NoLogo" "true"
Option "UseEdidFreqs" "true"
Option "TwinView" "true"
Option "UseDisplayDevice" "CRT-0,DFP-0"
#Option "TwinViewOrientation" "CRT-0 LeftOf DFP-1"
EndSection
Section "Screen"
Identifier "TwinView@WorkScreen"
Device "TwinView@WorkDevice"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680X1050"
EndSubSection
EndSection
Section "Screen"
Identifier "TwinView@HomeScreen"
Device "TwinView@HomeDevice"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680X1050"
EndSubSection
EndSection
Section "dri"
Group 0
Mode 0666
EndSection
Section "ServerLayout"
Identifier "TwinView@WorkLayout"
Screen 0 "TwinView@WorkScreen" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "TwinView@HomeLayout"
Screen 0 "TwinView@HomeScreen" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "blank time" "20"
Option "off time" "60"
Option "DefaultServerLayout" "TwinView@WorkLayout"
##Option "DefaultServerLayout" "TwinView@HomeLayout"
EndSection
|
In order to switch layouts you will want to (un)comment the respective lines under the "ServerFlags" section.
Note: The /var/log/Xorg* file will tell you which monitor is CRT-0 or DFP-0 or DFP-1 - search for "Connected display device(s) on GeForce Go 7400 at PCI:1:0:0:"
