Page 1 of 1

Crash when starting STK 0.9.1

PostPosted: 18 Oct 2015, 16:08
by Sayanel
Hi everybody, I wanted to point out a problem I encountered: I installed Super Tux Kart 0.9.1 on my Computer but when I want to run it, it crashes instantly and shows this:

{l Code}: {l Select All Code}
---------------------------
SuperTuxKart crashed :/
---------------------------
SuperTuxKart crashed!
Please hit Ctrl+C to copy to clipboard and signal the problem
to the developers on our forum: http://forum.freegamedev.net/viewforum.php?f=16

Call stack:

 <no symbol available>
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 asFreeMem
 BaseThreadInitThunk
 RtlInitializeExceptionChain
 RtlInitializeExceptionChain
---------------------------
OK   
---------------------------

I reinstalled it a few times but still reencountered the issue.
Anybody knows why and what I can do?

Re: Crash when starting STK 0.9.1

PostPosted: 19 Oct 2015, 00:19
by hiker
Sayanel {l Wrote}:Hi everybody, I wanted to point out a problem I encountered: I installed Super Tux Kart 0.9.1 on my Computer but when I want to run it, it crashes instantly and shows this:
...

Can you post the file %AppData%/supertuxkart/0.8.2/stdout.log?

Thanks!
Joerg

Re: Crash when starting STK 0.9.1

PostPosted: 19 Oct 2015, 10:27
by Sayanel
Yes, here it is:

{l Code}: {l Select All Code}
[info   ] [FileManager]: Data files will be fetched from: 'data/'
[info   ] [FileManager]: User directory is 'C:\Users\Julien\AppData\Roaming/supertuxkart/0.8.2/'.
[info   ] [FileManager]: Addons files will be stored in 'C:\Users\Julien\AppData\Roaming/supertuxkart/0.8.2/../addons/'.
[info   ] [FileManager]: Screenshots will be stored in 'C:\Users\Julien\AppData\Roaming/supertuxkart/0.8.2/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in 'C:\Users\Julien\AppData\Roaming/supertuxkart/0.8.2/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from 'data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from 'data/fonts/'.
[info   ] [FileManager]: Asset 2 will be loaded from 'data/gfx/'.
[info   ] [FileManager]: Asset 3 will be loaded from 'data/grandprix/'.
[info   ] [FileManager]: Asset 4 will be loaded from 'data/gui/'.
[info   ] [FileManager]: Asset 5 will be loaded from 'data/library/'.
[info   ] [FileManager]: Asset 6 will be loaded from 'data/models/'.
[info   ] [FileManager]: Asset 7 will be loaded from 'data/music/'.
[info   ] [FileManager]: Asset 8 will be loaded from 'data/tracks/'.
[info   ] [FileManager]: Asset 9 will be loaded from 'data/sfx/'.
[info   ] [FileManager]: Asset 10 will be loaded from 'data/shaders/'.
[info   ] [FileManager]: Asset 11 will be loaded from 'data/skins/'.
[info   ] [FileManager]: Asset 12 will be loaded from 'data/textures/'.
[info   ] [FileManager]: Asset 13 will be loaded from 'data/po/'.
[verbose  ] translation: GetLocaleInfo langname returns 'de'.
[verbose  ] translation: GetLocaleInfo tryname returns 'DE'.
[verbose  ] translation: Env var LANGUAGE = 'de_DE'.
[verbose  ] translation: Language 'German (Germany)'.
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_no.po: warning: ignoring, unknown language
[info   ] IrrDriver: OpenGL version: 3.2
[info   ] IrrDriver: OpenGL vendor: ATI Technologies Inc.
[info   ] IrrDriver: OpenGL renderer: ATI Mobility Radeon HD 5650
[info   ] IrrDriver: OpenGL version string: 3.2.9704 Compatibility Profile Context
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Geometry Shader 4 Present
[info   ] irr_driver: GLSL supported.
[info   ] GUIEngine: scale: 0.512000
[info   ] shader: Compiling shader : texturedquad.vert
[info   ] shader: Compiling shader : texturedquad.frag


