MiSTer-devel / Saturn_MiSTer

Sega Saturn for MiSTer
51 stars 13 forks source link

Castlevania Symphony of the Night Saturn (VISUAL GLITCH) #180

Closed Macros218 closed 2 months ago

Macros218 commented 2 months ago

Hello everyone, Castlevania SOTN seems to be rendering garbled pixels at the top border of the view window. Not sure if it has to do with the way that this game is rendered or if it is related to the ram I am using. The issue happens randomly, sometimes it appears, sometimes it does not, however it happens pretty often. The bug is present through gameplay however it does not appear in FMV scenes. It has happened in all single ram versions of the Saturn core. This is the only game that has been exhibiting this behavior.

Dual SDRAM or Single? Single 128 MB Link to RAM used: https://ultimatemister.com/product/xs-d128/

Core used: Saturn_unstable_20240403_13e38a.rbf

RAM Test 20240405_160914-screen

How it appears in game 20240405_154455-Bios GameNavi HiSaturn 1 03

20240405_154505-Bios GameNavi HiSaturn 1 03

20240405_162146-Bios GameNavi HiSaturn 1 03

The pixels rendered get changed after subsequent restarts.

How to replicate

  1. Use GameNavi HiSaturn 1.03 BIOS
  2. Boot Castlevania Symphony of the Night (Original Japanese Version or Translation V1.02 by KNIGHTOFDRAGON)
srg320 commented 2 months ago

@Macros218, Is a keyboard connected to MiSTer?

Zet-sensei commented 2 months ago

Same issue here.

No keyboard connected on the MiSTer.

Kuba-J commented 2 months ago

On my side I was not able to reproduce this error , JP game version , auto region, bios unmodified JP 1.01 and GameNavi 1.03 , latest dualsdram core

Zet-sensei commented 2 months ago

I've retried with the same config as Kuba-J.

The issue appears the first time if you launch the game on the core directly. If you reset the core, the bug doesn't occur anymore. The bug doesn't occur if you launched a previous game on the core too.

Kuba-J commented 2 months ago

For me, even after the first launch, this does not occur

Macros218 commented 2 months ago

@Macros218, Is a keyboard connected to MiSTer?

For the screenshots provided a keyboard was used alongside a controller. However, it has happened with only a USB controller plugged in as well.

Macros218 commented 2 months ago

Retested again using latest core and the same BIOS as Kuba (JP 1.01 not A revision), region set to JP, with multiple cold reboots and core reboots and it consistently minimizes the problem to one pixel. Something to note is that the pixel changes color based on what is on screen. It also removes the issue for one of the startup screens even though previously it also exhibited the same issue.

One pixel in the top left corner

20240406_083222-Bios Saturn 1 01 (J)  !

20240406_083335-Bios Saturn 1 01 (J)  !

20240406_083423-Bios Saturn 1 01 (J)  !

20240406_083536-Bios Saturn 1 01 (J)  !

Expected Output

20240405_204232-Bios GameNavi HiSaturn 1 03

Kuba-J commented 2 months ago

Yes, i see exactly the same pixel , but no other errors

Macros218 commented 2 months ago

Yes, i see exactly the same pixel , but no other errors

In first screenshot the single top pixel turns purple when zoomed in, it seems to be grabbing it from the castlevania logo. The second screenshot the pixel turns grey. The one with player in screen also appears grey. In the intro scene with the horse I noticed the pixel turned green, however it was too dark to show in screenshot.

Zet-sensei commented 2 months ago

On 2024-04-17 revision (tested with a Dual RAM system, which was measured stable at 150MHz -for the two sticks-) :

EDIT : I've removed my previous comment as it wasn't precise enough.

Zet-sensei commented 2 months ago

Fixed with commit https://github.com/MiSTer-devel/Saturn_MiSTer/commit/931f52a222805e6c7f77e6592a4b40d702ffa38f