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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 12 13 14 15 16 … 117 Next »

CPU EFB Access Display Resolution
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
CPU EFB Access Display Resolution
03-25-2019, 06:20 AM
#1
keldor314
Unregistered
 
So I was playing Super Mario Galaxy and noticed that the EFB related slowdown is very resolution dependent. At 4k, everything is smooth until the sun comes into the frame, and BAM, 10FPS. At 720p, slowdown is minimal.

Is Dolphin sending a full resolution frame buffer back to the CPU side? And if so, is this even meaningful, given that the emulator CPU won't know what do do with it?

I'm wondering if downsampling to native on the GPU side before transfering to the CPU would be a good idea. The CPU does its work, sends the buffer back, and the GPU calculates a delta, using that to overwrite only modified areas to retain detail.
Reply
03-25-2019, 05:45 PM
#2
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,563
Threads: 31
Joined: Feb 2013
Are you using the very latest builds? There's a new optimization for this specific effect that lets me run it a lot faster than in previous builds.
Find
Reply
03-25-2019, 05:45 PM
#3
mstreurman Offline
Above and Beyond
*******
Posts: 1,239
Threads: 11
Joined: Nov 2015
(03-25-2019, 06:20 AM)keldor314 Wrote: So I was playing Super Mario Galaxy and noticed that the EFB related slowdown is very resolution dependent.  At 4k, everything is smooth until the sun comes into the frame, and BAM, 10FPS.  At 720p, slowdown is minimal.

Is Dolphin sending a full resolution frame buffer back to the CPU side?  And if so, is this even meaningful, given that the emulator CPU won't know what do do with it?

I'm wondering if downsampling to native on the GPU side before transfering to the CPU would be a good idea.  The CPU does its work, sends the buffer back, and the GPU calculates a delta, using that to overwrite only modified areas to retain detail.

I think that the problem here is that the EFB won't match the resolution and gives you a box at the top left of your screen that is either lower resolution or shows the whole EFB scene at its original size. I remember this being an issue in MKWii in earlier days.
Check my profile for up to date specs.
Find
Reply
03-26-2019, 11:57 AM
#4
keldor314
Unregistered
 
(03-25-2019, 05:45 PM)JMC47 Wrote: Are you using the very latest builds?  There's a new optimization for this specific effect that lets me run it a lot faster than in previous builds.

Upon updating to the latest development version, performance is much better.  Have it happy at 1440p.  I'll do some more testing to see if I can get it working at 4k at full speed.

For what it's worth, Dolphin is probably due for a new stable version to be released.  The last one is nearly 3 years old.
Reply
03-26-2019, 03:06 PM
#5
keldor314
Unregistered
 
In fact, turning off ubershaders and I'm getting SMG running solid on 4k. It looks like those optimizations really worked! :-)
Reply
03-27-2019, 12:18 AM
#6
themanuel Offline
Parasitic Member of the Community
*****
Posts: 843
Threads: 64
Joined: Oct 2009
There may still be optimizations that are being worked on because I still see major slowdowns in Skyward Sword with 6x IR and 4x MSAA. Up until recent releases before the VideoCommon updates starting coming, I was able to run that combination full speed but now I can't. Even in the title screen, the emulation struggles and the sound crackles.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
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