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

Clementine Player at 100% CPU fairly consistently #3551

Open
Clementine-Issue-Importer opened this issue Dec 13, 2013 · 13 comments
Open

Comments

@Clementine-Issue-Importer

From dedanna1029 on March 13, 2013 15:43:24

What steps will reproduce the problem? 1. Load Clementine Player 1.0.1
2. Try importing music library, playing songs, importing cover art, playing songs, pretty much anything at all with it.
2. Note 100% CPU usage for a good while, then Clementine Player crashes, with just "SEGMENTATION FAULT"; no other info noted. What is the expected output? What do you see instead? Expected output of course, is: for it not to constantly be at 100% CPU, in particular when finding album covers (but not solely). For it not to be at 100% CPU while importing the music library, after choosing the folders for the library. For it not to be at 50+% while playing a song, for it not to jump to 73% and above in-between songs. For it not to be a resource-hog. Compared to Amarok 1.4.10, it is extremely resource-intensive. For it not to crash out of the blue from all of this. What version of the product are you using? On what operating system? Clementine Player 1.0.1, on Mageia Linux 2. Please provide any additional information below. I caught it right when shooting up to 100% CPU usage (surprisingly to me, while it was playing a song; it normally doesn't get to 100% while just playing), just as it had hit 100%, but the meter itself hadn't gone up (this will make sense upon viewing).

Granted, this is an old server, but still, in Linux, no package should take up this much CPU usage, even with only 1GB of RAM, and old CPU.

Please, I do not know what is doing it, but I'm more than willing to give whatever information you need to get this fixed. It's been going on since 0.7, I'm debating on (if I can find it for this system anywhere) rolling back all the way to 0.5. It also does this on a much newer machine, that being my netbook, a Toshiba NB255, with 1GB RAM, and plenty of swap space (2GBs). Same with this desktop server; plenty of swap space.

I have not been able to find a satisfactory player since Amarok 1.4.10, and am an audiophile deluxe. I miss my music incredibly. I do music work from time to time, and would like to be able to say that Clementine is my player of choice, but due to this issue, I can not (very sadly).

Other info needed is attached.

Attachment: screenshot-cpu-clementine.jpg

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=3551

@Clementine-Issue-Importer
Copy link
Author

From fuuze...@fuuzetsu.co.uk on March 13, 2013 07:49:12

Update to the newest version. Make sure you disable moodbars.

Downgrading to 0.5 will not help to troubleshoot the issue that other people might also be having – while it might show where the issue was introduced, it might have already been fixed in the newest builds. Furthermore, a comment on the other issue was enough, no need for a whole new issue.

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on March 13, 2013 08:18:22

When choosing View Albums Without Covers in cover manager, and then also while it's trying to find the covers. I'd just clicked it - note the rise. It goes to 100% CPU as soon as I choose to view like that. Not that it doesn't take a heck of a jump soon as I load Cover Manager itself.

I'm lucky to be posting this right now - it will indeed crash soon, I'm 'fraid.

Attachment: screenshot-cpu-clementine-cover-manager-in-view-albums-without-covers.jpeg

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on March 13, 2013 08:20:08

I am not sure this computer can handle the next version up, but I will try it.

I also do not use mood bars. I have no use for them.

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on March 13, 2013 08:30:07

I'm wondering, 1.1 is not in the Mageia repos, and I'm not finding a noarch rpm anywhere online, either.

I'm wondering if you need me to compile it, or ?

Thanks.

@Clementine-Issue-Importer
Copy link
Author

From fuuze...@fuuzetsu.co.uk on March 13, 2013 13:03:28

I'm not sure how your distro works, you might have to compile it yourself. There are instructions how to do it on the wiki at [1].

The issue with moodbars was that even if you don't choose to view them, they will still be generated in the background and it can be very CPU intensive. Newer versions remedy this issue by allowing you to turn off the generation all together. While I don't believe this might be the whole issue, it's better to be on the safe side. The newer versions will also tell you when a moodbar is being generated. Overall it's a good idea to post Clementine log with your bug reports – you can get it by running Clementine from the terminal.

I don't see why 1.0.1 would run on your box and 1.1.1 wouldn't – higher versions ≠ higher requirements. In fact, there is a lot of software where higher version is more desirable due to stability and resource fixes.

[1] - http://code.google.com/p/clementine-player/wiki/CompilingFromSource

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on March 13, 2013 16:30:26

"higher versions ≠ higher requirements" - that's why I'm horridly afraid it wouldn't work. As I said earlier, this is a very old server; the hardware is on the first screenshot I took (system monitor, at the bottom). I know my netbook would run it (it has before when I had a distribution that had it), but it was also very resource-intensive on it.

Mandriva is an .rpm-based distro, yet does not have the 1.1.1 for Mageia 2 (which I'm on).

Moodbars - I'll have a look at the config file for Clementine, and see what it says from there on them.

Thanks.

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on March 13, 2013 16:31:48

Oh, sorry, just noticed the slash through the equals sign.

I'm afraid I've found that untrue in general; right down to the desktop. KDE is more resource-intensive with each release; so is Gnome.

With packages, I've found the same, more often than not.

@Clementine-Issue-Importer
Copy link
Author

From fuuze...@fuuzetsu.co.uk on March 13, 2013 18:42:48

You can find some RPMs at [1]. I do recommend building from source as 1.1.1 doesn't have some of the fixes that are only available when you build from more recent source.

You shouldn't edit your config file by hand – if the option is not in the settings accessible through the UI itself, you probably don't have the feature in your build.

Gnome and KDE are really bad examples – they are huge software packages that pack more and more stuff into each release. It's also far more difficult to downgrade your DE than your music player if you find the resource usage unsatisfactory.

In any case, you will not get any real support for the old versions. Please post more information once you upgrade to a recent version.

[1] - http://code.google.com/p/clementine-player/downloads/list

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on March 14, 2013 06:50:55

OK, will do. In the meantime, I did say that it crashes with nothing more than SEGMENTATION FAULT. Example attached.

I will try compiling on the netbook. I've never been able to successfully compile clementine (have tried a fair few times), but will try again.

I've also filed a bug at Mageia's bugzilla, to get Clementine updated in Mageia 2 because of this issue.

Thanks.

Attachment: clementine.txt

@Clementine-Issue-Importer
Copy link
Author

From fuuze...@fuuzetsu.co.uk on March 14, 2013 08:03:49

I should note that the segfault itself might be related to the issue #3519 .

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on April 09, 2013 04:06:24

I would say so, but it's not just with album covers fetching and the like. I have not been able to update yet, but what I will be able to do is a gdb backtrace (bt full). There are no rpms for Mageia at the downloads site. They are only for Fedora, of which only a small percentage of packages work on Mageia. If nothing else, from the gdb, you would be able to tell if it's an upstream or downstream bug.

If all else fails, when I get back to the states on April 26th, I'll try compiling it then. Things are busy now with preparing to go back.

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on April 09, 2013 04:42:35

I went ahead and just did it - tried the compiling from the CompilingFromSource page. The thing is, I always run into these snags doing it, and have no clue what to do about them. :( See attached.

Attachment: clementine-compile.txt

@Clementine-Issue-Importer
Copy link
Author

From dedanna1029 on April 10, 2013 02:41:29

I finally got 1.1.1 to compile (was missing protobuf and a couple other things), but without Spotify or debug options. libspotify is not in the Mageia repos, and the debug option just wanted to stay disabled.
I don't see any difference, really, with the latest version. It still either comes close to crashing or crashes when I remove a music library folder in preferences, I can not even go there with the cover manager, it runs VERY slowly, and am wondering how to uninstall it now along with all the devel files (they take up so much root space). It's totally not been worth it; it's still the same. I really can't do anything with it, which I expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant