#1 2021-02-09 06:59:42

RaKLeZ
Member
Reputation: +6
Registered: 2014-02-16
Posts: 9
Windows 10 Opera 74.0

Stuttering problem in Battlefield and Windows 10

Hi there,
I bought a new m2 nvme ssd a few days ago and installed Windows 10 pro on it and since then I have been getting lots of stuttering problems in Battlefield which were non-existent when I had Windows 7.  It seems to be a conflict between the game engine (and how it generates frames) and Windows 10. Something related to refresh rate.

Here's how it looks. It might not be that evident (thanks to the low quality of Youtube's codec ) but I hope you will get the idea.


Fps cap at 60, it is really smooth but every ~15 seconds there's a huge stutter: you can see it at 0:07 and 0:24.
https://www.youtube.com/watch?v=QCG0vZJiFWY


Fps cap at 100 (so default settings), constant microstutter, feels more like 30 fps than 100.
https://www.youtube.com/watch?v=fHgaNYbQyz4

I have been experimenting with different settings and for example when I set it at 59 or 61 fps there's a stutter everytime I move.
When I set it at 240fps or 1000fps it resulted in a significant input lag...

The system specs:
Ryzen 2600@4GHz
MSI x370 Gaming Plus
Adata 2x8GB@3400MHz
1060 6GB
Adata s11 pro 512GB
Adata SU900 256GB
Bequiet 600W
Windows 10 pro
EIZO EV2455 60Hz display

Things that I have tried:
Obviously the latest drivers for everything... but I also tried older ones...
Changing vsync options in the NVIDIA's control doesn't override the game settings...
Swapped the video cable DVI>DisplayPort (just in case... you never know...)
Turned off the useless Windows stuff (like "game mode" or "full screen optimizations" and so on)

After this I installed Ubuntu and BF42 using WINE, and it ran without any problems, completely smooth like on Windows 7, but obviously I would like to stick to only one operating system instead of having dual boot  (Windows 10 and linux just for BF) and I cannot really roll back to Windows 7...

Any suggestions appreciated.

Offline

    Positive reputation 0   Negative reputation 0

#2 2021-02-09 10:43:31

dary
Administrator
Reputation: +704
Registered: 2012-05-16
Posts: 3,801
Website
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

Have the same issue, sometimes it's more, sometimes less... I reinstalled it without SW and RtR and ever since it feels it bit more smooth.

Offline

    Positive reputation 0   Negative reputation 0

#3 2021-02-09 12:46:38

deeko
Player
Estonia
Reputation: +394
Registered: 2014-11-07
Posts: 762
Android Chrome 85.0

Re: Stuttering problem in Battlefield and Windows 10

You could try a different version of Windows 10, an older version or Enterprise(ltsc, ltsb).

Offline

    Positive reputation 0   Negative reputation 0

#4 2021-02-09 13:43:04

Anna Nym
FakeNickAdmin
Germany
Reputation: +379
Registered: 2012-10-10
Posts: 474
Windows 10 Firefox 85.0

Re: Stuttering problem in Battlefield and Windows 10

install.... (as administrator and in compatibility mode Win XP SP2)  ?

Offline

    Positive reputation 0   Negative reputation 1

#5 2021-02-09 23:13:08

nämeless
Semi-corrupt admin
Russia
Reputation: +2600
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767
Windows 8 Firefox 85.0

Re: Stuttering problem in Battlefield and Windows 10

Hello. There are settings I use for smoother performance.

> VideoCustom.con

renderer.setVSyncEnabled 1

> Program settings for bf1942.exe

Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast

Offline

    Positive reputation 3   Negative reputation 0

#6 2021-02-10 16:09:55

Lecter
Where´s Clarice?
Portugal
Reputation: +461
Location: Lisbon, Portugal
Registered: 2013-10-12
Posts: 1,138
Windows 10 Firefox 85.0

Re: Stuttering problem in Battlefield and Windows 10

Oh Raklez, very similar to what I have. I actually spoke with Tuia 2 weeks ago and he will be helping me soon to check what´s going on. We believe its win10 and net. I had 5 days smooth as hell, perfect regs, 100% working fine and last weeks I got back to laggy and microsuttering and feeling like I have 500 ping...my new monitor helped a bit but this is an issue way more deeper...

