Project

General

Profile

Actions

Emulator Issues #5705

closed

Jit thread is needlessly slowed down by gpu thread

Added by digiadventures over 11 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

When dolphin is run with default settings, FPS and VPS will either be at 1:1 or 1:2 ratio, depending on the game.
Ratio seems to be determined by the game, but certain options in dolphin allows this ratio to be overwritten, allowing jit recompiler to run as fast as hardware where dolphin is run allows it.

This wont brake the emulation, as even though jit is sending more frame render request then gpu can process, it still will wait for gpu thread input when needed while rendering the scene.

Options which seems to cancel game ratios are vbeam and idle skipping ( disabled ).

I made two screenshots to better illustrate this issue:

This is SMG2 running with default dolphin settings, but increased IR and AA to slow down gpu thread :
[IMG]http://i.imgur.com/Xyhhul.jpg[/IMG]

This is SMG2 with same settings, but enabled vbeam and disabled idle skipping:
[IMG]http://i.imgur.com/0ZMStl.jpg[/IMG]

As we can see, ratio between FPS and VPS is now random 1:3.2 instead of 1:1 which is ratio SMG2 game sets.

Altrough it is true that these options already accomplish what I suggest, they dont always work and its not their intented behaviour.
I was thinking implementing this feature in dolphin would work better.

Why is this at all important ? Because it solves a lot of sound isssues, such as LLE sound stuttering/skipping.

It also solves some HLE issues, such as distorted sound in Xenoblade.

Actions #1

Updated by Autoran1 over 11 years ago

What is your PC specs and Graphic plugin options?

Actions #2

Updated by digiadventures over 11 years ago

Cpu : i5 2400
Gpu : Geforce gtx 460 1gb
Ram : 8GB ddr 1333mhz
OS : Windows 7 64bit

Ratio will be fixed with any graphic options with default settings, but I used 3xIR and 4xSSAA with directx9 to slow down gpu thread to show the difference more.

Actions #3

Updated by Autoran1 over 11 years ago

When i have gts 450 i used 2x IR, i suggest you to use the same, besides i saw such sort of desync only on old misc-speedups build, the newest builds don't have such bug, here let the screen
Core i5 2550K 5,0 GHz Gtx 560 1Gb
Dx9 3x ir, no AA, Idle Skip is on
http://i.minus.com/iFDmju1QqFdxy.jpg

Actions #4

Updated by digiadventures over 11 years ago

Autor, I am not seeing this as a bug, I am actually suggesting this should be implemented in Dolphin, since it solves audio issues...

Actions #5

Updated by Billiard26 over 11 years ago

  • Status changed from New to Won't fix
  • Issue type set to Feature request
  • Relates to usability set to Yes
  • Operating system N/A added

This "ratio" is high-level behavior that cannot be directly/reliably controlled.
It doesn't make sense to have an option to set it. (I think that is what you are asking for)

Actions

Also available in: Atom PDF