[mythtv-users] VDPAU playback recording failing 0.22-fixes

David Knight dlknight at sdf.lonestar.org
Mon Nov 9 19:01:51 UTC 2009


On Wed, October 28, 2009 9:32 am, David Knight wrote:
> Hi all,
>
>    I've noticed Im getting a recording playback failure when attempting to
> playback recordings of BBC HD on a GeForce 8600 GT(256MB, shows as
> 512MB in nvidia-settings).
>
>    When the problem occurs Mythtv reverts to the standard decoder. The
> only way I have found to rectify the problem is to playback a video via
> Mplayer, then go back into Mythtv recordings and the recording plays
> back using VDPAU. However this solution works only once requiring
> Mplayer to be launched again the next time.
>
> I am using Advanced x1 deinterlacer, I have tried Temporal x1/x2, None
> also showing the same issue.
>
> Anyone else seeing this and know of a solution or do I need to log a bug
> report?
>
> Relevant messages from mythfrontend.log:
>
> 2009-10-27 20:53:26.117 TV: Attempting to change from None to Watching
> WatchingPreRecorded
> 2009-10-27 20:53:26.188 TV: StartPlayer(0, Watching WatchingPreRecorded,
> main) -- begin
>
> [Following message repeated xx number of times]
> 2009-10-27 20:53:26.271 [h264 @ 0x7f7bdcd23e60]number of reference frames
> exceeds max (probably corrupt input), discarding one
>
> 2009-10-27 20:53:26.343 [h264 @ 0x7f7bdcd23e60]mmco: unref short failure
> 2009-10-27 20:53:26.618 AFD: Opened codec 0xb6cb300, id(H264) type(Video)
> 2009-10-27 20:53:26.618 AFD: codec MP2 has 2 channels
> 2009-10-27 20:53:26.618 AFD: Opened codec 0x7648b30, id(MP2) type(Audio)
> 2009-10-27 20:53:26.618 AFD: Opened codec 0x28f75c0, id(DVB_SUBTITLE)
> type(Subtitle)
> 2009-10-27 20:53:26.618 AFD: codec AC3 has 2 channels
> 2009-10-27 20:53:26.619 AFD: Opened codec 0x14eeb4a0, id(AC3) type(Audio)
> 2009-10-27 20:53:26.622 Opening audio device 'default'. ch 2(2) sr 48000
> 2009-10-27 20:53:26.623 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
> 2009-10-27 20:53:26.636 mixer unable to find control Master 1
> 2009-10-27 20:53:26.641 Opening audio device 'default'. ch 2(2) sr 48000
> 2009-10-27 20:53:26.641 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
> 2009-10-27 20:53:26.650 mixer unable to find control Master 1
> 2009-10-27 20:53:27.128 NVP(d): Forcing decode extra audio option on
> (Video method requires it).
> 2009-10-27 20:53:27.132 OSD Theme Dimensions W: 1280 H: 720
> 2009-10-27 20:53:28.133 TV: StartPlayer(0, Watching WatchingPreRecorded,
> main) -- end ok
> 2009-10-27 20:53:28.134 TV: Changing from None to Watching
> WatchingPreRecorded
> 2009-10-27 20:53:28.137 The realtime priority setting is not enabled.
> 2009-10-27 20:53:28.142 Video timing method: USleep with busy wait
>
> [Following message repeated xx number of times]
> 2009-10-27 20:53:28.145 [h264_vdpau @ 0x7f7bdcd23e60]number of reference
> frames exceeds max (probably corrupt input), discarding one
>
> 2009-10-27 20:53:28.145 [h264_vdpau @ 0x7f7bdcd23e60]mmco: unref short
> failure
> 2009-10-27 20:53:28.348 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.348 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.387 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.387 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.388 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.388 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.400 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.401 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.401 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.401 VidOutVDPAU Error: IsErrored() is true in
> DrawSlice()
> 2009-10-27 20:53:28.402 [h264_vdpau @ 0x7f7bdcd23e60]mmco: unref short
> failure
> 2009-10-27 20:53:28.402 VidOutVDPAU Error: IsErrored() is true in
> DrawSlice()
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() is true in
> DrawSlice()
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() is true in Show()
> 2009-10-27 20:53:28.403 NVP: Error condition detected in videoOutput after
> Show(), aborting playback.
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() in ProcessFrame()
> 2009-10-27 20:53:28.403 NVP(d), Error: AVSync: Unknown error in
> videoOutput, aborting playback.
> 2009-10-27 20:53:28.388 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.400 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.401 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.401 VDPAU Error: Picture format has changed.
> 2009-10-27 20:53:28.401 VidOutVDPAU Error: IsErrored() is true in
> DrawSlice()
> 2009-10-27 20:53:28.402 [h264_vdpau @ 0x7f7bdcd23e60]mmco: unref short
> failure
> 2009-10-27 20:53:28.402 VidOutVDPAU Error: IsErrored() is true in
> DrawSlice()
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() is true in
> DrawSlice()
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() is true in Show()
> 2009-10-27 20:53:28.403 NVP: Error condition detected in videoOutput after
> Show(), aborting playback.
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() in ProcessFrame()
> 2009-10-27 20:53:28.403 NVP(d), Error: AVSync: Unknown error in
> videoOutput, aborting playback.
> 2009-10-27 20:53:28.403 NVP(d), Error: Failed to initialize A/V Sync
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() in ProcessFrame()
> 2009-10-27 20:53:28.403 NVP(d), Error: AVSync: Unknown error in
> videoOutput, aborting playback.
> 2009-10-27 20:53:28.403 NVP(d), Error: Failed to initialize A/V Sync
> 2009-10-27 20:53:28.403 VidOutVDPAU Error: IsErrored() in ProcessFrame()
> 2009-10-27 20:53:28.403 NVP(d), Error: AVSync: Unknown error in
> videoOutput, aborting playback.
> 2009-10-27 20:53:28.403 NVP(d), Error: Failed to initialize A/V Sync
> 2009-10-27 20:53:28.410 TV: Serious hardware decoder error detected.
> Disabling hardware decoders.
> 2009-10-27 20:53:28.430 Trying 1920x1080 0 Hz
> 2009-10-27 20:53:28.430 SwitchToGUI: Switched to 1920x1080 0 Hz
>
>
> Regards
>
> Dave K.
>
>
>

