Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-15-09, 04:15 AM   #1
twistedfall
Registered User
 
Join Date: Mar 2009
Posts: 1
Default Floating point exception with > 180.29

I'm running Gentoo on x86 and with recent NVIDIA driver versions I started to experience SIGFPE with some apps. For example:

$ mplayer
Floating point exception
$ amarok
Floating point exception
$ firefox
Floating point exception

This bug started in 180.35 and still present in 180.37 and 185.13. Downgrading to 180.29 resolves this problem. The culprit is libGL.so. Replacing it with version 180.29 also solves this problem.

Switching to xorg-x11 opengl implementation removes the problem too (as NVIDIA libGL.so is no longer used in this case)

I tried rebuilding all apps that have opengl use-flag, but that didn't help.
Attached Files
File Type: log nvidia-bug-report.log (103.9 KB, 146 views)
twistedfall is offline   Reply With Quote
Old 03-22-09, 02:32 AM   #2
twisted_fall
Registered User
 
Join Date: May 2008
Posts: 12
Default Re: Floating point exception with > 180.29

It's still the case for 180.41
twisted_fall is offline   Reply With Quote
Old 03-22-09, 09:19 AM   #3
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Floating point exception with > 180.29

*subscribes*


I have a 7600 GT and experience something related

I get segmentation fault for all apps using gtk+ (from what I can tell) and every apps/process that tries to use libGL.so

180.29 works fine

everything above generates general protection faults (in syslog) and segmentation faults (output in console when launching the app)

180.35, 180.37, 180.41, 185.13 all show this behavior

I believe if your problem is solved mine should be too


seeing you're running a toolchain with enhanced security (pie) I'm wondering whether that might be the cause

the strange thing is that this worked perfectly fine with previous kernel-versions and drivers releases

nvidia-drivers in general are pretty tolerant towards new slab allocators, schedulers, and exotic kernel settings - I don't hope that this changes for the bad (see ati/amd's drivers)

NVIDIA, please, give input in this case if there's any more info you need
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 03-30-09, 02:40 PM   #4
twisted_fall
Registered User
 
Join Date: May 2008
Posts: 12
Default Re: Floating point exception with > 180.29

Argh, still happens with 180.44.

kernelOfTruth, yes, I read your report and it does sound very similar. Alas, I don't see a solution to this.
twisted_fall is offline   Reply With Quote
Old 03-30-09, 02:53 PM   #5
twisted_fall
Registered User
 
Join Date: May 2008
Posts: 12
Default Re: Floating point exception with > 180.29

I see that 180.35 brought support for OpenGL 3.0 floating point depth buffers. Maybe they have something to do with this problem
twisted_fall is offline   Reply With Quote
Old 03-30-09, 03:12 PM   #6
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Floating point exception with > 180.29

so if that should turn out to be the case:

is there an option to disable opengl 3.0 or 3.1 ?

even though it's not supported on my 7600GT ? (it doesn't support opengl 3.0 or 3.1, right ?)

@twistedfall:

so you say compiling e.g. the 180.44 kernel and replacing its libGL.so by the libGL.so from 180.29 works ?

interesting
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 03-30-09, 03:17 PM   #7
twisted_fall
Registered User
 
Join Date: May 2008
Posts: 12
Default Re: Floating point exception with > 180.29

Well, I didn't check 180.44 specifically, but it did the trick for 180.35. At least mplayer stopped crashing. I didn't run any tests on the stability of such combination.
twisted_fall is offline   Reply With Quote
Old 03-30-09, 03:25 PM   #8
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Floating point exception with > 180.29

the strange thing is that your hardware should support openGL 3.0/3.1:

Quote:
GeForce 8600M GS rev 161
but still is affected

Quote:
You need one of the following graphics cards to get access to the OpenGL 3.1 and GLSL 1.40 functionality:
Desktop

* Quadro FX 370, 570, 1700, 3700, 4600, 4700x2, 4800, 5600, 5800, Quadro VX200, Quadro CX
* GeForce 8000 series or higher; Geforce G100, GT120, 130, GTS 150, Geforce GTS 250, GeForce GTX 260, 280, 285 and 295, any ION based products.

Notebook

* Quadro FX 360M, 370M, 570M, 770M, 1600M, 1700M, 2700M, 3600M, 3700M
* GeForce 8000 series or higher
so something doesn't seem to work properly with the drivers >180.29


my next graphics card most probably will be an nvidia again but first I'd like to use my 7600GT a little longer (for the next 2-3 kernel releases) and not being forced to buy a newer one just because the current driver releases deprecates it in an strange way

thanks nvidia !
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote

Old 03-30-09, 03:27 PM   #9
twisted_fall
Registered User
 
Join Date: May 2008
Posts: 12
Default Re: Floating point exception with > 180.29

It seems that GL_NV_depth_buffer_float is to blame. 180.29 doesn't have it. We only need someone from Nvidia to take a look.
twisted_fall is offline   Reply With Quote
Old 03-31-09, 07:36 AM   #10
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Floating point exception with > 180.29

twisted_fall, could you please post the output of

ls -l /usr/lib32/opengl/nvidia/lib/

and

ls -l /usr/lib64/opengl/nvidia/lib/

after you have replaced the libGL.so file ?


if I've understood it correct only the following stuff is changed / altered compared to the "original" installation:

Quote:
lrwxrwxrwx 1 root root 15 2009-03-30 20:03 libGL.so -> libGL.so.180.29
lrwxrwxrwx 1 root root 15 2009-03-30 20:03 libGL.so.1 -> libGL.so.180.29
-rwxr-xr-x 1 root root 701784 2009-03-30 20:03 libGL.so.180.29
in /usr/lib32/opengl/nvidia/lib/


and

Quote:
lrwxrwxrwx 1 root root 15 2009-03-30 20:03 libGL.so -> libGL.so.180.29
lrwxrwxrwx 1 root root 15 2009-03-30 20:03 libGL.so.1 -> libGL.so.180.29
-rwxr-xr-x 1 root root 900376 2009-03-30 20:03 libGL.so.180.29
in /usr/lib64/opengl/nvidia/lib/


that way I can take the new driver for a test-ride (now the question is whether anything of the BUGS/problems from earlier kernel-releases gets fixed at all in that way or only vdpau)

thanks

@nVidia:

__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 03-31-09, 12:34 PM   #11
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Floating point exception with > 180.29

so the libGL.so* and libGLcore.so* stuff needs to be replaced

and this really somehow "fixes" it (of course if you leave the non-working direct rendering aside)
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 03-31-09, 01:06 PM   #12
twisted_fall
Registered User
 
Join Date: May 2008
Posts: 12
Default Re: Floating point exception with > 180.29

As I have 32bit system I don't have separate lib32 and lib64.

Here is ls -l /usr/lib/opengl/nvidia/lib/
Code:
total 16220
lrwxrwxrwx 1 root root       19 Мар 30 23:23 libGLcore.so -> libGLcore.so.180.29
lrwxrwxrwx 1 root root       19 Мар 30 23:23 libGLcore.so.1 -> libGLcore.so.180.29
-rwxr-xr-x 1 root root 15782884 Мар 30 23:23 libGLcore.so.180.29
-rw-r--r-- 1 root root      706 Мар 30 23:23 libGL.la
lrwxrwxrwx 1 root root       15 Мар 30 23:23 libGL.so -> libGL.so.180.29
lrwxrwxrwx 1 root root       15 Мар 30 23:23 libGL.so.1 -> libGL.so.180.29
-rwxr-xr-x 1 root root   701784 Мар 30 23:23 libGL.so.180.29
lrwxrwxrwx 1 root root       23 Мар 30 23:23 libnvidia-cfg.so -> libnvidia-cfg.so.180.29
lrwxrwxrwx 1 root root       23 Мар 30 23:23 libnvidia-cfg.so.1 -> libnvidia-cfg.so.180.29
-rwxr-xr-x 1 root root   114600 Мар 30 23:23 libnvidia-cfg.so.180.29
lrwxrwxrwx 1 root root       23 Мар 30 23:23 libnvidia-tls.so -> ../tls/libnvidia-tls.so
lrwxrwxrwx 1 root root       25 Мар 30 23:23 libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
lrwxrwxrwx 1 root root       30 Мар 30 23:23 libnvidia-tls.so.180.29 -> ../tls/libnvidia-tls.so.180.29
Quote:
if I've understood it correct only the following stuff is changed / altered compared to the "original" installation:
Yes, you are right. But actually I never really gave this config a test drive.
twisted_fall is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


All times are GMT -5. The time now is 05:27 PM.


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