libretro / libretro/RetroArch

BUG: Vulkan doesn't load with Snap Package

Open
#15,843 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

When trying to load any core with Vulkan driver using the Snap version of Retroarch, it crashes

Expected behavior

The core should load properly with Vulkan

Actual behavior
[ERROR] [Vulkan]: Failed to enumerate physical devices.
[ERROR] [Vulkan]: Failed to set video mode.
[ERROR] [Video]: Cannot open video driver.. Exiting..
[ERROR] Fatal error received in: "video_driver_init_internal()"
Steps to reproduce the bug
  1. Install the Snap on Debian 12 / AMD hardware
  2. Try to launch any core using the Vulkan driver
Bisect Results

Since I switched over from Ubuntu 23.04 -> Debian 12, I'm using the Snap (because the Debian version of Retroarch is very old and isn't compiled with Vulkan support, and Retroarch doesn't currently provide an updated deb package other than the Ubuntu PPA).

Version/Commit

1.16.0.3

Environment information
  • OS: Debian 12 (Bookworm)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on Debian 12 with the Snap package and an AMD system using the Vulkan driver. Start at the reported video_driver_init_internal() failure and Vulkan physical-device enumeration errors; done means a core launches successfully with Vulkan instead of exiting during video driver initialization.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, linux
Domain
computer-graphics, desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.