-
Notifications
You must be signed in to change notification settings - Fork 19
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
Performance issue on KDE Plasma #49
Comments
@fusetim Thanks for your feedback. I'll try installing my old laptop with Arch KDE so I can experience your issue. One thought I just had at the end of this answer (I don't remember if my DBus calls are blocking or async maybe this blocks the main YTermusic thread). |
@fusetim I added a test fix that makes calls to dbus lazy so we don't update if nothing changes + I added a config field in player called |
Currently compiling it, can you just confirm that the config file should be Also an another option is that it is an ALSA issue. I will also try to add a video démonstrating the issue. |
I use the system default config folder. A video would definitely be a plus. The config file will be autogenerated and named |
Okay so the issue persists with or without |
Here a video of the issue (note, the link will expire in 24h) : |
Yep that's because of the unwrap_or_default() |
Okay, well in the first place, I did not really expect a fix, but at least the issue is reported. |
@fusetim An option to find if it comes from ALSA or at least something like rodio or CPAL would be to try using another music player based on the same stack to see if it has the same effect. |
@fusetim QQ, are you using pipewire or pulseaudio? I have an Arch KDE install and on Alpha & now on beta I haven't any such issues. Can you provide more detail on you're audio stack configuration? Also, are you using konsole? Thanks. |
ytermusic
is a great software and I enjoy using it. However, both my laptop and my desktop run on Linux (Arch Linux and NixOS) and I notice some performance issue.More specifically, on my laptop, it seems that running the app makes the rest of the DE (KDE Plasma) really slow when I change volume and/or tracks. For instance, the way the volume slider interacts is very unreactive (it takes likes 1 or 2 seconds to actually de/increase the volume by 5%, a thing that you can "spam" usually).
Also, on desktop, this time running the app seems to make more laggy the switch between windows.
I know this bug report is really lacking details, and I hope maybe adding more info, but for now, these are the only info I can give. Nonetheless, if I had to make an educated guess, I would say it is related to the way you use the DBUS API, and would suggest a very high number of calls to the DBUS API, such important it starts to make lag the DE (the Audio apps, or more).
The text was updated successfully, but these errors were encountered: