I had a perfect running FreeBSD 9.2 system with X.Org and dual Samsung Sync Master 2443 monitors, driven by a NVidia card. The left monitor was connected to the DVI output. The right monitor was connected to the VGA output. I even got it to work perfectly with Compiz graphics.
All good - until I had to move the computer - and therefore disconnected the monitor cables temporary for this task. By mistake, I reconnected the right monitor cable to the onboard VGA output. The onboard VGA is disabled in the BIOS. You would think, that this would not be a problem.
However, starting FreeBSD and X.Org resulted in major problems. Naturally, the right monitor was off - and I quickly realized, that the cable was not connected to the correct VGA output. I turned off the computer - and reconnected the cable to the correct VGA output on the NVidia card.
I was now ready to work - and I started up again - only to see, that the right monitor was now garbled up with wrong aspect resolution. I assumed, that a re-detection would solve the little problem and started up the NVidia Settings tool. Howewer, I could see, that the right monitor was no longer a Samsung SyncMaster 1920x1200. It was a CRT 1600x1200! Redetection could not change this. Nor could a number of reboots.
I then tried the good old
All good - until I had to move the computer - and therefore disconnected the monitor cables temporary for this task. By mistake, I reconnected the right monitor cable to the onboard VGA output. The onboard VGA is disabled in the BIOS. You would think, that this would not be a problem.
However, starting FreeBSD and X.Org resulted in major problems. Naturally, the right monitor was off - and I quickly realized, that the cable was not connected to the correct VGA output. I turned off the computer - and reconnected the cable to the correct VGA output on the NVidia card.
I was now ready to work - and I started up again - only to see, that the right monitor was now garbled up with wrong aspect resolution. I assumed, that a re-detection would solve the little problem and started up the NVidia Settings tool. Howewer, I could see, that the right monitor was no longer a Samsung SyncMaster 1920x1200. It was a CRT 1600x1200! Redetection could not change this. Nor could a number of reboots.
I then tried the good old
xrandr detection. The same problem. It used to detect 1920x1200 on DVI as well as VGA. Now, it is also a 1600x1200. What is going on? I really hope, that someone can help me with this. I used so many hours to get this work - and I actually do not recall, how I finally got this to work in the first place. I am pretty sure though, that all setup was done from a basic xorg.conf, based on the nvidia driver in the ports collection. Then the NVidia Settings tool took care of the rest in terms of 3840x1200 desktop a cross both monitors.
Code:
[CMD]$ xrandr -q[/CMD]
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0*+
1600x1200 60.0
1400x1050 60.0
1280x1024 60.0
1280x960 60.0
800x600 60.3 56.2
700x525 60.0
640x480 59.9
512x384 60.0
320x240 60.1
DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
1920x1080 60.0 50.0
1680x1050 60.0
1600x1200 60.0
1440x900 59.9
1280x1024 60.0
1280x960 60.0
1280x800 59.8
1280x720 60.0 50.0
1024x768 60.0
800x600 60.3 56.2
720x576 50.0
720x480 59.9
640x480 59.9
HDMI-0 disconnected (normal left inverted right x axis y axis)
Code:
$ [CMD]cat /etc/X11/xorg.conf[/CMD]
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "0"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "dri2"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "dk"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-1"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 63.0
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GT218 [GeForce 210]"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 210"
EndSection
Section "Screen"
# Removed Option "metamodes" "nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection