Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72516 - Nvidia-Kernel 6629 doesn't work with Multiple Monitors/Video Cards, ~amd64
Summary: Nvidia-Kernel 6629 doesn't work with Multiple Monitors/Video Cards, ~amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 76723
  Show dependency tree
 
Reported: 2004-11-25 18:13 UTC by Jeff Davey
Modified: 2006-03-24 15:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Log file of X session that froze (Xorg.0.log,34.18 KB, text/plain)
2005-01-27 19:09 UTC, Jeff Davey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Davey 2004-11-25 18:13:48 UTC
Recently updated video driver to 6629. Upon reboot, I noticed that the white 'nvidia' screen stayed for quite somtime. My third monitor did not power up at all (I have two nvidia video cards, three 21" monitors).

Eventually, I was able to login via GDM. Sometime during the session restoration, the system locked up solid (unable to ping even). 

Reverting to 1.0.6111 solved the problem.

Reproducible: Always
Steps to Reproduce:
1. Emerge nvidia-kernel 6629 with multiple video cards/monitors on amd64
2. Restart X-Windows


Actual Results:  
Eventually, locked system. Had to hit reset button.

Expected Results:  
It shouldn't have locked up. Nor should it have taken so long to go past the
nvidia logo screen.
Comment 1 Mike Doty (RETIRED) gentoo-dev 2004-11-27 08:18:06 UTC
Can you give more information, like the relevant parts of your xorg.conf, anything unusual in your log files?

FWIW, I have a 5200FX and 2x17" CRT's running twinview with 6629 sucessfully. 
Comment 2 Jeff Davey 2004-11-29 11:02:01 UTC
I did not get a chance to check the log file, as the system would lock solid.

Here's (what I think) are relevant parts of my xorg.conf:

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load       "glx"
EndSection
Section "Monitor"
    Identifier  "Monitor1"
    HorizSync   30-121
    VertRefresh 48-160
EndSection

Section "Monitor"
    Identifier "Monitor2"
    HorizSync    30-121
    VertRefresh   48-160
EndSection

Section "Monitor"
    Identifier "Monitor3"
    HorizSync    30-121
    VertRefresh   48-160
EndSection

Section "Device"
    Identifier "NVIDIA3"
    Driver     "nvidia"
    BusID      "PCI:1:05:0"
EndSection

Section "Device"
    Identifier  "NVIDIA1"
    Driver      "nvidia"
    BusID      "PCI:2:0:0"
    Screen 0
EndSection

Section "Device"
    Identifier  "NVIDIA2"
    Driver      "nvidia"
    BusID      "PCI:2:0:0"
    Screen 1
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "NVIDIA1"
    Monitor     "Monitor1"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
EndSectionSection "Screen"
    Identifier  "Screen2"
    Device      "NVIDIA2"
    Monitor     "Monitor2"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
EndSection
Section "Screen"
    Identifier  "Screen3"
    Device      "NVIDIA3"
    Monitor     "Monitor3"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Option  "Xinerama"  "on"
    Screen "Screen1"
    Screen "Screen2" RightOf "Screen1"
    Screen "Screen3" LeftOf "Screen1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Comment 3 Andrew Bevitt 2004-11-29 14:22:49 UTC
You should still have X.org logs available after you reboot.

Can you attach them in plain text format please.
Comment 4 Christian Schneemann 2004-12-22 08:26:24 UTC
I have the same problem, I have nvidia-kernel and nvidia-glx emerged, my twinview system consists of a 17" and an TV, the TV will not start. here an exception from my Xorg.0.log:

Symbol __glXMalloc from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXMalloc from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol _gl_convert_to_x_visual_type from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXFree from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol _gl_context_modes_destroy from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXFree from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXFree from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXMalloc from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXFree from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXLastContext from module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

I think this is a part of the error?!?

also my framebuffer is broken again, I cant change from the X-Server to an console-screen.. but that is an other mistake, isn't it?
Comment 5 Luke A. Guest 2004-12-22 20:10:50 UTC
6629-r1 doesn't work on my system either (single monitor), I went back to 6111-r3 and that works fine.

The log just said that the kernel module failed to initialise.

Linux rogue 2.6.9-gentoo-r9 #2 Thu Dec 23 03:25:39 GMT 2004 i686 AMD Athlon(TM) XP 2000+ AuthenticAMD GNU/Linux
Comment 6 Mike Doty (RETIRED) gentoo-dev 2005-01-04 21:18:36 UTC
try emerge nvidia-kernel nvidia-glx and then reboot, that should solve the glx issues
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-06 23:22:28 UTC
also, make sure to include 'dmesg' output when modules don't load... that usually gives good info.

closing due to lack of response... assumed fixed.
Comment 8 Jeff Davey 2005-01-27 19:07:58 UTC
I finally had time to try 6629 again (-r3) and have had the same problem as I originally reported.

I've attached the log file.

Back to running fine on 6111.
Comment 9 Jeff Davey 2005-01-27 19:09:00 UTC
Created attachment 49714 [details]
Log file of X session that froze
Comment 10 Jeff Davey 2005-01-27 19:10:21 UTC
I have replicated this same problem on a similar machine here in my environment (3 monitors, 2 nvidia cards, amd64).
Comment 11 Michael Kedzierski 2005-03-12 02:08:32 UTC
I had the same problem, I've been using 6111's up until I upgraded my kernel and my drivers - it's fixed in the new media-video/nvidia-kernel-1.0.7167 driver.
Comment 12 Jeff Davey 2005-04-23 11:59:39 UTC
I am still having the same problem with the 7174 drivers.

This has been replicated on 4 machines. 2 are x86 2 are x86_64.

It seems to have something to do with having two different nvidia cards in the same machine.
Comment 13 Jeff Davey 2005-04-28 11:51:48 UTC
Just to follow up on this a bit more. 

I recently had to rebuild my machine (hard drive died). I decided on a completely clean install using the 2005.0 livecd, stage 1, stable keyword (amd64), to try this again.

The same problem occurred. What is interesting is if I comment out the line:
Screen "Screen3" LeftOf "Screen1"

In the xorg.conf I posted earlier, the system loads up fine with two monitors, the  X log file shows it loads both video cards. It's only when that line is active (uncommented) that the system shows the nvidia logo, takes a long time, and may get to GDM before completely locking up.

I was going to backrev to 6111 at this point, but apparently 6111 won't build with the 2.6.11 kernel. 

So currently, I'm stuck with 2/3 monitors =(.
Comment 14 Jeff Davey 2005-04-28 15:42:28 UTC
Weird. I got this to work with 7174 drivers. Sort of.

After perusing the forums at www.nvnews.net, I found this post: 
http://www.nvnews.net/vbulletin/showthread.php?t=49819

It's very hacky, but basically, if you modify the driver that you're in your xorg.conf using from nvidia to nv, do a startx, kill x (ctrl-alt-backspace is what I did), switch the xorg.conf back to using the 'nvidia' driver, do your /etc/init.d/xdm start Everything works.

As the guy in the post states, it'd probably be relatively easy to make a little script to do this for you on startup.
Comment 15 Kris Kersey (RETIRED) gentoo-dev 2005-07-07 08:57:05 UTC
Please try this with the latest 1.0.7667 drivers that I just checked in to CVS
(it may take a moment to populate to the mirrors).  Let me know if you're still
having a problem.
Comment 16 Jeff Davey 2005-07-11 12:05:09 UTC
7667 has the same problem as initially stated.

Using the method from comment #14 works for this driver as well however.
Comment 17 Sergey Belyashov 2005-07-16 13:01:18 UTC
Have problem like it with nvidia-kernel/glx-1.0.6629-r4
But no problem with nvidia-kernel/glx-1.0.7664.

First when I install gentoo 2005.0 I try to use 6629-r4 version of drivers 
(because this is the latest unmasked version). But startx always hangs computer 
(black screen, numlock led do not change by numlock button etc.). When I update 
drivers to the 7664 version, then Xserver start and work stable two weeks.
Comment 18 Kris Kersey (RETIRED) gentoo-dev 2005-07-20 11:13:21 UTC
I've finally had time to look through this bug for you.  It appears that you're
not correctly setting up the second monitor on your dual-head video card. 
Please see the NVIDIA documentation for more info.  You should be using
"TwinView" support, not defining the same card twice.  

Please fix your xorg.conf and let us know how it goes.

See the sample config file
"/usr/share/doc/nvidia-glx-1.0.7667/XF86Config.sample.gz":

Section "Device"
    Identifier "NV AGP TwinView"
    VendorName "nvidia"
    Driver "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command. The  BusID is usually optional when
    # only using one graphics card.
    BusID       "PCI:1:0:0"

    # sample twinview setup
    Option "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct values
    # for your monitor!  
    Option "SecondMonitorHorizSync"   "31-82"
    Option "SecondMonitorVertRefresh" "55-120"
    Option "TwinViewOrientation"      "RightOf"
    Option "MetaModes"                "1280x1024,1280x1024; 1024x768,1024x768"
    Option "ConnectedMonitor"         "crt,crt"
EndSection
Comment 19 Jeff Davey 2005-07-20 20:52:13 UTC
Uh..

It's three monitors... 

In order to have Three monitors work properly, you need Xinerama. If you turn on
Xinerama, Twinview disables support for the Xinerama extensions and the two
monitors hooked up to the twinview video card act as one display over the two
monitors. (Ie. maximizing a window will maximize it across both monitors).

However, doing twinview + third monitor with Xinerama doesn't freeze... it just
uses two monitors as one display, (the maximize across two monitors instead of
maximize to one monitor thing).

I hope that's descriptive enough.
Comment 20 AJ Armstrong 2005-08-19 22:12:03 UTC
I have a three monitor system, two on a twinview AGP card, and a third on a PCI
card, working fine without xinerama, under media-video/nvidia-kernel-1.0.7676,
which is currently ~amd64.

Cards:

0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600
GT] (rev a2)

