Duke4.net Forums: Frame rate/Vsync issues - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Frame rate/Vsync issues

User is offline   GemaH 

#1

This happens to me with both Eduke32 and the official Duke Nukem Megaton edition. I used 3 different Eduke versions from the download site, doesn't make a difference.

There is no way i can play this smoothy at 60fps.

Some times it starts smooth and stays like that for a few minutes. But then it starts to stutter randomly. It doesn't matter where i am, the same place that was smooth before may stutter later. And then the stutters get progressively worse and it gets unplayable. Megaton edition does plays smoothly for a while and then drops and locks itself to 30fps. Other times it starts smooth for 10 seconds and immediately goes to 30fps. Some times if i press alt+tab it resets at 60fps again, other times it won't.

I tried everything, different resolutions, various video options, frame rate limiter off, windowed mode on, etc, nothing works.

I even tried locking it with Riva Tuner Server. It doesn't work either. But the weird thing is that Riva Tuner shows steady 60fps even when the game stutters horribly or locks itself at 30fps. Riva Tuner thinks the game runs at 60fps at all times, no matter what's happening on screen. So there is something really wrong with this engine on my system and i just can't fix it.

My PC is an i5 4670, GTX 960 with latest drivers and Windows 7 64bit.

This post has been edited by GemaH: 13 October 2016 - 09:16 AM

0

User is offline   Darkus 

#2

Do you tried the console command 'r_maxfps' ?
0

User is offline   GemaH 

#3

View PostDarkus, on 16 October 2016 - 12:15 PM, said:

Do you tried the console command 'r_maxfps' ?

Edit: It doesn't help.

I tried r_ maxfps 59, 60 and 61 and i get stutters.

If i try anything above 61, i get the same behavior as the default.


Edit 2: Sometimes, when i reload a game or quit Duke and restart, it gets fixed. But then after i load another level the problem starts again. Sometimes if i disable and re-enable vsync it gets fixed, sometimes not. Other times it might be OK for 30 minutes and then suddenly the stuttering begins again.

It's completely random, whatever i do.

This post has been edited by GemaH: 17 October 2016 - 08:47 AM

0

User is online   Danukem 

  • Duke Plus Developer

#4

View PostGemaH, on 13 October 2016 - 09:09 AM, said:

I used 3 different Eduke versions from the download site, doesn't make a difference.


Have you tried this revision yet? http://dukeworld.duk.../20160704-5811/
0

User is offline   GemaH 

#5

View PostTrooper Dan, on 18 October 2016 - 12:36 AM, said:

Have you tried this revision yet? http://dukeworld.duk.../20160704-5811/

This behaves differently. The game is consistently smooth when nothing happens but once there is an enemy on screen it stutters/slowdowns and after i clean up everything it becomes smooth again. It's not random drops and stutters like the other versions, just drops and stutters while confronting enemies.
0

User is online   Danukem 

  • Duke Plus Developer

#6

View PostGemaH, on 18 October 2016 - 08:30 AM, said:

This behaves differently. The game is consistently smooth when nothing happens but once there is an enemy on screen it stutters/slowdowns and after i clean up everything it becomes smooth again. It's not random drops and stutters like the other versions, just drops and stutters while confronting enemies.


When the game is hitching, is your hard drive being paged? I'm wondering if it's a virtual memory issue.
0

User is offline   GemaH 

#7

View PostTrooper Dan, on 18 October 2016 - 09:58 PM, said:

When the game is hitching, is your hard drive being paged? I'm wondering if it's a virtual memory issue.

No, there is no paging or reading. Also, i have 14GB free RAM.

It has to be a problem with the game or engine (since it happens with Megaton edition as well) or the engine just doesn't like my system? This is the only game that acts this way for me. I also use a modern DOOM engine similar to this one (zDOOM) and it's working properly. Duke Nukem is the only game that has these weird vsync/stutter issues.

Edit: I tried both regular and polymer engine. I tried vsync on/off/adaptive. Same issues.

Another reason why i think it's an engine issue is that Riva Tuner reports steady 60fps even when the game stutters or slowdowns to visibly 30fps.

This post has been edited by GemaH: 19 October 2016 - 07:12 AM

0

User is offline   Nokiaman 

#8

I used to have exactly same issue. Atrocious stuttering with Vsync set either to ON or ADAPTIVE even though the game was running at 60 FPS whole way through (ADG episode mod in particular was horrible stutterfest). I pretty much gave up since nothing worked.
Downloaded r5888 x64 few days ago and now it's smooth 99% of time. No clue why sadly.
I am talking about Polymost of course. Polymer is still unplayable FPS dipfest.

This post has been edited by Nokiaman: 19 October 2016 - 10:54 AM

0

User is offline   Hendricks266 

  • Weaponized Autism

  #9

The engine performs file loads synchronously, meaning the game will hitch when reading from disk. Precaching tries to avoid that but it's not perfect because it doesn't catch everything.

Do you have an SSD you can run the game from?
0

User is offline   GemaH 

#10

View PostHendricks266, on 19 October 2016 - 12:36 PM, said:

The engine performs file loads synchronously, meaning the game will hitch when reading from disk. Precaching tries to avoid that but it's not perfect because it doesn't catch everything.

Do you have an SSD you can run the game from?

No, not right now but i will get one soon i hope.

I would never think that i had to have an SSD to play Duke Nukem 3D smoothly : /

Having said that, what if i played the game from a RAMDisk? Can i just copy-paste everything apart from the "autoload" folder since i don't want any HD textures or models? I will do some tests with this.

Also, what's the difference between polymost and polymer?
0

User is offline   Hendricks266 

  • Weaponized Autism

  #11

View PostGemaH, on 19 October 2016 - 01:45 PM, said:

Having said that, what if i played the game from a RAMDisk?

That should have the same impact as an SSD.

View PostGemaH, on 19 October 2016 - 01:45 PM, said:

Can i just copy-paste everything apart from the "autoload" folder since i don't want any HD textures or models?

Hmm... I was thinking you were using the HRP. The original game assets are so tiny that there should be no hitching unless your data is severely fragmented or your HDD is on its last leg.

If a ramdisk helps, maybe Contig could help defragment your duke3d.grp.
0

User is offline   GemaH 

#12

Well, that was disappointing.

First of all, i never used the hi-res textures. Just the original DK3D assets, just in higher screen res (1080p). The files in the autoload folder are packed and i didn't use them anyway.

I copied-pasted the bare essentials on my RAMDisk.

Tested polymer, polymost, classic. Vsync ON/OFF. I still get stutters.



Edit: Well, i give up. Since i can't play this at 60fps, i will play it on my CRT monitor (which is 85hz) with no frame limit. It's still not smooth (doesn't sync well) but it's better than what i get on the LCD TV and it's certainly playable.

This post has been edited by GemaH: 19 October 2016 - 02:55 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options