MaverickMartyn / youtube-music-desktop

A desktop client for YouTube Music with MusixMatch lyrics.
Apache License 2.0
118 stars 21 forks source link

High cpu usage, sometimes GPU usage. #11

Open PauldeKoning opened 4 years ago

PauldeKoning commented 4 years ago

I am getting relatively very high cpu usage (10-20%) even when the program is idle and not playing music. Furthermore it's sometimes using my dedicated GPU for 5-10% which it shouldn't do in any case I believe.

I have an i5 6600k and a rx vega 56.

lakimens commented 4 years ago

I came to post this. I usually run DOTA 2 at around 100FPS on a 120Hz monitor so it's noticeable when I have lower FPS. I had this running in the background and it froze multiple times.

When I turned it off, my FPS probably doubled - not even joking. Extremely heavy on the CPU and possibly memory. Using the browser is much more efficient.

MaverickMartyn commented 4 years ago

I've seen those issues myself. This shouldn't be an issue in my rewrite. Sorry about the long delay on that. I suspect I may have a memory leak somewhere obscure. I expect to be back on this project in the near future.

brittenr commented 3 years ago

Hi Martyn, I also experienced this problem recently - even just after loading the app i experienced ~3% gpu usage

kameryn1811 commented 3 years ago

Dang, same here.

I love this app, but I've stopped using it for now. I do a lot of animation and compositing, and my computer locks up regularly if I have it open, once I discovered it was the culprit and closed it, no issues.

Note: the same thing happens if I open the official Youtube Music website in chrome, so not sure it's the app that's the issue. But if you have any way of restraining Youtube music that'd be amazing.

Looking forward to this getting fixed.

PauldeKoning commented 3 years ago

I suspect it might be something to do with a YouTube music bug. When I installed YouTube music's official PWA (which is nothing more than a standalone chromium tab) I also had this problem. I do not have it when running YouTube music as one of my regular tabs though.

So I feel like it's either a YouTube music or chromium bug.

On Sun, 3 Jan 2021, 05:43 kameryn1811, notifications@github.com wrote:

Dang, same here.

I love this app, but I've stopped using it for now. I do a lot of animation and compositing, and my computer locks up regularly if I have it open, once I discovered it was the culprit and closed it, no issues.

Note: the same thing happens if I open the official Youtube Music website in chrome, so not sure it's the app that's the issue. But if you have any way of restraining Youtube music that'd be amazing.

Looking forward to this getting fixed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MaverickMartyn/youtube-music-desktop/issues/11#issuecomment-753567102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIQBQRS5N65KDYXCJNVH3DSX7YWDANCNFSM4I4PKTMA .

brittenr commented 3 years ago

Following on from your point Paul, I don't observe this behaviour when using YTM on firefox

Hi-Angel commented 1 year ago

Since the problem persists on a browser as well, I collected some observations, hopefully they will be useful:

Hi-Angel commented 1 year ago

Found a workaround for Chrome: running it with --no-sandbox makes problem disappear.

Couldn't find something similar for Firefox, because I no longer can reproduce it there.