(Alternatively, I also uploaded the file as attachment, just to make sure ;) )

Re: Crash when starting STK 0.9.1

PostPosted: 19 Oct 2015, 12:11
by hiker
Sayanel {l Wrote}:[info ] IrrDriver: OpenGL version: 3.2
[info ] IrrDriver: OpenGL vendor: ATI Technologies Inc.
[info ] IrrDriver: OpenGL renderer: ATI Mobility Radeon HD 5650
[info ] IrrDriver: OpenGL version string: 3.2.9704 Compatibility Profile Context

That driver version looks rather odd - the latest driver is version 13.12 - so either it is not properly recognised, or your driver is really outdated. And the format of that string is very likely not recognised properly by stk (e.g. stk expects e.g. "4.3.13283 Core Profile Context 14.501.1003.0"). Do you have two graphics card? Perhaps it is actually using the wrong one?

Cheers,
Joerg

Re: Crash when starting STK 0.9.1

PostPosted: 19 Oct 2015, 18:18
by Sayanel
Yes, I have two graphic cards, and it is probable that the driver is outdated but there are no newer drivers supporting both, so that could be the problem. I'll try to see if I can do something about that (But I don't have much hope, the system with two graphic cards is really unpractical, I got tons of issueswith it)
Anyways, thank you very much for your quick response and concern :)

Re: Crash when starting STK 0.9.1

