libretro / RetroArch

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

[Android, Vulkan, Snapdragon 855] Overscan results in black image #15692

Open RaouleMenard opened 1 year ago

RaouleMenard commented 1 year ago

Description

On the Microsoft Surface Duo 1 (Android, Snapdragon 855), enabling overscan results in a black image.

This also happen when setting the x offset of the image to a negative value.

Switching to GL fixes the issue, so this is a bug related to Vulkan support.

Want to use Vulkan as it have better shader support on the Duo, the GL driver have visible glitches.

Overscan is needed for some systems that scale to 1920x, as the Duo have a resolution of 1800x.

Expected behavior

Seeing the image similarly to GL driver.

Actual behavior

Black Screen.

Steps to reproduce the bug

  1. Enable Vulkan Driver
  2. Enable overscan, or the x offset of the image to a negative value.

Version/Commit

Environment information

hizzlekizzle commented 1 year ago

I believe this may be an issue with Vulkan, in general, as opposed to just on your specific hardware. That is, it happens to me on Linux x86_64, as well.

sonninnos commented 1 year ago

Working with Windows, because otherwise it wouldn't have gone in as is..

It does happen in Android, but any fix confirmation is going to be tedious if I can't replicate it with desktop.

hizzlekizzle commented 1 year ago

Since it seems to happen in linux, that's probably the easiest path to debugging. I'm happy to help if needed.