Well I didn't get any replies :) so replying to my own message in case it
benefits someone else with the same problem (I've seen this error posted a
couple of times this year in gossamer threads.

Well I changed my Nvidia GeForce 8500GT (256Mb) to a 9400GT (512Mb) and it
looks like the problem has now gone away. VDPAU now initializes correctly
everytime I view Live TV or a recording. So I can only surmise that the
issue was lack of memory on the video card. Mplayer seems to get away with
only having 256Mb of video RAM but Mythtv seems to want 512Mb to play with
VDPAU without any hiccups.

Also interestingly I did some tests using qvdpautest and found that even
though the 8500GT trumped the 9400GT in some of the tests..... I CAN RUN
Advanced 2x (HW) deinterlacer on 1080i content !! and its soooooo smooth
:) absolutely brilliant. Results of the tests are below:

AMD Athlon(tm) 64 X2 Dual Core Processor 5200+	GeForce 8300 (C77)	GeForce
8500 GT (G86)	GeForce 9400 GT (G96) #1	GeForce 9400 GT (G96) #2


VDPAU API version : 	0	0	0	0
VDPAU implementation : 	190.18	190.18	190.42	190.42

SURFACE GET BITS: M/s	481.563	794.192	537.886	553.7
SURFACE PUT BITS: M/s	631.499	833.877	926.248	610.257

MPEG DECODING (1920x1080): frames/s	63	79	69	69
MPEG DECODING (1280x720): frames/s	143	156	145	148
H264 DECODING (1920x1080): frames/s	51	45	44	44
H264 DECODING (1280x720): frames/s	87	95	94	93
VC1 DECODING (1440x1080): frames/s	67	121	108	100

MIXER WEAVE (1920x1080): frames/s	203	370	474	460
MIXER BOB (1920x1080): fields/s	344	498	688	674
MIXER TEMPORAL (1920x1080): fields/s	61	122	152	148
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): fields/s	80	161	206	200
MIXER TEMPORAL_SPATIAL (1920x1080): fields/s	23	38	49	49
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): fields/s	25	41	54	53

MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display):
fields/s	91	142	190	188

Cheers

DaveK.



More information about the mythtv-users mailing list