Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
xserver
xserver
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 895
    • Issues 895
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 88
    • Merge Requests 88
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • xorg
  • xserverxserver
  • Issues
  • #1118

Closed
Open
Opened Jan 02, 2021 by PopeRigby@PopeRigby

Unfocused XWayland applications drop to 1 FPS on SwayWM

OS/Device Information
  • OS: Arch Linux
  • Window Manager: Sway
  • GPU: RX 5700 XT
  • CPU: Ryzen 7 3700X
Issue description

When I unfocus the the window of an XWayland application, the FPS will drop down to 1. Refocusing the window causes the FPS to climb back up to 60. I've been able to reproduce this issue in both Dark Souls 2 running through Steam Proton, and projects running in Godot engine.

At least with Godot, disabling v-sync seems to eliminate the issue. Also, this problem only seems to happen on SwayWM, because running the Godot game with GNOME didn't reproduce the problem. Here's a video of the problem happening in Godot:

recording

For Dark Souls 2, I realized it was happening because every time I unfocused the game and came back to it there would be a message about my framerate being too low for online play.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xorg/xserver#1118