Can't see any shadows!

Can't see any shadows!

Postby zequinha » 11 Mar 2016, 22:38

Hi guys!

I've got a problem when I run SuperTuxKart: I get no shadows!! I am running ubuntu 64 bit. However, for some reason, I did get shadows in a previous ubuntu install on this computer. But I can't get them anymore.

When I run glxinfo | grep OpenGL in a terminal I get:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:


I get the following terminal output when I run SuperTuxKart:

[verbose ] main: Error messages and other text output will be logged to /home/xxx/.config/supertuxkart/0.8.2/stdout.log.
[info ] [FileManager]: Data files will be fetched from: '/usr/local/share/supertuxkart/data/'
[info ] [FileManager]: User directory is '/home/xxx/.config/supertuxkart/0.8.2/'.
[info ] [FileManager]: Addons files will be stored in '/home/xxx/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/xxx/.cache/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/xxx/.local/share/supertuxkart/grandprix/'.
[info ] [FileManager]: Asset 0 will be loaded from '/usr/local/share/supertuxkart/data/challenges/'.
[info ] [FileManager]: Asset 1 will be loaded from '/usr/local/share/supertuxkart/data/gfx/'.
[info ] [FileManager]: Asset 2 will be loaded from '/usr/local/share/supertuxkart/data/grandprix/'.
[info ] [FileManager]: Asset 3 will be loaded from '/usr/local/share/supertuxkart/data/gui/'.
[info ] [FileManager]: Asset 4 will be loaded from '/usr/local/share/supertuxkart/data/library/'.
[info ] [FileManager]: Asset 5 will be loaded from '/usr/local/share/supertuxkart/data/models/'.
[info ] [FileManager]: Asset 6 will be loaded from '/usr/local/share/supertuxkart/data/music/'.
[info ] [FileManager]: Asset 7 will be loaded from '/usr/local/share/supertuxkart/data/tracks/'.
[info ] [FileManager]: Asset 8 will be loaded from '/usr/local/share/supertuxkart/data/sfx/'.
[info ] [FileManager]: Asset 9 will be loaded from '/usr/local/share/supertuxkart/data/shaders/'.
[info ] [FileManager]: Asset 10 will be loaded from '/usr/local/share/supertuxkart/data/skins/'.
[info ] [FileManager]: Asset 11 will be loaded from '/usr/local/share/supertuxkart/data/textures/'.
[info ] [FileManager]: Asset 12 will be loaded from '/usr/local/share/supertuxkart/data/ttf/'.
[info ] [FileManager]: Asset 13 will be loaded from '/usr/local/share/supertuxkart/data/po/'.
[verbose ] translation: Env var LANGUAGE = 'en_GB:en'.
[verbose ] translation: Language 'English (Great Britain)'.
[warn ] tinygettext: os.po: warning: ignoring, unknown language
[warn ] tinygettext: sc.po: warning: ignoring, unknown language
[warn ] tinygettext: sco.po: warning: ignoring, unknown language
Adding language fallback en
[warn ] tinygettext: os.po: warning: ignoring, unknown language
[warn ] tinygettext: sc.po: warning: ignoring, unknown language
[warn ] tinygettext: sco.po: warning: ignoring, unknown language
Irrlicht Engine version 1.8.0
Linux 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadFBConfig

[warn ] [IrrDriver Temp Logger]: Level 2: From call : unknown

[warn ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[warn ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[warn ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[info ] IrrDriver: OpenGL version: 3.3
[info ] IrrDriver: OpenGL vendor: X.Org
[info ] IrrDriver: OpenGL renderer: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.0)
[info ] IrrDriver: OpenGL version string: 3.3 (Core Profile) Mesa 11.0.2
[info ] GLDriver: AMD Vertex Shader Layer Present
[info ] GLDriver: ARB Buffer Storage Present
[info ] GLDriver: ARB Base Instance Present
[info ] GLDriver: ARB Draw Indirect Present
[info ] GLDriver: ARB Texture Storage Present
[info ] GLDriver: ARB Multi Draw Indirect Present
[info ] GLDriver: ARB Uniform Buffer Object 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 94 glyphs supporting 152 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
[info ] shader: Compiling shader : texturedquad.vert
[info ] shader: Compiling shader : uniformcolortexturedquad.frag
[info ] shader: Compiling shader : colortexturedquad.vert
[info ] shader: Compiling shader : colortexturedquad.frag
[info ] HTTPRequest: Downloading http://addons.supertuxkart.net/dl/xml/news.xml
[warn ] Track: NavMesh is not found for arena Soccer field, disable AI for it.

[info ] GrandPrixManager: Loading Grand Prix files from /usr/local/share/supertuxkart/data/grandprix/
[info ] GrandPrixManager: Loading Grand Prix files from /home/xxx/.local/share/supertuxkart/grandprix/
[info ] addons: Using cached addons.xml.
[info ] HTTPRequest: Downloading
[info ] HTTPRequest: Downloading
[info ] HTTPRequest: Downloading
[info ] HTTPRequest: Downloading
[info ] HTTPRequest: Downloading
[info ] HTTPRequest: Downloading



What can be done to get those shadows up and running?


Thanks
Zequinha
zequinha
 
Posts: 32
Joined: 27 Jul 2014, 09:41

Re: Can't see any shadows!

Postby deve » 12 Mar 2016, 23:26

You need proprietary amd drivers to make it working. Shadows don't work with mesa drivers for now. For more info there is a bug report on STK github. "No shadows nor global ilumination" or something similar.
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Re: Can't see any shadows!

Postby zequinha » 20 Mar 2016, 02:10

Thanks! What is the name of the proprietary amd drivers required to have shadows working?
zequinha
 
Posts: 32
Joined: 27 Jul 2014, 09:41

Re: Can't see any shadows!

Postby Arthur » 20 Mar 2016, 02:37

See this post, you will probably have a similar program, and in that screenshot you need to select the second (fglrx) or third one (fglrx-updates) and click apply. Hopefully this will solve the missing shadows.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Who is online

Users browsing this forum: No registered users and 1 guest

cron