-
Notifications
You must be signed in to change notification settings - Fork 30
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
High memory consumption with mpvpaper #97
Comments
@CalfMoon would you take a look at this? I'm not very familiar with mpvpaper, but it definitely shouldn't keep running previous wallpapers. |
In my computer ramusage never exceeded 400mb. which is also high but it might be because mpvpaper runs mpv in the background. Maybe 700mb is a resolution thing? how big is your monitor? |
Yes, I have a 4k monitor and I have no problems with the 700mb size. I was trying standalone mpvpaper and I don't get any ffmpeg logs in Bpytop like when I use it with Waypaper. I also tried changing the wallpaper with a time difference and the old one keeps working below the new one. |
It might be related to the thumbnail generation process, which should be over once you see the previews of the videos, but who knows. Could you try to click Refresh in the UI and see if that causes even more usage? |
@CalfMoon okay, I'll take a closer look before publishing it officially. But one small question, when you wrote:
why is it ".mpvpaper-wrapp" and not just "mpvpaper" ? |
I clicked Refresh in the UI and it doesn't cause any more use |
Okay, that's a good news. Thank you |
I also can confirm that previous processes are not killed because:
|
Thank you for this great work |
I decided to use .mpvpaper-wrapp because the opposite happened in my computer, it detected .mpvpaper-wrapp but but not mpvpaper. |
@cr1ogen hi, I reimplemented launching things in mpvpaper, if you have time, please test the current main branch, thanks |
Hello, the mpvpaper stop button works, but now in order to change the background, I have to stop mpvpaper otherwise it does not change the background |
Does this happen for you all the time? I mean, I know there are certain situation, for example, when you set one monitor, and then All, and and then you try to set first monitor again, but it is now behind the running mpvprocess for all monitors (so it changes but it's not visible). So, you must stop (kill) all processes with |
Yes, I only have one monitor |
I see, this is strange. Okay, I just released the version 2.4, if you have time, could you uninstall all previous versions and try with this new version? If the problem persists, a few questions:
|
By the way, I could also reproduce very high CPU and memory consumption when I try to play 4k videos, but that's unfortunately how |
I use Debian, mpvpaper from git and use qtile |
ok, no problem |
But that's with Wayland, right? So, now, beside the high resource consumption (which seems normal with mpv), the main problem that you can't just switch to the new video, you must Stop if first (essentially kill the mpvpaper process) and then choose a new one? One possible reason might be that you need |
Yes it is Wayland, I installed socat which was not installed in Debian and now I can change wallpaper without stopping mpvpaper. |
Good, at least that problem is fixed. The ffmpeg is used in waypaper only to cache images (at least explicitly), so once you see the thumbnails, there should be no ffmpeg process left. I'll try to reproduce it... |
To be honest, I couldn't really see any ffmpeg processes in my system, so it's very hard for me to say what might be wrong. If you have time, maybe you can try to see if, for example:
|
|
As I still couldn't reproduce it, if someone else experiences it, please let us know. |
When I use Waypaper with mpvpaper, there is a high memory consumption with ffmpeg
and with mpvpaper that when changing the wallpaper, the first wallpaper remains running in the background.
The text was updated successfully, but these errors were encountered: