appimage fails to launch with Vulkan on non-Ubuntu linux
First and foremost consider this:
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
Description
appimage fails to launch with Vulkan on non-Ubuntu linux
retroarch should launch with video_driver set to Vulkan
changing the video driver to Vulkan via config file causes RA to fail to launch
I've tested this on openSUSE Tumbleweed, Fedora 40, LMDE 6, and Debian Bookworm and all have the same problem. Working fine on Mint 21.3 and Ubuntu 24.04. Will work if video driver set to GL.
Output:
$ ./RetroArch-Linux-x86_64.AppImage --verbose
Setting $HOME to /home/liveuser/Downloads/RetroArch_Qt/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home
[INFO] [Config]: Looking for config in: "/home/liveuser/Downloads/RetroArch_Qt/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.18.0 (Git d55f95f)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX
[INFO] Version: 1.18.0
[INFO] Git: d55f95f
[INFO] Built: May 4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO] webdav
[INFO] null
[WARN] Going to default to first cloud sync driver...
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: 960x720.
[INFO] [Wayland]: Compositor doesn't support zxdg_decoration_manager_v1 protocol
[INFO] [Wayland]: fractional_scale_v1 enabled
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[ERROR] [Vulkan]: Could not find instance extensions. Will attempt without them.
[ERROR] [Vulkan]: Instance does not support required extensions.
[ERROR] Failed to create Vulkan instance.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[ERROR] [Vulkan]: Could not find instance extensions. Will attempt without them.
[ERROR] [Vulkan]: Instance does not support required extensions.
[ERROR] Failed to create Vulkan instance.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[ERROR] [Vulkan]: Could not find instance extensions. Will attempt without them.
[ERROR] [Vulkan]: Instance does not support required extensions.
[ERROR] Failed to create Vulkan instance.
[ERROR] [Vulkan]: Failed to create Vulkan context.
[INFO] [Vulkan]: Found vulkan context: "null".
[INFO] [Vulkan]: Detecting screen resolution: 320x240.
[INFO] [Vulkan]: Using resolution 320x240.
[ERROR] [Vulkan]: Failed to get context data.
[ERROR] [Video]: Cannot open video driver.. Exiting..
[ERROR] Fatal error received in: "video_driver_init_internal()"
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
Steps to reproduce the bug
- download retroarch appimage package
- run appimage
- close and change video driver to vulkan in spawned config file
- try to run appimage again
- run from terminal with --verbose flag
- RetroArch: 1.18
Environment information
- OS: Linux Mint (bare metal; what I have installed now) openSUSE Tumbleweed (bare metal and VM), Debian Bookworm, Fedora 40, Ubuntu 24.04, LMDE 6 (VM). As mentioned, works fine on Ubuntu and Linux Mint (Ubuntu)
same issue? https://github.com/libretro/RetroArch/issues/13714
same issue? #13714
Quite possibly. In my case different GPU though (Intel).
Further testing: same thing happens on openSUSE Tumbleweed with RA installed from repos via zypper.
gecko@localhost:~> retroarch --verbose
[INFO] [Config]: Looking for config in: "/home/gecko/.config/retroarch/retroarch.cfg".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2
[INFO] Version: 1.18.0
[INFO] Built: Mar 23 2024
[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] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[ERROR] [Vulkan]: Could not find instance extensions. Will attempt without them.
[ERROR] [Vulkan]: Instance does not support required extensions.
[ERROR] Failed to create Vulkan instance.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[ERROR] [Vulkan]: Could not find instance extensions. Will attempt without them.
[ERROR] [Vulkan]: Instance does not support required extensions.
[ERROR] Failed to create Vulkan instance.
[ERROR] [Vulkan]: Failed to create Vulkan context.
[INFO] [Vulkan]: Found vulkan context: "null".
[INFO] [Vulkan]: Detecting screen resolution: 320x240.
[INFO] [Vulkan]: Using resolution 320x240.
[ERROR] [Vulkan]: Failed to get context data.
[ERROR] [Video]: Cannot open video driver.. Exiting..
[ERROR] Fatal error received in: "video_driver_init_internal()"
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
Hi,
Can you give some information about your GPU ?
lspci -nnk | grep -A3 VGA
glxinfo -B
vulkaninfo --summary
Thank you.