• 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 … 876 877 878 879 880 … 1204 Next »

Technical Question :P
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Technical Question :P
02-25-2011, 02:25 AM (This post was last modified: 02-25-2011, 02:27 AM by metalnumb.)
#1
metalnumb Offline
Member
***
Posts: 149
Threads: 23
Joined: Sep 2009
I'm sorry if i asked this before , but it seems that i have to rephrase my question :

-- Why CPU->EFB Access causes so much slowdowns in SMG/SMG2 (at least for me) ? why CPU access to the EFB Copys is that CPU intensive to emulate ?

-- another question : would i benefit from upgrading my CPU into a (Phenom II X3 6MB [L3 Cache] @ 3.8GHZ OC ??)
((specially to help the slowdown of cpu->efb access / also for using LLE on thread)) ??

Last but not least, i love to learn about hardware and i think Emulation is so Exciting ,so please Don't Spare Knowledge Big Grin

Thanks In Advance !! You Guys Are Awesome Cool
My PC
AMD Athlon II X2 250
Kingstone 2x2GB DDR3 @1333Mhz
6850HD 1GB GDDR5





Find
Reply
02-25-2011, 02:44 AM
#2
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
CPU->EFB access:
The Wii's CPU can directly access the EFB (which is the render buffer of the "GPU"), but in PC hardware we have a strict isolation of RAM and VRAM. Thus, we cannot directly access the emulated EFB (which is just a D3D render target which can be used as a texture) from the CPU. Some textures in D3D are lockable, so that you can at least easily transfer the pixel data from the GPU to the CPU. However, that doesn't work in our case. Thus, we always (for EVERY pixel read from the EFB) have to a) reset the GPU state b) draw a tiny 1x1 square to a lockable buffer texture c) lock that texture so that data can be read by the CPU d) restore the GPU state which is just TERRIBLY slow. SMG only reads sth. like 4 pixels per frame and that's where you can see how slow this feature is from an emulation-perspective. Monster Hunter Tri is even worse since iirc it reads the WHOLE EFB from the CPU...
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
02-25-2011, 03:15 AM (This post was last modified: 02-25-2011, 03:18 AM by metalnumb.)
#3
metalnumb Offline
Member
***
Posts: 149
Threads: 23
Joined: Sep 2009
Simplified and Clear Explanation ... Thanks a lot NeoBrain.....
i have another question...Would larger cache capacity helps CPU->EFB access ?
What about the Upgrade ? (The Second Question in my First Post )....

Thanks a Million Smile
My PC
AMD Athlon II X2 250
Kingstone 2x2GB DDR3 @1333Mhz
6850HD 1GB GDDR5





Find
Reply
02-25-2011, 03:45 AM
#4
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Nope, CPU->EFB access is more likely limited by VRAM->RAM bandwidth and general GPU power...
No idea about the hw upgrade, I'm not really up to date concerning CPU models right now...
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
02-25-2011, 03:48 AM (This post was last modified: 02-25-2011, 03:49 AM by metalnumb.)
#5
metalnumb Offline
Member
***
Posts: 149
Threads: 23
Joined: Sep 2009
NaturalViolence once said that it depends on "General CPU throughout" , so i guessed cache capacity was involved Confused
anyways Thnx once again NeoBrain
My PC
AMD Athlon II X2 250
Kingstone 2x2GB DDR3 @1333Mhz
6850HD 1GB GDDR5





Find
Reply
02-25-2011, 09:04 AM
#6
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
I was probably drunk.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
02-25-2011, 09:09 AM
#7
metalnumb Offline
Member
***
Posts: 149
Threads: 23
Joined: Sep 2009
LOL Tongue
My PC
AMD Athlon II X2 250
Kingstone 2x2GB DDR3 @1333Mhz
6850HD 1GB GDDR5





Find
Reply
03-05-2011, 11:50 PM (This post was last modified: 03-05-2011, 11:50 PM by metalnumb.)
#8
metalnumb Offline
Member
***
Posts: 149
Threads: 23
Joined: Sep 2009
I Had a Question somehow related to Neobrain's Answer ....
if i want to increase that VRAM->RAM Bandwidth what hardware upgrade should i make ?
Would i benefit from enabling Dual-Channel DDR3 (By adding 1 more Stick)+Upgrading GPU ?
I'm Sorry but im a little Confused (I used google and nothin' about vram->ram bandwidth :/

Thnx........
My PC
AMD Athlon II X2 250
Kingstone 2x2GB DDR3 @1333Mhz
6850HD 1GB GDDR5





Find
Reply
03-06-2011, 02:04 AM
#9
metalnumb Offline
Member
***
Posts: 149
Threads: 23
Joined: Sep 2009
Guys Please Help Sad Sad im very frustrated Confused
My PC
AMD Athlon II X2 250
Kingstone 2x2GB DDR3 @1333Mhz
6850HD 1GB GDDR5





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