NVIDIA / NVIDIA/open-gpu-kernel-modules

Error launching Vulkan/DXVK games in Flatpak

Open
#698 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

560.35.03

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
  • I confirm that this does not happen with the proprietary driver package.
Operating System and Version

Fedora Linux 40 (KDE Plasma)

Kernel Release

6.10.6-200.fc40.x86_64

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
  • I am running on a stable kernel release.
Hardware: GPU

NVIDIA GeForce RTX 3060 Laptop GPU

Describe the bug

When launching games via Steam/Heroic Launcher/Bottles Flatpak, they fail to start. However, in the native clients for Steam/Heroic, everything works fine. This issue occurs only with games running on Vulkan/DXVK, while games using OpenGL run without problems in Flatpak. Interestingly, if you run 'vulkaninfo', the games will start correctly until the next reboot.

To Reproduce
  1. Launch Steam/Heroic Flatpak
  2. Launch any game using Vulkan/DXVK
  3. Get an error
Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

As it turned out, this issue affects not only Fedora but also Arch, specifically CachyOS.
And if you connect the laptop to an external monitor, the issue is also absent.
There is no such problem in the X11 session, below are links to my problem:

https://forums.developer.nvidia.com/t/error-couldn-t-switch-to-requested-monitor-resolution/291376
https://bugzilla.redhat.com/show_bug.cgi?id=2297228
https://bugzilla.rpmfusion.org/show_bug.cgi?id=7004

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

Begin with nvidia-bug-report.log.gz and the linked Fedora, Red Hat Bugzilla, and RPM Fusion reports; compare the reported Flatpak Vulkan/DXVK behavior across Wayland, X11, and an external monitor. Done means identifying and fixing the open-kernel-driver issue so Vulkan/DXVK games launch reliably in Flatpak after reboot.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, fedora, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.