hedge-dev / hedge-dev/UnleashedRecomp
Application not launching with graphics within Flatpak
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
Validation
- I have checked the Issues page to see if my problem has already been reported
- I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
If you have DLC installed, please specify which ones you have.
- Apotos & Shamar Adventure Pack
- Chun-nan Adventure Pack
- Empire City & Adabat Adventure Pack
- Holoska Adventure Pack
- Mazuri Adventure Pack
- Spagonia Adventure Pack
If you have mods enabled, please specify which ones you have.
N/A, Not installed
If you have codes enabled, please specify which ones you have.
N/A, Not installed
Describe the Bug
Unleashed Recompiled does not launch properly while in Flatpak, trying to launch will create a window that doesn't appear to respond or cannot be shown, with gamepad input and game audio playing perfectly. The game also writes a constent Vulkan error which I would have to guess is the cause or atleast failed from a cause before it.
Console output:
$ flatpak run io.github.hedge_dev.unleashedrecomp
[*] OS does not support registry.
[*] SDL video driver: "wayland"
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand side
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
^C
vkCreateSwapchainKHR failed with error code 0xFFFFFFFD.
[*] Saving configuration...
Steps to Reproduce
flatpak run io.github.hedge_dev.unleashedrecomp
Expected Behavior
Application window to open with frames
Footage
Specifications
Fill out the following details:
- CPU: Intel Core i5-11400H
- GPU: NVIDIA GeForce RTX 3050 Mobile
- GPU Driver: NVIDIA driver 550.144.03 (PRIME)
- OS: Manjaro KDE (Kernel 6.12.17)
- Version: 1.0.1, 1.0.2, cc1018a
Additional Context
I believe this started when I have updated my GPU drivers. I have also tried uninstalling all flatpak packages and reinstalling the Unleashed Recompiled bundle including all the required dependencies from Flathub. I have also made sure I have no overrides setup for the Flatpak. I have also tried switching between x11 and Wayland.
The game will still take input from a game controller if AllowBackgroundInput is enabled.
This issue seems to only occur while running within a Flatpak, extracting the main binary from the Flatpak bundle and launching it starts the game with no issues at all including GPU detection.
Could be a me issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing flatpak run io.github.hedge_dev.unleashedrecomp and compare it with launching the extracted main binary, focusing on the repeated vkCreateSwapchainKHR errors under SDL Wayland. Done means the Flatpak application opens a responsive window and renders frames on the reported NVIDIA setup without the repeated Vulkan failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- computer-graphics, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100