Forums » Linux

Crashes

Apr 06, 2010 wookmaster link
I keep getting little 10 second lock ups in the game and after a few minutes I crash with this in the log

../../../gk/gkgl/refgl/texmanage.cpp(92) : glGetError() returned 'invalid operation'
../../../gk/gkgl/refgl/shaders.cpp(206): using ARBfp3.0

Anyone seen the same?
Apr 06, 2010 wookmaster link
Some more info from the errors.log during startup
wtf!archive returned 0
[Tue Apr 6 15:04:12 2010] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 82.0. Load @0x084cc3d0
[Tue Apr 6 15:04:12 2010] Instantiate address: 0xb6e14000
[Tue Apr 6 15:04:12 2010] Found driver: "Open Sound System driver". Type 1, Version 8.1. Load @0x084cda30
[Tue Apr 6 15:04:12 2010] Instantiate address: 0xb6c6b6c0
[Tue Apr 6 15:04:12 2010] Found driver: "ALSA driver". Type 1, Version 8.1. Load @0x084cdd00
[Tue Apr 6 15:04:12 2010] Instantiate address: 0xb6c53ea0
ALSA initialized: 44100Hz, 16bit stereo, 92ms latency (16 periods x 256 samples)
[Tue Apr 6 15:04:12 2010] load_sample_ogg: Couldn't open sound/mission.updated.ogg (mission.updated)
[Tue Apr 6 15:04:12 2010] load_sample: Couldn't open sound/mission.updated.ogg (mission.updated)
[Tue Apr 6 15:04:12 2010] load_sample_ogg: Couldn't open sound/nfz.warning.enter.ogg (nfz.warning.enter)
[Tue Apr 6 15:04:12 2010] load_sample: Couldn't open sound/nfz.warning.enter.ogg (nfz.warning.enter)
[Tue Apr 6 15:04:12 2010] load_sample_ogg: Couldn't open sound/nfz.warning.leave.ogg (nfz.warning.leave)
[Tue Apr 6 15:04:12 2010] load_sample: Couldn't open sound/nfz.warning.leave.ogg (nfz.warning.leave)
/dev/js0: No such file or directory
/dev/input/js0: No such file or directory
/dev/js1: No such file or directory
/dev/input/js1: No such file or directory
/dev/js2: No such file or directory
/dev/input/js2: No such file or directory
/dev/js3: No such file or directory
/dev/input/js3: No such file or directory
Found 0 joystick(s)
Apr 06, 2010 wookmaster link
I am thinking this is the core of the issue, I tried turning down all graphics but it still crashed
(II) NVIDIA(0): Setting mode "800x600_56"
(WW) NVIDIA(0): The NVIDIA X driver has encountered too many errors. Falling
(WW) NVIDIA(0): back to write-back cached memory.
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "800x600_56"
(EE) NVIDIA(0): Error recovery failed.
(EE) NVIDIA(0): *** Aborting ***
Apr 06, 2010 wookmaster link
This may have fixed it, I need to do more testing. It ran a good 25 minutes without crashing just now but I have to leave.

from : https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/98641

For now, this worked for me:
Download the nVidia drivers from here: http://www.nvidia.com/object/linux_display_ia32_1.0-9755.html
Extract the drivers with the -x switch: sudo sh NVIDIA-Linux-x86-1.0-9755-pkg1.run -x
Copy the module somewhere (hopefully to be removed when they start including it in the package). I used my home directory: cp NVIDIA-Linux-x86-1.0-9755-pkg1/usr/X11R6/lib/modules/libnvidia-wfb.so.1.0.9755 ~/
Now create a link to it from /usr/lib/xorg/modules/: sudo ln /home/aaroncampbell/libnvidia-wfb.so.1.0.9755 /usr/lib/xorg/modules/libwfb.so
That should do it. I also chown'd it to root:root, and chmod'd it to match all the other stuff in that directory.

Hope this helps someone. Once I did that, everything started to work fine. My dual screens, even Beryl runs smoothly (well, as smoothly as Beryl can run).
Apr 09, 2010 wookmaster link
Ive played two or three 30 minutes sessions with no crashes, at this time I believe the above workaround has fixed this and it is a Nvidia issue.
Apr 12, 2010 wookmaster link
OK didnt work, not the linux forum is hopping here but it just crashes X after a good 45 minutes or so

II) NVIDIA(0): Setting mode "1600x1200"
(EE) NVIDIA(0): Error recovery failed.
(EE) NVIDIA(0): *** Aborting ***
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(EE) NVIDIA(0): Error recovery failed.
(EE) NVIDIA(0): *** Aborting ***
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(EE) NVIDIA(0): Error recovery failed.
(EE) NVIDIA(0): *** Aborting ***

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x7e) [0x80c91ce]
1: [0xb7f4b400]

Fatal server error:
Caught signal 11. Server aborting

(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1600x1200"
(II) NVIDIA(0): Initialized GPU GART.
Apr 14, 2010 wookmaster link
Oooookkkk

Changing my monitor to its natural resolution seems to have fixed the crashes, I still get annoying 10 second freeze ups but X not crashing makes it much more playable.