-
Notifications
You must be signed in to change notification settings - Fork 12
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]: Using GNOME Shell gestures crashes programs running in Bottle #41
Comments
I hadn't thought anything about it yesterday which is why I made this issue, but it does seem to actually be due to Wine upstream issues, also being tracked for Proton, but seemingly a rather recent one which is why it didn't affect my system Wine and others. I have been able to reproduce the issue with an assortment of soda (7.0-2), caffe and Lutris based Bottles, but if I set it to my system wine (7.0 Ubuntu) there is no issue. I'll leave it up to you whether to close this issue as it clearly has to do with upstream, or to leave it open for tracking. |
So the bug hit 7.0+ versions and not 7.0. What is the exact version of your system wine? May also be caused by a patch in our runners. Moving to the right repository |
Well, I'm actually not too sure now. In Bottles, I selected the "sys-wine-7.0" for the runner option so I assumed my system Wine was 7.0, but when typing "wine --version" in a shell it returns "wine-6.0.3 (Ubuntu 6.0.3~repack-1)". Others I've also tested caffe-6.23, caffe-7.10, Vaniglia 7.11, vaniglia 6.18, Lutris 5.21-2, Lutris 6.0 and they all exhibit the issue. The only runner I'm not having an issue with is sys-wine-7.0. From my research online, this issue seems to be quite a mess. Some have it only with Proton (or Proton based runners), but others report it happening with basic Wine, some say it only happens only with DXVK enabled, but some have it happen regardless (I've tried with DXVK on and off). Have you been able to reproduce the issue? |
That's weird. I'm not able to reproduce with Soda or Caffe |
If there's something you want me to test out to help you diagnose this, let me know. Do think it might just have to be fixed upstream. |
Are there useful logs? |
Besides the error log in my initial message, I am not sure which logs would be relevant. I would be happy to provide any you request, though. Some additional stuff I found: The issue was reported to be happening on KDE as well, which they worked around on their side by pushing a merge request that stops Kwin forwarding DE gestures to applications. The same proposal was made for GNOME/Mutter here, but so far GNOME devs have rejected the idea of a workaround. One thing that does work is manually disabling the forwarding of gestures to all XWayland programs with this command: The DE still receives the gestures so you don't lose that functionality, they just don't get to the applications. It might cause issues with some XWayland programs, but I've yet to find one. |
I think this is not a bug in our end, I tried to replicate in any way without success |
For others like me struggling to apply the workaround persistently, add an Its content should be like:
Edit the |
Bug still present |
Same here wine app crashes when swiping three fingers. |
Still present on Fedora 39, using wayland. Both two (zoom or move in app view) and three finger gestures crash all apps. Using the flatpak version of bottles from flathub |
is there any other way around it that is possible instead of disabling the gestures as i am only using gestures to navigate through my work flow |
Here's a workaround which doesn't require disabling gestures. It works for most of my games, at least. You need to enable the Virtual Desktop; but not from "Advanced Display Settings", as for some reason this crashes all the programs. |
Describe the bug
It happens no matter which Windows game/program I'm running, whether I'm running them windowed/fullscreen or within a virtual desktop. I can open the GNOME overview or switch workspace if I use keyboard shortcuts, but it will invariably crash if I use the 3-finger gestures baked into GNOME while the windows program is in focus, giving this output:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 197 Current serial number in output stream: 197 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 369 Current serial number in output stream: 369 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 2711 Current serial number in output stream: 2711
This is something that I haven't had happen running games on regular Wine, on Lutris or on Steam Proton outside of Bottles. My main Bottle is fairly unmodified from default settings (I've experimented turning a few settings on and off, to no difference), but to make sure I tried it with a fresh Bottle and it crashed the same way, same terminal output.
To Reproduce
Package
Flatpak from Flathub
Distribution
Ubuntu 22.04
Troubleshooting Logs
Display Protocol
Wayland
Display Backend used by Bottles
Wayland
Additional context
No response
The text was updated successfully, but these errors were encountered: