Summary: | Can't play FPS games with Xwayland EG CS:GO Etc | ||
---|---|---|---|
Product: | Wayland | Reporter: | cory <linuxgamerzone> |
Component: | XWayland | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | blocker | ||
Priority: | medium | CC: | anakin.cs, jadahl, kengur, kparal, pav, simon, xavierb |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=104426 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 84014 | ||
Bug Blocks: |
Description
cory
2014-10-04 00:57:06 UTC
This most likely has to do with the lack of pointer warp support. Adding pointer locking bug as a blocker for this one, as it might be possible to implement warping support in Xwayland using the pointer lock protocol. This is still present with Xorg 1.18.3, tested in both Gnome Wayland and KDE Wayland. It is impossible to play CS GO, the in-game view just goes in the ground or the sky. *** Bug 96680 has been marked as a duplicate of this bug. *** See https://lists.freedesktop.org/archives/xorg-devel/2016-April/049351.html for the current approach. Have any of these patches been merged yet? Looks like these Xwayland Pointer warp emulation patches has been merged into xserver 1.19.0 but i still cant play CS:GO or any other FPS games on Xwayland because my mouse pointer always stuck on the ground. https://github.com/ValveSoftware/csgo-osx-linux/issues/1248 What compositor are you using? The only one I know which has been adapted to handle Xwayland is mutter. Tomasz uses Plasma, per his github comment. Looks like support for "pointer constraints" and "ConfinedPointer" did not make into kwin-5.8.4 release :( https://github.com/KDE/kwin/commit/0c5ca405cc6dbcd92e9297ed7350257123213478 https://github.com/KDE/kwin/commit/2defd6bb6487d52299a0162cf77b5d0e2390bf0f The main issue is that the pointer is not semi-locked to the center of the screen. The way most FPS games work is that the mouse gets brought back to the center of a screen based on a certain refresh rate determined by the game. Not too familiar with any of the protocols or exact coding but I believe there's some sort of call that the game actually performs to the mouse that will determine how many times in a second that mouse position is read and then returned to the center. (In reply to BNolet from comment #10) > The main issue is that the pointer is not semi-locked to the center of the > screen. The way most FPS games work is that the mouse gets brought back to > the center of a screen based on a certain refresh rate determined by the > game. > > Not too familiar with any of the protocols or exact coding but I believe > there's some sort of call that the game actually performs to the mouse that > will determine how many times in a second that mouse position is read and > then returned to the center. Right, doing this is in fact supported in Xwayland, as long as your compositor provides the appropriate extensions. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.