Skip to content
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

Strange mouse/cursor behaviour in fullscreen apps #484

Open
Tipcat-98 opened this issue May 15, 2024 · 4 comments
Open

Strange mouse/cursor behaviour in fullscreen apps #484

Tipcat-98 opened this issue May 15, 2024 · 4 comments

Comments

@Tipcat-98
Copy link

Tipcat-98 commented May 15, 2024

This started around the time when #448 and related commits were added.

In one game, V Rising.
The cursor is offset from it's actionable position.
As seen in the screenshot the option box is highlighted when the cursor is moderately to the left of it.
This only happens in "Exclusive Fullscreen" mode, where in "Windowed" it works fine.

In another game, World of Warcraft.
The cursor position matches where it actually is but you cannot move it to the very right of the screen.
As seen in the screenshot, I cannot move it further to the right.
This only happens in "Fullscreen (window)" mode, in "Windowed" mode it is fine.

I have two 1920x1080 monitors and I'm on Nvidia.

System Info:
Cosmic: Updated to latest git as of today
OS: Pop!_OS 22.04 LTS x86_64
Kernel: 6.8.0-76060800daily20240311-g
DE: GNOME 42.5
CPU: Intel i7-6700 (8) @ 4.000GHz
GPU: NVIDIA GeForce RTX 2060 Rev. A
GPU Driver: 550.67
Memory: 32024MiB

@Tipcat-98
Copy link
Author

Tipcat-98 commented May 15, 2024

I can't really confirm if this only happens with xwayland apps.

Sidenote (might be related, not sure):
I tried native wayland terraria and it does exhibit the same instability with nvidia as my other issue - #419.

I'll rename to say fullscreen apps.

@Tipcat-98 Tipcat-98 changed the title Strange mouse/cursor behaviour in Xwayland apps. Strange mouse/cursor behaviour in fullscreen apps May 15, 2024
@Tipcat-98
Copy link
Author

Tipcat-98 commented Jun 11, 2024

screenshot-2024-06-11-15-28-41

Adding proper embeds instead of discord links

@Tipcat-98
Copy link
Author

Tipcat-98 commented Aug 13, 2024

This seems to have worsened as of late.
With the Nvidia legacy code path fix you can now get in-game without crashing but in most xwayland games you can't click anything on the screen, even if you start the game as windowed.

@ltsymes23
Copy link

The game I noticed this take place in Genshin Impact running the hoyoplay launcher as a non-steam game under proton. Pre nvidia 560 driver release, clicks would not register at all meaning you would not be able to start the game, but now with the 560 driver update clicking now works, but the click takes place 10 cms to the right of where the cursor icon appears. This means the left side of the screen is inaccessible.

(1 indicates the position of the "physical" cursor icon, 2 indicates where the game thinks the cursor is and where clicks register)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Post-Current-Alpha ToDo
Development

No branches or pull requests

3 participants