libretro / RetroArch

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

Toggling the menu with vulkan wen run from a tty takes several seconds. #8363

Open orbea opened 5 years ago

orbea commented 5 years ago

Description

When using vulkan with a kms context and then toggling the menu while running any content will result in a several second pause before the menu or content renders again.

When using vulkan with a X11 context or opengl with a kms context toggling the menu is instant.

Expected behavior

Toggling the menu should be near instant and should not take several seconds when using vulkan with kms.

Actual behavior

Toggling the menu takes several seconds when using vulkan with kms.

Steps to reproduce the bug

  1. Start RetroArch with a kms context and vulkan.
  2. Start any core + content (i.e. snes9x-libretro).
  3. Toggle the menu.

Bisect Results

N/A

Older RetroArch commits have other issues with kms and vulkan making a bisect not possible.

Version/Commit

You can find this information under Information/System Information

Environment information

orbea commented 5 years ago

I was mistaken about vulkan using a kms context, this issue occurs when running RetroArch with vulkan from an unused tty.