Skip to content

Mouse gets stuck on right edge and snaps back when moving left #2224

Description

@TheOwn68

Is there an existing issue for this?

  • I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • The issue occurs on upstream gamescope without any modifications

Current Behavior

When running games through Gamescope on KDE Wayland, the mouse sometimes becomes stuck on the right edge of the screen.
When I try to move the mouse left, the pointer teleports back to the right side instantly.

Steps To Reproduce

  1. Launch Meccha Chameleon or R.E.P.O through Gamescope
  2. Move the mouse to the left
  3. The mouse becomes stuck on the right side
  4. Attempting to move left causes the pointer to snap back to the right immediately
    This does not happen outside Gamescope

Hardware information

- Distro: Arch Linux
- CPU: intel core i5 8th gen
- GPU: UHD 620
- Driver Version: Mesa 26.1.1

Software information

- Desktop environment: KDE
- Session type: Wayland
- Gamescope version: 3.16.24
- Gamescope launch command(s): -w 854 -h 480 -W 1080 -H 1920 --forec-grab-cursor -f

Which gamescope backends have the issue you are reporting?

  • Wayland (default for nested gamescope)
  • DRM (default for embedded gamescope, i.e. gamescope-session)
  • SDL
  • OpenVR

Logging, screenshots, or anything else

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions