Clementine
Clementine copied to clipboard
Sound stuttering on windows version
From [email protected] on January 05, 2012 21:23:30
What steps will reproduce the problem? 1. Play music 2. Using web browser (for me, Firefox), for example scrolling, loading page etc What is the expected output? What do you see instead? When doing anything even less CPU demanding, sound starts to stutter, while CPU usage of clementine is still quite a low (few percent). Maybe gstreamer issue? What version of the product are you using? On what operating system? 1.0, Windows XP 32 bit
Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2570
From [email protected] on August 23, 2012 16:26:03
Changing the buffer from 4k to 7k will stop the stutter, but there is still a noticeable stumble. Firefox and XP 32. I have fiddled with the settings for 30 minutes or so, and can reproduce both the stumble and stutter.
From [email protected] on December 08, 2013 05:58:55
Hi,
I have the same problem with the most recent version of the software, on Windows 8.1. Increasing the buffer size doesn't fix the problem, playback still very often pauses and "buffering" is displayed. Is there anything I can do to help fix the issue?
F.
I have the same problem in Clementine 1.2.1 in Windows 7 64-bit, just installed it, it has already indexed my whole library, total CPU usage is <3%, i5 processor 8 GB of memory. There are very frequent short glitches in the audio. It seems like this happens every time I switch between windows? It looks like it would be a really great player otherwise. :/
This is still an issue (right now I'm running Clementine 1.2.3-1364-gd51a1ad)
In Windows 7 x64 I often get this when doing CPU intensive tasks (or rather whenever the CPU is heavily used, even if it's only for fractions of a second). It seems as if the decoding queue has no buffer at all (or a veeery small buffer).
This might also be the cause of #5045.
Possibly all the same issue: #3276, #278, #4634
Curious if clementine still has this issues with the latest versions of GStreamer? Exaile had issues with this in GStreamer 0.10, but I was hoping that they would fix the issue in GStreamer 1.x ... it's almost definitely a gstreamer issue, not a player-specific issue, as you get the same results when using gst-launch (at least for 0.10 -- I'm going to try 1.10 this afternoon).
Reference and some of my prior digging: https://github.com/exaile/exaile/issues/76
Looks like clementine did a thread priority hack on OSX, presumably one could do the same thing on Windows and fix the stutter a bit.
I'm not a clementine user/developer, so you're on your own for that though. :)
I'm on Windows 10, running version 1.3.1, and still get run into this problem. I also have Clementine on a Linux machine, but I haven't had any issues there.
It's definitely a GStreamer issue, but I suspect it will take a very long time to get fixed unless someone decides to focus on it. See GStreamer's bugzilla for more information @ https://bugzilla.gnome.org/show_bug.cgi?id=781998
Well, it's good to know that the issue seems to have been properly nailed down at least. I have absolutely no clue what any of the stuff you've done so far is about but it is appreciated!
Same issue on Windows 7 x64 while high cpu load. Never noticed this on Ubuntu 16 x64 on same machine. Managed to fix it only by changing process priority to High. Made a shortcut for convenience like was suggested here https://groups.google.com/forum/#!msg/clementine-player/8jA3PXBvkHY/_1LxHlDuCgAJ
Noticed the stutter on Windows 7 x64, too. I can fix it, doing the following manual steps:
- Open Windows Task Manager
- Go to "Processes" tab
- Look for the
clementine.exeprocess - Right click on it, select "Set Priority" and then "High"
Now, the stutter stops for me. Could you increase the priority by default, as suggested above ("thread priority hack on OSX")?
Thanks for developing this great software!
Seems to be fixed in latest Win 10 update, can someone else test? Had no stutter under constant 100% cpu load. I tested v1.3.1
I've got the latest Windows 10 updates installed, but still get this issue. Changing the process priority to High reduces this behaviour for me but does not eliminate it completely. As @virtuald mentioned above, the root of this issue lies with GStreamer.
Problem here also on W10 64bit. As soon as there is some load on the cpu the stuttering begin.
Version 1.3.1
Buffer and priority tricks help just a bit, but it not solve it.
A set of patches was just pushed to gst-plugins-bad to improve the WASAPI sink, and it claims glitch-free operation.
https://bugzilla.gnome.org/show_bug.cgi?id=793289
The year is 2020, latest version of Clementine (1.3.1, Windows) continually glitching as soon as it's no longer the foreground task. Other audio players do not do this.
BTW following executes clementine.exe with priority above normal by default:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\clementine.exe\PerfOptions]
"CpuPriorityClass"=dword:00000006