Waited too long for video out to pause

Bug #102964 reported by Malcolm Parsons
4
Affects Status Importance Assigned to Milestone
MythTV
Fix Released
Low
Unassigned
mythtv (Ubuntu)
Fix Released
Undecided
Mario Limonciello

Bug Description

Binary package hint: mythtv-frontend

mythfrontend sometimes waits forever for a paused video to pause.

[mpeg2video @ 0x2af6a4e88fd0]ac-tex damaged at 0 34
[mpeg2video @ 0x2af6a4e88fd0]ac-tex damaged at 0 35
2007-04-04 18:16:28.275 NVP: prebuffering pause
2007-04-04 18:16:28.301 DPMS Deactivated
2007-04-04 18:16:29.293 Waited too long for video out to pause
2007-04-04 18:16:30.297 Waited too long for video out to pause
2007-04-04 18:16:31.301 Waited too long for video out to pause
2007-04-04 18:16:32.306 Waited too long for video out to pause
2007-04-04 18:16:33.309 Waited too long for video out to pause
2007-04-04 18:16:33.785 DPMS Deactivated
2007-04-04 18:16:34.313 Waited too long for video out to pause
2007-04-04 18:16:35.317 Waited too long for video out to pause
2007-04-04 18:16:36.321 Waited too long for video out to pause
2007-04-04 18:16:37.325 Waited too long for video out to pause
2007-04-04 18:16:38.329 Waited too long for video out to pause

...

2007-04-04 18:22:22.976 Waited too long for video out to pause
2007-04-04 18:22:23.980 Waited too long for video out to pause
2007-04-04 18:22:25.023 Waited too long for video out to pause

I'm still waiting...

Revision history for this message
Mario Limonciello (superm1) wrote :

Hi, thanks for the report. Has this been happening on a hidef channel, or a channel with a suboptimal signal?
I gather that there may be corruption in the stream by your top two errors.

Changed in mythtv:
status: Unconfirmed → Needs Info
Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

It's not an HD channel.
It's a DVB-T stream, so occasional mpeg corruption is expected.
I am using a dual core processor, so bugs in threaded applications are more likely than on a single core processor.

In this case it looks like one thread is waiting to be signalled that another thread has paused the video, but the other thread has paused the video and notified all waiting threads before the first thread started to wait.

Revision history for this message
David Morris (dave-greenacre) wrote :

"I am using a dual core processor, so bugs in threaded applications are more likely than on a single core processor.

In this case it looks like one thread is waiting to be signalled that another thread has paused the video, but the other thread has paused the video and notified all waiting threads before the first thread started to wait."

are you able to disable one core to confirm this?

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

I can try.

I can reproduce this bug by randomly pressing the FF, Rev, Play and Pause buttons on my IR remote for 30 seconds whilst playing a recording.

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

If I boot with "nosmp" on the kernel command line, then the boot fails because interrupts from the hard drives are not received.

So I can't test whether mythtv is more stable on a single core CPU.

Revision history for this message
David Morris (dave-greenacre) wrote :

Look for package "schedutils" in synaptic - one of the tools is "taskset" for setting the CPU a process can run on. Tomorrow at work I'll see how I can turn one of my cores off

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

I can reproduce this bug with mythfrontend forced to run on 1 CPU by using taskset

Revision history for this message
David Morris (dave-greenacre) wrote :

This has been fixed in the last few weeks, and need packaging now.

Changed in mythtv:
importance: Undecided → Low
status: Unconfirmed → Fix Committed
status: Needs Info → Fix Committed
assignee: nobody → superm1
Changed in mythtv:
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
Revision history for this message
radiojammer3699 (radiojammer3699) wrote :

Hi,
So does this thread mean that a fix for this bug is coming to ubuntu repos soon? a fix for this would really make my day ;)

I have suffered about this same bug since I installed mythtv on ubuntu 6.10 early this year (my first "working" install of ubuntu+mythtv). I use the mythtv packages from ubuntu repos. I have dualcore AMD A64 x2 with power ondemand set (limited to 1.8GHz...2.4GHz) on my mythtv-box. I am planing to upgrade to ubuntu 7.04 someday...

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 102964] Re: Waited too long for video out to pause

radiojammer3699 wrote:
> Hi,
> So does this thread mean that a fix for this bug is coming to ubuntu repos soon? a fix for this would really make my day ;)
>
> I have suffered about this same bug since I installed mythtv on ubuntu
> 6.10 early this year (my first "working" install of ubuntu+mythtv). I
> use the mythtv packages from ubuntu repos. I have dualcore AMD A64 x2
> with power ondemand set (limited to 1.8GHz...2.4GHz) on my mythtv-box. I
> am planing to upgrade to ubuntu 7.04 someday...
>

This means that the current development release (Gutsy) has the fixes
applied. There has been significant packaging changes that would like
prevent a backport to edgy (and possibly feisty). If you do move up to
feisty however, there are weekly builds available that will likely have
this fix applied soon available at mythbuntu.org/auto-builds

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/102964

tags: added: package-qa-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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