-
-
Notifications
You must be signed in to change notification settings - Fork 264
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:
|
I think this might be a upstream gamescope flatpak issue? I am having a similar problem as listed here org.freedesktop.Platform.VulkanLayer.gamescope:#199 but it hasn't really gotten the attention of the maintainers yet. This only effects programs that are run under proton as native applications work fine. Running in an X11 session as stated above doesn't even work for me and gives me a somewhat different but similar error. Distro: Debian Sid |
@mirkobrombin is the custom Wine/Proton that Bottles uses (Soda) compiled without Pressure-vessel? At least for me I can get Steam with gamescope to work if I use the deprecated Flatpak Proton builds that are compiled without it. Not sure if this is the main issue behind this or not as my investigation has led me to a lot of mixed results. (ex. @navkaran0305 's working in X11 but not wayland and mine not working period) |
I can get gamescope to work on the EA App Installation on a fresh install of Mint XFCE on a laptop only when using caffe. None of the other runners work as gamescope terminates for no apparent reason. The Installation will briefly flash in a gamescope instances than disappear as gamescope is terminated. The actual EA App popped up with a blank error box in a gamescope window but I believe that has something to do with the laptops hardware as I couldn't even get the installation to launch without gamescope. This does not work on my desktop with KDE/Wayland at all. |
flathub/org.freedesktop.Platform.VulkanLayer.gamescope#199 (comment) Fixed with latest Nvidia driver update for Fedora KDE-spin |
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: