libretro / RetroArch

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

Tick icon and Keyboard layout flashing on screen when loading content with screen overlay and controller connected with D3D #10061

Open sonicsheppard opened 4 years ago

sonicsheppard commented 4 years ago

First and foremost consider this:

Description

There is a large 'tick' icon, followed by a fullscreen keyboard layout image which very briefly flashes on screen when loading up any content with any libretro core. This is seemingly only happening when using a D3D10, D3D11 or D3D12 graphics backend (not D3D9), combined with an onscreen overlay and with a controller connected.

I have found the issue does not occur if there is no onscreen overlay enabled, or the controller is not connected on launch (I'm using a Bluetooth XBox One controller), or a different graphics API - tried with opengl and Vulkan.

Expected behavior

No 'tick' icon and keyboard layout flashing on screen when launching content.

Actual behavior

Large 'tick' icon flashes on screen, followed by a large keyboard layout flashes on screen when using D3D graphics backend, a Bluetooth controller connected and an onscreen overlay enabled.

Steps to reproduce the bug

  1. Install latest version of Retroarch (currently 1.8.4)
  2. Download a core (e.g. PicoDrive)
  3. Set the Video backend API to D3D12 and save the config.
  4. Open the PicoDrive core with any content and enable and save an onscreen overlay - e.g. a 32x border for 4:3.
  5. Connect a Bluetooth controller to your Windows 10 system (Xbox One controller).
  6. Launch the core with content, with the API set to D3D12, the Bluetooth controller connected and the onscreen overlay enabled.

Bisect Results

I have rolled back to previous Retroarch versions and it is occurring on the previous 4 versions I have tried.

giuvidotto commented 3 years ago

happening here too! any news?

Tatoon1983 commented 3 years ago

Same exact problem. vlcsnap-2021-02-22-19h43m02s142 This flashes several times when I start a ROM. To me it happens without having any controller connected (besides the keyboard and mouse).

metallic77 commented 3 years ago

Same on me, when i use d3d11 and any overlay, i have a keyboard overlay flashing now and then.