PDA

View Full Version : [Linux] Crash after loading right before macth starts



inuZ
02-26-2011, 02:36 PM
Running Ubuntu 10.10

Every time I join a game after hero picking and loading the game crashes before I`m in the game. I read several threads where it was suggested to update the driver. I tried the 260.**.09 and 270 version of the driver with no success. Funny thing is practice mode works without problem and am now testing an old 173 driver - works but awful performance. The log files are from using the 260 driver.
173 glxinfo:

direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8600M GT/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 173.14.28
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions:
01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600M GT] (rev a1)
Linux inuZ-Laptop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux

270 glxinfo:

direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8600M GT/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 270.29
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:
GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600M GT] (rev a1)
Linux inuZ-Laptop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux

Hope I didnt forget anything.

inuZ
02-27-2011, 04:08 PM
Oh, I forgot to mention that if I after the game crashes the game again start I can reconnect and join the game without trouble. I kinda cant believe that the graphic driver is the source of the problem I see absolutely no connection. The crash is 100% reproducible.

Naib
02-27-2011, 05:02 PM
I am afraid this is 100% nvidia drivers
The 260.* line saw nvidia change their driver model change and they messed something up. ANY application that directly or indirectly linked against libGL could and would crash

it was so bad that even gvim, a simple GUI around VIM, would crash and it was all downto nvidia drivers

http://bugs.gentoo.org/show_bug.cgi?id=336837
Gentoo bug on the topic

http://www.nvnews.net/vbulletin/showthread.php?p=2329622
thread on the nv forums

http://www.nvnews.net/vbulletin/showthread.php?t=154919
another thread

http://www.nvnews.net/vbulletin/showthread.php?t=156532
another thread.

...
There are alot on this topic and all come back to the 260.* line of drivers
270.* improved matters (infact 260.19.39 was the 1st one that allowed indirectly linked applications to not crash) but the problem still persists.

I have disabled composite extension in xorg.conf and it has reduced me crashing with the 270.* line from virtually every game to one every 10


If you still find it hard to believe it is the drivers fault look at the most recent crash report wher you crashed at the start:



Signal: Segmentation fault

Backtrace:
./hon-x86_64() [0x408884]
/lib/libpthread.so.0(+0xf4d0) [0x7f4e3dbc14d0]
/usr/lib/libnvidia-glcore.so.270.18(+0xead860) [0x7f4e1d83d860]
//usr/lib64/opengl/nvidia/lib/libGL.so.1(+0x733bf) [0x7f4e1eaa73bf]

Memory map:

you will see something similar to this

inuZ
02-28-2011, 07:16 AM
Thank you very much for your extensive answer.
I'm gonna look into the threads and try to disable the extension like you did and post my experience with this workaround.

inuZ
03-01-2011, 05:16 PM
Looks good. I made a few games and it seems fine now, maybe you could add this "fix" to the Linux troubleshooting guide until nvidia releases a stable driver.