Page 1 of 2

SOLVED crash at game loading (Intel G33 integrated graphic)

Posted: 23 Jan 2015, 23:51
by pierrouf
Hello,
I am trying to make spring work on my second computer. (no pb on my other one).

When I try to launch a game (like single player, or in spring itself), it crashes (it seems at 100% loading).
The end of the infolog.txt says:

Code: Select all

[f=0000000] Creating Projectile Textures
[f=0000000] Error: Segmentation fault (SIGSEGV) in spring 98.0
[f=0000000] Error: Stacktrace for Spring 98.0:
[f=0000000] Error:   <0> [0xb7793c58]
[f=0000000] Error: [ErrorMessageBox][1] msg="Spring has crashed:
Segmentation fault (SIGSEGV).
It was doing that on ubuntu 14.04.
I upgraded it to 14.10.
Still does crash (spring 98, lobby 194).
I decreased graphic parameters, still crash.

Then I compiled spring, and still crashing.

I do not have a dedicated graphic card, but an integrated one. Could it come from that?

Thanks

Re: crash during game loading

Posted: 24 Jan 2015, 03:33
by abma
please try spring --safemode

also full output of infolog.txt would be useful.

Re: crash during game loading

Posted: 24 Jan 2015, 08:19
by pierrouf
abma wrote:please try spring --safemode

also full output of infolog.txt would be useful.
Thanks for your time.

I tried the safemode, but it crashed the same way.
attached the infolog (in spring --safemode)
infolog.txt
(7.44 KiB) Downloaded 38 times

Re: crash during game loading

Posted: 28 Jan 2015, 11:08
by abma
GL version: 1.4 Mesa 10.3.2
GL vendor: Intel Open Source Technology Center
GL renderer: Mesa DRI Intel(R) G33 x86/MMX/SSE2
GLSL version: 1.20
GLEW version: 1.10.0
Video RAM: unknown
does your computer have a second gpu? this one very likely isn't sufficient for running spring, sorry.

Re: crash during game loading

Posted: 28 Jan 2015, 19:53
by pierrouf
No this computer does not have any separate graphic card, only the one on the mother board.
Although I understand it is a little bit "weak", is it supposed to prevent the game from starting?

Re: crash during game loading

Posted: 28 Jan 2015, 20:00
by abma
pierrouf wrote:No this computer does not have any separate graphic card, only the one on the mother board.
Although I understand it is a little bit "weak", is it supposed to prevent the game from starting?
idk whats the minimal OpenGL version which is needed to run spring. it seems 1.4 (=GL version: 1.4 Mesa 10.3.2) is to low. very likely it needs at least 2.0. maybe a newer mesa-driver version supports that for this kind of GPU.


google says intel G33 it supports at max OpenGL 1.4: http://www.tomshardware.co.uk/answers/i ... pengl.html so you're maybe out of luck :-|

Re: crash during game loading

Posted: 11 Feb 2015, 20:26
by pierrouf
I temporarily installed Windows Seven, and installed spring on it.
I was able to launch spring (but no luck with the LAN).
So the graphic chipset has the ability itself.
Maybe the drivers on linux/ubuntu are not as good as on windows.
Then I re-installed ubuntu 14.04 from scratch, the latest intel drivers, and springlobby 0.210.
It still crashes during loading.
Is my case totally lost or is there some glimpse of hope?

Re: crash during game loading

Posted: 11 Feb 2015, 21:28
by abma
maybe does your laptop have two gpu's?

Re: crash during game loading

Posted: 11 Feb 2015, 23:20
by pierrouf
abma wrote:maybe does your laptop have two gpu's?
Nope, only one GPU (the one of the motherboard). And on windows it sees the same as on linux (G33).

Re: crash during game loading

Posted: 12 Feb 2015, 00:33
by abma
then: does current development version work for you?

most recent atm is: https://springrts.com/dl/buildbot/defau ... -g7b238d8/

Re: crash during game loading

Posted: 12 Feb 2015, 20:20
by pierrouf
abma wrote:then: does current development version work for you?

most recent atm is: https://springrts.com/dl/buildbot/defau ... -g7b238d8/
Yope, tried them (quite a bunch of them), but with no luck, still the same crash...

Re: crash during game loading

Posted: 22 Feb 2015, 20:13
by pierrouf
Not sure it helps understanding, but on the same computer:
spring 95.0 works on windows
spring 98.0 does not work on windows

spring 95.0 (portable) and 98.0 do not work on ubuntu
I did not find the 95.0 for ubuntu 14.04

Re: crash during game loading

Posted: 22 Feb 2015, 21:20
by abma
Yope, tried them (quite a bunch of them), but with no luck, still the same crash...
then please provide infolog.txt with a crash from development version of spring.

Re: crash during game loading

