WayfireWM / WayfireWM/wayfire

Zoom effect uses more gpu and gpu resources.

Open
#2,065 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement low-priority
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

Description:
Zoom effect uses more gpu and gpu resources when in use. When the zoom effect is in use, it seems to me that Wayfire is in activity for something I don't now.

How to reproduce:
just zoom in the desktop by using +mouse wheel

Expected behavior:
less gpu and cpu usage (which are almost at zero, especially the gpu usage, when the desktop is not zoomed in).

Screenshots or stacktrace
If applicable, add screenshots to help explain your problem.
If it is a crash, attach the backtrace (or the whole log file), Wayfire will print it in the end of the log file or stdout.
Backtrace with address sanitizer enabled (if possible):

Wayfire version:
0.8.0 (and previouses)

Plugins used in my config file:
plugins =
alpha
animate
autostart
command
decoration
fast-switcher
foreign-toplevel
gtk-shell
idle
move
oswitch
place
resize
shortcuts-inhibit
switcher
wayfire-shell
window-rules
wm-actions
zoom

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source file, test, or entry point. Start by reproducing the zoom effect with Super+mouse wheel while measuring CPU and GPU usage, then trace the zoom plugin's rendering activity. Done means zooming no longer causes unexpectedly high resource use while preserving the effect.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.