You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
xemu: Failed to initialize Vulkan renderer: SDL_CreateWindow failed: Failed loading libvulkan.so.1: libvulkan.so.1: cannot open shared object file: No such file or directory #478908
On Linux, xemu v0.8.130 as of writing this (or the underlying SDL) reports not being able to find the Vulkan Loader library as it automatically falls back to the OpenGL rendering backend: Failed to initialize Vulkan renderer: SDL_CreateWindow failed: Failed loading libvulkan.so.1: libvulkan.so.1: cannot open shared object file: No such file or directory Might be related to xemu crashing after switching from OpenGL renderer to Vulkan and resetting the emulator.
Things that have been tried:
Pointing LD_PRELOAD and LD_LIBRARY_PATH to Vulkan Loader library to no avail.
Setting the SDL_VULKAN_LIBRARY environment variable to point to said loader fixes seems to solve the problem, but that is not what I would call expected behaviour.
Steps to reproduce
Set up your xemu install, if not already done. Switch from the OpenGL renderer to Vulkan during runtime or add this to ${HOME}/.local/share/xemu/xemu/xemu.toml before starting the emulator if not present or set to something else:
[display]
renderer='VULKAN'
Expected behaviour
The Vulkan renderer should just work without setting environment variables.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
system: "x86_64-linux"
host os: Linux 6.18.4, NixOS, 26.05 (Yarara), 26.05.20260108.3497aa5
On a side note, regardless of this issue: DO NOT switch the rendering backend while the boot animation is still playing. xemu might end up softlocking or crashing as a result.
Activity
sdl3: fix dynamic loading of vulkan
IdaCryze commentedon Jan 11, 2026
On a side note, regardless of this issue: DO NOT switch the rendering backend while the boot animation is still playing. xemu might end up softlocking or crashing as a result.
sdl3: fix dynamic loading of vulkan
sdl3: fix dynamic loading of vulkan
sdl3: fix dynamic loading of vulkan
sdl3: fix dynamic loading of vulkan