Last edited by Lecter (2021-02-10 16:24:49)

Offline

    Positive reputation 0   Negative reputation 0

#7 2021-02-10 16:14:39

Lecter
Where´s Clarice?
Portugal
Reputation: +461
Location: Lisbon, Portugal
Registered: 2013-10-12
Posts: 1,138
Windows 10 Firefox 85.0

Re: Stuttering problem in Battlefield and Windows 10

dary wrote:

Have the same issue, sometimes it's more, sometimes less... I reinstalled it without SW and RtR and ever since it feels it bit more smooth.


Dary,

Can you please send me a link to download the game without SW and RtR? I deleted mine two days since it was unplayable again but I need to check if your solution may help plus what Nameless suggested as well.

Thank you

Offline

    Positive reputation 0   Negative reputation 0

#8 2021-02-10 18:56:59

dary
Administrator
Reputation: +704
Registered: 2012-05-16
Posts: 3,801
Website
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

nämeless wrote:

Hello. There are settings I use for smoother performance.

> VideoCustom.con

renderer.setVSyncEnabled 1

> Program settings for bf1942.exe

Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast

Thanks man, will try it out.

Offline

    Positive reputation 0   Negative reputation 0

#9 2021-02-10 19:00:58

dary
Administrator
Reputation: +704
Registered: 2012-05-16
Posts: 3,801
Website
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

@Lecter:

https://drive.google.com/drive/folders/ … sp=sharing

Sure, you can use the 4 .iso CDs or simply the BF42installer.zip from Fear of the Dark.

Offline

    Positive reputation 0   Negative reputation 0

#10 2021-02-10 19:08:25

Lecter
Where´s Clarice?
Portugal
Reputation: +461
Location: Lisbon, Portugal
Registered: 2013-10-12
Posts: 1,138
Windows 10 Firefox 85.0

Re: Stuttering problem in Battlefield and Windows 10

Thank you. Ill try it now.

Offline

    Positive reputation 0   Negative reputation 0

#11 2021-02-11 10:03:10

henk
Administrator
Netherlands
Reputation: +261
Registered: 2018-07-07
Posts: 324
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

renderer.setVSyncEnabled requires 2 arguments, both BOOL
with 1 it wont work

Offline

    Positive reputation 0   Negative reputation 0

#12 2021-02-11 12:38:35

joint
Member
Ukraine
Reputation: +1391
Location: Dnepropetrovsk, Ukraine
Registered: 2012-05-24
Posts: 5,982
Android Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

nämeless wrote:

Hello. There are settings I use for smoother performance.

> VideoCustom.con

renderer.setVSyncEnabled 1

> Program settings for bf1942.exe

Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast

I remember vertical sync off helped me with similar issue

Offline

    Positive reputation 0   Negative reputation 0

#13 2021-02-11 16:59:05

s/w
Player
Reputation: +805
Registered: 2017-01-02
Posts: 532
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

I think it was something like 

renderer.setVsyncEnabled 1 0

But it's not worth it in multi-player games.  The input-lag is huge.

Offline

    Positive reputation 0   Negative reputation 0

#14 2021-02-15 06:22:17

RaKLeZ
Member
Reputation: +6
Registered: 2014-02-16
Posts: 9
Windows 10 Opera 74.0

Re: Stuttering problem in Battlefield and Windows 10

Thanks for the feedback.

So the issue is caused by DWM (Desktop Window Manager) and unfortunately it seems to be imposible to bypass, at least for now. When a game is launched in borderless window mode, DWM overrides the game settings and enables both: v-sync and triple buffer. That adds latency and results in input-lag or stuttering (depending on your fps cap in the game). That does not apply when a game is started in exclusive full-screen mode. Now, the problem is, even if you start BF in full-screen, Windows 10 sees it as borderless window and applies its settings. It does not matter if you set v-sync off in your graphics card control panel or in the game console, it does not work anyway... On a 144Hz+ panel the problem is probably mitigated a bit, but if you have a 60Hz monitor and the game feels unresponsive then now you know why. In Windows 7 you can get rid off this issue by simply turning the Aero theme off. In Windows 10 you cannot.

You can read more about it here: https://forums.blurbusters.com/viewtopic.php?t=7168

You can check if your game is affected by this.
Set v-sync off in your graphics card control panel,
then type "renderer.lockfps 60" in the game console,
if you see any screen tearing  then v-sync is disabled as it should be, if not then it is DWM...

https://youtu.be/oc28SH2ESA4?t=250

Offline

    Positive reputation 1   Negative reputation 0

#15 2021-02-15 09:02:57

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 203
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

nämeless wrote:

Hello. There are settings I use for smoother performance.

> VideoCustom.con

renderer.setVSyncEnabled 1

> Program settings for bf1942.exe

Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast


Where are these settings?
"Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast"

Offline

    Positive reputation 0   Negative reputation 0

#16 2021-02-15 09:06:49

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 203
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

Anna Nym wrote:

install.... (as administrator and in compatibility mode Win XP SP2)  ?

And maybe try setting it to ME.

Offline

    Positive reputation 0   Negative reputation 0

#17 2021-02-15 11:25:36

Arkos
Sedmin
Switzerland
Reputation: +2783
Registered: 2014-06-06
Posts: 7,048
Windows 7 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

...

You could try this

Disable DWM permanently.


Only Raklez should try it. He has some experience in reinstalling Windows 10 smile



https://www.youtube.com/watch?v=K_4i6X5OAw8

...

Btw. Is it perhaps possible to disable the service instead of this?

...

Btw. You allready disabled Game-DVR and Game Bar. this can also produce jitters in some games.

...

Last edited by Arkos (2021-02-15 11:46:39)

Offline

    Positive reputation 0   Negative reputation 0

#18 2021-02-15 11:41:34

Arkos
Sedmin
Switzerland
Reputation: +2783
Registered: 2014-06-06
Posts: 7,048
Windows 7 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

Crash wrote:

Where are these settings?
"Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast"

...

nVidia settings > 3D settings > Battlefield 1942

Same for AMD Graficcards

...

Last edited by Arkos (2021-02-15 11:47:22)

Offline

    Positive reputation 0   Negative reputation 0

#19 2021-02-16 01:37:02

Sunshine
Empress of Doom
United States
Reputation: +4767
Registered: 2012-08-14
Posts: 6,778
Website
Android Opera 61.2

Re: Stuttering problem in Battlefield and Windows 10

Is this a common issue with ryzen systems running win 10?

Last edited by Sunshine (2021-02-16 01:38:00)

Offline

    Positive reputation 0   Negative reputation 0

#20 2021-02-16 02:51:25

Zwarrior
Gulag guard
Spain
Reputation: +1006
Location: Lusitania
Registered: 2018-10-14
Posts: 1,380
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

not long ago mine use to turn the screen upside down.

Offline

    Positive reputation 0   Negative reputation 0

#21 2021-02-16 05:57:00

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 203
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

Arkos wrote:
Crash wrote:

Where are these settings?
"Anisotropic filtering off
Max frame rate off
Texture filtering - anisotropic sample optimisation off
Texture filtering - negative LOD bias allow
Vertical sync fast"

...

nVidia settings > 3D settings > Battlefield 1942

Same for AMD Graficcards

...

Ah, maybe thats why people with ATI/radeon cards have trouble with this game.....???

Offline

    Positive reputation 0   Negative reputation 0

#22 2021-02-16 05:58:14

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 203
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

Sunshine wrote:

Is this a common issue with ryzen systems running win 10?

I know of 3 cases of ryzen people that do not have this problem.  ryzen2. ryzen 3 and ryzen 7.  all use nvideo though.

Offline

    Positive reputation 1   Negative reputation 0

#23 2021-02-16 06:56:52

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 203
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

RaKLeZ wrote:

Hi there,
I bought a new m2 nvme ssd a few days ago and installed Windows 10 pro on it and since then I have been getting lots of stuttering problems in Battlefield which were non-existent when I had Windows 7.  It seems to be a conflict between the game engine (and how it generates frames) and Windows 10. Something related to refresh rate.

Here's how it looks. It might not be that evident (thanks to the low quality of Youtube's codec ) but I hope you will get the idea.


Fps cap at 60, it is really smooth but every ~15 seconds there's a huge stutter: you can see it at 0:07 and 0:24.
https://www.youtube.com/watch?v=QCG0vZJiFWY


Fps cap at 100 (so default settings), constant microstutter, feels more like 30 fps than 100.
https://www.youtube.com/watch?v=fHgaNYbQyz4

I have been experimenting with different settings and for example when I set it at 59 or 61 fps there's a stutter everytime I move.
When I set it at 240fps or 1000fps it resulted in a significant input lag...

The system specs:
Ryzen 2600@4GHz
MSI x370 Gaming Plus
Adata 2x8GB@3400MHz
1060 6GB
Adata s11 pro 512GB
Adata SU900 256GB
Bequiet 600W
Windows 10 pro
EIZO EV2455 60Hz display

Things that I have tried:
Obviously the latest drivers for everything... but I also tried older ones...
Changing vsync options in the NVIDIA's control doesn't override the game settings...
Swapped the video cable DVI>DisplayPort (just in case... you never know...)
Turned off the useless Windows stuff (like "game mode" or "full screen optimizations" and so on)

After this I installed Ubuntu and BF42 using WINE, and it ran without any problems, completely smooth like on Windows 7, but obviously I would like to stick to only one operating system instead of having dual boot  (Windows 10 and linux just for BF) and I cannot really roll back to Windows 7...

Any suggestions appreciated.

I must be some sort of dumbass but I cant see any stuttering.

Offline

    Positive reputation 0   Negative reputation 0

#24 2021-02-16 12:49:31

Arkos
Sedmin
Switzerland
Reputation: +2783
Registered: 2014-06-06
Posts: 7,048
Windows 7 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

...

I guess he meant jitters not lags.

I disabled nVidia Telemetry completly.

They search the Harddisk to often and too long and this produces in some games also jitters and massive frame drops.

...

Last edited by Arkos (2021-02-16 18:01:58)

Offline

    Positive reputation 0   Negative reputation 0

#25 2021-02-23 04:59:28

RaKLeZ
Member
Reputation: +6
Registered: 2014-02-16
Posts: 9
Windows 10 Opera 74.0

Re: Stuttering problem in Battlefield and Windows 10

Finally... there's a working solution... instead of explaining it, let me just quote the OP.

UCyborg wrote:

Fullscreen mode in Direct3D8 games on Windows 10

So there is this strange bug (might be a feature to allow some Xbox stuff to work, eg. Game bar) with Direct3D8 games on Windows 10 not fullscreening properly. The problem is hardcoded setting in d3d8.dll that forces so called maximized windowed mode. In previous Windows versions, this mode was activated only for certain applications via Windows Application Compatibility Engine's DXMaximizedWindowedMode shim. You can look up which applications are effected with Compatibility Administrator (32-bit), which is part of Windows 10 ADK.

Even if the game looks fullscreen, it's not real fullscreen, the window may just be setup this way that it doesn't have any borders, but the Desktop Window Manager is sill compositing in the background and giving you VSync, whether you want it or not.

Important: Starting with Win10 version 1809 Build 17763 aka. October 2018 update, the exclusive fullscreen functionality has been removed from system d3d8.dll. As of this writing, it's still possible to use d3d8.dll from Build 17134 to get the real fullscreen back, but that could change any time with future builds.

https://www.vogons.org/viewtopic.php?t=47772

Battlefield 1942, as we know, is a DirectX 8.0 game, hence the problem.


First locate your d3d8.dll in C:\Windows\SysWOW64 (backup the file), then right-click it, select Properties, and follow the rest of the guide you can find here -> https://www.windowscentral.com/how-take … windows-10  (in order to gain full control over the file and to be able to replace it).
Now download d3d8.zip
https://www.vogons.org/download/file.php?id=58667
Unpack it and copy d3d8.dll (Build 17134 folder) to C:\Windows\SysWOW64.
That's it, vsync is disabled, enjoy your input-lag free game.

You clearly have the same problem.

Offline

    Positive reputation 2   Negative reputation 0

#26 2021-02-23 05:51:54

Black Mamba
Member
Canada
Reputation: +1496
Registered: 2012-12-01
Posts: 4,362
OS X Safari 14.0

Re: Stuttering problem in Battlefield and Windows 10

Excellent solution arcy. Lachesis would be proud.

Offline

    Positive reputation 1   Negative reputation 0

#27 2021-02-23 10:26:04

Arkos
Sedmin
Switzerland
Reputation: +2783
Registered: 2014-06-06
Posts: 7,048
Windows 7 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

...

Nice.

The solution should be sticked good visible.

Perhaps in a "How to" section. 

...

Btw. With an big Update from Windows 10 you have to make this workaround again, i guess.

...

Last edited by Arkos (2021-02-23 11:06:05)

Offline

    Positive reputation 0   Negative reputation 0

#28 2021-02-23 12:17:04

Zwarrior
Gulag guard
Spain
Reputation: +1006
Location: Lusitania
Registered: 2018-10-14
Posts: 1,380
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

RaKLeZ wrote:

Finally... there's a working solution... instead of explaining it, let me just quote the OP.

UCyborg wrote:

Fullscreen mode in Direct3D8 games on Windows 10

So there is this strange bug (might be a feature to allow some Xbox stuff to work, eg. Game bar) with Direct3D8 games on Windows 10 not fullscreening properly. The problem is hardcoded setting in d3d8.dll that forces so called maximized windowed mode. In previous Windows versions, this mode was activated only for certain applications via Windows Application Compatibility Engine's DXMaximizedWindowedMode shim. You can look up which applications are effected with Compatibility Administrator (32-bit), which is part of Windows 10 ADK.

Even if the game looks fullscreen, it's not real fullscreen, the window may just be setup this way that it doesn't have any borders, but the Desktop Window Manager is sill compositing in the background and giving you VSync, whether you want it or not.

Important: Starting with Win10 version 1809 Build 17763 aka. October 2018 update, the exclusive fullscreen functionality has been removed from system d3d8.dll. As of this writing, it's still possible to use d3d8.dll from Build 17134 to get the real fullscreen back, but that could change any time with future builds.

https://www.vogons.org/viewtopic.php?t=47772

Battlefield 1942, as we know, is a DirectX 8.0 game, hence the problem.


First locate your d3d8.dll in C:\Windows\SysWOW64 (backup the file), then right-click it, select Properties, and follow the rest of the guide you can find here -> https://www.windowscentral.com/how-take … windows-10  (in order to gain full control over the file and to be able to replace it).
Now download d3d8.zip
https://www.vogons.org/download/file.php?id=58667
Unpack it and copy d3d8.dll (Build 17134 folder) to C:\Windows\SysWOW64.
That's it, vsync is disabled, enjoy your input-lag free game.

You clearly have the same problem.

i followed the instructions and at the end it doesnt let me replace it

Offline

    Positive reputation 1   Negative reputation 0

#29 2021-02-23 12:46:37

llzkk
Player
Reputation: +46
Registered: 2020-07-19
Posts: 76
Windows 10 Firefox 78.0

Re: Stuttering problem in Battlefield and Windows 10

I don't think that replacing DLLs in main Windows folder is a good idea. Just don't touch anything here, because it may lead to system damage. The better solution is to put modified DLL in main Battlefield 1942 folder (where bf1942.exe is) and everything should be fine.

Last edited by llzkk (2021-02-23 12:47:44)

Offline

    Positive reputation 1   Negative reputation 0

#30 2021-02-23 16:13:30

Zwarrior
Gulag guard
Spain
Reputation: +1006
Location: Lusitania
Registered: 2018-10-14
Posts: 1,380
Windows 10 Chrome 88.0

Re: Stuttering problem in Battlefield and Windows 10

llzkk wrote:

I don't think that replacing DLLs in main Windows folder is a good idea. Just don't touch anything here, because it may lead to system damage. The better solution is to put modified DLL in main Battlefield 1942 folder (where bf1942.exe is) and everything should be fine.

i´ve tried that and it showed some "blurred lines" that moved from upside the screen to the bottom i tried to record it but those lines does not appear in the video

Offline

    Positive reputation 0   Negative reputation 0

Board footer