Posted: 24 Feb 2015, 22:45
by pierrouf
On ubuntu 14.04, launched directly (ie not from the lobby)
latest spring 98 development, minimal portable:
spring_{develop}98.0.1-398-g80e6cfa_minimal-portable-linux64-static
here is the infolog:
infolog_spring_{develop}98.0.1-398-g80e6cfa_minimal-portable-linux64-static.txt
INFOLOG_spring_{develop}98.0.1-398-g80e6cfa_minimal-portable-linux64-static
(11.58 KiB) Downloaded 14 times
I don't know how to run the dbg version

Re: crash during game loading

Posted: 24 Feb 2015, 22:53
by abma
can you run this version with DebugGL = 1 set and paste infolog.txt?

debug symbols are here: https://springrts.com/dl/buildbot/defau ... ing_dbg.7z

(but not directly needed, i could translate addresses as well if needed)

Re: crash during game loading

Posted: 28 Feb 2015, 11:34
by pierrouf
Hello,
I tried that but spring did not even start saying that I had opengl issues.
I totally messed my computer trying to install drivers.
I'll reinstall it fresh.

Re: crash during game loading

Posted: 04 Mar 2015, 21:56
by pierrouf
Hello,
I tried with DebugGL = 1
It did even launch and told me:

Code: Select all

Needed OpenGL extension(s) not found:
   GL_ARB_multitexture GL_ARB_texture_env_combine GL_ARB_texture_compression

Update your graphic-card driver!
  Graphic card:   (null)
  OpenGL version: (null)
Here is the infolog:
infolog.txt
(3.01 KiB) Downloaded 10 times

Re: crash during game loading

Posted: 04 Mar 2015, 22:01
by abma
you have no working opengl driver installed it seems...

Re: crash during game loading

Posted: 07 Mar 2015, 12:03
by pierrouf
Indeed that's what I told myself, but trying to verify that I found:

Code: Select all

/usr/lib/nux/unity_support_test -p
OpenGL vendor string:   Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) G33 
OpenGL version string:  1.4 Mesa 10.3.0

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes
and

Code: Select all

/usr/lib/nux/unity_support_test -p
OpenGL vendor string:   Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) G33 
OpenGL version string:  1.4 Mesa 10.3.0

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes

Re: crash during game loading

Posted: 07 Mar 2015, 12:04
by pierrouf
trying to benchmark my graphic abilities of my computers I found:

Code: Select all

glmark2-es2 
=======================================================
    glmark2 2012.08
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Intel(R) G33 
    GL_VERSION:    OpenGL ES 2.0 Mesa 10.3.0
=======================================================
[build] use-vbo=false: FPS: 41 FrameTime: 24.390 ms
[build] use-vbo=true: FPS: 41 FrameTime: 24.390 ms
[texture] texture-filter=nearest: FPS: 253 FrameTime: 3.953 ms
[texture] texture-filter=linear: FPS: 246 FrameTime: 4.065 ms
[texture] texture-filter=mipmap: FPS: 229 FrameTime: 4.367 ms
[shading] shading=gouraud: FPS: 19 FrameTime: 52.632 ms
[shading] shading=blinn-phong-inf: FPS: 26 FrameTime: 38.462 ms
[shading] shading=phong: FPS: 20 FrameTime: 50.000 ms
[bump] bump-render=high-poly: FPS: 8 FrameTime: 125.000 ms
[bump] bump-render=normals: FPS: 297 FrameTime: 3.367 ms
[bump] bump-render=height: FPS: 126 FrameTime: 7.937 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1 FrameTime: 1000.000 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 0 FrameTime: inf ms
[pulsar] light=false:quads=5:texture=false: FPS: 243 FrameTime: 4.115 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0 FrameTime: inf ms
[desktop] effect=shadow:windows=4: FPS: 177 FrameTime: 5.650 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 9 FrameTime: 111.111 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 9 FrameTime: 111.111 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 9 FrameTime: 111.111 ms
[ideas] speed=duration: FPS: 56 FrameTime: 17.857 ms
[jellyfish] <default>: FPS: 42 FrameTime: 23.810 ms
[terrain] <default>: FPS: 0 FrameTime: inf ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 123 FrameTime: 8.130 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 87 FrameTime: 11.494 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 59 FrameTime: 16.949 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 114 FrameTime: 8.772 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 81 FrameTime: 12.346 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 55 FrameTime: 18.182 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 55 FrameTime: 18.182 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1 FrameTime: 1000.000 ms
=======================================================
                                  glmark2 Score: 80 
=======================================================
and

Code: Select all

glmark2
Error: Glmark2 needs OpenGL(ES) version >= 2.0 to run (but version string is: '1.4 Mesa 10.3.0')!
Error: main: Could not initialize canvas
Not sure what to make of it.

Does it mean that I have some opengl but not a version recent enough for spring?