nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   GLX crashing with nvidia binaries on slackware-current (http://www.nvnews.net/vbulletin/showthread.php?t=89615)

george1509 04-12-07 07:07 AM

GLX crashing with nvidia binaries on slackware-current
 
Hi,

on slackware-current after installing nvidia-linux-x86-1.0-9755 any app linked to libGL is crashing with a memory access error. Xorg.0.log shows that the nvidia driver and nvidia glx was loaded. All symlinks point to the nvidia libraries and there are no stale symlinks or old nvidia libs on the system. Running ldd shows that all the correct libraries are linked. X is running, but any app linked to libGL crashes. Strange is that running glx applications as root works!
The problem appears also with other versions of the driver.

System:
Kernel 2.6.20
FX 5200
Slackware-current
X 7.1.99
Mesa-6.5.2

Any pointers are welcome.

TIA
george1509

netllama 04-12-07 11:34 AM

Re: GLX crashing with nvidia binaries on slackware-current
 
http://www.nvnews.net/vbulletin/showthread.php?t=46678

george1509 04-12-07 01:40 PM

Re: GLX crashing with nvidia binaries on slackware-current
 
1 Attachment(s)
Quote:

Originally Posted by netllama

Ok, I attached the nvidia-bug-report.log

netllama 04-12-07 02:00 PM

Re: GLX crashing with nvidia binaries on slackware-current
 
If I'm understanding correctly, you're stating that this problem only occurs for non-root users?

What is the output from the following command?
ls -l /dev/nvidia*

Also, what is the exact error that you're getting, and which applications trigger the crash?

george1509 04-12-07 03:24 PM

Re: GLX crashing with nvidia binaries on slackware-current
 
Quote:

Originally Posted by netllama
If I'm understanding correctly, you're stating that this problem only occurs for non-root users?

What is the output from the following command?
ls -l /dev/nvidia*

Also, what is the exact error that you're getting, and which applications trigger the crash?

Thank you for your response. Here is the requested information:

Permisisons:

crw-rw-rw- 1 root root 195, 0 21. Nov 2005 /dev/nvidia0
crw-rw---- 1 root video 195, 1 21. Nov 2005 /dev/nvidia1
crw-rw-rw- 1 root root 195, 255 21. Nov 2005 /dev/nvidiactl

I am in group viideo, but I tried to change the permissions on /dev/nvidia1 anyway w/o success.

Any app linked with libGL.so.1 crashes with "Speicherzugriffsfehler", means "Memory access error" and noting else. Naturally this includes kdeinit, kcminit etc., but also glxinfo, any OpenGL screensaver and so one.

HTH

netllama 04-12-07 03:41 PM

Re: GLX crashing with nvidia binaries on slackware-current
 
Something looks to be wrong in the /dev/nvidia* device ownership on your system. /dev/nvidia0 should not be entirely owned by root. I'm not that familiar with Slackware, however, I'd guess that /dev/nvidia0 should be owned by your user when that user is logged into X.

Something is misconfigured on your system (or perhaps this is a Slackware bug), however I don't believe that this is a driver bug, as I've not had anyone else report this (especially a Slackware user).

george1509 04-12-07 03:59 PM

Re: GLX crashing with nvidia binaries on slackware-current
 
Quote:

Something looks to be wrong in the /dev/nvidia* device ownership on your system. /dev/nvidia0 should not be entirely owned by root. I'm not that familiar with Slackware, however, I'd guess that /dev/nvidia0 should be owned by your user when that user is logged into X.
Hm, it's world read/writable, but I 'll look into that.

Quote:

Something is misconfigured on your system (or perhaps this is a Slackware bug), however I don't believe that this is a driver bug, as I've not had anyone else report this (especially a Slackware user)
I guess you're right, something is borked on my system, but since I'm running out of ideas, I thought I give it a try.

Thank you for your help.

Lethe 04-12-07 05:38 PM

Re: GLX crashing with nvidia binaries on slackware-current
 
For comparison, I am running Slackware 10 ~ heavy updated from source code etc. over time. Here is my output of 'ls -l /dev/nvidia*' running as normal user.

nick@linuxamd:nick$ ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 2005-04-17 13:26 /dev/nvidia0
crw-rw-rw- 1 root root 195, 1 2005-04-17 13:26 /dev/nvidia1
crw-rw-rw- 1 root root 195, 2 2005-04-17 13:26 /dev/nvidia2
crw-rw-rw- 1 root root 195, 3 2005-04-17 13:26 /dev/nvidia3
crw-rw-rw- 1 root root 195, 4 2005-04-17 13:26 /dev/nvidia4
crw-rw-rw- 1 root root 195, 5 2005-04-17 13:26 /dev/nvidia5
crw-rw-rw- 1 root root 195, 6 2005-04-17 13:26 /dev/nvidia6
crw-rw-rw- 1 root root 195, 7 2005-04-17 13:26 /dev/nvidia7
crw-rw-rw- 1 root root 195, 255 2005-04-17 13:26 /dev/nvidiactl

Nick

george1509 04-13-07 04:55 AM

Re: GLX crashing with nvidia binaries on slackware-current
 
Quote:

Originally Posted by Lethe
For comparison, I am running Slackware 10 ~ heavy updated from source code etc. over time. Here is my output of 'ls -l /dev/nvidia*' running as normal user.

nick@linuxamd:nick$ ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 2005-04-17 13:26 /dev/nvidia0
crw-rw-rw- 1 root root 195, 1 2005-04-17 13:26 /dev/nvidia1
crw-rw-rw- 1 root root 195, 2 2005-04-17 13:26 /dev/nvidia2
crw-rw-rw- 1 root root 195, 3 2005-04-17 13:26 /dev/nvidia3
crw-rw-rw- 1 root root 195, 4 2005-04-17 13:26 /dev/nvidia4
crw-rw-rw- 1 root root 195, 5 2005-04-17 13:26 /dev/nvidia5
crw-rw-rw- 1 root root 195, 6 2005-04-17 13:26 /dev/nvidia6
crw-rw-rw- 1 root root 195, 7 2005-04-17 13:26 /dev/nvidia7
crw-rw-rw- 1 root root 195, 255 2005-04-17 13:26 /dev/nvidiactl

Nick

Thanks for the info.

george1509 04-24-07 09:23 AM

Re: GLX crashing with nvidia binaries on slackware-current
 
Solved! The problem was caused by the permissions on /usr/lib/tls. After changing them from 700 to 755 everything works fine. Thanks to all who tried to help.


All times are GMT -5. The time now is 10:16 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.