LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-20-2006, 10:37 PM   #1
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Rep: Reputation: 31
nvidia driver freezes X


Hello,
I've been using the 'nv' software driver ever since I bought my graphics card about a year ago and it's always worked great, but I've always wanted to have the benefits hardware acceleration provides. I was using the proprietary driver from nvidia for quite some time without any problems (aside from annoying artifacts). Recently, I got the debian nvidia drivers working (or so I thought). It didn't take long to discover that the drivers were not behaving correctly and X almost immediately crashed. I have to be doing something graphics-intensive (something glx), eg. watching video, in order for X to freeze. It's possible the same would happen if I just let the system run idle for some time, but that's beside the point.

I can't check any of the logs because, after the freeze, commands refuse to execute.

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
    FontPath        "/usr/lib/X11/fonts/Speedo/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

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

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL P1110"
    HorizSync       30.0 - 121.0
    VertRefresh     48.0 - 160.0
    ModeLine       "1792x1344" 261.0 1792 1904 2120 2408 1344 1357 1360 1393 -hsync +vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    Option         "NoLogo" "true"
    Option         "NvAGP" "0"
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1792x1344 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option  "Composite" "Disable"
EndSection
I've added a few extra options here after doing some Googlin' and finding various "fixes."



I would really appreciate it if someone could throw some suggestions at me.
Thanks
 
Old 11-21-2006, 10:24 AM   #2
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by verbose
Hello,
I've been using the 'nv' software driver ever since I bought my graphics card about a year ago and it's always worked great, but I've always wanted to have the benefits hardware acceleration provides. I was using the proprietary driver from nvidia for quite some time without any problems (aside from annoying artifacts). Recently, I got the debian nvidia drivers working (or so I thought). It didn't take long to discover that the drivers were not behaving correctly and X almost immediately crashed. I have to be doing something graphics-intensive (something glx), eg. watching video, in order for X to freeze. It's possible the same would happen if I just let the system run idle for some time, but that's beside the point.

I can't check any of the logs because, after the freeze, commands refuse to execute.

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
    FontPath        "/usr/lib/X11/fonts/Speedo/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

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

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL P1110"
    HorizSync       30.0 - 121.0
    VertRefresh     48.0 - 160.0
    ModeLine       "1792x1344" 261.0 1792 1904 2120 2408 1344 1357 1360 1393 -hsync +vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    Option         "NoLogo" "true"
    Option         "NvAGP" "0"
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1792x1344 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option  "Composite" "Disable"
EndSection
I've added a few extra options here after doing some Googlin' and finding various "fixes."



I would really appreciate it if someone could throw some suggestions at me.
Thanks

I take it from your signature you're running etch. If so, I also had problems using with the nvidia driver, although I used the one from the nvidia site. Everything 'appeared' to install correctly but as soon as I launched a 3d programme such as ppracer x crashed. I then uninstalled the nvidia driver with nvidia-installer --uninstall and attempted to use the debian way, but the nvidia kernel source isn't yet in the etch repos. In the end I used Kano's install-nvidia-debian.sh script off the Kanotix site (just drop out of x and run the script as root). You can download the script from here:

http://kanotix.com/files/

Alternatively this is a good how to for using the Debian method:

http://benhay.blogspot.com/2006/11/i...s-in-etch.html

Update: if you use Kano's script install pkg-config and the xorg development packages

Last edited by Steve50; 11-21-2006 at 10:28 AM.
 
Old 11-21-2006, 07:13 PM   #3
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
I really appreciate your help. Your suggestion seems quite promising and I look forward to testing it out. Shortly after creating this thread, I booted into my custom kernel 2.6.18.1 (if it can be referred to as such, ie: downloaded from kernel.org), which is actually the kernel I was using when the proprietary driver was still working. A user in the debian irc channel on freenode suggested I switch back to the stock debian kernel and use the non-free driver, which I had attempted shortly before with the custom kernel with no success.

I will definitely have to try this out and post again later with the results *fingers crossed*.
Thanks


edit: After booting into kernel 2.6.18.1 and installing the driver from nvidia again, everything was working great for many hours until it eventually froze out of the blue during video playback, but then, I remember this happening in the past from time to time.

