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

VRAM leak when switching cursor between displays #753

Open
L-Acacia opened this issue Jan 31, 2025 · 1 comment
Open

VRAM leak when switching cursor between displays #753

L-Acacia opened this issue Jan 31, 2025 · 1 comment

Comments

@L-Acacia
Copy link

L-Acacia commented Jan 31, 2025

Describe the bug
Hyprland leaks VRAM when moving the mouse between displays until it gets stuck at ~2750MiB when hyprpanel is running.
It increases 10MiB if I move to the display on the left, and 30MiB on the one to the right.
The VRAM doesn't seem to be freed upon closing the program.

To Reproduce

  • Start Hyprpanel and move your mouse from one display to another

Expected behavior

  • GPU VRAM stays constant

Screenshots
Sorry for the yt link github doesn't let me upload the video for some reasons.
Video Demonstration

Desktop (please complete the following information):

  • Nixos
  • Hyprland 0.47.0
  • Nvidia 3090 with 565.77 drivers
  • Both display are 1080p

Additional context
This doesn't happen when switching workspace on the same display.
This doesn't happen without hyprpanel.
The culprit might very well be nixos / nvidia / hyprland / my hyperpanel config.

@L-Acacia
Copy link
Author

L-Acacia commented Feb 9, 2025

Tried on a clean config. It seems to be an astal issue.
Each time a widget is rendered, the vram is not released when it's destroyed.
The display switching creates a new osd each time.

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

1 participant