Solar 2 > Algemene discussies > Details van topic
[LINUX] RyuzakiKK 12 jan 2013 om 1:33nm
How to enable v-sync?
I'm running Solar 2 under Linux, but I have an average of 1000 fps and my graphic card do a strange sound (it normally do this sound when I excess 300-400 fps).
So I'd like to enable v-sync but in the option I can't find how to do it. There is an hidden command?
Thanks.
Laatst bewerkt door [LINUX] RyuzakiKK; 12 jan 2013 om 1:37nm
1-3 van 3 reacties weergegeven
< >
Murudai  [ontwikkelaar] 12 jan 2013 om 10:01nm 
Press the ~ key (top left of keyboard under ESC). That'll bring up the debug overlay. Under 'vsync' does it say '1.0' or '0.0'? Vsync should be enabled by default, so if that value is '1.0' then it's enabled in the game, and it might be a setting on your graphics drivers that's overriding it.

To set vsync manually, make a file called 'display.txt' and put it in the main folder where solar2.sh is. In that display.txt file put a line exactly as:

VSync: true

That'll force enable vsync, but like I said it should be enabled by default anyway.
Laatst bewerkt door Murudai; 12 jan 2013 om 10:03nm
[LINUX] RyuzakiKK 13 jan 2013 om 1:28vm 
vsync is true (1.0), but I have more than 60 fps.
I tried to put the file display.txt but nothing.
When I open the game I have this warning https://dl.dropbox.com/u/54456756/Screenshot%20from%202013-01-13%2010%3A13%3A56.png

And I noticed that when I'm in game the value of IsFixedTimeStep is 0.0 and the fps are around 1000 https://dl.dropbox.com/u/54456756/Screenshot%20from%202013-01-13%2010%3A17%3A33.png

But when I press Esc the fps go to 60 (vsync works) and the value of isFixedTimeStep change to 1.0 https://dl.dropbox.com/u/54456756/Screenshot%20from%202013-01-13%2010%3A17%3A21.png

Is this normal?

EDIT:When I pressed stamp the game opened the menu, but when I'm in game the isFixedTimeStep is 0.0
Laatst bewerkt door [LINUX] RyuzakiKK; 13 jan 2013 om 1:42vm
[LINUX] RyuzakiKK 13 jan 2013 om 4:13vm 
I solved enabling from AMD Catalyst Control Center the option "Enable Tear free Desktop to reduce tearing".
Thanks murudai for your answer.
1-3 van 3 reacties weergegeven
< >
Per pagina: 15 30 50