libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.17k stars 1.82k forks source link

[Steam Deck] Horizontal offset on Flycast when playing Metropolis Street Racer #15840

Open v-flashpoint opened 11 months ago

v-flashpoint commented 11 months ago

Description

On Steam Deck, when playing Metropolis Street Racer on Flycast and using the widescreen cheat, the picture gets offset by (30-50?) pixels to the right. This causes part of the screen to be cut off. The VMU on screen is still displayed in the right place, it's just the game that's offset.

This doesn't happen on Windows 10, but the bug is still present when forcing the Steam Deck to use the Windows build through forcing the use of Proton.

Expected behavior

Windows and the Steam Deck to display the screen correctly centred

Actual behavior

Metropolis Street Racer (USA)-231029-153229

Steps to reproduce the bug

  1. Run Metropolis Street Racer (US) on Flycast on the Steam Deck with widescreen cheats turned on (and the widescreen hack disabled)

Bisect Results

This may have started around 1.15.0, although I can't roll back the version on Steam to check.

Version/Commit

You can find this information under Information/System Information

Environment information

PoloniumRain commented 8 months ago

This isn't a RetroArch issue. It's to do with Flycast. The screen will also be offset exactly like this in the standalone version of Flycast when you're using the same widescreen cheat.

But you can use a shader to recenter the screen in RA:

  1. On MSR go to Options > Settings > Game settings > Center Screen and center the screen. But you might still have some tiny borders at either side. So if you do then...

  2. On the Quick Menu go to Shaders and load: Shaders > misc > image-adjustment

  3. Then while still in the Shaders menu go to Shader Parameters.

  4. Now change the X Modifier to move the screen horizontally and use Horizontal Overscan % to slightly stretch the screen horizontally.

You can also use the same shader to fix the brightness/gamma on MSR, which has always made the game look too dark. Within the Shader Parameters change both the Brightness Boost and Black Level to 0.30 and set the Monitor Gamma to 2.50.