use modern hrtimers

Bug #139949 reported by laga
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MPlayer
Unknown
Unknown
Mythbuntu
Fix Released
Low
Nick Fox
mplayer (Ubuntu)
Fix Released
Wishlist
Phillip Susi

Bug Description

Mplayer prefers to use the old /dev/rtc device to generate high resolution interrupts for it to wait on for timing purposes. This interface can only be used by a single task on the system and is wasteful of cpu and power. When this is not available, or not configured to allow setting 1024 interrupts per second ( it isn't by default ), it falls back to wasteful busy waiting. It needs patched to use modern posix timers that can use the modern tickless and HPET kernel features to allow the cpu to remain in deep low power state until the exact time requested.

Tags: cft-2.6.27
Revision history for this message
xtknight (xt-knight) wrote :

Does the -rt kernel have anything to do with this?

linux-image-2.6.22-11-rt - Linux kernel image for version 2.6.22 on RT kernel

Could you see if this kernel fixes it?

Revision history for this message
laga (laga) wrote : Re: [Bug 139949] Re: rtc: max-user-freq too low for multimedia apps

xtknight schrieb:
> Does the -rt kernel have anything to do with this?
>
> linux-image-2.6.22-11-rt - Linux kernel image for version 2.6.22 on RT
> kernel
>
> Could you see if this kernel fixes it?
>

I was running -rt when I posted this. No, max-user-freq is still too low
with -rt.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote : Re: rtc: max-user-freq too low for multimedia apps

Thank you for taking the time to report this bug and helping to make Ubuntu better. Now that the 7.10 Gutsy Gibbon release of Ubuntu is out, we were wondering if you can still reproduce this issue. Could you please download and try the new version of Ubuntu from http://www.ubuntu.com/getubuntu/download and report back your results? Thanks again and we appreciate your help and feedback.

Changed in linux-source-2.6.22:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This bug report is being closed because we received no reponse to the last inquiry for information. Please reopen it if this is still an issue in the current Ubuntu release. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Please don't hesitate to submit bug reports in the future, we really appreciate it. Thanks again!

Changed in linux-source-2.6.22:
status: Incomplete → Invalid
Revision history for this message
Nick Fox (nickj-fox) wrote :

Added this as a feature of Mythbuntu-Control-Centre in the Adv Options

Changed in linux-source-2.6.22:
assignee: nobody → nickj-fox
status: Invalid → Fix Committed
Revision history for this message
Nick Fox (nickj-fox) wrote :

This was added to Mythbuntu...still a known issue in the kernel source package

Changed in linux-source-2.6.22:
status: Fix Committed → Confirmed
Changed in mythbuntu:
assignee: nobody → nickj-fox
importance: Undecided → Low
milestone: none → 8.04-alpha1
status: New → Fix Committed
Changed in mythbuntu:
status: Fix Committed → Fix Released
Changed in linux-source-2.6.22:
assignee: nickj-fox → nobody
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Phillip Susi (psusi) wrote :

mplayer needs to use the modern high resolution posix timers interface rather than the kludgly old rtc or busy waiting methods for timing.

affects: linux (Ubuntu) → mplayer (Ubuntu)
Changed in mplayer (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
summary: - rtc: max-user-freq too low for multimedia apps
+ use modern hrtimers
Changed in mplayer (Ubuntu):
assignee: nobody → Phillip Susi (psusi)
description: updated
Changed in mplayer (Ubuntu):
importance: Medium → Wishlist
Revision history for this message
Phillip Susi (psusi) wrote :

It seems that this has already been done. Despite what the docs indicate, the default currently is not to use the rtc, and no need for it.

Changed in mplayer (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.