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

Excessive Resource Usage in Hyprland on Low-Spec Device Compared to dwm #9031

Open
chadx0 opened this issue Jan 11, 2025 · 6 comments
Open
Labels
enhancement New feature or request

Comments

@chadx0
Copy link

chadx0 commented Jan 11, 2025

I am experiencing excessive resource consumption (CPU and RAM) when using Hyprland on a low-spec device. I do not encounter the same issue with dwm, which runs smoothly without any noticeable resource usage problems.

While dwm performs excellently on a low-spec device with minimal resource consumption, Hyprland causes a significant slowdown in performance due to excessive memory and CPU usage

@chadx0 chadx0 added the enhancement New feature or request label Jan 11, 2025
@vaxerski
Copy link
Member

does sway / river / kwin do the same?

@UjinT34
Copy link
Contributor

UjinT34 commented Jan 12, 2025

Default wallpaper eats a lot of vram on start even when it is not used. 100 out of 300mb used by HL in my case. I guess initAssets isn't that useful and loadAsset should be deferred till needed.

@vaxerski
Copy link
Member

loading the default wallpaper even on my 9950X takes a solid half a second or so. We cannot allow for such lag.

What we could do though is unload the texture if you have the default wallpaper disabled, I guess.

@caffeine01
Copy link

caffeine01 commented Jan 13, 2025

loading the default wallpaper even on my 9950X takes a solid half a second or so. We cannot allow for such lag.

What we could do though is unload the texture if you have the default wallpaper disabled, I guess.

+1, no need to cache/preload if disabled, especially in memory critical contexts.

@vaxerski
Copy link
Member

enjoy

@caffeine01
Copy link

oh em gee it is liek crismus come early!1!!!!1!!1!!

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

No branches or pull requests

5 participants
@UjinT34 @vaxerski @caffeine01 @chadx0 and others