Opened 12 years ago

Closed 12 years ago

#7358 closed defect (wontfix)

MythVideo VDPAU playback fails.

Reported by: chris@… Owned by: Anduin Withers
Priority: major Milestone: unknown
Component: MythTV - Video Playback Version: 0.22rc1
Severity: medium Keywords:
Cc: Ticket locked: no


Playing two videos in a row that use VDPAU with MythVideo? results in the UI hanging and errors in the log file.

Reproducing this is fairly easy. I start up Myth, go to MythVideo?, and pick a DVD to play. This first one plays fine. Then, exit out of that DVD and pick a different one. The "Please wait" screen comes up, and stays there forever.

Looking in the log shows these errors :

2009-10-17 21:26:34.341 AFD: Opened codec 0xbdeb690, id(MPEG2VIDEO) type(Video) 2009-10-17 21:26:34.341 NVP(2): Disabling Audio, params(-1,-1,-1) 2009-10-17 21:26:34.430 VidOutVDPAU Error: Failed to initialise VDPAU 2009-10-17 21:26:34.445 VideoOutput?, Error: Not compiled with any useable video output method. 2009-10-17 21:26:34.445 NVP(2), Error: Couldn't create VideoOutput? instance. Exiting.. 2009-10-17 21:26:34.445 Unable to initialize video. 2009-10-17 21:26:54.398 playCtx, Error: StartDecoderThread?() Failed to startdecoder 2009-10-17 21:26:54.398 TV: StartPlayer?(0, Watching DVD, main) -- end error

If I play a DVD, go out and view a recorded show, and then pick a different DVD, it seems to work fine. Which makes me suspect it may be an issue with how VDPAU is inited and deinited. FWIW - I saw similar problems with the 0.21-fixes version with the VDPAU patch, except that was a problem throughout the entire system.

The machine that I am using this on is an Acer Aspire Revo. Specs are here :

Attachments (1)

mythtv.txt (74.6 KB) - added by chris@… 12 years ago.
Log file with -v playback enabled.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by robertm

Component: Plugin - MythVideoMythTV - Video Playback
Status: newinfoneeded_new

logs w/ -v playback, please.

Changed 12 years ago by chris@…

Attachment: mythtv.txt added

Log file with -v playback enabled.

comment:2 Changed 12 years ago by chris@…

The requested log file has been attached.

comment:3 Changed 12 years ago by robertm

Per the log:

2009-10-18 09:47:40.191 VDPAU Error: Error at util-vdpau.cpp:871 (#23, The system does not have enough resources to complete the requested operation at this time.)

Can you try increasing the shared ram alotted to the GPU? It appears you may have it set too low (128 or 156M, you likely need at least 512M).

comment:4 Changed 12 years ago by chris@…

The box defaults to 128M, but maxes out at 256M. I pushed it up to the 256M max, and I can play back DVDs properly now.

However, I would still suggest that there is a bug here. When an error happens in the decoding, the system shouldn't stop at the "Please Wait..." screen forever. It effectively renders the box useless until Myth is killed and restarted. Instead, I would suggest that some error be displayed so that the user has some indication of why the system failed.

That said, this is probably a low priority issue. ;)

comment:5 Changed 12 years ago by robertm

Resolution: wontfix
Status: infoneeded_newclosed

At the moment the stated minimum for Myth VDPAU is 512 MB. That may change in the future, but for now anything less is on an "as-is" basis.

Note: See TracTickets for help on using tickets.