PostPosted: 19 Oct 2015, 20:13
by asterix
Hi, I have similar issue with the version 0.9.1 with freemem memory problem but I have just only one notebook(Toshiba) with one graphic card from ATi Technologies, forgive my bad English, I am here for the first time, and also I am sending hello from my home country The Czech Republic and I really apreciate a work you guys do please keep it up here is my appdata:
{l Code}: {l Select All Code}
[info   ] [FileManager]: Data files will be fetched from: 'data/'
[info   ] [FileManager]: User directory is 'C:\Users\tomasmatys\AppData\Roaming/supertuxkart/0.8.2/'.
[info   ] [FileManager]: Addons files will be stored in 'C:\Users\tomasmatys\AppData\Roaming/supertuxkart/0.8.2/../addons/'.
[info   ] [FileManager]: Screenshots will be stored in 'C:\Users\tomasmatys\AppData\Roaming/supertuxkart/0.8.2/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in 'C:\Users\tomasmatys\AppData\Roaming/supertuxkart/0.8.2/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from 'data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from 'data/fonts/'.
[info   ] [FileManager]: Asset 2 will be loaded from 'data/gfx/'.
[info   ] [FileManager]: Asset 3 will be loaded from 'data/grandprix/'.
[info   ] [FileManager]: Asset 4 will be loaded from 'data/gui/'.
[info   ] [FileManager]: Asset 5 will be loaded from 'data/library/'.
[info   ] [FileManager]: Asset 6 will be loaded from 'data/models/'.
[info   ] [FileManager]: Asset 7 will be loaded from 'data/music/'.
[info   ] [FileManager]: Asset 8 will be loaded from 'data/tracks/'.
[info   ] [FileManager]: Asset 9 will be loaded from 'data/sfx/'.
[info   ] [FileManager]: Asset 10 will be loaded from 'data/shaders/'.
[info   ] [FileManager]: Asset 11 will be loaded from 'data/skins/'.
[info   ] [FileManager]: Asset 12 will be loaded from 'data/textures/'.
[info   ] [FileManager]: Asset 13 will be loaded from 'data/po/'.
[verbose  ] translation: GetLocaleInfo langname returns 'cs'.
[verbose  ] translation: GetLocaleInfo tryname returns 'CZ'.
[verbose  ] translation: Env var LANGUAGE = 'cs_CZ'.
[verbose  ] translation: Language 'Czech (Czech Republic)'.
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_no.po: warning: ignoring, unknown language
[info   ] IrrDriver: OpenGL version: 3.1
[info   ] IrrDriver: OpenGL vendor: ATI Technologies Inc.
[info   ] IrrDriver: OpenGL renderer: ATI Mobility Radeon HD 5165
[info   ] IrrDriver: OpenGL version string: 3.1.8918
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Geometry Shader 4 Present
[info   ] irr_driver: GLSL supported.
[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[warn   ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn   ] [IrrDriver Temp Logger]: Level 3: Fragment shader failed to compile with the following errors:
ERROR: 0:4: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:5: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 2 compilation errors.  No code generated


[error  ] shaders: Shader NORMAL_MAP failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader NORMAL_MAP_LIGHTMAP failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader SKYBOX failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader SPLATTING failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader WATER failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader WATER_SURFACE failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader SPHERE_MAP failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader GRASS failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader GRASS_REF failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader MOTIONBLUR failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader GAUSSIAN3H failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader GAUSSIAN3V failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader OBJECT_UNLIT failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader OBJECTPASS failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader OBJECTPASS_REF failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader OBJECTPASS_RIMLIT failed to load. Update your drivers, if the issue persists, report a bug to us.
[error  ] shaders: Shader DISPLACE failed to load. Update your drivers, if the issue persists, report a bug to us.
[info   ] GUIEngine: scale: 0.512000
[info   ] shader: Compiling shader : texturedquad.vert
[info   ] shader: Compiling shader : texturedquad.frag
[error  ] GLWrap: Error in shader texturedquad.frag
[error  ] GLWrap: Fragment shader failed to compile with the following errors:
ERROR: 0:25: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:26: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:27: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:28: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:29: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:30: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:31: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:37: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:38: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:39: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:40: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:41: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:42: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:43: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:44: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:45: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:46: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:47: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:48: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:50: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:51: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:52: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:53: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:54: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:55: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:56: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:57: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:58: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:60: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:61: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:62: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:63: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:64: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:65: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:66: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:67: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:68: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:74: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: 0:75: error(#239) Declaration must include a precision qualifier or the default precision must have been previously declared
ERROR: error(#273) 39 compilation errors.  No code generated

[error  ] GLWrapp: Error when linking these shaders :
[error  ] shader: texturedquad.vert
[error  ] shader: texturedquad.frag
[error  ] GLWrapp: Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed.

Re: Crash when starting STK 0.9.1

PostPosted: 20 Oct 2015, 13:17
by Eldermê
The driver seems to be complaining of not having precision qualifier in the fragment shader.

It's weird because precisions qualifiers have not effect with OpenGL. They are supported for compatibility with OpenGL ES's precision qualifiers, where they do have an effect.
GLSL specification {l Wrote}:Precision qualifiers are added for code portability with OpenGL ES, not for functionality. They have the same syntax as in OpenGL ES, as described below, but they have no semantic meaning, which includes no effect on the precision used to store or operate on variables.


I think it is a driver bug.
asterix, do you have the latest version of ATI driver?

Re: Crash when starting STK 0.9.1

PostPosted: 20 Oct 2015, 13:45
by asterix
I do not know, how can I find it or preferably make it up to date?

Re: Crash when starting STK 0.9.1

PostPosted: 20 Oct 2015, 19:17
by asterix
I found this from other game DXGI: Available
{l Code}: {l Select All Code}
GFX  22:46:25.961 Resource Cache Override Variable: 0MB
GFX  22:46:25.961 Resource Cache: 500MB Win32
GFX  22:46:26.009 Selected display mode 1280x720x0 with format D3DFMT_X8R8G8B8 and error delta 0
GFX  22:46:26.009 Adapter [0]: ATI Mobility Radeon HD 5165  (VendorID 0x1002 DeviceID 0x9480)
GFX  22:46:26.010 Attempting CreateDevice on adapter [0] (VendorID 0x1002 DeviceID 0x9480)
GFX  22:46:31.853 CreateDevice succeeded
GFX  22:46:31.853 Using adapter [0]
GFX  22:46:31.853 Floating point render targets supported.
GFX  22:46:31.864 DXGI Adapter Name: ATI Mobility Radeon HD 5165
GFX  22:46:31.864 VRAM Detected: Dedicated [1019MB] Shared [1274MB] (DXGI)
GFX  22:46:31.864 VRAM Override Variables: Dedicated [0MB] Shared [0MB]
GFX  22:46:31.865 Initialized D3D9 GraphicsDevice: ATI Mobility Radeon HD 5165  (Driver Version: 8.14.10.697, VRAM: 1019MB, SVMEM: 1274MB).
GFX  22:46:31.907 Selected display mode 1280x720x0 with format D3DFMT_X8R8G8B8 and error delta 0
GFX  22:46:31.908 VRAM texture space: 500MB
GFX  22:46:48.471 PerfNotifiers initialized
GFX  22:46:51.796 DirectX call m_device->TestCooperativeLevel() failed with error code D3DERR_DEVICENOTRESET
GFX  22:46:51.796 DirectX call  failed with error code D3DERR_DEVICENOTRESET
GFX  22:46:51.796 Lost D3D9 device
GFX  22:46:53.403
GFX  22:46:53.403 D3D9 Device Reset from ::OnRender returned e_errorKindGfx(0)
GFX  22:47:10.008 DirectX call m_device->TestCooperativeLevel() failed with error code D3DERR_DEVICELOST
GFX  22:47:39.687 DirectX call m_device->TestCooperativeLevel() failed with error code D3DERR_DEVICENOTRESET
GFX  22:47:39.687 DirectX call  failed with error code D3DERR_DEVICENOTRESET
GFX  22:47:39.687 Lost D3D9 device
GFX  22:47:41.925
GFX  22:47:41.925 D3D9 Device Reset from ::OnRender returned e_errorKindGfx(0)
GFX  00:23:53.120 Lost D3D9 device

Re: Crash when starting STK 0.9.1

PostPosted: 21 Oct 2015, 08:33
by Eldermê
According to this log, your driver version is 8.14.10.697.
The latest version is 15.9.

You can download it in AMD website: http://support.amd.com/

Re: Crash when starting STK 0.9.1

PostPosted: 21 Oct 2015, 17:26
by asterix
I did, but I do not know how to activate it, I think that it has something to do with the fact that I have notebook from Toshiba and they connect it with it some their own blobs of code for compatibility I gues, because after I restarted my notebook and tried to install it again same error happend and from the looks of it the same log.

Re: Crash when starting STK 0.9.1

PostPosted: 21 Oct 2015, 18:01
by XGhost
An installation of the drivers should also "activate" the driver. It doesn't have anything to do with the manufacturer of your notebook.
Make sure you have installed the correct driver for your graphics card from here: http://support.amd.com/en-us/kb-article ... ility.aspx (the one for the AMD Mobility Radeon HD 5000 Series).

Re: Crash when starting STK 0.9.1

PostPosted: 21 Oct 2015, 18:13
by asterix
yes i find it as well and installed, but still have the old one GFX 21:37:57.083 DXGI: Available
{l Code}: {l Select All Code}
GFX  21:37:57.412 Resource Cache Override Variable: 0MB
GFX  21:37:57.413 Resource Cache: 500MB Win32
GFX  21:37:57.517 Selected display mode 1280x720x0 with format D3DFMT_X8R8G8B8 and error delta 0
GFX  21:37:57.517 Adapter [0]: ATI Mobility Radeon HD 5165  (VendorID 0x1002 DeviceID 0x9480)
GFX  21:37:57.517 Attempting CreateDevice on adapter [0] (VendorID 0x1002 DeviceID 0x9480)
GFX  21:38:06.161 CreateDevice succeeded
GFX  21:38:06.161 Using adapter [0]
GFX  21:38:06.161 Floating point render targets supported.
GFX  21:38:06.245 DXGI Adapter Name: ATI Mobility Radeon HD 5165
GFX  21:38:06.246 VRAM Detected: Dedicated [1019MB] Shared [1274MB] (DXGI)
GFX  21:38:06.246 VRAM Override Variables: Dedicated [0MB] Shared [0MB]
GFX  21:38:06.246 Initialized D3D9 GraphicsDevice: ATI Mobility Radeon HD 5165  (Driver Version: 8.14.10.697, VRAM: 1019MB, SVMEM: 1274MB).
GFX  21:38:06.489 Selected display mode 1280x720x0 with format D3DFMT_X8R8G8B8 and error delta 0
GFX  21:38:06.490 VRAM texture space: 500MB
GFX  21:38:32.371 PerfNotifiers initialized
GFX  21:42:53.286 Couldn't load lens flare model data LensFlareDefault
GFX  21:42:53.286 Couldn't load lens flare model data LensFlareBitchinPyramidGlare
GFX  22:30:24.548 Couldn't load lens flare model data LensFlareDefault
GFX  22:30:24.651 Couldn't load lens flare model data LensFlareBitchinPyramidGlare
GFX  00:11:12.338 Lost D3D9 device

Re: Crash when starting STK 0.9.1

PostPosted: 24 Oct 2015, 18:22
by asterix
Just a small note that the game ran absolutely flalessly without any restrictions in stk version 0.8.1 plus side note I still was not able to make the games using this newer version of AMD driver as you previouly suggested, i do not know what else I can do, I would like to help with this driver problem, because I do have 15.9 driver successfully instaled but game is using still the old one therefore logs and appdata are still the same. ( I am using windows7 32 bit Toshiba notebook and once I tried Win10 there was the same problem)

Re: Crash when starting STK 0.9.1

PostPosted: 25 Oct 2015, 02:57
by Auria
Regarding the "Declaration must include a precision qualifier or the default precision must have been previously declared" error, none of the core devs have that but according to https://www.opengl.org/discussion_board ... -9-1/page2 it might be solved by adding "precision mediump float;" to the shaders. Does anyone here know shaders well enough to try that?

Re: Crash when starting STK 0.9.1

PostPosted: 26 Oct 2015, 09:52
by Eldermê
Yes, I can do that.
I will try to prepare a pull request during the week.

Re: Crash when starting STK 0.9.1

PostPosted: 26 Oct 2015, 23:53
by Auria
Thanks. That still very much sound like a driver bug, but it seems that in video game developement working around driver bugs is unavoidable..

Re: Crash when starting STK 0.9.1

PostPosted: 30 Oct 2015, 22:42
by Eldermê
I've sent the pull request.
I hope it will solve this issue. Working around driver bugs is difficult when you cannot reproduce the issue.

Re: Crash when starting STK 0.9.1

PostPosted: 30 Oct 2015, 23:32
by samuncle
Please don't forget to use [ code ] [ / code ] for logs. It helps for reading + avoid long annoying scrolling :)

Thanks

Re: Crash when starting STK 0.9.1

PostPosted: 31 Oct 2015, 22:21
by deve
@asterix are you able to check if this patch solves your issue?
https://github.com/supertuxkart/stk-cod ... 2365/files

Re: Crash when starting STK 0.9.1

PostPosted: 02 Nov 2015, 02:09
by Auria
deve {l Wrote}:@asterix are you able to check if this patch solves your issue?
https://github.com/supertuxkart/stk-cod ... 2365/files


It's been merged into git master, so testing latest git would suffice

Re: Crash when starting STK 0.9.1

PostPosted: 02 Nov 2015, 09:20
by asterix
May I ask You where I can download it and test it, because I am not good at applying patches, by the way thanks a lot for your contribution.

Re: Crash when starting STK 0.9.1

PostPosted: 03 Nov 2015, 00:29
by Auria
asterix {l Wrote}:May I ask You where I can download it and test it, because I am not good at applying patches, by the way thanks a lot for your contribution.


There are no automatic builds. We can wait and see if anyone with the issue can build from source, otherwise we can eventually do a test build

Re: Crash when starting STK 0.9.1

PostPosted: 10 Nov 2015, 09:31
by asterix
So then i will wait for the next realese try it again. Because i am not a programmer and cannot compile it. Cheers.