0000:00:0e.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15)

The second (older) card works better with the nv driver.

Comment 21 AJ Armstrong 2005-08-19 22:15:10 UTC
I should add that I am also not using twinview, but simply three distinct displays:

Section "Device"
    Identifier  "AGP GeForce 6600 - 1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    Screen      0
    Option "NvAGP" "3"
    Option "CursorShadow" "1"
    Option "DigitalVibrance" "5"
    Option "NoLogo" "0"
    Option "RenderAccel" "1"
    Option "DPMS"
    Option "TwinView" "off"             
    VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier  "AGP GeForce 6600 - 2"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    Screen      1
    Option "NvAGP" "1"
    Option "CursorShadow" "1"
    Option "DigitalVibrance" "5"
    Option "NoLogo" "0"
    Option "RenderAccel" "1"
    Option "DPMS"       
    Option "TwinView" "off"
    VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier  "PCI TNT II"
    Driver      "nv"
    BusID       "PCI:0:14:0"
    #Option "NvAGP" "0"
    Option "CursorShadow" "1"
    Option "DigitalVibrance" "12"
    #Option "NoLogo" "0"
    Option "RenderAccel" "0"
    Option "DPMS"
    VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

Comment 22 Jeff Davey 2005-08-24 01:43:01 UTC
Right..

Now turn the PCI card to nvidia and turn Xinerama on.

It'll freeze.
Comment 23 Luis Medinas (RETIRED) gentoo-dev 2005-09-13 14:29:13 UTC
and with the last nvidia drivers 1.0.7676 ?
Comment 24 Jeff Davey 2005-09-13 14:38:32 UTC
Yes.

jeff ~ # emerge -pv nvidia-kernel

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/nvidia-kernel-1.0.7676  0 kB 

Total size of downloads: 0 kB
jeff ~ # lsmod
Module                  Size  Used by
nvidia               4379300  28 
Comment 25 Jeremy Huddleston (RETIRED) gentoo-dev 2006-03-24 14:07:18 UTC
Please test if 8178 works for you?  It works for me with 2heads, but I haven't tested 2 cards as I don't have a PCI nvidia card.
Comment 26 Jeff Davey 2006-03-24 15:25:21 UTC
Wow. 8178 looks like it works.