Page 1 of 1

Spring 101.0 on linux r600g radeon freedom drivers

Posted: 03 Mar 2016, 13:17
by pheldens
Seems broken on linux r600g radeon freedom drivers


EE r600_state.c:2115 r600_adjust_gprs - shaders require too many register (114 + 18 + 0 + 0) for a combined maximum of 128


doesnt render any textures

this all worked OK in spring 100


https://imgur.com/dheuYov

lua 5.1.5
boost 1.60

Re: Spring 101.0 Released

Posted: 03 Mar 2016, 13:21
by Silentwings
Ideally, please report bugs to mantis (the link to https://springrts.com/mantis is at the top of this page) and attach your infolog.txt when doing so.

Re: Spring 101.0 on linux r600g radeon freedom drivers

Posted: 03 Mar 2016, 13:52
by Kloot
this all worked OK in spring 100
100.0 disabled shaders with mesa drivers unlike 101.0, and this is clearly not a new issue: viewtopic.php?p=476067#p476067
or the world looks lightblue
128 is a ridiculously low combined (looking at the gallium code, vertex + fragment + geometry + tessellation-eval) register limit, and you should not expect Spring shaders to stay below it.

Re: Spring 101.0 on linux r600g radeon freedom drivers

Posted: 03 Mar 2016, 14:06
by abma
can you please provide infolog.txt?

which kernel version / mesa version do you use? very likely an update already fixes your issues.
pheldens wrote:this all worked OK in spring 100
spring 100 default disabled shaders when an opensource driver was detected, spring 101 default enables it as the drivers heavily improved!

https://github.com/spring/spring/commit ... 94f5933660

to get the same behaviour in spring 101.0 afaik you have to set:

LuaShaders = 0
AdvMapShading = 0
AdvUnitShading = 0

in springsettings.cfg

i'm running spring with an os drivers on an ATI card and don't have such issues... (with default spring config).

Re: Spring 101.0 on linux r600g radeon freedom drivers

Posted: 03 Mar 2016, 14:16
by hokomoko
ForceShaders=0
should force all the others as well afaik.