Xorg 7.2 upgrade, nvidia dual monitor, one portrait,
one landscape success
hao chen
haomself at gmail.com
Mon Jun 18 17:32:15 UTC 2007
I upgraded to xorg 7.2 this past weekend by following UPDATING. Did not have
major problems. It did take a long time to recompile with portupgrade, and I
skipped openoffice. Dual monitor with nvidia driver from the ports is easy
(nvidia-settings). However, it took me a while to figure out why it
maximized windows to both screens. It turned out that my window manager
(fluxbox) was also upgraded in batch mode and did not have Xinerama support
compiled in. Maximization to one screen works in either twinview or
separate X screen mode after recompile fluxbox (WITH_XINERAMA=yes). However,
to rotate one monitor to portrait, one must use separate X screen
configuration. I also adjusted the location of the screens so that they are
aligned in the bottom (256 in line 3). Here is key sections of my xorg.conf:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 256
Screen 1 "Screen1" 1280 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "ServerFlags"
Option "Xinerama" "1"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "HP L1940"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "HP L1940T"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GT"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GT"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
Option "Rotate" "CCW"
Option "TwinView" "0"
Option "metamodes" "DFP: 1280x1024 +0+0; DFP: 1024x768 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard1"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT: 1280x1024 +0+0; CRT: 1024x768 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
More information about the freebsd-x11
mailing list