PDA

View Full Version : nVidia twinview on integrated geforce 8200 does not work


anodos
05-06-2010, 05:03 AM
I decided to try the 32-bit version of PC-BSD on my desktop computer. I have 2 monitors and want to enable nVidia's twinview mode.

My motherboard is an Asus M3N78-MV with an integrated geForce 8200. I have installed the 195.36.15 driver and checked the "enable dual monitors" block in selection 7 on the boot menu.

I think there may be a problem with the xorg.conf created by the wizard (i.e. the "ServerLayout" section does not contain "Screen1"), but since I'm not sure how to fix it. Here is a copy of the file.


# Xorg.conf file generated for PC-BSD

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AutoAddDevices" "False"
Option "AllowEmptyInput" "Off"
EndSection

Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/Programs/fonts/"
FontPath "/usr/local/lib/X11/fonts/cyrillic/"
FontPath "/usr/local/lib/X11/fonts/TrueType/"
FontPath "/usr/local/lib/X11/fonts/webfonts/"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/CID/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
FontPath "/usr/local/lib/X11/fonts/local/"
EndSection

Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection



Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection


Section "ServerFlags"
Option "Xinerama" "0"
Option "AutoAddDevices" "False"
Option "AllowEmptyInput" "Off"
EndSection


Section "Device"
Identifier "Card0"
Screen 0
# Option "AllowGLXWithComposite" "true"
# Option "RenderAccel" "true"
# Option "AddARGBGLXVisuals" "true"
# Option "UseEvents" "false"
# Option "TripleBuffer" "1"
# Option "DamageEvents" "1"
# Option "BackingStore" "1"
# Option "PixmapCacheSize" "70000"
# Option "OnDemandVBlankInterrupts" "true"
# Option "XAANoOffscreenPixmaps" "true"
Option "NoLogo" "True"
Driver "nvidia"
VendorName "nVidia Corporation"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "Card1"
Screen 1
# Option "AllowGLXWithComposite" "true"
# Option "RenderAccel" "true"
# Option "AddARGBGLXVisuals" "true"
# Option "UseEvents" "false"
# Option "TripleBuffer" "1"
# Option "DamageEvents" "1"
# Option "BackingStore" "1"
# Option "PixmapCacheSize" "70000"
# Option "OnDemandVBlankInterrupts" "true"
# Option "XAANoOffscreenPixmaps" "true"
Option "NoLogo" "True"
Driver "nvidia"
VendorName "nVidia Corporation"
BusID "PCI:2:0:0"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
Option "TwinView" "1"
Option "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0"
EndSection


Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
Option "TwinView" "0"
Option "metamodes" "DFP-1: 1280x1024 +0+0"
EndSection

anodos
05-06-2010, 01:09 PM
Here's a little more info from my xorg.log


(**) May 06 07:48:30 NVIDIA(0): TwinView enabled
(II) May 06 07:48:30 NVIDIA(0): Display Device found referenced in MetaMode: DFP-0
(WW) May 06 07:48:30 NVIDIA(0): TwinView requested, but only 1 display devices found.
(II) May 06 07:48:30 NVIDIA(0): Assigned Display Device: DFP-0
(WW) May 06 07:48:30 NVIDIA(0): Invalid display device in Mode Description
(WW) May 06 07:48:30 NVIDIA(0): "DFP-1:1280x1024+1280+0"
(WW) May 06 07:48:30 NVIDIA(0): Not using mode description "DFP-1:1280x1024+1280+0"; unable to
(WW) May 06 07:48:30 NVIDIA(0): map to display device
(II) May 06 07:48:30 NVIDIA(0): Validated modes:
(II) May 06 07:48:30 NVIDIA(0): "DFP-0:1280x1024+0+0,DFP-1:1280x1024+1280+0"
(II) May 06 07:48:30 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) May 06 07:48:30 NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X config
(--) May 06 07:48:30 NVIDIA(0): option
(==) May 06 07:48:30 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.


It seems like X might not be recognizing my second monitor. My setup works under linux and I think it worked under 64-bit PC-BSD 8.0 (I tried it recently, but had to blow away the install to do something else with the computer. I then promptly lost the disc and downloaded the 32-bit version).

kmoore134
05-06-2010, 01:27 PM
Well, your config looks good here, and I think you hit the nail on the
head, for some reason the nvidia driver isn't finding the 2nd monitor:

(WW) May 06 07:48:30 NVIDIA(0): TwinView requested, but only 1 display devices found.

Since this looks like a problem internal to the driver, you'll probably
need to report it over to nvidia to get a answer / solution:

http://www.nvnews.net/vbulletin/forumdisplay.php?f=47 ('http://www.nvnews.net/vbulletin/forumdisplay.php?f=47')

I'm not sure if there is a way to "force" it to detect a 2nd working
monitor, but they may know of something :)

anodos
05-06-2010, 07:20 PM
I finally got twinview to work properly. It turned out that the solution was much simpler than I expected. I am new to *nix and it shows. The problem was related to my xorg.conf. I ended up running
nvidia-settings in the terminal. This brought up the configuration page for the proprietary nvidia driver. I then used the gui to enable my secondary monitor and set up twinview (it was pretty straightforward). I couldn't launch nvidia-settings as root, which means that I was not able to overwrite /etc/X11/xorg.conf. Instead, I saved the modified xorg.conf created by nvidia-settings to my desktop and copied over it manually in the terminal.


Twinview now works perfectly. My new xorg.conf is as follows:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (root@pcbsd-4207) Sat Dec 5 09:13:42 EST 2009

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
FontPath "/usr/local/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/local/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/local/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/cyrillic/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/TrueType/"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "WDE LCM-17v8"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8200"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: 1280x1024 +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


It's too bad that the auto-configuration tool didn't work quite right on my computer.