Open MR-Developer20 opened 3 years ago
Graphics looking good at title screen, but cant get past title
Multiple threads write to CP_RB_WPTR at the same time. Their packets will overlap in nonsensical ways:
d> 01000004 CP - PM4_SET_BIN_MASK_LO, count 2, predicated = false value = 15555555 d> 01000004 CP - PM4_IM_LOAD, count 3, predicated = true shader_type = 00000000 addr = 10114FE0 start = 00000000 size_dwords = 33 d> 01000004 CP - PM4_SET_CONSTANT2, count 5, predicated = true d> 01000004 CP - PM4_SET_CONSTANT2, count 3, predicated = true d> 01000004 CP - PM4_SET_BIN_MASK_LO, count 2, predicated = true value = 2AAAAAAA d> 01000004 CP - PM4_IM_LOAD, count 3, predicated = true shader_type = 00000001 addr = 0FFC8980 start = 00000000 size_dwords = 447 d> 01000004 CP - PM4_IM_LOAD, count 3, predicated = true shader_type = 00000000 addr = 10114B40 start = 00000000 size_dwords = 240 d> 01000004 CP - PM4_SET_CONSTANT2, count 5, predicated = true d> 01000004 SQ_PROGRAM_CNTL <- 1084120B SQ_CONTEXT_MISC <- 00000906 SQ_INTERPOLATOR_CNTL <- 01FF01FF
^ IM_LOAD, then IM_LOAD again with no draw.
Game uses a lot of hardcoded delays. Introducing a more meaningful delay for OPCODE_DELAY_EXECUTION made it mostly playable except for strange artifacts on the screen. Delays are usually after atomics and look to be about the length of main memory latency
Graphics looking good at title screen, but cant get past title
same issue here, did you ever find a way to resolve it?
can get past title screen but the display bug is like this
Marketplace
Tested on https://github.com/xenia-project/xenia/commit/5161bd7ab
Issues:
(After Title screen and Level selection)
Cutscene graphics corrupted
it technically runs and you CAN use the buttons and controls during a level but the game doesn’t render correctly
Log:
xenia.log.zip
Screenshot(s):
Labels:
gpu-drawing-corrupt state-gameplay