[bug]green yellow red screen

[bug]green yellow red screen

Postby n4hw3ll » 24 Mar 2017, 00:23

hello, im new to the forums and i have a lil problem, when i start STK it stays at a screen with the green yellow and red colors, it doesnt freeze or anything, you can use the menu and hear sounds, if someone has the solution please post it here, thanks :)
n4hw3ll
 
Posts: 4
Joined: 24 Mar 2017, 00:17

Re: [bug]green yellow red screen

Postby MTres19 » 24 Mar 2017, 03:15

Hi and welcome to the forums.

Perhaps you could be a bit more specific? For example, what happens if you click the "Singleplayer" or "Story mode" buttons? Does the game crash or freeze up? Please explain.

Thanks.
User avatar
MTres19
 
Posts: 150
Joined: 17 Aug 2015, 20:15

Re: [bug]green yellow red screen

Postby n4hw3ll » 24 Mar 2017, 03:37

i cant really tell, i just heard sounds when selecting an option and the music thats all, the screen looks like this http://i.imgur.com/Mbutkfp.png
n4hw3ll
 
Posts: 4
Joined: 24 Mar 2017, 00:17

Re: [bug]green yellow red screen

Postby deve » 24 Mar 2017, 08:17

It looks great :-D

Do you use current STK version? Could you post your stdout.log file? It can be found in %appdata%\supertuxkart\0.8.2. It looks that you run it on very old graphics card and the drivers display testing screen, but maybe there is something that we can do (i.e. use ForceLegacyDevice).
deve
 
Posts: 182
Joined: 23 Jan 2014, 13:45

Re: [bug]green yellow red screen

Postby n4hw3ll » 24 Mar 2017, 14:12

actually i have a 2gb ram nvidia card, my system is windows 7 32 bits and the version im using is 0.9.2, maybe its because i have another version of vcredist 2015 and i need the one that STK haves in the vcredist folder. the stdout.log has writen this text:
{l Code}: {l Select All Code}
[info   ] [FileManager]: User directory is 'C:\Users\Nahuel\AppData\Roaming/supertuxkart/0.8.2/'.
[info   ] [FileManager]: Addons files will be stored in 'C:\Users\Nahuel\AppData\Roaming/supertuxkart/0.8.2/../addons/'.
[info   ] [FileManager]: Screenshots will be stored in 'C:\Users\Nahuel\AppData\Roaming/supertuxkart/0.8.2/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in 'C:\Users\Nahuel\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/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '../data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '../data/gui/'.
[info   ] [FileManager]: Asset 4 will be loaded from '../data/library/'.
[info   ] [FileManager]: Asset 5 will be loaded from '../data/models/'.
[info   ] [FileManager]: Asset 6 will be loaded from '../data/music/'.
[info   ] [FileManager]: Asset 7 will be loaded from '../data/replay/'.
[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/ttf/'.
[info   ] [FileManager]: Asset 14 will be loaded from '../data/po/'.
[verbose  ] translation: GetLocaleInfo langname returns 'es'.
[verbose  ] translation: GetLocaleInfo tryname returns 'ES'.
[verbose  ] translation: Env var LANGUAGE = 'es_ES'.
[verbose  ] translation: Language 'Spanish (Spain)'.
[info   ] IrrDriver: OpenGL version: 4.0
[info   ] IrrDriver: OpenGL vendor: NVIDIA Corporation
[info   ] IrrDriver: OpenGL renderer: GeForce GT 610/PCIe/SSE2/3DNOW!
[info   ] IrrDriver: OpenGL version string: 4.0.0
[warn   ] Graphics: Can not find version for '4.0.0' 'GeForce GT 610/PCIe/SSE2/3DNOW!' - ignored.
[info   ] GLDriver: ARB Base Instance Present
[info   ] GLDriver: ARB Draw Indirect Present
[info   ] GLDriver: ARB Texture Storage Present
[info   ] GLDriver: ARB Image Load Store Present
[info   ] GLDriver: ARB Shader Atomic Counters Present
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Explicit Attrib Location Present
[info   ] GLDriver: ARB Geometry Shader 4 Present
[info   ] irr_driver: GLSL supported.
[info   ] Freetype Environment: Loading fonts...
[info   ] Freetype Environment: DPI for Normal Font is 21.
[info   ] Freetype Environment: DPI for Title Font is 36.
[info   ] Freetype Environment: DPI for Digit Font is 32.
[info   ] ScalableFont::loadTTF: Created 15 glyphs supporting 16 characters for high-res digits font Sigmar using 1 glyph page(s).
[info   ] ScalableFont::loadTTF: Created 93 glyphs supporting 150 characters for bold title font Ubuntu using 1 glyph page(s).
[info   ] ScalableFont::loadTTF: Created 98 glyphs supporting 101 characters for normal font Ubuntu using 1 glyph page(s).
[info   ] shader: Compiling shader : texturedquad.vert
[info   ] shader: Compiling shader : texturedquad.frag
[error  ] GLWrap: Error in shader texturedquad.frag
[error  ] GLWrap: 0(80) : error C7011: implicit cast from "vec4" to "f16vec4"

[error  ] GLWrapp: Error when linking these shaders :
[error  ] shader: texturedquad.vert
[error  ] shader: texturedquad.frag
[error  ] GLWrapp: Fragment info
-------------
0(80) : error C7011: implicit cast from "vec4" to "f16vec4"

[info   ] shader: Compiling shader : texturedquad.vert
[info   ] shader: Compiling shader : uniformcolortexturedquad.frag
[error  ] GLWrap: Error in shader uniformcolortexturedquad.frag
[error  ] GLWrap: 0(81) : error C7011: implicit cast from "vec4" to "f16vec4"
0(82) : error C7011: implicit cast from "ivec4" to "f16vec4"

[error  ] GLWrapp: Error when linking these shaders :
[error  ] shader: texturedquad.vert
[error  ] shader: uniformcolortexturedquad.frag
[error  ] GLWrapp: Fragment info
-------------
0(81) : error C7011: implicit cast from "vec4" to "f16vec4"
0(82) : error C7011: implicit cast from "ivec4" to "f16vec4"

[info   ] shader: Compiling shader : colortexturedquad.vert
[info   ] shader: Compiling shader : colortexturedquad.frag
[error  ] GLWrap: Error in shader colortexturedquad.frag
[error  ] GLWrap: 0(81) : error C7011: implicit cast from "vec4" to "f16vec4"
n4hw3ll
 
Posts: 4
Joined: 24 Mar 2017, 00:17

Re: [bug]green yellow red screen

Postby deve » 24 Mar 2017, 15:48

Thanks a lot for the log. Indeed there are some issues. It's certainly not a problem with vcredist. There are some errors during shaders compilation. Not sure why it complains, maybe because of:
{l Code}: {l Select All Code}
    if (type == GL_FRAGMENT_SHADER)
        code << "precision mediump float;\n";

in shader_files_manager.cpp ? Btw. I think that it should be "highp" (on most desktop graphics cards mediump and highp are equal anyway). At least I had some errors when I was using different precisions for vertex and fragment shaders in OpenGL ES.

You can try to update your drivers if it's possible (STK works just fine for me on geforce gt 635m, so it should work on gt 610 too). But I will see if it can be easily fixed anyway.
deve
 
Posts: 182
Joined: 23 Jan 2014, 13:45

Re: [bug]green yellow red screen

Postby deve » 24 Mar 2017, 22:27

@n4hw3ll I made one fix in this commit:
https://github.com/supertuxkart/stk-cod ... a96a13f396

I really don't see any other reason why it tries to use f16vec4.

Second thing is that you can open graphical_restrictions.xml file and change
{l Code}: {l Select All Code}
  <card contains="NVIDIA"         os="windows"  version="<344.65"  disable="BufferStorage"/>

to
{l Code}: {l Select All Code}
  <card contains="NVIDIA"         os="windows"   disable="BufferStorage"/>

because your drivers don't report version.
deve
 
Posts: 182
Joined: 23 Jan 2014, 13:45

Re: [bug]green yellow red screen

Postby n4hw3ll » 25 Mar 2017, 01:39

i hope it doesnt sounds dumb but, where do i find that shader_files_manager.cpp file?
n4hw3ll
 
Posts: 4
Joined: 24 Mar 2017, 00:17

Re: [bug]green yellow red screen

Postby MTres19 » 25 Mar 2017, 01:52

You'll have to build SuperTuxKart from source. Before you run CMake, but after you've cloned the repository, edit stk-code/src/graphics/shader_files_manager.cpp. Then continue with the normal instructions for compiling.
User avatar
MTres19
 
Posts: 150
Joined: 17 Aug 2015, 20:15

Re: [bug]green yellow red screen

Postby QwertyChouskie » 05 May 2017, 00:42

Or you could try the build from here: https://forum.freegamedev.net/viewtopic.php?f=17&t=7408
This has the fix.
User avatar
QwertyChouskie
 
Posts: 107
Joined: 29 Jun 2016, 14:57

Who is online

Users browsing this forum: No registered users and 1 guest