Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

CS:GO mouse acts weird with SDL_VIDEODRIVER=wayland, issue doesn't occur on sway.

Open jamiepiccolo opened this issue 3 years ago • 5 comments

Steps to reproduce.

  • Remove libSDL2 from ~/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/bin/ and ~/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/bin/linux64
  • Run steam native
  • launch csgo with the launch options SDL_VIDEODRIVER=wayland %command% -vulkan

Expected Outcome

CSGO runs like you would expect, mouse behaves like it had on sway.

Noted outcome.

Mouse input acts weird, perhaps sensitivity is not 1:1 with sway? however the sensitivity is fine when not using SDL_VIDEODRIVER=wayland.

See video. https://www.youtube.com/watch?v=Xy9St4J0oWE

jamiepiccolo avatar Nov 13 '22 03:11 jamiepiccolo

Wayland and XWayland might fetch mouse movements differently.

Can you pop your config here? (attach pls, not copy)

The video doesn't help much, I can't see how you move your mouse :P

vaxerski avatar Nov 13 '22 12:11 vaxerski

The mouse is moving as little as possible, assume 1 millimeter sends it wild.

Config attached, thanks. hyprland.txt

jamiepiccolo avatar Nov 13 '22 12:11 jamiepiccolo

Odd. I assume sway works with SDL_VIDEODRIVER=wayland.

I'll see.

At any rate, you can just game thru xwayland, I guess.

vaxerski avatar Nov 13 '22 14:11 vaxerski

Yup, I've been playing CS:GO on sway with this exact setup for a few weeks. Only thing that changed is installing/running hyprland.

Thanks and good luck if you continue to dig. If there's anything else I can do, let me know.

jamiepiccolo avatar Nov 13 '22 14:11 jamiepiccolo

does this still occur?

vaxerski avatar Dec 21 '22 11:12 vaxerski