flathub / flathub/org.libretro.RetroArch

RetroArch closes itself when launching in Vulkan rendering [AMDGPU]

Open
#217 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
20
Forks
19
Avg merge
49m
Merged PRs (30d)
1

Description

### The Problem
After installing RetroArch from the Flathub i've noticed that it uses Vulkan rendering by default which is more convenient as it provides a much better performance for me, however upon running it nothing happens.

Both Steam and the package manager versions runs fine on it.

### PC Specifications

**CPU:** AMD Ryzen 7 3700X
**Graphics Card/Driver:** AMD RX 5700 XT (Sapphire Pulse model)/Using Mesa 22.0-rc2
**Linux Distribution:** ArchLinux
**RAM:** 2x8GB (16 GB total) DDR4 3200 MHz
**Linux kernel:** TkG CFS 5.16.10
**Flatpak Version:** 1.12.5

### Log from `--verbose`

> [INFO] [Config]: Loading default config.
[INFO] [Config]: Looking for config in: "/home/kayx291/.var/app/org.libretro.RetroArch/config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.10.0 (Git a14dcfa)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 7 3700X 8-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Jan 20 2022
[INFO] Version: 1.10.0
[INFO] Git: a14dcfa
[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: 960x720.
[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] Failed to create Vulkan instance (-9).
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[ERROR] [Vulkan]: Could not find instance extensions. Will attempt without them.
[ERROR] Failed to create Vulkan instance (-9).
[ERROR] [Vulkan]: Failed to create Vulkan context.
[WARN] Failed to bind API (#9, version 1.0) on context driver "wayland".
[WARN] Failed to bind API (#9, version 1.0) on context driver "x".
[WARN] Failed to bind API (#9, version 1.0) on context driver "egl_x".
[WARN] Failed to bind API (#9, version 1.0) on context driver "kms".
[WARN] Failed to bind API (#9, version 1.0) on context driver "gl_sdl".
[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..

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Flatpak launch with --verbose and reviewing the reported Vulkan initialization and video-driver errors on AMDGPU. Done means RetroArch launches successfully with Vulkan rendering in the affected Flatpak environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.