View Single Post
Old 11-19-06, 09:52 AM   #1
Dr_s99
geForce 4 Ti 4600
 
Dr_s99's Avatar
 
Join Date: Sep 2003
Location: Canada
Posts: 339
Default Nvidia GLX doesn't work

Hello,

I'm using Gentoo and i have emerged nvidia-drivers 1.0.8776

Code:
*  x11-drivers/nvidia-drivers
      Latest version available: 1.0.8776
      Latest version installed: 1.0.8776
      Size of files: 25,303 kB
      Homepage:      http://www.nvidia.com/
      Description:   NVIDIA X11 driver and GLX libraries
      License:       NVIDIA
but when i select nvidia for opengl... ie
Code:
eselect opengl nvidia
and restart, i get black screen... and it goes to the console login...!
If i comment Load "glx" in xorg.conf i don't see this problem but... i have no acceleration :S

Also... xdpyinfo gives
Code:
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    70101000
X.Org version: 7.1.1
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x2c00005, revert to PointerRoot
number of extensions:    31
    BIG-REQUESTS
    DAMAGE
    DEC-XTRAP
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    NV-CONTROL
    NV-GLX
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    XVideo-MotionCompensation
default screen number:    0
number of screens:    1

screen #0:
  print screen:    no
  dimensions:    1280x1024 pixels (382x302 millimeters)
  resolution:    85x86 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x5e
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfa4031
    KeyPressMask             EnterWindowMask          LeaveWindowMask
    KeymapStateMask          StructureNotifyMask      SubstructureNotifyMask
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask
    ColormapChangeMask
  number of visuals:    2
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
and when i run xdriinfo, with eselect opengl nvidia, i get this:
Code:
libGL too old.
Also when i have xorg-x11 for opengl, when i run glxgears or glxinfo i get
Code:
glxgears: error while loading shared libraries: libGL.so.1: cannot handle TLS data
Code:
# ls -l /lib/modules/$(uname -r)/video/ /usr/lib/opengl/nvidia/lib/
/lib/modules/2.6.16-gentoo-r13/video/:
total 5064
-rw-r--r-- 1 root root 5171745 Nov 17 23:21 nvidia.ko

/usr/lib/opengl/nvidia/lib/:
total 8524
-rw-r--r-- 1 root root     709 Nov 17 23:21 libGL.la
lrwxrwxrwx 2 root root      17 Nov 17 23:21 libGL.so -> libGL.so.1.0.8776
lrwxrwxrwx 1 root root      17 Nov 17 23:21 libGL.so.1 -> libGL.so.1.0.8776
-rwxr-xr-x 1 root root  543724 Nov 17 23:21 libGL.so.1.0.8776
lrwxrwxrwx 1 root root      21 Nov 17 23:21 libGLcore.so -> libGLcore.so.1.0.8776
lrwxrwxrwx 1 root root      21 Nov 17 23:21 libGLcore.so.1 -> libGLcore.so.1.0.8776
-rwxr-xr-x 1 root root 8161228 Nov 17 23:21 libGLcore.so.1.0.8776
lrwxrwxrwx 1 root root      26 Nov 17 23:21 libnvidia-tls.so -> ../no-tls/libnvidia-tls.so
lrwxrwxrwx 1 root root      28 Nov 17 23:21 libnvidia-tls.so.1 -> ../no-tls/libnvidia-tls.so.1
lrwxrwxrwx 1 root root      35 Nov 17 23:21 libnvidia-tls.so.1.0.8776 -> ../no-tls/libnvidia-tls.so.1.0.8776
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

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

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

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

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	#Driver		"nv"
	VendorName  "nVidia Corporation"
	BoardName   "NV25 [GeForce4 Ti 4600]"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"

            Option "RenderAccel" "True"

	SubSection "Display"
		Viewport  800  600
		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
at the moment i'm using xorg-x11, that is why LOAD "glx" is not commented out...

any ideas? ( i have also tried the new drivers too)

NVIDIA X server settings:
GP: GeForece4 Ti 4600
Bus:AGP 4X
Operating system:Linux-x86
Nvidia driver version: 1.0-8776

GLX
Code:
The OpenGL extension 'GLX' is not supported by
the X server or there was a problem retrieving
GLX information from the X server.
__________________
System info(s):
-----
Gaming/Work System :
ASUS G1
RAM: 2.0Gb
Hard drive: 160 Gb
VIDEO CARD: NVIDIA 7700Go 512Mb
OS: Windows Vista Home Pre.
----------------------------
Server/Work system:
CPU: AMD Athlon XP 2400+
RAM: 1.0Gb
Hard drive: 30 IDE,120 IDE
VIDEO CARD: Nvidia Geforce 4 Ti 4600
OS: OpenSuse 10.2, Windows 2003
Dr_s99 is offline   Reply With Quote