LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-12-2007, 05:43 AM   #1
george1509
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 0
GLX crashes with nvidia binary on slackware current


Hi,

I upgraded to current w/o any problems, but after re-installing the nv-9755 driver, any app linked to libGL, including kdeinit and the like, is crashing with a memory access error. I checked the X log, but the driver was loaded correctly. I checked that all GL libs were symlnked to the nvidia libs and ldd showed that the correct libs were linked. No stale symlinks or older nvidia libs on the system.

Usually I wouldn't bother and use nv from Xorg and wait for a new Xorg version and/or a new nvidia driver, but I've seen posts from people running nvidia binaries on current and strange enough, running glx as root works! That would imply some kind of access right issue is causing the problem but I can't figure out what exactly.

Any pointers are welcome.

System:
Kernel 2.6.20
Slackware-current
FX 5200 with NVIIA-Linux-x86-1.0-9755

The above configuration was running fine on slack 11.0.

TIA
george1509

Last edited by george1509; 04-12-2007 at 06:02 AM.
 
Old 04-12-2007, 09:56 AM   #2
TNWestTex
Member
 
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 87

Rep: Reputation: 16
Just checking, you used the line from slack.hints
Code:
sh NVIDIA-xxx.run --x-prefix=/usr --x-module-path=/usr/lib/xorg/modules
to get everything in the right directory trees?

You're jumping ahead to 2.6.20 kernel. Try installing Pats 2.6.18.8 and see if that works with NVIDIA.

On GEFORCE2 and RIVA TNT2 systems the NVIDIA drivers are definitely better than the open source nv.
 
Old 04-12-2007, 11:00 AM   #3
george1509
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TNWestTex
Just checking, you used the line from slack.hints
Code:
sh NVIDIA-xxx.run --x-prefix=/usr --x-module-path=/usr/lib/xorg/modules
to get everything in the right directory trees?

You're jumping ahead to 2.6.20 kernel. Try installing Pats 2.6.18.8 and see if that works with NVIDIA.

On GEFORCE2 and RIVA TNT2 systems the NVIDIA drivers are definitely better than the open source nv.
Yes, I've been using the --x-* args and with aaa_base from 04/10 it doesn't matter anyway since /usr/X11R6 is re-created with symlinks to /usr for backward compability.

I've been using the same custom 2.6.20 kernel in 11.0, just recompiled it for the nvidia install, but I tried the kernel in current anyway w/o success.
 
Old 04-12-2007, 12:37 PM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
/usr/lib/xorg/modules/extensions should have a symlink libglx.so pointing to something like libglx.so.1.0.9631 . the xorg-server package overwrites it.
 
Old 04-12-2007, 01:37 PM   #5
george1509
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by erklaerbaer
/usr/lib/xorg/modules/extensions should have a symlink libglx.so pointing to something like libglx.so.1.0.9631 . the xorg-server package overwrites it.
The link is there, since I re-installed the nvidia driver. As I said in my original post, the nvidia driver is loading correctly, all symlinks are as they should be and the output of e.g. ldd /usr/bin/glxinfo shows that the nvidia libs are linked.
 
Old 04-13-2007, 02:31 PM   #6
TNWestTex
Member
 
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 87

Rep: Reputation: 16
MYSTERY. Google shows people have had trouble with th FX 5200 chip set and XORG 7.1 on various distributions in the past but nothing shows of recent vintage. Try the NVIDIA forum [HTML]http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14[/HTML]
 
Old 04-13-2007, 04:09 PM   #7
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
Permissions

Just out of curiosity, what are your permissions for /usr/lib/xorg/modules/extensions/libglx.so.1.0.* and /dev/nvidia*?
 
Old 04-13-2007, 08:31 PM   #8
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
very odd me upgradeing to 9755 actually fixed this problem. maybe the updates broke a symlink. try reinstalling the driver
 
Old 04-14-2007, 07:45 AM   #9
george1509
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TNWestTex
MYSTERY. Google shows people have had trouble with th FX 5200 chip set and XORG 7.1 on various distributions in the past but nothing shows of recent vintage. Try the NVIDIA forum [HTML]http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14[/HTML]
Did it already, they don't have a clue either. I think I tracked it down to some permission conflict on /dev/nvidia*, since the udev rules set different permissions than nvidia does.
 
Old 04-14-2007, 07:56 AM   #10
george1509
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by manwichmakesameal
Just out of curiosity, what are your permissions for /usr/lib/xorg/modules/extensions/libglx.so.1.0.* and /dev/nvidia*?
Yes, that's the only odd thing I could detect: The udev rules do set the permissions on /dev/nvidia* to root:video mode 660 and the nvidia driver set it to root:root mode 666. LibGL.so.1.0 has root:root mode 755. Since udev set all video related devices to root:video mode 660, here's probably a potential cause of the problem.

Last edited by george1509; 04-14-2007 at 08:01 AM.
 
Old 04-24-2007, 08:58 AM   #11
george1509
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Solved!

I found it. The reason were the permissions on /usr/lib/tls. After changing them to 755 everything works fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
nvidia-glx-legacy & GLX errors Codegen Ubuntu 5 03-11-2007 04:18 PM
KDE crashes, nvidia-legacy and GLX, Oh my! TomalakBORG Suse/Novell 1 01-16-2007 04:40 AM
slackware-current and nVidia drivers... X won't start mattlacey Slackware 9 05-31-2005 03:32 PM
Slackware-current Xorg 6.8.1 crashes SirJohnWackness Slackware 20 11-26-2004 10:09 AM
slackware current and NVIDIA drivers Xavius Slackware 13 11-13-2004 04:59 PM


All times are GMT -5. The time now is 12:45 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration