Emulator Issues #10645
openUnknown Opcode in Xenoblade Chronicles
0%
Description
Game Name?
Xenoblade Chronicles
Game ID? (right click the game in the game list, properties, info tab)
SX4E01
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
97968de6deac2c8df98f9779f453aa1b (gcz version)
What's the problem? Describe what went wrong.
Randomly get pop up message "GFX FIFO: Unknown Opcode" during gameplay. Game will sometimes continue normally afterwards, other times it will leave me with a blank white screen and cease working. Below is a save state (too large to upload) created after the game crashes and I was left with a white screen. The state does not load properly, I'm unsure if it will be helpful.
https://trekker.guru/SX4E01.s05
What steps will reproduce the problem?
Unable to reproduce at will. Happens randomly
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Yes, currently using 5.0-5819
Is the issue present in the latest stable version?
Unknown, have not tested previous releases.
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
[First broken version number here (if applicable)]
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]
I could gather a fifolog if helpful but it would just be random gameplay... crashes are anywhere from 5 minutes to hours apart.
What are your PC specifications? (CPU, GPU, Operating System, more)
Ryzen 1700
16G RAM
GTX 1080 w/ Nvidia 387.22
Arch Linux
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
I've attached a save file from an area that I duplicated crashes, however they're very intermittent. I've also attached two screenshots of the popups.
Files
Updated by Vash63 about 7 years ago
After some extensive testing I can confirm it does not occur on 5.0 stable when in single-core mode. As the issue can take minutes to hours to occur, bisecting does not seem possible.
Updated by Vash63 about 7 years ago
Working with JMC47 in IRC, testing the following patch - after 5 hours of gameplay the issue appears to be fixed. Will update this bug if the situation changes. Not sure if it's a commit-able patch but this is what I'm testing:
--- dolphin-emu/Source/Core/VideoCommon/Fifo.cpp 2017-11-19 04:26:42.298155184 -0700
+++ dolphin-emu/Source/Core/VideoCommon/Fifo.cpp.fixed 2017-11-19 04:27:27.058963974 -0700
@@ -463,7 +463,7 @@
u32 cycles = 0;
s_video_buffer_read_ptr = OpcodeDecoder::Run(
DataReader(s_video_buffer_read_ptr, s_video_buffer_write_ptr), &cycles, false);
-
available_ticks -= cycles;
-
//available_ticks -= cycles;
}
if (fifo.CPReadPointer == fifo.CPEnd)
Updated by Vash63 about 7 years ago
Another update, I've switched to running with this PR and after ~6-7 hours it seems this also fixes the crashing in single-core mode:
https://github.com/dolphin-emu/dolphin/pull/6205
I have not tested dual core mode with this patch, that may still cause crashing.