View Single Post
Old 12-21-09, 11:25 PM   #1
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default VDPAU error with "A Christmas Story"

I'm not sure if this is a mythtv VDPAU implementation issue or a driver issue. This is the first time I've seen this problem. Many other movies I've watched do not have this issue.

Playing the DVD with ffmpeg / xv works fine.

The DVD of "A Christmas Story" will not play using VDPAU and the internal mythtv player. When I try to play it I get an error that states "Serious error detected in video output" and it drops back to the mythtv play DVD menu. Occasionally it will say "Failed to initialize A/V sync".

This is with a 8400GS (512Mb) and 190.53 drivers.
From the log...

This type of error repeats:

Code:
2009-12-21 21:12:48.123 Dec: Trying to reselect track
2009-12-21 21:12:48.123 Dec: Selected track #1 in the Unknown language(0)
2009-12-21 21:12:48.127 VDPAU Error: Error at util-vdpau.cpp:1044 (#23, The system does not have enough resources to complete the requested operation at this time.)
2009-12-21 21:12:48.127 VDPAU: WARNING - please read the following carefully:-

* The VDPAU device has reported that you have run out of video memory.   *
* MythTV requires at least 512Mb of video memory for full functionality. *
* If you are using an integrated GPU, please ensure you have allocated   *
* the maximum amount of shared memory in the BIOS settings.              *
* Systems with only 256Mb of video memory are not supported.             *

* If this message continues to appear and you have at least 512Mb of     *
* video memory:-                                                         *
*  - reduce the number of VDPAU video buffers by adding                  *
*    'vdpaubuffersize=X' to your Playback Profile custom filter entry,   *
*    where X is a value between 6 (minimum) and 17 (default). Playback   *
*    of certain H.264 streams will fail with a reduced buffer size.      *
*  - disable any VDPAU options (e.g. deinterlacing, sharpen and denoise) *
*  - ensure the composite extension is disabled in your xorg.conf        *
*  - disable the use of OpenGL Vsync (Setup->TV Settings->Playback)      *
*  - use the Qt Paint Engine (Setup->Appearance)                         *
*  - switch to a 'lightweight' theme such as MythCenter                  *
*  - run MythTV at a lower screen resolution                             *
Then this one:

Code:
2009-12-21 21:12:48.174 NVP(1), Error: Failed to initialize A/V Sync
2009-12-21 21:12:48.174 VidOutVDPAU Error: IsErrored() in ProcessFrame()
2009-12-21 21:12:48.174 NVP(1), Error: AVSync: Unknown error in videoOutput, aborting playback.
It ends with this:

Code:
2009-12-21 21:12:48.175 ~OpenGLVideoSync() -- closing opengl vsync
2009-12-21 21:12:48.175 GLCtx: Deleting OpenGL Resources
2009-12-21 21:12:48.175 GLCtx: Unmapping gl window
2009-12-21 21:12:48.175 GLCtx: Destroying gl window
2009-12-21 21:12:48.175 GLCtx: Destroying glx context
2009-12-21 21:12:48.180 GLCtx: Closing display
2009-12-21 21:12:48.181 VidOutVDPAU: DiscardFrames(1)
2009-12-21 21:12:48.181 VideoBuffers::DiscardFrames(1): AAAAAAAAAAaAALaAA
2009-12-21 21:12:48.181 VideoBuffers::DiscardFrames(): AAAAAAAAAAAAAAAAA -- done()
2009-12-21 21:12:48.181 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAA -- done
2009-12-21 21:12:48.181 VidOutVDPAU: DiscardFrames() 3: AAAAAAAAAAAAAAAAA -- done()
2009-12-21 21:12:48.294 TV: HandleStateChange(0) -- begin
2009-12-21 21:12:48.294 TV: Attempting to change from Watching DVD to None
2009-12-21 21:12:48.295 TV: StopStuff() for player ctx 0 -- begin
2009-12-21 21:12:48.295 TV: SetActive(0,w/o OSD) 0 -> 0 -- begin
2009-12-21 21:12:48.295 TV: SetActive(0,w/o OSD) 0 -> 0 -- end
2009-12-21 21:12:48.295 TV:  StopStuff() -- get dvd player out of still frame or wait status
2009-12-21 21:12:48.295 TV: StopStuff(): stopping ring buffer
2009-12-21 21:12:48.295 TV: StopStuff(): stopping player
2009-12-21 21:12:48.295 TV: StopStuff() -- end
2009-12-21 21:12:48.295 TV: Changing from Watching DVD to None
2009-12-21 21:12:48.295 TV: HandleStateChange(0) -- end
2009-12-21 21:12:48.295 TV: StartTV -- process events end
2009-12-21 21:12:48.295 TV: tv->Playback() -- begin
2009-12-21 21:12:48.297 TV: tv->Playback() -- end
2009-12-21 21:12:48.297 TV: StartTV -- process events begin
2009-12-21 21:12:48.297 ScreenSaverX11Private: DPMS Reactivated 1
2009-12-21 21:12:48.317 TV: HandleStateChange(0) -- begin
2009-12-21 21:12:48.317 TV: Attempting to change from None to Watching DVD
2009-12-21 21:12:48.318 RingBuf(dvd://dev/dvd): OpenFile(dvd://dev/dvd, 12)
2009-12-21 21:12:48.318 OpenFile() trying DVD at /dev/dvd
libdvdnav: Using dvdnav version svnR1169
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: A_CHRISTMAS_STORY
libdvdnav: DVD Serial Number: 2F1B9431
libdvdnav: DVD Title (Alternative): A_CHRISTMAS_STORY
libdvdnav: Unable to find map file '/home/mythtv/.dvdnav/A_CHRISTMAS_STORY.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
2009-12-21 21:12:48.400 Opened DVD device at /dev/dvd
libdvdnav: Suspected RCE Region Protection!!!
2009-12-21 21:12:48.400 There are 11 titles on the disk
2009-12-21 21:12:48.400 Title 0 has 0 parts.
2009-12-21 21:12:48.400 Title 1 has 32 parts.
2009-12-21 21:12:48.400 Title 2 has 1 parts.
2009-12-21 21:12:48.400 Title 3 has 1 parts.
2009-12-21 21:12:48.400 Title 4 has 1 parts.
2009-12-21 21:12:48.400 Title 5 has 19 parts.
2009-12-21 21:12:48.400 Title 6 has 32 parts.
2009-12-21 21:12:48.400 Title 7 has 1 parts.
2009-12-21 21:12:48.400 Title 8 has 1 parts.
2009-12-21 21:12:48.400 Title 9 has 1 parts.
2009-12-21 21:12:48.400 Title 10 has 1 parts.
2009-12-21 21:12:48.408 DVD Serial Number 2F1B9431
2009-12-21 21:12:48.408 RingBuf(/dev/dvd): CalcReadAheadThresh(4000 KB)
			 -> threshhold(64 KB) min read(32 KB) blk size(64 KB)
2009-12-21 21:12:48.469 TV: StartPlayer(0, Watching DVD, main) -- begin
2009-12-21 21:12:48.469 playCtx, Error: Attempting to setup a player, but it already exists.
2009-12-21 21:12:48.469 TV: StartPlayer(0, Watching DVD, main) -- end error
2009-12-21 21:12:48.469 TV: HandleStateChange(0) -- end
If you need anything else let me know... I could run a nvidia bug report but this is the only DVD I've had an issue with. All other HDTV, etc works great.
Lost Dog is offline   Reply With Quote