libretro / RetroArch

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

[Steamdeck] glcore renderer broken #15469

Open notimp opened 1 year ago

notimp commented 1 year ago

For about a month now retroarchs glcore renderer is broken on the steamdeck.

How to replace. Go to desktop mode, update all the dependencies in the discover store. Use the latest retroarch version. Switch to the glcore video renderer, and retroarch will blackscreen (on restart for sure. :) )

I'm using shaders and filters together often, and glcore was the best renderer to use for that purpose.

I'd be over the moon if you could make it work again on the steamdeck (steamos).

Thank you,

notimp

One more thing, the renderer seemed to break, because of a steamdeck driver/dependency update, not because of a retroarch update. Filed a bugreport with steamos as well, but they havent responded. Linux dependency mismatch of some sort seems to be the most likely culprit here.

notimp commented 11 months ago

Here is a log, as requested:

[INFO] [Config]: Looking for config in: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg". [INFO] RetroArch 1.15.0 (Git 6616b80) [INFO] === Build ======================================= [INFO] CPU Model Name: AMD Custom APU 0405 [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: May 16 2023 [INFO] Version: 1.15.0 [INFO] Git: 6616b80 [INFO] ================================================= [INFO] [Input]: Found input driver: "x". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Set video size to: fullscreen. [INFO] [Video]: Starting threaded video driver.. [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] [GLX]: GLX_EXT_swap_control_tear supported. [INFO] [GLCore]: Found GL context: "x". [INFO] [GLCore]: Detecting screen resolution: 1280x800. [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [GLX]: Using Xinerama on screen #0. [INFO] [GLX]: X = 0, Y = 0, W = 1280, H = 800. [INFO] [GLX]: Using windowed fullscreen. [INFO] [GLX]: Creating context for requested version 3.2. [INFO] [GLX]: Found swap function: glXSwapIntervalEXT. [INFO] [GLCore]: Vendor: AMD, Renderer: AMD Custom GPU 0405 (vangogh, LLVM 15.0.7, DRM 3.45, 5.13.0-valve36-1-neptune). [INFO] [GLCore]: Version: 4.6 (Core Profile) Mesa 23.1.4 (git-8b0202e4b4). [INFO] [GLCore]: Using resolution 1280x800. [INFO] [Joypad]: Found joypad driver: "sdl2". [INFO] [GLCore]: Loading stock shader. [INFO] [slang]: Building pass #0 (N/A) [INFO] [GLCore]: Not using frame history. [INFO] [GLCore]: Not using framebuffer feedback. [INFO] [Video]: Found display server: "x11". [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [INFO] [Display]: Found display driver: "glcore".

After that crash.

notimp commented 11 months ago

Here is a log using vulkan, where retroarch boots without crash on the same steamdeck:

[INFO] [Config]: Looking for config in: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg". [INFO] RetroArch 1.15.0 (Git 6616b80) [INFO] === Build ======================================= [INFO] CPU Model Name: AMD Custom APU 0405 [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: May 16 2023 [INFO] Version: 1.15.0 [INFO] Git: 6616b80 [INFO] ================================================= [INFO] [Input]: Found input driver: "x". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Set video size to: fullscreen. [INFO] [Video]: Starting threaded video driver.. [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] [Vulkan]: Vulkan dynamic library loaded. [INFO] [Vulkan]: Found vulkan context: "vk_x". [INFO] [Vulkan]: Detecting screen resolution: 1280x800. [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [X/Vulkan]: Using Xinerama on screen #0. [INFO] [X/Vulkan]: X = 0, Y = 0, W = 1280, H = 800. [INFO] [X/Vulkan]: Using windowed fullscreen. [INFO] [Vulkan]: Found GPU at index 0: "AMD Custom GPU 0405 (RADV VANGOGH)". [INFO] [Vulkan]: Found GPU at index 1: "llvmpipe (LLVM 15.0.7, 256 bits)". [INFO] [Vulkan]: Using GPU index 0. [INFO] [Vulkan]: Using semaphores for WSI acquire. [INFO] [Vulkan]: Using GPU: "AMD Custom GPU 0405 (RADV VANGOGH)". [INFO] [Vulkan]: Queue family 0 supports 1 sub-queues. [INFO] [Vulkan]: Got 3 swapchain images. [INFO] [Vulkan]: Using resolution 1280x800. [INFO] [Vulkan]: Using RGB565 format. [INFO] [Vulkan]: Loading stock shader. [INFO] [Joypad]: Found joypad driver: "sdl2". [INFO] [Video]: Found display server: "x11". [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [INFO] [Display]: Found display driver: "vulkan". [INFO] [Playlist]: Loading history file: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/content_history.lpl". [INFO] [Playlist]: Loading history file: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/content_music_history.lpl". [INFO] [Playlist]: Loading history file: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/content_video_history.lpl". [INFO] [Playlist]: Loading history file: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/content_image_history.lpl". [INFO] [Playlist]: Loading favorites file: "/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/content_favorites.lpl".

[INFO] [X/Vulkan]: Resized fullscreen resolution to 1280x800.

[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.

[INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Autoconf]: Steam Virtual Gamepad disconnected from port 1. [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [XINERAMA]: Saved monitor #0. [INFO] Threaded video stats: Frames pushed: 161, Frames dropped: 0.