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

Retroarch is switching PPSSPP to glcore when global is set to vulkan #9774

Open klepp0906 opened 4 years ago

klepp0906 commented 4 years ago

First and foremost consider this:

Description

Retroarch is treating PPSSPP like it doesnt support vulkan and automatically swapping to glcore. If the swap behavior is disabled in the core menu, then retroarch just crashes instead. Tested with a blank cfg, result was the same. Same behavior if set to D3D, swaps to glcore.

Expected behavior

PPSSPP to work with supported backends of the users choosing set in the main menu.

Actual behavior

PPSSPP is treated like gl(core) is the only supported backend.

Steps to reproduce the bug

  1. set your video driver to vulkan
  2. run a ppsspp game
  3. enter the menu and check your video driver. OR
  4. set your video driver to vulkan
  5. core > allow cores to switch the video driver OFF
  6. run a ppsspp game
  7. enjoy your wallpaper

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

maverick-hunter commented 4 years ago

I'd like to add that even when retroarch automatically switch back to gl, it will still use vulkan shaders unless the driver is properly switched manually (with a full restart). This causes problems with the shaders (for instance, shaders_slang/handheld/console-border/psp-2x.slangp will have the overlay upside down, the other versions will have all kind of weird stretching). It won't give the option to choose a proper glsl shader until a manual restart is done, so I can't just let PPSSPP with a gl core and the rest of the cores with vulkan while using shaders.

3XistencE commented 4 years ago

I Noticed the same problem, also a manual uninstall/re-install of retroarch doesn't change the core back to opengl and it require the final user to manually consider two options: 1.delete the core config file 2.edit manually the core config file.

It will be useful to let the final user Load the Core and be able to access the core main functions and/or have under Core Informations an option to "reset/delete core configuration".

Immersion95 commented 4 years ago

Any news on this matter ? Should we open it on the ppsspp github directly ?