Last edited by verbose; 11-21-2006 at 07:18 PM.
 
Old 11-21-2006, 07:57 PM   #4
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
Okay, well... that didn't quite work. That is to say, X just flickered three times and failed to start. It might work if I could get X to start. This is the same behavior I was getting when I was trying to install the debian nvidia driver under the non-debian kernel. I am using the debian kernel this time.

The xorg log appears to be normal and the module loads just fine.
Code:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.12-1-686 i686
Current Operating System: Linux c-67-167-188-115 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686
Build Date: 16 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 21 20:42:43 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Dell P1110"
(**) |   |-->Device "FX5200"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
        Entry deleted from font path.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" does not exist.
        Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/Type1".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/share/fonts/X11/Type1").
(**) FontPath set to "unix/:7100,/usr/share/fonts/truetype/msttcorefonts,/usr/share/fonts/truetype/freefont,/usr/share/fonts/truetype/ttf-bitstream-vera,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/misc,/usr/share/fonts/X11/misc/,/usr/share/fonts/X11/TTF/,/usr/share/fonts/X11/OTF,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/CID/,/usr/share/fonts/X11/100dpi/,/usr/share/fonts/X11/75dpi/"
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.2
        X.Org Video Driver: 0.8
        X.Org XInput driver : 0.5
        X.Org Server Extension : 0.2
        X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(--) using VT number 9

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1166,0009 card 0000,0000 rev 06 class 06,00,00 hdr 80
(II) PCI: 00:00:1: chip 1166,0009 card 0000,0000 rev 06 class 06,00,00 hdr 80
(II) PCI: 00:02:0: chip 1002,4756 card 8086,4756 rev 7a class 03,00,00 hdr 00
(II) PCI: 00:03:0: chip 8086,1229 card 8086,1229 rev 08 class 02,00,00 hdr 00
(II) PCI: 00:06:0: chip 12eb,0001 card 5053,3355 rev 02 class 04,01,00 hdr 00
(II) PCI: 00:07:0: chip 10de,0322 card 0000,0000 rev a1 class 03,00,00 hdr 00
(II) PCI: 00:09:0: chip 1095,3112 card 1095,6112 rev 01 class 01,04,00 hdr 00
(II) PCI: 00:0f:0: chip 1166,0200 card 1166,0200 rev 50 class 06,01,00 hdr 80
(II) PCI: 00:0f:1: chip 1166,0211 card 0000,0000 rev 00 class 01,01,8a hdr 80
(II) PCI: 00:0f:2: chip 1166,0220 card 1166,0220 rev 04 class 0c,03,10 hdr 80
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:15:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI: (0:2:0) ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] rev 122, Mem @ 0xea000000/24, 0xe8123000/12, I/O @ 0x5400/8
(--) PCI:*(0:7:0) nVidia Corporation NV34 [GeForce FX 5200] rev 161, Mem @ 0xe9000000/24, 0xf0000000/27
(II) Addressable bus resource ranges are
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
        [0] -1  0       0xe8121000 - 0xe8121fff (0x1000) MX[B]
        [1] -1  0       0xe8122000 - 0xe81221ff (0x200) MX[B]
        [2] -1  0       0xe8100000 - 0xe811ffff (0x20000) MX[B]
        [3] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [4] -1  0       0xe8120000 - 0xe8120fff (0x1000) MX[B]
        [5] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [6] -1  0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B](B)
        [7] -1  0       0x00005050 - 0x0000505f (0x10) IX[B]
        [8] -1  0       0x00005040 - 0x0000504f (0x10) IX[B]
        [9] -1  0       0x00005070 - 0x00005073 (0x4) IX[B]
        [10] -1 0       0x00005078 - 0x5000507f (0x50000008) IX[B]
        [11] -1 0       0x00005074 - 0x00005077 (0x4) IX[B]
        [12] -1 0       0x00005080 - 0x00005087 (0x8) IX[B]
        [13] -1 0       0x00005060 - 0x00005067 (0x8) IX[B]
        [14] -1 0       0x00005068 - 0x0000506f (0x8) IX[B]
        [15] -1 0       0x00005000 - 0x0000503f (0x40) IX[B]
(II) Inactive PCI resource ranges:
        [0] -1  0       0xe8123000 - 0xe8123fff (0x1000) MX[B](B)
        [1] -1  0       0xea000000 - 0xeaffffff (0x1000000) MX[B](B)
        [2] -1  0       0x00005400 - 0x000054ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0       0xe8121000 - 0xe8121fff (0x1000) MX[B]
        [1] -1  0       0xe8122000 - 0xe81221ff (0x200) MX[B]
        [2] -1  0       0xe8100000 - 0xe811ffff (0x20000) MX[B]
        [3] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [4] -1  0       0xe8120000 - 0xe8120fff (0x1000) MX[B]
        [5] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [6] -1  0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B](B)
        [7] -1  0       0x00005050 - 0x0000505f (0x10) IX[B]
        [8] -1  0       0x00005040 - 0x0000504f (0x10) IX[B]
        [9] -1  0       0x00005070 - 0x00005073 (0x4) IX[B]
        [10] -1 0       0x00005078 - 0x5000507f (0x50000008) IX[B]
        [11] -1 0       0x00005074 - 0x00005077 (0x4) IX[B]
        [12] -1 0       0x00005080 - 0x00005087 (0x8) IX[B]
        [13] -1 0       0x00005060 - 0x00005067 (0x8) IX[B]
        [14] -1 0       0x00005068 - 0x0000506f (0x8) IX[B]
        [15] -1 0       0x00005000 - 0x0000503f (0x40) IX[B]
(II) Inactive PCI resource ranges after removing overlaps:
        [0] -1  0       0xe8123000 - 0xe8123fff (0x1000) MX[B](B)
        [1] -1  0       0xea000000 - 0xeaffffff (0x1000000) MX[B](B)
        [2] -1  0       0x00005400 - 0x000054ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe8121000 - 0xe8121fff (0x1000) MX[B]
        [6] -1  0       0xe8122000 - 0xe81221ff (0x200) MX[B]
        [7] -1  0       0xe8100000 - 0xe811ffff (0x20000) MX[B]
        [8] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [9] -1  0       0xe8120000 - 0xe8120fff (0x1000) MX[B]
        [10] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [11] -1 0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B](B)
        [12] -1 0       0xe8123000 - 0xe8123fff (0x1000) MX[B](B)
        [13] -1 0       0xea000000 - 0xeaffffff (0x1000000) MX[B](B)
        [14] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0       0x00005050 - 0x0000505f (0x10) IX[B]
        [17] -1 0       0x00005040 - 0x0000504f (0x10) IX[B]
        [18] -1 0       0x00005070 - 0x00005073 (0x4) IX[B]
        [19] -1 0       0x00005078 - 0x5000507f (0x50000008) IX[B]
        [20] -1 0       0x00005074 - 0x00005077 (0x4) IX[B]
        [21] -1 0       0x00005080 - 0x00005087 (0x8) IX[B]
        [22] -1 0       0x00005060 - 0x00005067 (0x8) IX[B]
        [23] -1 0       0x00005068 - 0x0000506f (0x8) IX[B]
        [24] -1 0       0x00005000 - 0x0000503f (0x40) IX[B]
        [25] -1 0       0x00005400 - 0x000054ff (0x100) IX[B](B)
(II) LoadModule: "bitmap"
(II) Reloading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Loading font Bitmap
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "ddc"
(II) Loading /usr/lib/xorg/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
        compiled for 7.0.0, module version = 2.1.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "type1"
(II) Loading /usr/lib/xorg/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.2
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.1.0
        ABI class: X.Org Video Driver, version 0.8
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.8776
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.8776
        Module class: X.Org Video Driver
(II) LoadModule: "keyboard"
(II) Loading /usr/lib/xorg/modules/input/keyboard_drv.so
(II) Module keyboard: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.4
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.5
(II) NVIDIA dlloader X Driver  1.0-8776  Mon Oct 16 21:57:32 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00:07:0
(--) Chipset NVIDIA GPU found
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/xorg/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.8
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe8121000 - 0xe8121fff (0x1000) MX[B]
        [6] -1  0       0xe8122000 - 0xe81221ff (0x200) MX[B]
        [7] -1  0       0xe8100000 - 0xe811ffff (0x20000) MX[B]
        [8] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [9] -1  0       0xe8120000 - 0xe8120fff (0x1000) MX[B]
        [10] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [11] -1 0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B](B)
        [12] -1 0       0xe8123000 - 0xe8123fff (0x1000) MX[B](B)
        [13] -1 0       0xea000000 - 0xeaffffff (0x1000000) MX[B](B)
        [14] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0       0x00005050 - 0x0000505f (0x10) IX[B]
        [17] -1 0       0x00005040 - 0x0000504f (0x10) IX[B]
        [18] -1 0       0x00005070 - 0x00005073 (0x4) IX[B]
        [19] -1 0       0x00005078 - 0x5000507f (0x50000008) IX[B]
        [20] -1 0       0x00005074 - 0x00005077 (0x4) IX[B]
        [21] -1 0       0x00005080 - 0x00005087 (0x8) IX[B]
        [22] -1 0       0x00005060 - 0x00005067 (0x8) IX[B]
        [23] -1 0       0x00005068 - 0x0000506f (0x8) IX[B]
        [24] -1 0       0x00005000 - 0x0000503f (0x40) IX[B]
        [25] -1 0       0x00005400 - 0x000054ff (0x100) IX[B](B)
(II) resource ranges after probing:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe8121000 - 0xe8121fff (0x1000) MX[B]
        [6] -1  0       0xe8122000 - 0xe81221ff (0x200) MX[B]
        [7] -1  0       0xe8100000 - 0xe811ffff (0x20000) MX[B]
        [8] -1  0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [9] -1  0       0xe8120000 - 0xe8120fff (0x1000) MX[B]
        [10] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [11] -1 0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B](B)
        [12] -1 0       0xe8123000 - 0xe8123fff (0x1000) MX[B](B)
        [13] -1 0       0xea000000 - 0xeaffffff (0x1000000) MX[B](B)
        [14] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [15] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [16] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [17] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [18] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [19] -1 0       0x00005050 - 0x0000505f (0x10) IX[B]
        [20] -1 0       0x00005040 - 0x0000504f (0x10) IX[B]
        [21] -1 0       0x00005070 - 0x00005073 (0x4) IX[B]
        [22] -1 0       0x00005078 - 0x5000507f (0x50000008) IX[B]
        [23] -1 0       0x00005074 - 0x00005077 (0x4) IX[B]
        [24] -1 0       0x00005080 - 0x00005087 (0x8) IX[B]
        [25] -1 0       0x00005060 - 0x00005067 (0x8) IX[B]
        [26] -1 0       0x00005068 - 0x0000506f (0x8) IX[B]
        [27] -1 0       0x00005000 - 0x0000503f (0x40) IX[B]
        [28] -1 0       0x00005400 - 0x000054ff (0x100) IX[B](B)
        [29] 0  0       0x500a03b0 - 0x500a03bb (0xc) IS[B]
        [30] 0  0       0x500a03c0 - 0x500a03df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) 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 "UseEDID" "1"
(**) NVIDIA(0): Option "RenderAccel" "1"
(**) NVIDIA(0): Option "UseEdidFreqs" "1"
(**) NVIDIA(0): Option "IgnoreDisplayDevices" "TV"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "1"
(**) NVIDIA(0): Option "RandRRotation" "1"
(**) NVIDIA(0): Option "Coolbits" "1"
(**) NVIDIA(0): Option "TripleBuffer" "1"
(**) NVIDIA(0): Option "AddARGBGLXVisuals" "1"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID has been
(**) NVIDIA(0):     enabled on all display devices.
(II) NVIDIA(0): NVIDIA GPU GeForce FX 5200 at PCI:0:7:0
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 04.34.20.75.00
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce FX 5200 at PCI:0:7:0:
(--) NVIDIA(0):     Dell P1110 (CRT-0)
(--) NVIDIA(0): Dell P1110 (CRT-0): 350.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(WW) NVIDIA(0): No valid modes for "2048x1536 1920x1440 1920x1200 1856x1392
(WW) NVIDIA(0):     1792x1344 1680x1050 1600x1200 1400x1050 1440x900 1280x1024
(WW) NVIDIA(0):     1280x960 1280x800 1152x864 1152x768 1024x768"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0):     "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (81, 86); computed from "UseEdidDpi" X config option
(WW) NVIDIA(0): 32-bit ARGB GLX visuals require the Composite extension.
(II) NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
        [1] 0   0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B]
        [2] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [3] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [4] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [5] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [6] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [7] -1  0       0xe8121000 - 0xe8121fff (0x1000) MX[B]
        [8] -1  0       0xe8122000 - 0xe81221ff (0x200) MX[B]
        [9] -1  0       0xe8100000 - 0xe811ffff (0x20000) MX[B]
        [10] -1 0       0xe8000000 - 0xe80fffff (0x100000) MX[B]
        [11] -1 0       0xe8120000 - 0xe8120fff (0x1000) MX[B]
        [12] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [13] -1 0       0xe9000000 - 0xe9ffffff (0x1000000) MX[B](B)
        [14] -1 0       0xe8123000 - 0xe8123fff (0x1000) MX[B](B)
        [15] -1 0       0xea000000 - 0xeaffffff (0x1000000) MX[B](B)
        [16] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
        [17] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
        [18] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
        [19] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [20] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [21] -1 0       0x00005050 - 0x0000505f (0x10) IX[B]
        [22] -1 0       0x00005040 - 0x0000504f (0x10) IX[B]
        [23] -1 0       0x00005070 - 0x00005073 (0x4) IX[B]
        [24] -1 0       0x00005078 - 0x5000507f (0x50000008) IX[B]
        [25] -1 0       0x00005074 - 0x00005077 (0x4) IX[B]
        [26] -1 0       0x00005080 - 0x00005087 (0x8) IX[B]
        [27] -1 0       0x00005060 - 0x00005067 (0x8) IX[B]
        [28] -1 0       0x00005068 - 0x0000506f (0x8) IX[B]
        [29] -1 0       0x00005000 - 0x0000503f (0x40) IX[B]
        [30] -1 0       0x00005400 - 0x000054ff (0x100) IX[B](B)
        [31] 0  0       0x500a03b0 - 0x500a03bb (0xc) IS[B]
        [32] 0  0       0x500a03c0 - 0x500a03df (0x20) IS[B]
(II) NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(WW) NVIDIA(0): Option "DisableGLXRootClipping" is not used
(WW) NVIDIA(0): Option "DynamicTwinView" is not used
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX

As far as I can tell, the script adds a variety of extra options to xorg.conf. I don't know what else it does. With the script, I have no /usr/lib/tls{nvidia} directories, but that might just be because the script installs tls libraries under /usr/lib.
 
Old 11-22-2006, 02:17 AM   #5
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
My understanding is that the script first extracts the code from the nvidia package and then performs a custom installation that is more consistent with the Debian file structure - although to be honest I'm not sure, and reading through the script isn't that helpful unless you know what you're looking for. which I don't. I tried running it first with the stock 2.6.17 kernel and then a custom 2.6.18-ck1 kernel and it worked well both times. Sorry I can't be of more help.
 
Old 11-22-2006, 10:14 AM   #6
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
I've just got home from work and I checked /usr/lib/tls. This is the contents of the directory on my system:

Code:
steve@debian/~$ ls /usr/lib/tls
libnvidia-tls.so.1  libnvidia-tls.so.1.0.8776
Looks like this could be the problem. You could try running the script again? I presume you have the kernel source installed?

Also make sure you have removed all Debian nvidia files, especially nvidia-glx. See:

http://www.nvnews.net/vbulletin/showthread.php?p=980539

The relevant bit is this:
Quote:
Please note that if you install the NVIDIA Linux graphics driver on a Debian GNU/Linux or Ubuntu system using the official .run package while the nvidia-glx package is installed, or after this package has been uninstalled without the --purge option, the /etc/init.d/nvidia-glx script will modify the NVIDIA TLS library installation when the system starts, which typically results on X server crashes when the server-side NVIDIA GLX extension module is initialized.

This problem can be avoided by uinstalling the nvidia-glx package with the --purge option or by manually deleting the script /etc/init.d/nvidia-glx
As Kano's script uses the .run package it won't work if nvidia-glx is still installed.

