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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 … 749 750 751 752 753 … 1207 Next »

Experiencing lag. Please explain.
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Experiencing lag. Please explain.
12-28-2011, 02:51 AM
#1
vernacular
Unregistered
 
I am using the default settings with one change: it's set to 1x native resolution. Now I thought my hardware could handle this, but it's running at around half the speed it needs and looks very slow. I monitored the usage of my CPU and GPU during gameplay. Here's an image:
[Image: 36fpsdonkeykongreturns.jpg]

The CPU is only at 26% usage and it isn't fully utilizing the threads. The GPU is only around 45%. I am using an ASUS G53J laptop with an i7 Q740 CPU, an nVidia GTX 460M GPU and 4GB RAM with Dolphin 3.0-235 trying to run Donkey Kong Returns. The power settings are on High Performance with the laptop plugged into the wall hardly anything else is running so there shouldn't be anything limiting the hardware.

The New Super Mario Bros seems to run just fine with less GPU usage and about the same CPU usage:
[Image: 60fpsnewsupermariobros.jpg]

I don't understand why I can't achieve 60 FPS in DKR. Explain please? Recommendations?
PS. I also hear a weird metronome sound all the time in DKR.
Reply
12-28-2011, 03:04 AM
#2
LordVador Offline
Christmas Vader
*******
Posts: 8,851
Threads: 1,908
Joined: Mar 2011
NSMB isn't a demanding game. DKCR tends to be slow
[color=#ff0000][color=#006600]i5 3570K @ 4.5GHz/GTX 660 Ti/RAM 4GB/Win7 x64[/color][/color]
Find
Reply
12-28-2011, 03:43 AM
#3
vernacular
Unregistered
 
(12-28-2011, 03:04 AM)LordVador Wrote: NSMB isn't a demanding game. DKCR tends to be slow
I understand that it's more demanding, but I don't understand why my hardware isn't being put to it's full use to compensate for this extra workload.
Reply
12-28-2011, 04:07 AM
#4
Xoppa Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Dec 2011
It's highly unlikely that Dolphin could ever take full advantage of the CPU and GPU. It uses 25% of the CPU, which is about two full cores. As you can see one core is almost fully utilized, which is probably causing the lag. The other threads and GPU simply need to wait for that thread each frame. As with Mario you see clearly that no core is fully utilized and therefor each frame is nicely rendered within the framelimit (or V-sync). Without debugging/timing it's hard to say which thread is causing this lag. But most likely it wouldn't be possible to split that workload over two or more threads, because of the overhead that creates. Also the developers cannot fully control which actions can be seperated over threads, it might be hardcoded in the game.

Consider playing with the settings and watching the CPU usage of the specific core. Perhaps you'll find a setting with low impact on this particular game and decreases single threaded CPU usage.
Find
Reply
12-28-2011, 04:10 AM
#5
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
Using "Lock threads to cores" will use two full cores, but that's not the issue and you will still get about the same speed. The issue is that your CPU is not strong enough to run some games at full speed.
Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
Reply
12-28-2011, 04:24 AM
#6
vernacular
Unregistered
 
(12-28-2011, 04:07 AM)Xoppa Wrote: It's highly unlikely that Dolphin could ever take full advantage of the CPU and GPU. It uses 25% of the CPU, which is about two full cores. As you can see one core is almost fully utilized, which is probably causing the lag. The other threads and GPU simply need to wait for that thread each frame. As with Mario you see clearly that no core is fully utilized and therefor each frame is nicely rendered within the framelimit (or V-sync). Without debugging/timing it's hard to say which thread is causing this lag. But most likely it wouldn't be possible to split that workload over two or more threads, because of the overhead that creates. Also the developers cannot fully control which actions can be seperated over threads, it might be hardcoded in the game.

Consider playing with the settings and watching the CPU usage of the specific core. Perhaps you'll find a setting with low impact on this particular game and decreases single threaded CPU usage.
Oh, okay. I am getting a bluetooth adapter soon for my desktop PC which has a faster CPU @ 4GHz. I'm hoping it plays smoother on there. Am I right in assuming core clock does more than the amount of cores/threads concerning dolphin? The way you put it, it doesn't seem that dolphin can even fully utilize every thread anyways. If I over-clocked the CPU in my laptop I don't think it could dissipate enough of the heat so my desktop PC seems the only option if I want to have a chance at running DKR smoothly although I would have preferred the portable option with my laptop. I vaguely recall using a guide to try to get DKR to run faster, but I was never able to hit 60 fps let alone a stable 40 fps.

Thanks for the info. I think I have a better idea of how it works now.
Reply
12-28-2011, 10:45 AM
#7
Xoppa Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Dec 2011
Correct, in your case higher speed is better than more cores. In general you could say that everything your GPU can't handle at rendertime, will be done by the CPU singlethreaded. However other tasks are probably just as important for the performance (gamelogic, generating textures, responding to input, audio, etc.). Timeslicing (switching between threads on one core) can be a serious impact for timecritical processes, so more cores are likely to be recommended. Just don't expect those cores to be fully utilized. Ofcourse this is a very basic explanation, the reality is more complex.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma