Non-Working Shaders (Linux)

Non-Working Shaders (Linux)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
SylvesterInk
Posts: 2
Joined: 13 Aug 2016, 08:08

Non-Working Shaders (Linux)

Post by SylvesterInk »

When I run Spring (Zero-K) on Linux, only the most basic graphical effects are available. Trying to enable any shader-related effects gives me an error about lack of GLSL/ARB support for my hardware.
My hardware is fairly recent, as is my distribution release (Slackware 14.2 with the 4.6 kernel). I am using the AMDGPU driver for my videocard, which is an AMD R9 Fury. The hardware details are in the provided infolog.txt.

The issue seems isolated to shaders, as the rest of the game runs perfectly fine.
The infolog can be found here:
http://paste.springfiles.com/view/6194f2b5
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Non-Working Shaders (Linux)

Post by gajop »

ATI cards tend to work poorly with Spring, but try setting ForceShaders=1 in springsettings.cfg
SylvesterInk
Posts: 2
Joined: 13 Aug 2016, 08:08

Re: Non-Working Shaders (Linux)

Post by SylvesterInk »

Looks like that did it. Thanks!
As for ATI cards and Spring, is that with the old, Catalyst drivers, or is it across all drivers? The new, AMDGPU drivers are pretty darn amazing, and since they are open source and conform to standards, I would think that Spring would work quite nicely with them.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Non-Working Shaders (Linux)

Post by gajop »

It might actually work with them (same with the Intel drivers), but the GLSL(or ARB) shader support autodetection is poor. It tends to veer on the side of caution and disable it by default on both ATI and Intel cards.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Non-Working Shaders (Linux)

Post by abma »

gajop wrote:ATI cards tend to work poorly with Spring, but try setting ForceShaders=1 in springsettings.cfg
thats not true. the problem is that most shaders in spring are poorly written and are only tested / developed with nvidia cards. Current ATI/Intel OS drivers are much more standard-conform than the binary drivers.

idk why the automatic detections fails here, possible an issue of static binary build of spring.


@SylvesterInk:

did you try with spring 103.0? infolog.txt is from spring 100.0.
Post Reply

Return to “Help & Bugs”