[Bug 732906] New: rtkit fails to get realtime scheduling, causing audio drop-outs with pulseaudio
https://bugzilla.novell.com/show_bug.cgi?id=732906 https://bugzilla.novell.com/show_bug.cgi?id=732906#c0 Summary: rtkit fails to get realtime scheduling, causing audio drop-outs with pulseaudio Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@suse.com ReportedBy: holgerar@googlemail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 When playing audio files, I get audio drop-outs or small delays every few seconds. This becomes even more noticeable when there are other tasks running on the system that schedule activity in regular intervals (example: typing in a text editor that needs to do regular screen updates). The problem is caused by rtkit-daemon failing to get realtime scheduling for pulseaudio; in /var/log/messages we find: rtkit-daemon[1241]: Sucessfully called chroot. rtkit-daemon[1241]: Sucessfully dropped privileges. rtkit-daemon[1241]: Sucessfully limited resources. rtkit-daemon[1241]: Running. rtkit-daemon[1241]: Failed to make ourselves RT: Operation not permitted rtkit-daemon[1241]: Watchdog thread running. rtkit-daemon[1241]: Canary thread running. This bug is also discussed at https://bugzilla.redhat.com/show_bug.cgi?id=655321 ; it seems to be a problem related to systemd and the version of rtkit (0.5) that comes with openSUSE 12.1. Reproducible: Always Steps to Reproduce: Check if your pulseaudio threads have realtime priority. Actual Results: All pulseaudio threads have normal priority. Expected Results: There should be a pulseaudio thread with RT priority. The problem does not occur with the most recent version 0.10 of rtkit. As this probably affects most desktop users, is there a chance for an update? This could also solve other reported audio bugs; for example #671521, #677222, #551777. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732906 https://bugzilla.novell.com/show_bug.cgi?id=732906#c1 --- Comment #1 from Holger Arnold <holgerar@googlemail.com> 2011-11-27 11:04:17 UTC --- By the way, the rtkit version that comes with openSUSE 12.1 is nearly two years old. Is this package unmaintained? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732906 https://bugzilla.novell.com/show_bug.cgi?id=732906#c2 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com AssignedTo|tiwai@suse.com |sreeves@suse.com --- Comment #2 from Takashi Iwai <tiwai@suse.com> 2011-11-29 08:45:46 UTC --- It's a bit strange that the rt-prio is needed. Usually it works more or less stably even without rt-prio for simply playbacks with a large buffer. Anyway, rtkit could be updated. Scott, could you care? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732906 https://bugzilla.novell.com/show_bug.cgi?id=732906#c3 --- Comment #3 from Holger Arnold <holgerar@googlemail.com> 2011-11-29 08:59:00 UTC --- (In reply to comment #2)
It's a bit strange that the rt-prio is needed. Usually it works more or less stably even without rt-prio for simply playbacks with a large buffer.
Pulseaudio (and similar processes) are designed to be scheduled at regular intervals. If it doesn't have a higher priority than other tasks, it *will* eventually get interrupted at the wrong time.
Anyway, rtkit could be updated. Scott, could you care?
This sounds good! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732906 https://bugzilla.novell.com/show_bug.cgi?id=732906#c4 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |DUPLICATE Severity|Normal |Major --- Comment #4 from Cristian Rodríguez <crrodriguez@opensuse.org> 2011-12-02 01:16:11 CLST --- dup *** This bug has been marked as a duplicate of bug 551777 *** http://bugzilla.novell.com/show_bug.cgi?id=551777 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com