pcsx2
pcsx2 copied to clipboard
[BUG]: Star Wars - The Clone Wars - Republic Heroes: Bugged intro FMV.
Describe the Bug
In the game "Star Wars - The Clone Wars - Republic Heroes", there is a bug where the intro movie will start glitching out at a precise point during the FMV sequence.
I tested all the way down to 1.4, the problem was still there.
Reproduction Steps
Load the blockdump and savestate in order to see the FMV glitching out by itself during the playback.
Expected Behavior
The FMV should work all the way up to the end.
PCSX2 Revision
v1.7.2254 and QT part 4 PR
Operating System
Windows 11
If Linux - Specify Distro
No response
CPU
I9 9900K
GPU
RTX 3070
GS Settings
No response
Emulation Settings
No response
GS Window Screenshots
The bug in action:
Logs & Dumps
Blockdump + savestate: https://drive.google.com/file/d/1V8DVXdrh0-OOcMIhDSg4JWdq1VNgPtub/view?usp=sharing
This can be "fixed" by increasing the EE Cycle rate.
This is not IPU related issue. Game use BINK decoder, which use own codec that is not running on IPU at all. Game setup custom INTC handler for counting Vblank starts, and when video play nothing is done unless at least 2 vblanks passed. Removing that check allow videos to play correctly, so is most likely timing related. Specially that increasing cycles helps too. This is probably optimization for real hardware to not overuse EE resources.
oh is it another one of these games which loops on checking the INTC_STAT for VBlanks but misses them because they get absorbed before it see it, cos this is a common problem (Since we fire interrupts wihtin 4 cycles, which is shorter than the usual loop)?
Yeah, can be. Game custom handler add 1 to counter only if vblank is detected, so missing few can be issue here.
I tried delaying it 16 cycles instead of 4 and it didn't make any difference :( So I guess something else is going on
I can confirm this is still an issue on v1.7.5540 (Manjaro Flatpak; NTSC-U; GTX 1070; Vulkan renderer).