LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2005, 11:49 AM   #1
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Rep: Reputation: 15
nVidia TLS Issues


I am running a Gentoo system and for the most part everything works fine ... just trying to hash hout some general issues. This one being the following error.

Code:
LittleGeek ~ # glxgears
glxgears: error while loading shared libraries: /usr/lib/opengl/nvidia/tls/libnvidia-tls.so: cannot handle TLS data
LittleGeek ~ #
I will receive a variant of that error message while attempting to run any 3D application. Below I will paste my corg.conf (if that will help) and all (EE)/(WW) from my /var/log/Xorg.0.log

First I will paste my xorg.conf

Code:
LittleGeek ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/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/"
EndSection

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

Section "DRI"
        Mode 0666
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   "TradeMark"
        VendorName   "TradeMark"
        ModelName    "DB-1765"
        HorizSync    30-65
        VertRefresh  50-100
        Option       "dpms"

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"                     # <i>
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ConnectedMonitor"          # <str>
        #Option     "ConnectedMonitors"         # <str>
        #Option     "TVStandard"                # <str>
        #Option     "TVOutFormat"               # <str>
        #Option     "RenderAccel"               # [<bool>]
        #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"     # [<bool>]
        Identifier  "nVidia GeForce2 MX/MX 400"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "nVidia GeForce2 MX/MX 400"
        Monitor    "TradeMark"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   16
                Modes   "1280x1024"
        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
LittleGeek ~ #

Next I will paste all (EE) and (WW) msgs from my error log.
Code:
LittleGeek ~ # cat /var/log/Xorg.0.log | grep "(WW)"
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/CID/" does not exist.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) NVIDIA(0): config file hsync range 30-65kHz not within DDC hsync ranges.
(WW) NVIDIA(0): config file vrefresh range 50-100Hz not within DDC vrefresh ranges.
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "1152x768":
(WW) NVIDIA(0):   horizontal sync start (1178) not a multiple of 8
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0):   horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0):   horizontal sync start (378) not a multiple of 8
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
LittleGeek ~ # 

LittleGeek ~ # cat /var/log/Xorg.0.log | grep "(EE)"
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load /usr/lib/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
(EE) NVIDIA(0): Failed to load GLX
LittleGeek ~ #
now I will show you what portage says I have installed

Code:
LittleGeek ~ # emerge -s nvidia
Searching...
[ Results for search key : nvidia ]
[ Applications found : 4 ]

*  media-gfx/nvidia-cg-toolkit
      Latest version  available: 1.2.0402.1900
      Latest version installed:  [ Not Installed ]
      Size of downloaded files:  3,675 kB
      Homepage:     http://developer.nvidia.com/view.asp?IO=cg_toolkit
      Description:  nvidia's c graphics compiler toolkit
      License:      NVIDIA

*  media-video/nvidia-glx
      Latest version available:  1.0.7676-r1
      Latest version installed:  1.0.7676-r1
      Size of downloaded files:  22,374 kB
      Homepage:    http://www.nvidia.com/ 
      Description:  NVIDIA X11 driver and GLX libraries
      License:      NVIDIA

*  media-video/nvidia-kernel
      Latest version available:  1.0.7676-r1
      Latest version installed:  1.0.7676-r1
      Size of downloaded files:  14,116 kB
      Homepage:     http://www.nvidia.com/
      Description:  Linux kernel module for the NVIDIA X11 driver
      License:      NVIDIA

*  media-video/nvidia-settings
      Latest version available:  1.0.6629
      Latest version installed:  1.0.6629
      Size of downloaded files:  798 kB
      Homepage:     http://www.nvidia.com/
      Description:  NVIDIA Linux X11 Settings Utility
      License:      GPL-2

LittleGeek ~ #
hopefully I have provided enough information to correct this. I have searched here and the gntoo forums w/ little lock to solving my specfic problem with this.

Last edited by raven.sorrow; 11-24-2005 at 11:55 AM.
 
Old 11-25-2005, 02:59 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
this has been one of those odd things hard for people to figure out
first this path
/usr/lib/opengl/nvidia/tls

when i compiled 7676 from nvidia web site i just got
/usr/lib/tls

do you also have the path /usr/lib/opengl/nvidia/lib like i have seen
i heard someone fix this by copying the tls lib from /usr/lib/opengl/nvidia/lib over the one in /usr/lib/opengl/nvidia/tls
(please backup the original first)
seems one was broken

the best thing to do is get rid of that package whatever it is altogether and install 7676 like it comes from nvidia web site.
 
Old 11-26-2005, 08:30 AM   #3
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
Code:
LittleGeek ~ # ls /usr/lib/tls
ls: /usr/lib/tls: No such file or directory
LittleGeek ~ #
/usr/lib/tls I do not have

I will try and copy the file around, see if that fixes it (I do have /usr/lib/opengl/nvidia/tls

Last edited by raven.sorrow; 11-26-2005 at 08:34 AM.
 
Old 11-26-2005, 08:33 AM   #4
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
correction:

Code:
LittleGeek nvidia # pwd
/usr/lib/opengl/nvidia
LittleGeek nvidia # ls -lsha lib tls
lib:
total 8.0M
4.0K drwxr-xr-x  2 root root 4.0K Nov 24 10:24 .
4.0K drwxr-xr-x  7 root root 4.0K Nov 24 10:24 ..
4.0K -rw-r--r--  1 root root  727 Nov 24 10:24 libGL.la
   0 lrwxrwxrwx  1 root root   17 Nov 24 10:24 libGL.so -> libGL.so.1.0.7676
   0 lrwxrwxrwx  1 root root   17 Nov 24 10:24 libGL.so.1 -> libGL.so.1.0.7676
512K -rwxr-xr-x  1 root root 507K Nov 24 10:24 libGL.so.1.0.7676
   0 lrwxrwxrwx  1 root root   21 Nov 24 10:24 libGLcore.so -> libGLcore.so.1.0.7676
   0 lrwxrwxrwx  1 root root   21 Nov 24 10:24 libGLcore.so.1 -> libGLcore.so.1.0.7676
7.5M -rwxr-xr-x  1 root root 7.5M Nov 24 10:24 libGLcore.so.1.0.7676
   0 lrwxrwxrwx  1 root root   23 Nov 24 10:24 libnvidia-tls.so -> ../tls/libnvidia-tls.so
   0 lrwxrwxrwx  1 root root   25 Nov 24 10:24 libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
   0 lrwxrwxrwx  1 root root   32 Nov 24 10:24 libnvidia-tls.so.1.0.7676 -> ../tls/libnvidia-tls.so.1.0.7676

tls:
total 16K
4.0K drwxr-xr-x  2 root root 4.0K Nov 26 09:29 .
4.0K drwxr-xr-x  7 root root 4.0K Nov 24 10:24 ..
   0 lrwxrwxrwx  1 root root   25 Nov 24 10:24 libnvidia-tls.so -> libnvidia-tls.so.1.0.7676
   0 lrwxrwxrwx  1 root root   25 Nov 24 10:24 libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.7676
4.0K -rwxr-xr-x  1 root root 2.3K Nov 26 09:29 libnvidia-tls.so.1.0.7676
4.0K -rwxr-xr-x  1 root root 2.3K Nov 24 10:24 libnvidia-tls.so.1.0.7676.backup
LittleGeek nvidia #
 
Old 11-26-2005, 03:18 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
sorry/nevermind the one in lib was just a link to the one in tls


i see where alot of people get broken with newer nvidia and xorg
though i don't really know why
Quote:
from a debian board
composite works REALLY fast here. 61xx Nvidia driver (newer ones crash), Geforce 4 card
is the "composite" extension loading ?

grep extension (or composite) /var/log/Xorg.0.log

i know composite and glx are incompatable
unless you try #Option "AllowGLXWithComposite" # [<bool>]
which i think is unstable

might be if your nvidia package was precompiled you can do better with one compiled on your system
you might have a compler version problem with the one you are running

sorry i can't help more i stuck with xfree to avoid the muck of "new and improved"
 
Old 11-26-2005, 08:25 PM   #6
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
You are correct, composite is loading.

Code:
LittleGeek nvidia # cat /var/log/Xorg.0.log | grep extension
(II) Loading /usr/lib/modules/extensions/libglx.so
(EE) Failed to load /usr/lib/modules/extensions/libglx.so
(II) Loading /usr/lib/modules/extensions/libextmod.a
(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) Loading /usr/lib/modules/extensions/libdbe.a
(II) Loading extension DOUBLE-BUFFER
(II) Loading /usr/lib/modules/extensions/librecord.a
(II) Loading extension RECORD
(II) Loading /usr/lib/modules/extensions/libxtrap.a
(II) Loading extension DEC-XTRAP
(II) Loading extension NV-GLX
(II) Loading extension NV-CONTROL
(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 LBX
(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
LittleGeek nvidia #
also listed above is the libglx error as well.

should I include your above suggestion of #Option "AllowGLXWithComposite" # [<bool>] ?
 
Old 11-26-2005, 10:01 PM   #7
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Quote:
(II) Initializing built-in extension COMPOSITE
yea try
Option "AllowGLXWithComposite" "true"

if that is unstable like everybody says

try
Code:
Section "Extensions"
    Option          "Composite"     "Disable"
EndSection
 
Old 11-26-2005, 11:02 PM   #8
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
I had a similar problem after upgrading to Slack 10.2 and the 7676 drivers (compiled for my system). I couldn't use glx with the nvidia driver. If I commented out the "load glx" line, X booted.

I found a fix that worked for me on the nvidia forum. ie renaming
/usr/lib/libnvidia-tls.so.1.0.7676
/usr/lib/libnvidia-tls.so.1
to something else so they're not found.

Here's the post
 
Old 11-28-2005, 07:07 PM   #9
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
X loads for me, GLX does not ..... *BUT* .... I think GLX not loading is an nVidia related problem. Specficly in the eBuild for Gentoo. I will first attempt to disable Comsiting in X first and restart X .... if that works then problem solved.

I also think that this may be related to the fact that when I built glibc in gentoo, I think I choice not to include TLS/threads-tls support by mistake. There *IS* a new ver of glibc out. *IF* libGLX.so does not load after the aformentioned fix. I will recompile glibc w/ TLS/NTPL/linuxthreds-tls support to see if that fixes it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with nvidia Driver (TLS) punx120 Debian 6 02-21-2006 04:38 AM
nVIDIA Issues DaBlade Linux - Hardware 1 11-17-2005 01:53 PM
nvidia install issues GOGOTS Linux - General 3 08-23-2005 04:02 PM
Yet more Nvidia driver issues:( LinebackerACT SUSE / openSUSE 4 02-20-2005 12:45 PM
nvidia issues santasballz Linux - Newbie 1 03-14-2004 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:06 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