Dolphin, the GameCube and Wii emulator - Forums

Full Version: XFB - External Frame Buffer hack. What it does?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

Conan

Hi! I notice that some games I've been playing require real External Frame Buffer XFB hack which is activated by default when you start the game. But it's very performance heavy (at least for my PC) and FPS goes down a lot so every time I start the game I have to manually disable it in order to play the game comfortable, then enable it again when I need to see the cutscenes. Another issue is the games looks blurry so they are unplayable AND blurry with XFB.
My question is what this hack does? Is there a fix in progress for this and why those games has problems with cutscenes and need this performance-heavy and blurry ugly hack?

The games that I've been playing and need this hack are "Bloody Roar: Primal Fury" and "Harry Potter and the chamber of secrets".
They just render their cutscenes in a way that needs a real XFB. There isn't much we can do about that until HybridXFB gets merged.
(10-09-2017, 01:25 PM)Conan Wrote: [ -> ]My question is what this hack does?

To keep a long story short, real XFB handles screen output in the same way as a real console, while virtual XFB and "disabled" XFB try to take some shortcuts. So real XFB will give you the most accurate behavior, but it also limits the output resolution to the resolution of a real console. The slowdown happens because real XFB emulation copies each frame from the GPU to the main memory before sending it off to the screen, which wasn't a big deal on the GC/Wii but has a noticeable performance impact on a modern PC.
It's the opposite of a hack fwiw. Disabled/Virtual are the hacks.

Having read through your post more closely, let me say this: if you find native resolution so blurry it's unplayable, I really, really recommend you never play any console game before the PS3 or 360. You'll be very disappointed.
Hybrid XFB is actually pretty much almost ready for merge. I wouldn't be surprised if it happens this month.

Conan

Mmm, thanks for reply. So hybridXFB is the solution and it's in progress right now?? Will it raised the cpu requirements of games that need that fix?? Will you include it in progress report so one can know the fix was already implemented??

To JMC47: I think I wrote incorrectly the phrase or you misunderstood, maybe was me, English is not my native language. I meant those games looks blurry when real XFB is enabled and because FPS goes down to 20 in Bloody Roar: Primal Rage it becomes unplayable for me at these low fps.
(10-09-2017, 10:05 PM)Kurausukun Wrote: [ -> ]Hybrid XFB is actually pretty much almost ready for merge. I wouldn't be surprised if it happens this month.

Really? Man, that's pretty good since this was a request made a long time ago!
Where i can see more about hybrid XFB merge?
matheusstaffa Wrote:Where i can see more about hybrid XFB merge?

Our blog of course! We're going to have an article accompanying the merge!
I think HybridXFB is expected to somewhat raise the cost of performance, at least one tester reported this being the case. On computers with sufficient power, obviously any slowdowns won't be large or noticeable. No one has any raw numbers yet. HybridXFB is a pretty significant feature, so it'll be talked about in an upcoming Progress Report for sure.

@matheusstaffa - Go here for more info (before the merge): https://github.com/dolphin-emu/dolphin/pull/5498
Thanks, MayImilae and Shonumi! The Dolphin emulator just get better and better.
I think that 5.0 and forward had the most important updates.
Good job!
Pages: 1 2