Last edited by Steve50; 11-22-2006 at 10:45 AM.
 
Old 11-23-2006, 12:20 AM   #7
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
Unfortunately that's not the problem because I made a point to remove all packages pertaining to nvidia before running Kano's script.
 
Old 11-23-2006, 02:46 AM   #8
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by verbose
Unfortunately that's not the problem because I made a point to remove all packages pertaining to nvidia before running Kano's script.

I'm out of suggestions I'm afraid
 
Old 11-24-2006, 01:54 AM   #9
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
That's alright. I appreciate the help you were able to give to me. I'm bound to figure it out one of these days... It _is_ possible that it's just a hardware problem, but somehow I doubt it.
 
Old 11-24-2006, 02:12 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Random graphics card freeze problem might be related to the AGP on your motherboard. Do you get this problem in other OSes as well? (Windows etc.)

This was a big problem with my first motherboard and only when I changed the motherboard I solved it.

That was with an ATI card, but random freeze problems when you are running intense graphics applications is a problem I had a long time ago and I couldn't really solve it at all, I'm afraid. It mostly points to the fact that your motherboard is not able to handle the card's AGP speed setting. This happens only when you run 3d games.

Might be some compatibility issue between the motherboard and the nVidia card.

FYI,

My hardware was:

Gigabyte (ATi) Radeon 9600 Pro 8x AGP card
Original motherboard with random freeze issues: ASUS A7V8X-X (In windows I was able to solve the problem by setting the AGP speed in the ATi control panel to 4X instead of 8X)

Changed motherboard which solved the problem for good: ASUS A7N8X-E

Last edited by vharishankar; 11-24-2006 at 02:15 AM.
 
Old 11-24-2006, 09:31 PM   #11
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
That sounds like the most plausible explanation, because I have tested this card in my original motherboard (really generic... HP Trigem Cognac) and it worked fine there. It's an e-geforce fx5200 pci card btw. There are also weird screen artifacts when the card is in my server motherboard pci slot (Intel STL2), which seems to suggest there may be something wrong. There are no such issues with my old motherboard. Also, I was testing the debian nvidia driver one time and I was knocked into a virtual terminal with some error message about critical temperature having been reached, which most certainly was related to the graphics card. I had never received an error like this one up to that point. I've tried two different slots with the same results. Surprisingly, this old server board also has two pci-e slots, so I might buy a pci-e video card for cheap and test that.

I don't have access to Windows XP but I was able to test the card before my hdd with Windows on it went to pieces. I played a couple of videos and everything worked great. Also, I find it a little odd how the graphics driver from nvidia works for many hours when using a custom kernel and freezes if I use the debian stock kernel.
 
Old 11-24-2006, 10:52 PM   #12
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Ah, don't trouble yourself over the software issues now.

It's 99.9% confirmed as a problem between the motherboard and the card. Also, random freezes are the most frustrating because it always seems to work fine for ages and then within a few minutes you'll get a couple of freezes.

Also regarding the freeze, since I suspect it's related to the motherboard, you are more likely to experience freezes during intense graphics display or rendering but the freeze can happen at just about any time.

Last edited by vharishankar; 11-24-2006 at 10:53 PM.
 
Old 11-25-2006, 11:58 PM   #13
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
This is very peculiar. The 'nv' driver has worked fine for ages but now it freezes X, as well. I'm also getting the same annoying screen artifacts now. This all happened completely out of the blue.
 
Old 11-26-2006, 09:34 PM   #14
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
Not only does the graphics card not work with both drivers, but the integrated chip using the atirage driver, doesn't work either. Therefore, I'm forced to use my old motherboard. I would really like to get the server motherboard to work but it seems hopeless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot freezes after upgrading nVidia driver rabalder321 Linux - Hardware 1 10-26-2006 04:23 AM
nvidia driver freezes X tadziu23 Linux - Hardware 2 11-04-2005 04:42 AM
system freezes after installing Nvidia driver alexmihai Linux - Newbie 4 12-04-2004 07:14 AM
NVidia driver install freezes/hangs Ryeguy_24 Linux - General 5 06-29-2004 08:58 PM
Konqueror freezes after NVIDIA driver install true_atlantis Linux - Newbie 1 10-22-2003 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration