Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVIDIA /w GLX crashes X.org
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
JoeBaldwin
n00b
n00b


Joined: 03 Apr 2004
Posts: 25

PostPosted: Fri Feb 11, 2005 1:53 pm    Post subject: NVIDIA /w GLX crashes X.org Reply with quote

Hi

I finally got my NVIDIA drivers working, except if I load the GLX module in xorg.conf X.org crashes back to console. If I remove the LoadModule "glx" line then X loads perfectly.

Here's a typical X.org log:

Code:
X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.10-gentoo-r6 i686 [ELF]
Current Operating System: Linux joe 2.6.10-gentoo-r6 #2 SMP Fri Feb 11 13:14:06 GMT 2005 i686
Build Date: 09 February 2005
   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: Fri Feb 11 13:30:19 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Hansol 920D"
(**) |   |-->Device "RIVA TNT2"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to "/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/local/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.2
   X.Org Video Driver: 0.7
   X.Org XInput driver : 0.4
   X.Org Server Extension : 0.2
   X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
   compiled for 6.8.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/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
   compiled for 6.8.0, module version = 1.0.0
   ABI class: X.Org Video Driver, version 0.7
Using vt 7
(--) using VT number 7

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3189 card 1043,807f rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b168 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:0c:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:10:0: chip 1106,3038 card 1043,80a1 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:1: chip 1106,3038 card 1043,80a1 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:2: chip 1106,3038 card 1043,80a1 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:3: chip 1106,3104 card 1043,80a1 rev 82 class 0c,03,20 hdr 00
(II) PCI: 00:11:0: chip 1106,3177 card 1043,80a1 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1043,80a1 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:5: chip 1106,3059 card 1043,80a1 rev 50 class 04,01,00 hdr 00
(II) PCI: 00:12:0: chip 1106,3065 card 1043,80a1 rev 74 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0029 card 1102,1029 rev 15 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), 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-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
   [0] -1   0   0xf8000000 - 0xf9efffff (0x1f00000) MX[B]
(II) Bus 1 prefetchable memory range:
   [0] -1   0   0xf9f00000 - 0xfbffffff (0x2100000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation NV5 [RIVA TNT2 Ultra] rev 21, Mem @ 0xf8000000/24, 0xfa000000/25, BIOS @ 0xf9ff0000/16
(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) PCI Memory resource overlap reduced 0xfc000000 from 0xfdffffff to 0xfbffffff
(II) Active PCI resource ranges:
   [0] -1   0   0xf6800000 - 0xf68000ff (0x100) MX[B]
   [1] -1   0   0xf7000000 - 0xf70000ff (0x100) MX[B]
   [2] -1   0   0xf7800000 - 0xf78000ff (0x100) MX[B]
   [3] -1   0   0xfc000000 - 0xfbffffff (0x0) MX[B]O
   [4] -1   0   0xf9ff0000 - 0xf9ffffff (0x10000) MX[B](B)
   [5] -1   0   0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
   [6] -1   0   0xf8000000 - 0xf8ffffff (0x1000000) MX[B](B)
   [7] -1   0   0x0000b000 - 0x0000b0ff (0x100) IX[B]
   [8] -1   0   0x0000e000 - 0x0000e0ff (0x100) IX[B]
   [9] -1   0   0x0000b400 - 0x0000b40f (0x10) IX[B]
   [10] -1   0   0x0000b800 - 0x0000b81f (0x20) IX[B]
   [11] -1   0   0x0000d000 - 0x0000d01f (0x20) IX[B]
   [12] -1   0   0x0000d400 - 0x0000d41f (0x20) IX[B]
   [13] -1   0   0x0000d800 - 0x0000d8ff (0x100) IX[B]
(II) Active PCI resource ranges after removing overlaps:
   [0] -1   0   0xf6800000 - 0xf68000ff (0x100) MX[B]
   [1] -1   0   0xf7000000 - 0xf70000ff (0x100) MX[B]
   [2] -1   0   0xf7800000 - 0xf78000ff (0x100) MX[B]
   [3] -1   0   0xfc000000 - 0xfbffffff (0x0) MX[B]O
   [4] -1   0   0xf9ff0000 - 0xf9ffffff (0x10000) MX[B](B)
   [5] -1   0   0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
   [6] -1   0   0xf8000000 - 0xf8ffffff (0x1000000) MX[B](B)
   [7] -1   0   0x0000b000 - 0x0000b0ff (0x100) IX[B]
   [8] -1   0   0x0000e000 - 0x0000e0ff (0x100) IX[B]
   [9] -1   0   0x0000b400 - 0x0000b40f (0x10) IX[B]
   [10] -1   0   0x0000b800 - 0x0000b81f (0x20) IX[B]
   [11] -1   0   0x0000d000 - 0x0000d01f (0x20) IX[B]
   [12] -1   0   0x0000d400 - 0x0000d41f (0x20) IX[B]
   [13] -1   0   0x0000d800 - 0x0000d8ff (0x100) IX[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   0xf6800000 - 0xf68000ff (0x100) MX[B]
   [6] -1   0   0xf7000000 - 0xf70000ff (0x100) MX[B]
   [7] -1   0   0xf7800000 - 0xf78000ff (0x100) MX[B]
   [8] -1   0   0xfc000000 - 0xfbffffff (0x0) MX[B]O
   [9] -1   0   0xf9ff0000 - 0xf9ffffff (0x10000) MX[B](B)
   [10] -1   0   0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
   [11] -1   0   0xf8000000 - 0xf8ffffff (0x1000000) MX[B](B)
   [12] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [13] -1   0   0x00000000 - 0x000000ff (0x100) IX[B]
   [14] -1   0   0x0000b000 - 0x0000b0ff (0x100) IX[B]
   [15] -1   0   0x0000e000 - 0x0000e0ff (0x100) IX[B]
   [16] -1   0   0x0000b400 - 0x0000b40f (0x10) IX[B]
   [17] -1   0   0x0000b800 - 0x0000b81f (0x20) IX[B]
   [18] -1   0   0x0000d000 - 0x0000d01f (0x20) IX[B]
   [19] -1   0   0x0000d400 - 0x0000d41f (0x20) IX[B]
   [20] -1   0   0x0000d800 - 0x0000d8ff (0x100) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 6.8.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: "extmod"
(II) Loading /usr/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 6.8.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 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: "type1"
(II) Loading /usr/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
   compiled for 6.8.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) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
   compiled for 6.8.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: "glx"
(II) Loading /usr/lib/modules/extensions/libglx.so

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 8.  Server aborting


Please consult the The X.Org Foundation support
    at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


My kernel does not have AGPGART or a framebuffer compiled in. The drivers worked fine on Fedora Core.
Back to top
View user's profile Send private message
xlp
n00b
n00b


Joined: 25 Jun 2004
Posts: 35

PostPosted: Fri Feb 11, 2005 3:13 pm    Post subject: Reply with quote

Hi

Did you emerge nvidia-glx?

If so you can force opengl-update to use the nvidia one...


Greets
_________________
You think my english is horrible? You should hear french colleague!
Back to top
View user's profile Send private message
pjj
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 165
Location: The Netherlands

PostPosted: Fri Feb 11, 2005 3:20 pm    Post subject: Reply with quote

Code:
emerge nvidia-glx nvidia-kernel
This is my config btw
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/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/"
   FontPath     "/usr/share/fonts/aquafont/"
EndSection

Section "Module"
   Load  "glx"
   Load  "record"
   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       "ZAxisMapping" "4 5"
   Option       "Device" "/dev/mouse"
EndSection

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

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "DigitalVibrance"       # <i>
        #Option     "NoFlip"                # [<bool>]
        #Option     "Dac8Bit"               # [<bool>]
        #Option     "NoLogo"                # [<bool>]
        #Option     "UBB"                   # [<bool>]
        #Option     "Stereo"                # <i>
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "VideoKey"              # <i>
        Option      "NvAGP"                 "4"
        #Option     "IgnoreEDID"            # [<bool>]
        #Option     "NoDDC"                 # [<bool>]
        #Option     "ConnectedMonitor"      # <str>
        #Option     "ConnectedMonitors"     # <str>
        #Option     "TVStandard"            # <str>
        #Option     "TVOutFormat"           # <str>
        Option      "RenderAccel"           "True"
        #Option     "CursorShadow"          # [<bool>]
        #Option     "CursorShadowAlpha"     # <i>
        #Option     "CursorShadowXOffset"    # <i>
        #Option     "CursorShadowYOffset"    # <i>
        #Option     "UseEdidFreqs"          # [<bool>]
        #Option     "FlatPanelProperties"    # <str>
        #Option     "TwinView"              # [<bool>]
        #Option     "TwinViewOrientation"    # <str>
        #Option     "SecondMonitorHorizSync"    # <str>
        #Option     "SecondMonitorVertRefresh"    # <str>
        #Option     "MetaModes"             # <str>
        #Option     "UseInt10Module"        # [<bool>]
        #Option     "NoTwinViewXineramaInfo"    # [<bool>]
        #Option     "NoRenderExtension"     # [<bool>]
        #Option     "Overlay"               # [<bool>]
        #Option     "CIOverlay"             # [<bool>]
        #Option     "ForceEmulatedOverlay"    # [<bool>]
        #Option     "TransparentIndex"      # <i>
        #Option     "OverlayDefaultVisual"    # [<bool>]
        #Option     "NvEmulate"             # <i>
        #Option     "NoBandWidthTest"       # [<bool>]
        #Option     "CustomEDID-CRT-0"      # <str>
        #Option     "CustomEDID-CRT-1"      # <str>
        #Option     "CustomEDID-DFP-0"      # <str>
        #Option     "CustomEDID-DFP-1"      # <str>
        #Option     "CustomEDID-TV-0"       # <str>
        #Option     "CustomEDID-TV-1"       # <str>
        #Option     "TVOverScan"            # <f>
        #Option     "IgnoreDisplayDevices"    # <str>
        #Option     "MultisampleCompatibility"    # [<bool>]
        #Option     "RegistryDwords"        # <str>
        #Option     "RegistryBinary"        # <str>
        #Option     "NoPowerConnectorCheck"    # [<bool>]
        #Option     "AllowDFPStereo"        # [<bool>]
        #Option     "XvMCUsesTextures"      # [<bool>]
        #Option     "HorizSync"             # <str>
        #Option     "VertRefresh"           # <str>
        Option      "AllowGLXWithComposite"    "True"
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "Unknown Board"
   BusID       "PCI:1:0:0"
EndSection

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

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

_________________
Pjj's Weblog
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Feb 11, 2005 3:36 pm    Post subject: Reply with quote

Remove the dri module loading.

nvAGP "4" -> I thought valid values are 1 to 3

Re emerge nvidia-glx and opengl-update nvidia.

(Always make sure same gcc and headers are used for kernel, and nvidia)
Back to top
View user's profile Send private message
chemical chris
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 80
Location: l33ds (uk)

PostPosted: Sun Mar 06, 2005 9:19 pm    Post subject: Reply with quote

my solution is to remerge the nvidia kernel and glx drivers withought support for dlloader (use flags in make.conf, add '-dlloader')
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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