View Issue Details

IDProjectCategoryView StatusLast Update
0002677Spring engineGeneralpublic2012-06-22 15:02
Reporterhoijui Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0002677: map textures is formed out of a few large, single-colored squares
Descriptiontheir color changes when pressing F5 (and goes back to old values when pressing F5 again).
some of them change color when zooming in and out.
Additional InformationBA 7.60
Brazillian Battlefield Remake V2

ATI Radeon 9600

Driver Packaging Version 8.591-090225a-076825C-ATI
Catalyst Version 09.3
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
screen00005.png (Attachment missing)
screen00006.png (Attachment missing)
screen00007.png (Attachment missing)
screen00008.png (Attachment missing)
screen00009.png (Attachment missing)
screen00010.png (Attachment missing)
screen00011.png (Attachment missing)
screen00012.png (Attachment missing)
screen00013.png (Attachment missing)
Checked infolog.txt for Errors

Activities

hoijui

2011-09-26 23:04

reporter   ~0007422

i will try to update GFX driver first...

hoijui

2011-09-26 23:49

reporter   ~0007423

still the same with latest version for my card:
Driver Packaging Version 8.593.100-100210a-095952E-ATI
Catalyst Version 10.2

This problem does not exist with spring release version (0.82.7.1).

abma

2011-09-27 02:06

administrator   ~0007424

i've ati, too, but don't have these problems...

Spring 0.82+.4.0 ({develop}0.82.3-3535-g9187c1b), same map + default config

[f=0000000] GL version: 4.1.11005 Compatibility Profile Context
[f=0000000] GL vendor: ATI Technologies Inc.
[f=0000000] GL renderer: ATI Radeon HD 5700 Series
[f=0000000] GLSL version: 4.10
[f=0000000] GLEW version: 1.5.8
[f=0000000] GL info: FBO=1 NPOT=1 24bitDepth=0 ATiHacks=1

Driver Packaging Version 8.881-110728a-122935C-ATI
CatalystÔäó Version 11.8
Windows XP SP3


only real difference i see is the driver version + NPOT=1 (NPOT=0 at your infolog.txt)...

hoijui

2011-09-28 11:25

reporter   ~0007429

even bigger difference is, i guess, that i have a different card.
While yours is still available today, mine was first released around 2002.

It is not my main machine, so i do not care a lot if i can play/test spring there,
but the machine is generally still fit to play spring, so it would be good to solve this, if it is a general problem.

Kloot

2011-09-28 12:12

developer   ~0007430

probably the map shader failed to compile, dunno why infolog contains nothing about it though (such errors are always logged).

hoijui

2011-09-28 15:00

reporter   ~0007431

Last edited: 2011-09-28 15:01

shaders are compiled on the GPU?
could it be the GPU compiled it wrong, but no error was triggered?
are there config settings i should try, or an other map?

I tried with DSD and the older Brazillian Battlefield, same there.
Also tried with ZeroK, same there.

Kloot

2011-09-29 01:21

developer   ~0007433

Last edited: 2011-09-29 01:31

the choice of map shouldn't matter for development builds (although it _does_ for 0.82.7), either all of them render correctly or none do. however, I just noticed the line "blur api: your hardware does not support shaders": this can show up only when GlobalRendering::haveGLSL is false (which would be inconsistent with "GLSL version: 1.20") or when LuaShaders=0 in .springrc (which does not affect map rendering regardless), so it would be good to know their values.

if GlobalRendering::haveGLSL is true, it might be that validation failed rather than compilation, because only errors from the latter are logged right now. if so, abma's post at least suggests it is only a problem on (very) old ATI's, and for those there is always the /advmapshading command.

there is one test you can do to find out whether the problem is in the shader or the driver: download the map from http://springrts.com/phpbb/viewtopic.php?f=13&t=26729 and load it up in 0.82.7, then turn shadows ON (make sure you do not have them set to -1 in .springrc). if it looks bugged there too, the driver is at fault or the GPU just too old.

(we might need a better check for the shader model used by Spring's default shaders, if we get many cases of old-old GPU's like yours claiming they support GLSL but still being unable to run them)

hoijui

2011-10-01 13:07

reporter   ~0007443

i had:
LuaShaders=0
setting it to 1 made no difference.

turning off advanced map shading with /advmapshading fixed it.
This surely is a good enough workaround for me, and others with very old ATI cards (if it is only that).

GlobalRendering::haveGLSL.. i don't know. is there an other way then using gdb to find out? i can try with buildbot supplied debug info next time i am on the machine. (self compiled binaries are totally broken).

tvo

2011-11-17 21:14

reporter   ~0007626

Last edited: 2011-11-17 21:21

I have this too (in release branch).

Fedora 16 / nVidia 9300M G / clean .springrc

In infolog is this:

[f=0000000] Creating ShadowHandler & DecalHandler
[f=0000000] Warning: [CreateShaderObject]
        shader-object name: GLSL/GroundDecalsVertProg.glsl, compile-log:

[f=0000000] Warning: [CreateShaderObject]
        shader-object name: GLSL/GroundDecalsFragProg.glsl, compile-log:

[f=0000000] Creating GroundDrawer
[f=0000000] Loading Tile Files
[f=0000000] Reading Tile Map
[f=0000000] Loading Square Textures
[f=0000000] CSMFGroundTextures::ConvolveHeightMap: 7 ms
[f=0000000] Warning: [CreateShaderObject]
        shader-object name: GLSL/SMFVertProg.glsl, compile-log:

[f=0000000] Warning: [CreateShaderObject]
        shader-object name: GLSL/SMFFragProg.glsl, compile-log:

tvo

2011-11-17 21:46

reporter   ~0007627

Ah nm, my bad. Nvidia driver version mismatch (kernel module vs libs), reboot solved it.

Issue History

Date Modified Username Field Change
2011-09-26 23:03 hoijui New Issue
2011-09-26 23:03 hoijui File Added: infolog.txt
2011-09-26 23:04 hoijui Note Added: 0007422
2011-09-26 23:04 hoijui File Added: screen00005.png
2011-09-26 23:04 hoijui File Added: screen00006.png
2011-09-26 23:04 hoijui File Added: screen00007.png
2011-09-26 23:04 hoijui File Added: screen00008.png
2011-09-26 23:04 hoijui File Added: screen00009.png
2011-09-26 23:05 hoijui File Added: screen00010.png
2011-09-26 23:05 hoijui File Added: screen00011.png
2011-09-26 23:05 hoijui File Added: screen00012.png
2011-09-26 23:05 hoijui File Added: screen00013.png
2011-09-26 23:49 hoijui Note Added: 0007423
2011-09-27 02:06 abma Note Added: 0007424
2011-09-28 11:25 hoijui Note Added: 0007429
2011-09-28 12:12 Kloot Note Added: 0007430
2011-09-28 15:00 hoijui Note Added: 0007431
2011-09-28 15:01 hoijui Note Edited: 0007431
2011-09-29 01:21 Kloot Note Added: 0007433
2011-09-29 01:23 Kloot Note Edited: 0007433
2011-09-29 01:26 Kloot Note Edited: 0007433
2011-09-29 01:28 Kloot Note Edited: 0007433
2011-09-29 01:31 Kloot Note Edited: 0007433
2011-10-01 13:07 hoijui Note Added: 0007443
2011-11-17 21:14 tvo Note Added: 0007626
2011-11-17 21:19 tvo Note Edited: 0007626
2011-11-17 21:21 tvo Note Edited: 0007626
2011-11-17 21:46 tvo Note Added: 0007627
2012-06-22 15:02 Kloot Status new => closed
2012-06-22 15:02 Kloot Resolution open => no change required