A Short study in microstutter

BrightCandle

Diamond Member
Mar 15, 2007
4,762
0
76
I wanted to show you three pictures of frame time traces from a forum user who only yesterday had a microstutter problem that in this case was caused by a driver fault where the clock speed would drop during the game. An upgrade to Catalyst 12.11 resolved that problem and smoothed out the gameplay. The orignal thread http://forums.anandtech.com/showthread.php?t=2289212 is available. Many thanks for LessThanDan for providing this information as it gives us a study in a game where we have different amounts of stutter being shown. This is a user who perceived microstutter and thus it allows us to understand how much is too much at least at a granular level (for Dan at least).

Here are the traces and the perception that went along with them:

Really bad, not smooth (Hitman High settings, clock speed fault):


Not smooth but better (Hitman Medium settings, clock speed fault):


Solved, felt smooth (Hitman High settings, clock speed working):


Dans tolerance seems to be swings of 5ms or so and occasional drops to 25fps, both he is happy with. Having tested my own its also 5ms and drops to about 30 fps. What is yours?
 

thilanliyan

Lifer
Jun 21, 2005
11,913
2,130
126
I see MS is THE hot topic now...

In my experience, I noticed it a bit for the brief day that I used 6950 XFire (and I only tried Metro 2033 so it could have been a combination of lack of performance as well). As for single 6950 and 7950, I have not noticed it at all, but then I do not always play the newest games (playing AC: Revelations right now) so that could have something to do with it also.
 

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
Dans tolerance seems to be swings of 5ms or so and occasional drops to 25fps, both he is happy with. Having tested my own its also 5ms and drops to about 30 fps. What is yours?

When you tested yours, was it with the same game (Hitman Absolution)? Sorry for the dumb question, I'm just making sure we're testing the same games here.

Are there any other games you'd be interested in testing and comparing results? Suggest some more games you'd be interested in comparing; chances are I have at least one or two of them in my Steam library. I'd love to compare some more results from other games on different people's setups.
 

BD231

Lifer
Feb 26, 2001
10,568
138
106
Not sure I'd trust a guy who didn't think to update his driver on a brand new game and instead made a thread on it.
 

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
Not sure I'd trust a guy who didn't think to update his driver on a brand new game and instead made a thread on it.

In my defense, I was using 12.10, which is the latest stable* driver. Forgive me for not always being willing to use the latest beta drivers, even though it's sometimes for the better and I just don't realize it.

Also, BF3 and Sleeping Dogs are not "brand new" games.
 

jimhsu

