Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appimage fails to launch with Vulkan on non-Ubuntu linux #16496

Open
sillyspiel opened this issue May 4, 2024 · 3 comments
Open

appimage fails to launch with Vulkan on non-Ubuntu linux #16496

sillyspiel opened this issue May 4, 2024 · 3 comments

Comments

@sillyspiel
Copy link

sillyspiel commented May 4, 2024

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

  1. download retroarch appimage package
  2. run appimage
  3. close and change video driver to vulkan in spawned config file
  4. try to run appimage again
  5. 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)
@hizzlekizzle
Copy link
Contributor

same issue? #13714

@sillyspiel
Copy link
Author

same issue? #13714

Quite possibly. In my case different GPU though (Intel).

@sillyspiel
Copy link
Author

sillyspiel commented May 4, 2024

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants