Menu

#1 Linux: Wayland: Mouse cursor goes off the screen when using Dotline in FPS games

open
nobody
None
2025-12-24
2025-10-23
Anonymous
No

Originally created by: Cleridwen

Tested on: Fedora 42/GNOME 48/Wayland

Dotline works fine, the crosshair renders, even over exclusive fullscreen games.
However, when enabled, my mouse cursor leaves my main monitor if i look too far to the sides in a game, as if the game wasn't locking my cursor to its window anymore.
This is a problem for players who use more than one screen.
This happens on the few (steam/proton) games I tested, no matter if set to borderless or exclusive fullscreen.

I haven't tested on X11 or different DEs to confirm where the problem may be.

Thank you for Dotline! I can provide more details if needed

Discussion

  • Anonymous

    Anonymous - 2025-11-10

    Originally posted by: thedogecraft

    noted will look in to this

     
  • Anonymous

    Anonymous - 2025-12-07

    Originally posted by: Luz8073

    noted will look in to this

    any updates?

     
  • Anonymous

    Anonymous - 2025-12-20

    Originally posted by: thedogecraft

    Sorry for the late reply I will be testing Dotline on Wayland to figure out how to fix

     
  • Anonymous

    Anonymous - 2025-12-20

    Originally posted by: Cleridwen

    I've had more time with Wayland since opening this issue. Wayland seems to be pretty strict when it comes to overlaying things over other apps, and with taking control of the mouse. I wouldn't be too surprised if Dotline on Wayland isn't possible yet.

     
  • Anonymous

    Anonymous - 2025-12-21

    Originally posted by: thedogecraft

    Yes this very much does seem like the case i'll have to keep an eye out for any wayland/electron updates

     
  • Anonymous

    Anonymous - 2025-12-23

    Originally posted by: Luz8073

    If anyone REALLY needs an overlay and is on wayland then I'd suggest possibly using reshade, this was the only thing that worked for me.

     
  • Anonymous

    Anonymous - 2025-12-23

    Originally posted by: thedogecraft

    Honestly did not know that reshade was available on linux

     
  • Anonymous

    Anonymous - 2025-12-23

    Originally posted by: Luz8073

    Not officially, there's an install script on GH but not even sure how outdated/updated it is. I just know it works for me so

     
  • Anonymous

    Anonymous - 2025-12-24

    Originally posted by: Cleridwen

    Gamescope has ReShade support, altho you won't get an in-game UI to change the settings. Make sure to double check the documentation on the github. Put your .fx shaders in /usr/share/gamescope/reshade/Shaders/, then launch your game with gamescope --reshade-effect my-shader.fx ./my-game , or put gamescope --reshade-effect my-shader.fx %command% in the launch options. Don't forget any other options you may need (-f -w 1920 -h 1080 for full screen on a 1920x1080 monitor for example)

    There's also vkBasalt, a custom Vulkan post-processing layer with decent compatibility with ReShade. I haven't tried it personally

     

Log in to post a comment.

MongoDB Logo MongoDB