Author Topic: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card  (Read 4037 times)

johpe

  • PGP
  • Posts: 10
I just downloaded paintball2_build035_linux_full.tar.gz and tried to run it.
What I get is:

Code: [Select]
Paintball 2 -- Version 2.0
Execing configs/default.cfg.
Console initialized.

------- Sound initialization -------
LoadLibrary("./snd_oss.so")
/dev/dsp: No such file or directory
SNDDMA_Init: Could not open /dev/dsp.
------- Loading ref_pbgl.so -------
LoadLibrary("./ref_pbgl.so")
ref_gl version: PB2GL 0.35
Using libGL.so for OpenGL...
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
I got 8 bits of red
I got 8 bits of blue
I got 8 bits of green
I got 24 bits of depth
I got 8 bits of alpha
I got 8 bits of stencil
Using hardware gamma
Received signal 11, exiting...

I am running 32 bit Xubuntu (Ubuntu wuth the XFCE window manager) version 12.04 with 4 GB RAM.

lspci shows:
Code: [Select]
01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
for my graphics card.
I have connected two monitors (first attached to the digital connector with 1680x1050, second attached to analog with 1280x1024) to my card which both show a single X screen at 2960x1050 pixels.

Are there any parameters or settings I could change to get more debug info or to make this work?

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #1 on: July 11, 2012, 10:37:11 AM »
I also tried this on my laptop, also Ubuntu 12.04 with xfce but with an ATI Radeon mobile card and got the same segmentation fault.

yossarianuk

  • VM-68
  • Posts: 127
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #2 on: July 15, 2012, 12:30:20 PM »
I have xubuntu 12.04 (64bit) running this game ok I have had it working on a geforce 8500 and a 450 gtx

I suggest

1) checking you have all dependencys installed - also re-download it (just in case you have a corrupted archive (unlikely)
2) disabling twinview and see if the problem persists. (it is possible to specify which screen to start an app I believe)
3) chaning sound output to SDL (if you want sound)

For extra debugging:-

- Install gdb
- launch game with

gdb ./paintball2
- type run

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #3 on: July 16, 2012, 08:31:50 AM »
Thank you for your suggestions!
I checked all dependencies and I think they are all met (the list does not give specific version which may be required, but I do have just the standar version for Ubuntu 12.04).
I also tried a number of different screen configurations, including disabling the second screen completely. (my normal configuration uses Xinerama, but I also tried separate X screens without Xinerama and Twinview).
I also changed the sound driver to SDL.
Nothing helped, I am still getting the segmentation fault.

When running with gdb I get:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:160
160 ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S: No such file or directory.

backtrace gives:
Code: [Select]
#0  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:160
#1  0xb01ce571 in ?? () from /usr/lib/i386-linux-gnu/libGL.so
#2  0xb28b36a3 in R_init_refl () from ./ref_pbgl.so
#3  0xb28d01e5 in R_Init () from ./ref_pbgl.so
#4  0x080a7306 in VID_LoadRefresh ()
#5  0x080a747a in VID_CheckChanges ()
#6  0x080a764c in VID_Init ()
#7  0x0805fedd in CL_Init ()
#8  0x08093088 in Qcommon_Init ()
#9  0x080a7f19 in main ()

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #4 on: July 16, 2012, 10:37:21 AM »
Looks like your libGL is broken somehow. Does your CPU supports SSSE3? List here: https://en.wikipedia.org/wiki/SSSE3

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #5 on: July 17, 2012, 02:40:28 PM »
This is the output of "cat /proc/cpuinfo
As you can see it shows ssse3 in the flags section so I would think this is supported.
Code: [Select]
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping : 6
microcode : 0xcb
cpu MHz : 2403.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips : 4800.16
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping : 6
microcode : 0xcb
cpu MHz : 1603.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips : 4800.17
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

About libgl: which package in ubuntu would that be? It is hard to believe that libgl is broken as all other 3D programs work without a problem.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #6 on: July 18, 2012, 06:37:37 AM »
Sounds like maybe some kind of dependency is missing for the driver.  I'm not sure how/why that would happen.  I'm guessing it's using the memcopy when it's loading the fragment program for the water effect.  You might try renaming pball/scripts/water1.arbf and see if that stops the crash.

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #7 on: August 26, 2012, 03:38:38 AM »
I renamed water1.arbf to water1.arbf.bak but the crash still occurs.

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #8 on: August 26, 2012, 08:56:00 AM »
Is this known to run on Ubuntu 12.04 at all?
I did a systematic test on the following computers, all with Ubuntu 12.04 (32 bit Intel) installed, and none worked, all give a segmentation fault:

1) my desktop, with a NVidia GT216 (GeForce GT 220) rev a2 video adapter, running in various configuration (TwinView, Xinerama and single screen mode)
2) my Lenovo T500 Laptop in two different BIOS settings:
- on chip Intel graphics enabled
- AMD ATI RV635 [Mobility Radeon HD 3650] chip enabled

This is really a pity because some time ago, our family enjoyed playing Paintball on exactly the same computers (but with earlier versions of both Ubuntu and paintball)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #9 on: August 27, 2012, 09:54:47 AM »
You could try launching paintball2 with the command line "+set r_reflectivewater 0".  I think it may still run the init and crash, though.

klann24

  • PGP
  • Posts: 14
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #10 on: August 28, 2012, 08:28:49 PM »
umm, can someone help me??

deadfroggy

  • Autococker
  • Posts: 562
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #11 on: August 29, 2012, 12:39:33 AM »
umm, can someone help me??


create a post in the 'Help and support' section. Don't forget to add everthing you know about it or whatever.

klann24

  • PGP
  • Posts: 14
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #12 on: August 29, 2012, 09:17:43 AM »
ok thanks

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #13 on: September 02, 2012, 06:35:54 AM »
You could try launching paintball2 with the command line "+set r_reflectivewater 0".  I think it may still run the init and crash, though.
Yes, it still crashes when I start it with these parameters on the command line
I guess I am out of luck here ... I'd still be curious if it is just something about my particular hw/sf or if there are others with Ubunto 12.04 who experience similar problems.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #14 on: September 04, 2012, 03:24:37 PM »
Try adding this to the command line: "+set gl_arb_fragment_program 0"

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #15 on: September 05, 2012, 02:27:22 AM »
Try adding this to the command line: "+set gl_arb_fragment_program 0"

Great!- thanks! This did it -- with this parameter present, the program starts and seems to work just fine!!
What does that parameter do?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #16 on: September 05, 2012, 09:47:39 AM »
That parameter disables ARB fragment programs completely, so you won't get things like the fancy water effects.  I'm really not sure why this is crashing.  Looks like it might be a bug in the drivers.  I'm curious if you could find another 32bit OpenGL application that uses ARB fragment programs and see if it crashes or not.

johpe

  • PGP
  • Posts: 10
Re: [Bug] signal 11 on startup on Ubuntu 12.04 32bit with NVidia card
« Reply #17 on: September 05, 2012, 10:00:00 AM »
That parameter disables ARB fragment programs completely, so you won't get things like the fancy water effects.  I'm really not sure why this is crashing.  Looks like it might be a bug in the drivers.  I'm curious if you could find another 32bit OpenGL application that uses ARB fragment programs and see if it crashes or not.
I am afraid I do not know enough about this topic to find out for myself which application could be used or how to create a minimal testcase. But if you have some code or a link to an app I should try I will provide the results if that helps with debugging the problem.