Senior member
Mar 22, 2009
705
0
76
The hot thing seems to be testing Skyrim these days (though I don't understand how that can possibly be a reliable test, given the dynamic nature of the game). Still, got any graphs on that?
 

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
What app are you using to measure these results?

FRAPS has a built-in benchmarking tool that can measure frame delivery times, down to a thousandth of a millisecond. It then outputs a .CSV file with a table of the frame times, which can be opened in a spreadsheet program and converted into a visual graph.

I'm not an Excel master, but I should probably teach myself how to graph these for future reference.
 

VulgarDisplay

Diamond Member
Apr 3, 2009
6,193
2
76
I wonder what caused his GPU clock speeds to change. A bad driver install or something?

Also, would someone install Radeon Pro an run these graphs on a single GPU? I guess I can give it a shot when I get home.
 

BD231

Lifer
Feb 26, 2001
10,568
138
106
In my defense, I was using 12.10, which is the latest stable* driver. Forgive me for not always being willing to use the latest beta drivers, even though it's sometimes for the better and I just don't realize it.

Also, BF3 and Sleeping Dogs are not "brand new" games.

Oh ok, so bad drivers from AMD, gottcha. I thought this was about micro-stutter.
 

DimmyK

Member
Oct 26, 2010
137
0
86
FRAPS has a built-in benchmarking tool that can measure frame delivery times, down to a thousandth of a millisecond. It then outputs a .CSV file with a table of the frame times, which can be opened in a spreadsheet program and converted into a visual graph.

I'm not an Excel master, but I should probably teach myself how to graph these for future reference.

There is a program that was created few days ago. It does it automatically, you just drop csv frametimes file into it and it plots frametimes, fps and rank. All credit goes to raffriff42. http://sourceforge.net/projects/frafsbenchview/
 

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
There is a program that was created few days ago. It does it automatically, you just drop csv frametimes file into it and it plots frametimes, fps and rank. All credit goes to raffriff42. http://sourceforge.net/projects/frafsbenchview/

Excellent! Thanks for the link.

Here's the opening cart scene from Skyrim, on all High settings @1080p, 0xAA, no mods except the official HD texture pack.



Here's the exact same scene, exact same settings, but with 8xAA:



Given that the spikes are in the exact same location, and the benchmark was performed during a scripted cutscene, the spikes are probably just the game streaming in more of the level.
 

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
Resident Evil 5, all high settings at 1080p with 0xAA. Pretty smooth.

 

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
U and the OP obviously have no idea what micro-stutter is.

No, I think we have a pretty good idea.

Micro stuttering is a term used in computing to describe a quality defect that manifests as irregular delays between frames rendered by the GPU(s), causing the instantaneous frame rate of the longest delay to be significantly lower than the frame rate reported by benchmarking applications, such as 3DMark, as they usually calculate the average frame rate over a longer time interval.

http://en.wikipedia.org/wiki/Micro_stuttering
 

BD231

Lifer
Feb 26, 2001
10,568
138
106
If you had microstutter youd have a complete pause in gameplay followed by normal frame rates. You had had a driver problem.
 

BrightCandle

Diamond Member
Mar 15, 2007
4,762
0
76
The 4 traces above are all as bad as the hitman medium settings, is they show a decent amount of microstutter. 10ms swings or jumps like that are not right and you should be experiencing stuttering. You want something like the final trace not the middle one or top one in magnitude.
 
Last edited:

Dankk

Diamond Member
Jul 7, 2008
5,558
25
91
The 4 traces above are all as bad as the hitman medium settings, is they show a decent amount of microstutter. 10ms swings or jumps like that are not right and you should be experiencing stuttering. You want something like the final trace not the middle one or top one in magnitude.

Really? When doing those benchmarks, both games felt quite smooth (although I guess Skyrim felt a tiny bit janky, but it wasn't too bad). Keep in mind the "Avg. Time" value on those graphs is being skewed by the spikes, in reality it's often much faster than that.

Look more closely at the Resident Evil 5 frame times. Look at the scale on the left, and how zoomed in it is. While there's some micro-stuttering going on, it's occurring within the range of 1-3 milliseconds (!). During normal gameplay, that tiny amount of lag doesn't even register mentally to me at all.

It certainly doesn't feel any worse than Hitman on High settings (after clock fix), or Hitman on Medium settings (before clock fix)... even if the graphs make it look that way. I don't know; maybe we're looking at the graphs differently? Those games were definitely not running as bad as you make them out to be. Perhaps I'm missing something.
 

Sheninat0r

Senior member
Jun 8, 2007
516
1
81
If you had microstutter youd have a complete pause in gameplay followed by normal frame rates. You had had a driver problem.

The driver problem caused the microstuttering. How is that so hard to understand?

If you look at the graphs provided, you can clearly see the microstutter, and if you read the thread linked in the OP you can clearly follow the problem resolution steps, including the installation of the new beta driver.
 

jimhsu

Senior member
Mar 22, 2009
705
0
76
Ah, the opening scene. Never thought of that. Excellent choice for benchmarking, as it's stable, isn't influenced by any mods (if you have any installed), and completely reproducible.

Excellent! Thanks for the link.

Here's the opening cart scene from Skyrim, on all High settings @1080p, 0xAA, no mods except the official HD texture pack.



Here's the exact same scene, exact same settings, but with 8xAA:



Given that the spikes are in the exact same location, and the benchmark was performed during a scripted cutscene, the spikes are probably just the game streaming in more of the level.
 

jimhsu

Senior member
Mar 22, 2009
705
0
76
The definition above doesn't differentiate between plain stuttering and "micro-stuttering" - both have a large instantaneous change in framerate relative to actual framerate (that is, the 2nd derivative of the framerate is large). However, in pretty much all tech discussions (let's exclude this month from consideration), micro-stuttering refers to the specific phenomenon caused by SLI/XFire solutions, while stuttering is a phenomenon affected by other factors (drivers, disk access, CPU use, bad program, etc)

This thread paints a different picture: http://hardforum.com/showthread.php?t=1317582

Why does microstuttering happen?
It's a product of the failure of a multi GPU solution to syncronize properly. Frame syncronization is the act of making sure that the time between frames is identical no matter where you take a measurement. In a single GPU solution one GPU builds the image, and then sends it off to the monitor. It then builds another and sends it off as well. Thus, a single GPU solution does not suffer from microstutter. In a dual GPU solution, two GPUs build seperate images. In Alternate Frame Rendering (AFR), GPU "A" must send its image to the monitor exactly half way between the previous frame from GPU "B", and the next frame (which will be from GPU "B" as well).

Note: 20 milliseconds is .02 seconds, or 1/50th of a second.
In my example lets go with a game running at 50 FPS. A frame is built and displayed by GPU "A". Exactly 20 miliseconds (ms) later GPU "B" must have completed building and displaying its frame. Exactly 20 ms after that GPU "A" must have finished building and displaying the next frame, and so on. Each frame must be displayed in exactly 20 ms after the previous one.

I'm currently working on a flash demo to illustrate the point. When its done I'll export it to .gif and post it here... assuming [H] supports gifs lol.

From there, it seems that microstuttering is more of a synchronization issue - note that the changes in framerate are large, but periodic. Normal stuttering does not exhibit any predictable periodicity. Neither should the observations by TR be described as "microstuttering".
 
Last edited:

Rikard

Senior member
Apr 25, 2012
428
0
0
I wanted to run some simple checks using my 7950 and used Heaven for its ability to repeat scenes. At first when I ran with Fraps I saw huge stuttering that would have made a game unplayable. I never saw this before, so I was thinking that maybe it is Fraps itself that is causing the stuttering. The heaven score and FPS results were unchanged however, but I could tell visually that the benchmark was not doing well.

However, I repeated the test (and this time managing to remember to store the frame times in a log file ) and I got nice and smooth visual experience, at least as smooth as you get with those FPS scores. Having seen how my min FPS decreases while my average goes up if I am overclocking too much I tried to see if OC causes microstuttering at the OC setting that I consider my best trade off between average FPS and min FPS, namely 1175/1450/20. As you can see below there are some noticeable spikes in the spectrum, but those were also there at factory-OC levels.


Looking at these plots I find it almost strange that I cannot see any stuttering by eye. Either I am not sensitive to it, or there is something fishy with the measurement.

For the record, Heaven was run at 1080p, everything maxed out, and score was 1267, max FPS 124, min FPS 27.
 

jimhsu

Senior member
Mar 22, 2009
705
0
76
Try using the RadeonPro benchmarking tool. If you're using Windows 8, I know that Fraps doesn't play well with certain configurations.

Regarding OCs, check that Powertune is set to +20%.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |