Running Spring in Linux issue

Running Spring in Linux issue

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
alik83
Posts: 82
Joined: 08 Sep 2004, 15:32

Running Spring in Linux issue

Post by alik83 »

I need some help: I tried running Spring in Linux with latest opensource dri drivers for Radeon(r100 type card, radeon.dri driver) so
when the camera is over the terrain with no units I get 50-60 FPS, but when I move the camera over any unit(like my commander) the FPS slows immediately to 9 FPS, what type of acceleration is not working here? (My glxgears test runs at about 2000FPS)
What kind of options in the videocard might be responsible for that (texture quality, model drawing options?) Are OpenGL extensions responsible for that?
Is there a way to change some options in spring itself? (there is no rtssetting for linux I think)
Any help appreciated
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

there is a file named .springrc somewhere I think, although I'm not a linux user...
It has the same configuration options as the windows config application.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

I could say you are partially lucky. For me the whole map and units are white (also old radeon, using open source drivers).

About the config: there is indeed a .springrc created in my home directory when I start spring, but I doesn't seem as it is reading the data from it.

The new lobby (trunk/omni) has a menu with settings, and saves them in its own configuration (named .omni). I have made some small improvements to the lobby and sent them so I'm a bit familiar with omni, maybe I will look also into the springrts setting.

But please tell me if you figure out/or if .springrc is working for you. I started omni, made changes and then copied the setting from .omni to .springrc, but observed no difference. And (recurring theme) I don't have time to look in spring now to see why it is not loading the .springrc
alik83
Posts: 82
Joined: 08 Sep 2004, 15:32

well

Post by alik83 »

Well,
.springrc settings does work,
To make textures on old radeon non-white use the driconf utility from dri.freedesktop.org (i think) and enable the texture compression on 2-nd tab.

Actually settings in .springrc work, for ex. I put
GroundDecals=0
and tracks were removed, lowered all other settings, but that didn't help my FPS much, when there are units in view...
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

Great they work. I tried with the resolution and didn't see a change. I will try GroundDecals also.

Thanks for the tip about white units, but anyway I think I will buy a new card as I can't do much with this one.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

Ok. Got driconf but I don't have anything about texture compression. Any ideas ?

The output of lspci:

Code: Select all

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
(GroundDecals is working for me too, but resolution no....)
Post Reply

Return to “Engine”