-
-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Discrete graphics not working "Failed to create swap chain" - Fedora 39/40 #3268
Comments
It works in Vanilla OS 2 Orchid. Sadly I have no idea where to start debugging. I'll keep this open, maybe someone knows how to help. |
Updated to Fedora 40 and tried reinstalling all system media plugins (wine, gstreamer etc.) but still no luck :( |
Additional logs when I try to switch to any wine runtime, I get these warnings
|
Using Gamescope with appropriate settings spits out this
|
@mirkobrombin Found a workaround, there is probably an issue with the Fedora Wayland session. Don't know who the exact culprit is :( Here are the logs after running a game successfully:
|
Describe the bug
Recently switched from Debian to Fedora. Old bottles with games running on discrete graphics crashed. Created fresh bottles, reinstalled Nvidia drivers and even clean installed the OS. The flatpak version of Bottles is having issues, running anything with discrete graphics errors out with
err: D3D11SwapChain: Failed to recreate swap chain: -13
err: DXGI: CreateSwapChainForHwnd: Failed to create swap chain
The rpm version is fine but buggy. Confirmed that flatpak version works in Debian stable, PopOS, Mint and other debian-based distros.
To Reproduce
Package
Flatpak from Flathub
Distribution
Fedora 39
Debugging Information
Troubleshooting Logs
Additional context
`$ flatpak info --show-permissions com.usebottles.bottles
[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;
devices=dri;all;shm;
features=devel;multiarch;per-app-dev-shm;
filesystems=home;host-etc;host-os;/run/media/user/Drive2;host;
[System Bus Policy]
org.freedesktop.UDisks2=talk
[Environment]
LD_LIBRARY_PATH=/app/lib:/app/lib32
GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/app/lib32/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0
PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/usr/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin/:/usr/lib/extensions/vulkan/gamescope/bin/`
The text was updated successfully, but these errors were encountered: