Black textures on Ubuntu 12.04/9.1

Black textures on Ubuntu 12.04/9.1

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Black textures on Ubuntu 12.04/9.1

Post by Johannes »

I recently upgraded from Ubuntu 11.04 to 12.04 on my laptop, and soon after downloaded Spring 91.0 for it. Previously I had 85.0 on this machine and it worked fine. Probably related is that there's only an Intel Gfx card here.

And then when I launch it, all I get is black textures and unit icons won't show when zoomed out. F1/F2/F4 do work but are still darker than usual.


Not sure what's causing this, the switch in OS version or in Spring version, screenie and infolog attached.
Any ideas how to fix this?
Attachments
infolog.txt
(19.36 KiB) Downloaded 20 times
screen00080.png
(240.3 KiB) Downloaded 2 times
User avatar
Silentwings
Moderator
Posts: 3686
Joined: 25 Oct 2008, 00:23

Re: Black textures on Ubuntu 12.04/9.1

Post by Silentwings »

I had this same bug on win7 when I upgraded spring version - solved it by upgraded graphics drivers. But for linux its probably going to be different.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10367
Joined: 24 Jan 2006, 21:12

Re: Black textures on Ubuntu 12.04/9.1

Post by PicassoCT »

Only ubuntu ever accomplished full stealth spring...


still at least its not tiled
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Black textures on Ubuntu 12.04/9.1

Post by Johannes »

Silentwings wrote:I had this same bug on win7 when I upgraded spring version - solved it by upgraded graphics drivers. But for linux its probably going to be different.
Ok, then it's probably not linked to the OS change, just the Spring version update.

Got newer drivers with
http://www.ubuntuupdates.org/ppa/xorg-e ... st=precise
but nothing changed.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Black textures on Ubuntu 12.04/9.1

Post by jK »

You need to enable DXT texture compression in MESA ...
or enable your Nvidia GPU if there is one.
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Black textures on Ubuntu 12.04/9.1

Post by Johannes »

S3TC texture compression (same thing as far as I've understood?) is enabled.

Also noticed that if I zoom really close to the ground, I can see the texture. But almost any zoom from minimum height brings up this black fog.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Black textures on Ubuntu 12.04/9.1

Post by jK »

then do a `/advmapshading`
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Black textures on Ubuntu 12.04/9.1

Post by Johannes »

No effect, beyond the message of disabling/enabling. So should it be 1 or 0, in further testing?


Noticed something else though by chance. Maps with Voidwater behave differently (regardless if there's actual water on it). They just... Disappear, so you only see the skybox behind the map. Again you can see the map texture when zoomed in to the max.


And there's some more errors on the infolog now, I guess it's due to installing the bleeding edge graphics drivers. So uploaded a new one. It only puts out the error after exiting, though, as it does here:
http://springrts.com/mantis/view.php?id=3312&nbn=9
Could be unrelated to the main issue here though.
Attachments
infolog.txt
(25.93 KiB) Downloaded 18 times
varikonniemi
Posts: 447
Joined: 03 Jul 2011, 11:54

Re: Black textures on Ubuntu 12.04/9.1

Post by varikonniemi »

Did you try x-swat before the x-edgers?

Also the switch --safemode might help.
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Black textures on Ubuntu 12.04/9.1

Post by Johannes »

--safemode got it to work, and after trying through the tags it changes, changing LoadingMT=2 into -1 or 0 worked. Thanks! Not sure when or why I've changed it to 2.


When playing a game I got some really weird graphic glitches though, with units disappearing and fighters occasionally looking like bulldogs, among other things. Gonna get rid of x-edgers and hopefully that'll stabilize that.
Post Reply

Return to “Linux”