Project

General

Profile

Actions

Emulator Issues #13578

open

THP movies do not render correctly with Enable Write-Back Cache toggled on

Added by TCAtrevor 1 day ago. Updated about 19 hours ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Several, I have tested with Mario Kart Wii, Super Mario Galaxy, and Super Mario Sunshine.

Game ID? (right click the game in the game list, Properties, Info tab)

Several, I have tested with RMCE01, RMGE01, and GMSE01

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

RMCE01: bb7f2c926cbcdee65e2a48b7002a52ea
RMGE01: f99a97f9ae4dccd1db45e9aaab9cebd8
GMSE01: 0c6d2edae9fdf40dfc410ff1623e4119

What's the problem? Describe what went wrong.

Games that use video files in the THP format will not be able to display their in-game movies correctly, or in the case of Super Mario Sunshine, have errors on boot, if the accuracy option "Enable Write-Back Cache (slow)" is toggled on.

What steps will reproduce the problem?

This worked for me on both the latest dev version using a fresh user folder and my main stable install.

Toggle on the following option:
Options > Configuration > Advanced > Enable Write-Back Cache (slow)

Boot up a game and navigate to a section that loads THP videos. Mario Kart Wii will do this by waiting on the title screen. When the video starts playing, there will be many strobe-worthy video artifacts across the entire screen.

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: 2407-103

Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.

Yes: 2407

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

FIFO log is taken of Mario Kart Wii.

What are your PC specifications? (CPU, GPU, Operating System, more)

AMD Ryzen 7 5800X, NVIDIA GeForce GTX 1660 SUPER, Windows 10 Version 22H2


Files

Screenshot 2024-07-25 182725.png (690 KB) Screenshot 2024-07-25 182725.png TCAtrevor, 07/25/2024 10:43 PM
Screenshot 2024-07-25 183001.png (469 KB) Screenshot 2024-07-25 183001.png TCAtrevor, 07/25/2024 10:43 PM
Screenshot 2024-07-25 183058.png (10.2 KB) Screenshot 2024-07-25 183058.png Super Mario Sunshine boots to this error. Pressing OK will display it again with the memory write address incremented by 0x20. "Ignore for this session" crashes this dev version, but works on stable (or maybe it's due to other config changes). TCAtrevor, 07/25/2024 10:43 PM
Screenshot 2024-07-25 184126.png (1.79 MB) Screenshot 2024-07-25 184126.png TCAtrevor, 07/25/2024 10:43 PM
RMCE01.dff (4.89 MB) RMCE01.dff Mario Kart Wii FIFO log TCAtrevor, 07/25/2024 10:53 PM
Actions #1

Updated by JosJuice about 23 hours ago

  • Status changed from New to Accepted

I've experienced this in Mario Kart Wii ever since the feature was added.

Actions #2

Updated by pokechu22 about 19 hours ago

I believe these movies use locked L1 cache, a GC/Wii hardware feature (also in PowerPC 750CL) where you can force some memory to remain in the L1 data cache (and the memory doesn't actually need to exist in RAM). Dolphin previously treated this as extra RAM, but perhaps that interacts weirdly with actual data cache emulation.

Actions

Also available in: Atom PDF