PDA

View Full Version : Nvidia; twinview = no 3d acceleration?


ravalox
13th November 2004, 02:57 PM
I have an install of Fedora Core 3, I've been upgrading since test3 until recently when I upgraded to 3 final, and I then installed the new nvidia drivers. At that point, I had 3d acceleration and could play enemy territory. I couldn't get the nvidia tools to set up dual head, so I enabled twinview. But now if I attempt anything involving 3d acceleration I'm told it can't open the display, which is computerspeak for it can't us the 3d acceleration for which I bought that card. There has to be a workaround, I have used two monitors and had decent 3d in other distributions of linux.

stevewabc
14th November 2004, 03:05 AM
Search for tweanhead or nvidia There is a post with even a xorg layout that with a little tweaking will work well for you :)

macemoneta
14th November 2004, 03:11 AM

I have an install of Fedora Core 3, I've been upgrading since test3 until recently when I upgraded to 3 final, and I then installed the new nvidia drivers. At that point, I had 3d acceleration and could play enemy territory. I couldn't get the nvidia tools to set up dual head, so I enabled twinview. But now if I attempt anything involving 3d acceleration I'm told it can't open the display, which is computerspeak for it can't us the 3d acceleration for which I bought that card. There has to be a workaround, I have used two monitors and had decent 3d in other distributions of linux.

You don't want twinview, you want "dual head" support. It's documented in the readme that comes with the nVidia driver (in /usr/share/doc/NVIDIA_GLX-1.0/README). I've attached the dual head xorg.conf that I use as a sample (for my laptop). With this configuration, 3D hardware acceleration works on both displays.

ravalox
15th November 2004, 04:36 AM
I looked at the documentation and it only discusses twinview, there is no mention of dual monitor support with out it. I know this is possible, I have done it previously. I have to wonder if this is nvidia trying to force its technology on me. I tried to modify my xorg.conf file to mimic the one you posted, but X won't start using it. As a matter of fact, Fedora Core 3 freezes entirely on startup using it. Which earns it some bad karma, it has a tendency to lock up during a lot of mundane operations, like going to init 3? Hello, how did that escape the tester's notice? But back on the topic, does anyone have insight into how I can add a second screen to my display without compromising my ability to actually use my card for what I purchased if for, 3d acceleration?

macemoneta
15th November 2004, 11:26 AM
In the nVidia README, in /usr/share/doc/NVIDIA_GLX-1.0/README, see section:

(app-r) APPENDIX R: CONFIGURING MULTIPLE X SCREENS ON ONE CARD

ravalox
16th November 2004, 01:06 AM
In the nVidia README, in /usr/share/doc/NVIDIA_GLX-1.0/README, see section:

(app-r) APPENDIX R: CONFIGURING MULTIPLE X SCREENS ON ONE CARD

I did just that after reading through the file to determine if there was something i was missing. So I followed thos instructions and still had zero luck getting a dual head configuration going, I will post the xorg.conf file I made. It will give me single monitor just fine, but no dual head.

The xorg.conf File:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen0" leftOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

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

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell Ultrascan 21FS"
HorizSync 30.0 - 78.0
VertRefresh 50.0 - 130.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Samsung SyncMaster 174v"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 110.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BusID "AGP:1:0:0"
Screen 0
BoardName "Geforce 6800"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard vendor"
BusID "AGP:1:0:0"
Screen 1
BoardName "Geforce 6800"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection