VSync issues in Windows 10
I recently upgraded to Win10 64Bit Pro and tried running Freelancer vanilla with patch 1.1 installed.
The game starts fine and is playable. Before starting it Win10 needed to install the “DirectPlay” feature.
The only problem is in Full Screen mode the VSync is off the I get about 180 fps which causes a not fluent gameplay due to huge fps spikes.
I tried to lock VSync to ON via NVidia drivers for my GTX 980 Ti, but the game ignores all VSync related settings.
I only get 60fps when starting the game windowed via the -w command switch.
How do I lock the FPS to 60fps in full screen mode?
With hex editor - 010 editor or whatever you like.
common.dll 01A74C 200f = maximum FPS PART 1 ~adoxa common.dll 01A892 2CB239->0x4CA727 = maximum FPS PART 2 ~adoxa
Also you might wanna look at foxunit01’s collection of offsets that would enhance your gameplay. You find full list here
What I really want to do is to enable VSync in the driver and not limiting the ingame engine to 60 fps. I think this bug must be connected with the new Window Desktop Manager of Windows 10.
Freelancer seems to run on the desktop somehow emulated because the driver settings for VSync are ignored all the way.
Does anybody else have these problems with VSync permanently off and Win10 running?
I thank you for the codes but I don’t want to mess around with the code and first want to try to fix it in the driver.
During Win7 days I used DXTweaker to force VSync ON and Triple Buffer.
When starting Freelancer windowed via -w switch it runs 60 fps locked, but it is not playable because the mouse pointer is not locked to the borders.
Well you must edit the values at those offsets in a hex editor.
Anyway i uploaded common.dll from Freelancer folder/EXE/ for the game version 1.1 (i presume you have already this version).
Just replace the one you have with this one (make a backup for safety anytime). Its edited with a 60 fps instead of 200 default.
Thank you for the file!
It limits the frame rate to 58 fps but the gameplay stutters heavily. The main menu is unlocked at 180 fps and gameplay locked to about 58 - 59 fps (measured with fraps).
I don’t think it can be solved by editing the engine files.
I wonder if anybody here can play the game with Win10 Pro 64bit with 60fps and VSync on.
Before giving up with the built-in frame limiter I’d recommend trying again with a cap a bit above 60. Having it below 60 means it won’t look good on a 60Hz monitor, but a bit above 60 might help alleviate that somewhat. It won’t be perfect, but it’ll be better than nothing.
You can also use something like this:
to run the game in a borderless window, which would lock it at 60 fps in fullscreen and also allows locking the mouse to the game’s window.
Another solution would be virtualization. Running in a Win7 virtualized should work very good.
You can try VirtualBox or VMWare.
Really didn’t know Microsoft made such major changes in Win10 (i know, tablet and laptop or desktop running same OS with similar performances), seeing second person that complains about compatibility to FL, I’ll think more about an upgrade.
Thank you for all this input to my concern. It’s remarkable how alive the community is, even after all those years since the release of the game.
I will try the border-less windowed solution and will give a feedback.
I’m still trying to figure out what causes this VSync permanent off, but so far I haven’t had any success.
@FriendlyFire: What’s your hardware config? Do you play vanilla patched 1.1 version, too? I have Win10 Build 1511.
I’m playing modded all the time, so my FPS doesn’t really get all that high, and I rarely play with other people so I’m not particularly bothered by the skipping that happens at high FPS.
I’ve been unable to get FL’s built in frame rate limiter to work as well, but I don’t think it’s got anything to do with Windows 10. I’ve been able to use V-Sync fine (GTX780) though, which is why I’m confused by your situation.
You could also try using RivaTuner, it occasionally can do a better job than the drivers at forcing that kind of option.
So I tried Borderless Gaming.
The aspect ratio is stretched to both sides and the mouse pointer is a bit jumpy in game. But the gameplay is a lot better.
I don’t understand how anybody could play above 60hz due to the erratic display behaviour. I mean just unlock the frames in Freelancer and turn circles and you can see instantly how irregular the frame rate is.
I will try to install Freelancer on a second Win 10 machine which has an GT 740 nvidia passive card. This PC has a fresh install of Windows 10.
The one PC I tried Freelancer on earlier just has the Windows 10 Upgrade without installing all apps.
So I tried installing Freelancer on a fresh installed (not upgraded) Win10 64-bit version. Installation and patching went OK, but after starting the game in Fullscreen 1600x1200x32 resolution and using Fraps to determine fps it was the same scene 180+ frames per second.
This PC has Nvidia 740 passive graphics card.
My other 2 PCs are identical and have Core i7-6700K and GTX 980 Ti cards. Both upgraded to Win 10 64-bit.
I think it must have something to do with the DirectPlay feature which is required to run Freelancer.
My comments about the VSync were not meant in any way to offend people who turn this feature off. I’m used to gaming with VSync ON and therefore I immediately notice screen tearing.
Does anybody have a working full screen mode with VSync ON?