Emulator Issues #7734
closedBaten Kaitos Eternal Wings and the Lost Ocean Flickering in PAL version
0%
Description
[READ THIS: https://forums.dolphin-emu.org/showthread.php?pid=276132 <<<
Your answers are there!]
[Leave the questions as they are and answer them in the next line]
[Remove lines written inside brackets [], but nothing else]
Game Name?
Baten Kaitos
Game ID?
GKBPAF
What's the problem? Describe what went wrong in few words.
mad flickering
What did you expect to happen instead?
no mad flickering
What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]
1.launch European version of Baten Kaitos Eternal Wings and the Lost Ocean
2.see the flicker
3.
Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
SVN revision 5 to latest dev build
Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
yes build 21315ae6163595e28bda4a13b7f7d45d28d9f213
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[Upload big files to a hosting service and post links here!]
It worked fine before commit b3f611e14ad5476915d80c29e604ccc67f93f25e because that commit enabled virtual XFB in both Baten Kaitos Eternal Wings and the Lost Ocean and Baten Kaitos Origins. If you start the game with XFB disabled and open Graphics configuration when you see the game flicker this issue will be fixed but causes issue 5858. This issue only happens in Virtual XFB which is enabled by deafult in the game ini.
[Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images and pastie.org for logs. Monitor the
email address that was used to create this issue.]
Updated by gamemasterplc over 10 years ago
It actually worked fine before 3a7cd4e8736313befb3db3323c86f834a404f9c0 and last worked on b34fe2b8f1915d5ec46db26362d2e59062e6c240
Updated by JMC4789 over 10 years ago
Your bisect makes no sense, please try again on it.
Updated by kostamarino over 10 years ago
It is an issue with virtual xfb and pal region that causes a subtle shaking so he first noticed it after the gameini update. Perhaps finding the build that causes the shaking with virtual xfb in pal region is more useful, although i think there should be an open issue about it.
Updated by gamemasterplc over 10 years ago
it just enabled virtual xfb which caused the issue
Updated by JMC4789 over 10 years ago
I'd rather figure out this issue than the silly Virtual XFB stuff. Post a coredump please.
Updated by gamemasterplc over 10 years ago
Gives segfault after logos when ran from Terminal in Linux if you enable RealXFB after you start the game and dumps core but I don’t know where to find the core dump
Updated by mimimi about 10 years ago
Baten Kaitos PAL version suffers heavy flickering all the time with virtual xfb enabled. Virtual xfb is forced by the .ini file. Before 4.0-4824, it was flickerung between picture and a black screen, in both d3d and opengl. After 4.0-4824, it's flickering between the picture and an offset picture in d3d.
Picture:
https://drive.google.com/file/d/0ByQgqzsPdirYSDVsQi04V3VCU2c/view?usp=sharing
Offset picture(at 3xIR):
https://drive.google.com/file/d/0ByQgqzsPdirYcU9WMjlmZ3R0SDQ/view?usp=sharing
Offset picture(at 1xIR):
https://drive.google.com/file/d/0ByQgqzsPdirYazZRZjhQRkdTSjg/view?usp=sharing
Changing IR changes the size and position of the offset picture.
This might be related to fbheight?
\Source\Core\VideoBackends\D3D\Render.cpp
in Renderer::SwapImpl
fbWidth is passed with the value 542/543.
Tales of Symphonia PAL reports 536/537 there, and is also flickering with virtual xfb.
Baten Kaitos has a small black bar at the bottom:
https://drive.google.com/file/d/0ByQgqzsPdirYNnM3ekxreHNtYVU/view?usp=sharing
Tales of Symphonia does not have a black bar though.
FIFO logs for Baten Kaitos PAL and Tales of Symphonia PAL:
https://drive.google.com/file/d/0ByQgqzsPdirYY3p2WW1panJpaWc/view?usp=sharing
The logs were recorded in single core, with efb copies disabled, 3 frames, each game with virtual xfb and without xfb. When playing them back with virtual xfb enabled, all of them just show a black screen. When playing them back without xfb, they look like they are supposed to.
Updated by ZephyrSurfer about 10 years ago
mimimi08...@gmail.com
thanks for the logs. I'll fix this later today I think another issue I'm working on has the same issue. These logs will be useful.
Nobody can play back fifologs with XFB so can you tell me if a build from maybe 3.5 or 4.0.2 crashes with RealXFB?
Updated by mimimi about 10 years ago
Real xfb results:
On 4.0-4980 Baten Kaitos gets into a loop with Warning, Invalid Write to to 0x90b4fec0, PC = 0x80026504, then the values increase and eventually it crashes.
On 4.0-4980 Tales of Symphonia gets Warning, Invalid Read from to 0x10801088, PC = 0x800f7eb0, then 0x10801084, PC = 0x800f7eb0 and then it goes to a black screen without sound, and Dolphin can(!) be shut down normally.
On 4.0-1 Baten Kaitos gets Warning, BackPatch: Currently only supporting reads. Attempted to write to 90b4fec0. Then Warning, Backpatch write - not through EAX and then it crashes.
On 4.0-1 Tales of Symphonia goes directly into its black screen, see above.
3.0-749 does the same as 4.0-1.
Updated by ZephyrSurfer about 10 years ago
Thank you for that. Then I don't think the realXFB issue I'm working on is the same.
But I'll fix the virtualXFB issue anyway.
And can you tell me MMU ON with openGL in Interpreter no changes to behaviour with realXFB?
Updated by mimimi about 10 years ago
The above tests were made with d3d.
Interpreter + OpenGL + MMU just outright crashes both games with real xfb. With JIT + MMU, there are no warnings, but both games still don't work with real xfb.
Updated by ZephyrSurfer about 10 years ago
What about trying Interpreter + OpenGL + MMU back in 3.5?
Updated by mimimi about 10 years ago
In 4.0-1 Interpreter + OpenGL + MMU + real xfb, Baten Kaitos still crashes. And in 3.0-749 i don't even know how to enable MMU. I'm not sure if MMU was even actually operational before Fiora's fixes.
Updated by ZephyrSurfer about 10 years ago
OK so I got all my games back from my old home so I could look at this further.
The crashing with realXFB must only be NVIDIA since I can't replicate.
But this game has a few separate issues one D3D specific so it's gonna take another little while. I didn't have much freetime in the last week to look at XFB issues.
Updated by mimimi about 10 years ago
I have a Radeon HD 7790. What GPU do you have? Also, do you have PAL or NTSC games? I think all mentioned issues are PAL only.
Updated by ZephyrSurfer about 10 years ago
Yeah I have PAL and can reproduce everything but the crashes.
I have an AMD R9 290 I just assumed the realXFB crash was because I thought you had NVIDIA nevermind on that assumption then.
I have a fix in mind I'll commit it to my PR tomorrow.
Updated by mimimi about 10 years ago
Well, if it doesn't crash on your system, but on mine, it's either user error or a driver problem. So it doesn't matter. Thanks, i look forward to it, but no need to hurry.
Updated by phire about 10 years ago
- Status changed from New to Accepted
Great, more PAL xfb issues.
I missed this issue.
Updated by JMC4789 almost 10 years ago
- Status changed from Accepted to Fix pending
Updated by JosJuice over 9 years ago
- Status changed from Fix pending to Fixed
PR 2686 was merged in 4.0-7517. https://dolphin-emu.org/download/dev/ecbb83fa0f6c63def7b0e7d17b6f7e8b47bcb724/