I kindly ask you not to edit the article , since you are misinforming about how vsync works in Serious Sam 2.
Here I leave you a test video so you can see that it works.and that vsync does not reduce performance as you claim
Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.
Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.
Not editable
Content is available under Creative Commons Attribution Non-Commercial Share Alike unless otherwise noted.
I kindly ask you not to edit the article , since you are misinforming about how vsync works in Serious Sam 2.
Here I leave you a test video so you can see that it works.and that vsync does not reduce performance as you claim
The problem is that it doesn't actually syncs anything and tearing is still there, this is easily verifiable with RivaTuner by enabling the FCAT overlay (Enable frame color indicator > 2 bars). SpecialK overlay also says that there isn't any Vsync within the D3D9 SwapChain. https://i.imgur.com/9Y40rhm.png
At this point, I feel Diegoelcapo1231 should state what version of Serious Sam 2 he's using for testing.
I guess i've figured it out. Vsync only works only after a restart, so toggling it ingame doesn't have immediate effect. Using IndirectSound helps to get 60 fps at 60 Hz, but going higher (240 Hz in my case) still shows some performance loss (up to 50%). So anyway it's busted, better force Vsync from the GPU driver or other tools.
Also, the page lists DirectSound 3D restoration software as a whole, but using DSOAL (which i always use for EAX enabled games) doesn't give any improvement, unlike IndirectSound.
Just out of curiosity, where is the option in the game to use the OpenGL API because I can't find it in the steam version
It's a config/console variable: gfx_iAPI = 1 for OpenGL gfx_iAPI = 2 for D3D9.
Investigated further - this doesn't have anything to do with 3D audio capability, but with system timer resolution, which IndirectSound raises to 1 ms (the default is 15.625 ms) within the game' process. The game applies some additional logic when enabling Vsync (like calling a Sleep() or some other function which delays code execution). Using Special K and ticking Sleepless Render Thread option removes all such delays.
I just tried it and your solution works perfectly. It's a shame that there isn't a more automatic solution than copying and pasting a file.
It would be good to know if these other games are solved with this solution since they present the same or very similar problem as Serious Sam 2.
https://www.pcgamingwiki.com/wiki/Rayman_Raving_Rabbids#Framerate_is_locked_at_32_FPS https://www.pcgamingwiki.com/wiki/The_Incredibles#Stuttering_framerate https://www.pcgamingwiki.com/wiki/The_Incredibles:_Rise_of_the_Underminer