Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual monitor problem: Two nvidia cards one not displaying.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Tue Apr 25, 2006 10:29 pm    Post subject: Dual monitor problem: Two nvidia cards one not displaying. Reply with quote

Hi,

I've got two nvidia cards and two monitors and I'm trying to setup a dual monitor system. I can't get the second monitor to display anything.

The xorg.conf.

Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib64/X11/rgb"
   ModulePath   "/usr/lib64/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/psaux"
EndSection

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

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

Section "Device"
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV34 [GeForce FX 5200]"
   BusID       "PCI:1:0:0"
   Option "UseEdidDpi" "False"
EndSection

Section "Device"
   Identifier  "Card1"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
   BusID       "PCI:0:13:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   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
      Modes   "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1280x1024"
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth     1
      Modes   "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
      Modes   "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes   "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
      Modes   "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes   "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1280x1024"
   EndSubSection
EndSection




The message in /var/log/Xorg.0.log:
Code:
(II) Setting vga for screen 0.
(II) Setting vga for screen 1.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "UseEdidDpi" "False"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): NVIDIA GPU GeForce FX 5200 at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 04.34.20.87.00
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce FX 5200 at PCI:1:0:0:
(--) NVIDIA(0):     SUN (CRT-0)
(--) NVIDIA(0): SUN (CRT-0): 350 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Enabling RENDER acceleration
(EE) NVIDIA(1): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(1):  *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Wed Apr 26, 2006 12:53 pm    Post subject: Reply with quote

I was able to get the dual display working by changing the second driver to nv instead of nvidia. If anyone knows how to use the nvidia module twice, that would be appreciated. Thanks!

Code:
Section "Device"
   Identifier  "Card1"
   Driver      "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
   BusID       "PCI:0:13:0"
EndSection
Back to top
View user's profile Send private message
MDD
n00b
n00b


Joined: 09 Feb 2004
Posts: 12
Location: Mannheim, Germany

PostPosted: Wed Apr 26, 2006 7:29 pm    Post subject: Reply with quote

The problem is the newer nvidia modules dont support those old TNT2 cards. Unless you go back to an older driver version (7174 seems to be the last that works) you'll have no chance to get it work.

Check e.g. this thread for more info:
https://forums.gentoo.org/viewtopic-t-412019-highlight-nv5m64.html
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Thu Apr 27, 2006 12:22 pm    Post subject: Reply with quote

Well... I should say I started at the older modules first and didn't get both monitors working until I upgraded and made the config file change described above.

However when I downgraded and tried to use those modules specifically, I get the nvidia module to load for the old card but it doesn't work for the new screen. (Same scenario as when I first posted). Is it possible that the nvidia ebuild only recognizes one card at a time and builds the driver in a way where it won't work for the second card? This is what I suspect is happening.

Thanks,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum