View Single Post
Old 07-24-10, 02:02 PM   #1
dinosaur
Registered User
 
Join Date: Aug 2008
Posts: 35
Default NVIDIA driver crashing with OpenGL apps and Xorg v1.7.7

Greetings,

I've got an issue with NVIDIA drivers (tested with v256.35 and v195.36.31) under Linux Mandriva 2010.1 (Xorg v1.7.7): when switching from one desktop to another, leaving the desktop with an OpenGL application running (SecondLife viewer v1.23.5) for another with a 2D application (often Firefox, but not only), the OpenGL application sometimes crashes (about one in ten times with v256.35, and down to only one in fifty times with v195.36.31).
Other, rarer times, there is no crash but coming back to the desktop with the OpenGL application running, the latter crawls down erratically at 1fps or less and I must then switch forth to and back from another desktop to get back the normal functioning of the OpenGL app (when this happens, no specific message appears in the logs, be them /var/log/messages or the SecondLife viewer log).

The funny thing is that with the same environment (same computer, same vanilla Linux kernel version and same kernel compilation options, same desktop environment (Gnome) and same window manager (Sawfish), including same WM version (Sawfish v1.6.3), same SecondLife viewer version), but with Mandriva 2009.0 (Xorg v1.4.2), I *never* get such crashes...
I also had such issues with Mandriva 2010.0 and this was such of a showstopper that I waited for 2010.1, hoping that whatever went wrong between newer Xorg servers and NVIDIA drivers would be solved...

Whenever the crash happens, the SecondLife viewer does provide a stack trace log, which could be of some help since it's always exactly the same one for a given NVIDIA driver version.

For v256.35 I get:
Code:
0   com.secondlife.indra.viewer     	0x948b4f3 do_elfio_glibc_backtrace() + 323
1   com.secondlife.indra.viewer     	0x811d9e0 LLAppViewer::handleSyncViewerCrash() + 16
2   com.secondlife.indra.viewer     	0x9921401 LLApp::setError() + 17
3   com.secondlife.indra.viewer     	0x992314d default_unix_signal_handler(int, siginfo*, void*) + 1597
4   unknown                         	0xffffe40c [0xffffe40c]
5   unknown                         	0xb5d68f7f /usr/lib/libnvidia-glcore.so.256.35(+0xd1cf7f) [0xb5d68f7f]
And for v195.36.31:
Code:
0   com.secondlife.indra.viewer     	0x948b4f3 do_elfio_glibc_backtrace() + 323
1   com.secondlife.indra.viewer     	0x811d9e0 LLAppViewer::handleSyncViewerCrash() + 16
2   com.secondlife.indra.viewer     	0x9921401 LLApp::setError() + 17
3   com.secondlife.indra.viewer     	0x992314d default_unix_signal_handler(int, siginfo*, void*) + 1597
4   unknown                         	0xffffe40c [0xffffe40c]
5   unknown                         	0xb5c9dcbf /usr/lib/libGLcore.so.1(+0xd1acbf) [0xb5c9dcbf]
(the interesting lines being 4 and 5 since 0 to 3 simply correspond to the viewer crash handler calls).

I also attach to this post the nvidia-bug-report.log.gz file for the driver v256.35.

Last edited by dinosaur; 07-15-12 at 06:15 PM.
dinosaur is offline   Reply With Quote