• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 44 45 46 47 48 ... 356 Next »

GPU utilization and emulation speed
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
GPU utilization and emulation speed
01-29-2018, 11:20 AM
#1
Oscubb Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Nov 2015
Question 
When using x3 IR, 8X SSAA, per pixel lighting and hybrid ubershaders I get a really smooth gameplay (https://imgur.com/a/vX8NZ), with my gpu not going above 60% utilization. But if put x4 IR or above, that happens: https://imgur.com/a/kl5kq even though my gpu is not being fully utilized. Is that normal ? Thanks
OS: Windows 10 Pro x64 
GPU: GTX 1080Ti ROG STRIX O11G GAMING
CPU: Intel i5 8600K@4.9 Ghz
RAM: Corsair Vengeance RGB 16GB (2x8GB) DDR4 3800mhz C16
Find
Reply
01-29-2018, 12:14 PM
#2
Craftyawesome Offline
Above and Beyond
*******
Posts: 1,225
Threads: 7
Joined: Mar 2015
It's probably due to efb access to cpu causing stalling. Maybe if you disable it it will make more sense (but break the game)
Website Find
Reply
01-29-2018, 10:43 PM
#3
AnyOldName3 Offline
First Random post over 9000
*******
Posts: 3,482
Threads: 1
Joined: Feb 2012
There's a chance that Dolphin is using all of one part of your GPU but not using other components to their fullest, which, depending on how you're checking GPU usage, may not show as 100% utilisation even though there's no way that Dolphin could use more. As well as this, Dolphin can't use the GPU when the CPU is busy preparing data for it and often can't use the CPU while the GPU is preparing data that the CPU will need. This means that the GPU will be fully utilised for part of a frame and then idle for the rest of it. This is also shown as partial utilisation by a lot of monitoring applications, but again, Dolphin can't go any faster.
OS: Windows 10 64 bit Professional
CPU: Intel i5 4670K @3.4GHz... for now @4.6GHz with a quick and dirty (yet stable) OC. May get faster in a bit before the end of time.
RAM: 16GB (Down from 24 GB after some was given to siblings)
GPU: Radeon Vega 56
Find
Reply
01-30-2018, 01:08 AM (This post was last modified: 01-30-2018, 01:13 AM by Oscubb.)
#4
Oscubb Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Nov 2015
(01-29-2018, 12:14 PM)Craftyawesome Wrote: It's probably due to efb access to cpu causing stalling. Maybe if you disable it it will make more sense (but break the game)

https://imgur.com/a/AVJOg Its already off
edit: You mean enable it?
OS: Windows 10 Pro x64 
GPU: GTX 1080Ti ROG STRIX O11G GAMING
CPU: Intel i5 8600K@4.9 Ghz
RAM: Corsair Vengeance RGB 16GB (2x8GB) DDR4 3800mhz C16
Find
Reply
01-30-2018, 04:47 AM
#5
JonnyH Offline
Shameless AMD shill
**********
Developers (Some Administrators and Super Moderators)
Posts: 701
Threads: 0
Joined: May 2017
Remember - the "gpu utilization" is an average over a period of time - it's entirely possible it's still limited by that despite not showing "100%".

For example, in an imaginary game it could spend half the frame running game logic and preparing deciding what to draw. It then submits the draw lists to the GPU. At this point the GPU can start working on drawing. If the CPU then does something that requires the GPU to be finished with it's work, such as reading back it's output, do an explicit wait, or something that the GPU driver /might interpret/ as a wait (it has to play safe "just in case" for correctness), the CPU would be idle for the time it takes the GPU to do all it's work. Then only once the GPU is finished can the CPU continue, and move onto the next frame. As the GPU has no commands to run, it goes idle.

In this case, (depending on how much time the CPU/GPU uses for each task relatively), it is limited by the CPU and GPU speeds, despite neither showing "100% utilization".

Generally, a "well-written" game would limit communication between the CPU and GPU to allow both to be running asynchronously as much as possible, but some things /require/ some level of communication (and thus waiting on one side for the other). On an emulator, it's even harder - as the games were written with a different system architecture in mind, which might have different things that cause different levels of communication between the two.
Find
Reply
01-31-2018, 12:08 AM
#6
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,471
Threads: 28
Joined: Feb 2013
8xSSAA + 4xIR is a big enough resolution that you will slow your GTX 1070 to a crawl.
Find
Reply
01-31-2018, 12:37 AM
#7
Oscubb Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Nov 2015
(01-31-2018, 12:08 AM)JMC47 Wrote: 8xSSAA + 4xIR is a big enough resolution that you will slow your GTX 1070 to a crawl.
My doubt was I could handle x3 IR, 8x SSAA with gpu usage below 60%, but in x4 I was getting substantial frame drops (with gpu usage below 80%).
OS: Windows 10 Pro x64 
GPU: GTX 1080Ti ROG STRIX O11G GAMING
CPU: Intel i5 8600K@4.9 Ghz
RAM: Corsair Vengeance RGB 16GB (2x8GB) DDR4 3800mhz C16
Find
Reply
01-31-2018, 05:42 AM
#8
JonnyH Offline
Shameless AMD shill
**********
Developers (Some Administrators and Super Moderators)
Posts: 701
Threads: 0
Joined: May 2017
(01-31-2018, 12:37 AM)Oscubb Wrote: My doubt was I could handle x3 IR, 8x SSAA with gpu usage below 60%, but in x4 I was getting substantial frame drops (with gpu usage below 80%).

See my above post - "not 100% utilization" doesn't always mean it's not bottlenecked on that device.
Find
Reply
01-31-2018, 07:57 AM
#9
Craftyawesome Offline
Above and Beyond
*******
Posts: 1,225
Threads: 7
Joined: Mar 2015
(01-29-2018, 10:43 PM)AnyOldName3 Wrote: ...As well as this, Dolphin can't use the GPU when the CPU is busy preparing data for it and often can't use the CPU while the GPU is preparing data that the CPU will need. This means that the GPU will be fully utilised for part of a frame and then idle for the rest of it. This is also shown as partial utilisation by a lot of monitoring applications, but again, Dolphin can't go any faster.

(01-30-2018, 01:08 AM)Oscubb Wrote: https://imgur.com/a/AVJOg Its already off
edit: You mean enable it?

EFB access to cpu is one of these scenarios
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode