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

Noticable FPS drop while moving on screen elements #2287

Open
thonkdifferent opened this issue Mar 2, 2025 · 5 comments
Open

Noticable FPS drop while moving on screen elements #2287

thonkdifferent opened this issue Mar 2, 2025 · 5 comments

Comments

@thonkdifferent
Copy link

thonkdifferent commented Mar 2, 2025

/### What Happened?

When I move on screen elements (Mutter surfaces in general) there is a noticeable frame drop after some time.

Steps to Reproduce

  1. Open window
  2. Drag it around for around 10-20 seconds

Expected Behavior

Window moves smoothly

OS Version

8.x (Circe)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

OS: elementary OS 8 x86_64
Kernel: Linux 6.11.0-17-generic
Packages: 1674 (dpkg), 12 (flatpak-system), 10 (flatpak-user)
Shell: bash 5.2.21
Display (PA247CV): 1920x1080 @ 75 Hz in 24" [External]
DE: Pantheon
WM: gala (Wayland)
Theme: Yaru [GTK3], io.elementary.stylesheet.blueberry [GTK4]
Icons: Yaru [GTK3], elementary [GTK4]
Font: Inter (9pt) [GTK4]
Cursor: elementary
CPU: AMD Ryzen 7 3700X (16) @ 4.43 GHz
GPU: AMD Radeon RX 6800 [Discrete]
Memory: 6.05 GiB / 78.47 GiB (8%)
Swap: 0 B / 10.00 GiB (0%)
Disk (/): 12.53 GiB / 417.91 GiB (3%) - btrfs

@lenemter
Copy link
Member

lenemter commented Mar 2, 2025

I cannot reproduce the issue on my laptop with Ryzen 5 5600H. I suppose this is a graphics card driver issue. Not sure how to debug this, as we don't do low level stuff in Gala

@thonkdifferent
Copy link
Author

This does not happen with regular Mutter 46 and GNOME

@thonkdifferent
Copy link
Author

gala_log.txt

Here is the log file gala generated when I ran it headless from the TTY in wayland mode.

I started dragging a window at the 14:14 mark

@thonkdifferent
Copy link
Author

Update - Gala takes up a considerably more CPU time while dragging windows around.

@thonkdifferent
Copy link
Author

Update again: a few things to note

  1. This seems to affect Libgranite apps as they also sometimes have visible frame drops
  2. Using xdp-screencast makes Gala stutter

Ideas: maybe gperf could help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants