MT Spring & missing textures.

MT Spring & missing textures.

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
[LOeT]Brenner
Posts: 25
Joined: 19 Oct 2011, 01:33

MT Spring & missing textures.

Post by [LOeT]Brenner »

Hello, guys. May be someone has an advice for me about MT-spring?

I have a problem using MT-Spring. All units/buildings are white. No colours at all. Changing AdvUnitShading from 0 to 1 turns all units/buildings from white to invisible (if finished building).

I had the same problem with ground (ground was black) & fixed it by turning the AdvMapShading off (0). Textures became visible & colored.

My graphic card is NVidia Quadro 2000m. Windows 7. i7-2860QM.

I also tried some different settings (spring & driver) & many different versions of graphic driver, but it didnt help.

Everything works fine with "normal" spring, not MT.

Edit: Added a screenshot. :)
Also the red-minimap is white.
Attachments
screen00002.png
(2.65 MiB) Downloaded 1 time
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: MT Spring & missing textures.

Post by Silentwings »

Which version of spring is this? The current live or one of the testing versions?

If it's not the latest testing release, have a go with that since http://springrts.com/mantis/view.php?id=3318 might have something to do with it.

Attaching infolog would be helpful :P
[LOeT]Brenner
Posts: 25
Joined: 19 Oct 2011, 01:33

Re: MT Spring & missing textures.

Post by [LOeT]Brenner »

Hey, Silentwings! Thanks for trying to help!

I followed your link & if i understand it correct, i need to change something in some files. For example in 3DOTextureHandler.cpp.
But i dont have such files on my computer. :?

I added the infolog.txt. :wink:

Edit: spring 0.91.
Attachments
infolog.txt
(24.81 KiB) Downloaded 29 times
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: MT Spring & missing textures.

Post by Silentwings »

I followed your link & if i understand it correct, i need to change something in some files.
Sorry, I was only trying to ask if the bug you saw was the same bug as that report on mantis (& if it is, it seems fixed in next spring version - test with http://springrts.com/phpbb/viewtopic.php?f=12&t=29792). You won't find any .cpp files (cpp is C++) for spring on your computer, because by the time they reach you they have been compiled into an executable :wink:

The important lines in your infolog seem to be:

[quote][f=0000000] Creating Sky
[f=0000000] Warning: FBO-ADVSKY: None/Unsupported textures/buffers attached!
[f=0000000] Error: [GetSky] error: ADVSKY: FBO is unavailable (falling back to BasicSky)
[f=0000000] Creating ShadowHandler & DecalHandler
[f=0000000] Warning: FBO-SHADOW: None/Unsupported textures/buffers attached!
[f=0000000] Warning: FBO-SHADOW-GL_CLAMP_TO_EDGE: None/Unsupported textures/buffers attached!
[f=0000000] Warning: FBO-SHADOW-GL_ALPHA4: None/Unsupported textures/buffers attached!
[f=0000000] Warning: FBO-SHADOW-GL_RED: None/Unsupported textures/buffers attached!
[f=0000000] Error: [Init] failed to initialize depth-texture FBO
[f=0000000] Creating GroundDrawer
[f=0000000] Loading Tile Files
[f=0000000] Reading Tile Map
[f=0000000] Loading Square Textures
[f=0000000] CSMFGroundTextures::ConvolveHeightMap: 4 ms
[f=0000000] Switching to ROAM Mesh Rendering
[f=0000000] Creating TreeDrawer
[f=0000000] Warning: FBO-FARTEXTURE: None/Unsupported textures/buffers attached!
[f=0000000] Creating ProjectileDrawer & UnitDrawer
[f=0000000] Creating Projectile Textures
[f=0000000] Warning: FBO-PERLIN: None/Unsupported textures/buffers attached![/quote]


Maybe try setting AdvSky and 3dtrees to 0 (with spring.exe -> edit settings) and turning off shadows (using springsettings). Does that help?
[LOeT]Brenner
Posts: 25
Joined: 19 Oct 2011, 01:33

Re: MT Spring & missing textures.

Post by [LOeT]Brenner »

So, we talked about it in chat, but for someone else, who may be reading it:

1. Same problem in spring 0.93 testing release.
2. Turning off AdvSky didnt help (already turned off shadows & 3d trees before).

Thanks again for help, Silentwings!
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: MT Spring & missing textures.

Post by zerver »

NVidia Quadro
Try MultiThreadShareLists = 0
[LOeT]Brenner
Posts: 25
Joined: 19 Oct 2011, 01:33

Re: MT Spring & missing textures.

Post by [LOeT]Brenner »

Hey, Zerver!

Like i said in battleroom chat "MultiThreadShareLists = 0" didnt help, but "LoadingMT = 0" did help! I hope, that "safe mode" will bring me more fps! :)

Thanks a lot for help! :D

How did you find out, what the problem was? What does it have to do with Quadro graphic cards?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: MT Spring & missing textures.

Post by zerver »

You're welcome!

I'm not sure but it is likely that Quadro cards require more strict synchronization (for multithreading) than consumer cards because the architecture is more advanced.
Either that, or just a widespread driver bug.

I have a Quadro FX 1600M and it has none of these problems, with a 32bit driver.

Relevant mantis reports:
http://springrts.com/mantis/view.php?id=2884
http://springrts.com/mantis/view.php?id=2784
fruehling
Posts: 17
Joined: 24 Nov 2010, 20:49

Re: MT Spring & missing textures.

Post by fruehling »

I also do have a NVidia Quadro 2000m. Looks like I have the same problem with MT.

/advmapshading makes the map look right (before it was black).

Where can I set "LoadingMT = 0" and what does it do? I mean if then MT switched off MT I can just go with the normal exe, which is working fine ...
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: MT Spring & missing textures.

Post by zerver »

Start spring-multithreaded.exe, choose Edit settings.

No, LoadingMT does not turn off MT - it makes the loading (startup phase) of the game singlethreaded.
fruehling
Posts: 17
Joined: 24 Nov 2010, 20:49

Re: MT Spring & missing textures.

Post by fruehling »

Working fine, thx! :)
Post Reply

Return to “Help & Bugs”