[mythtv-users] VDPAU update from the front lines, December 2008

Mitch Gore mitchell.gore at gmail.com
Sun Dec 7 04:53:51 UTC 2008


Well, the first no go is that any form of de-interlacer doesnt work.

 I see this the log with -v playback:
2008-12-06 22:51:53.074 TV: Attempting to change from None to
WatchingPreRecorded
2008-12-06 22:51:53.077 RingBuf(/tv/d3/1051_20081110190000.mpg):
OpenFile(/tv/d3/1051_20081110190000.mpg, 12)
2008-12-06 22:51:53.077 RingBuf(/tv/d3/1051_20081110190000.mpg):
CalcReadAheadThresh(0 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2008-12-06 22:51:53.308 AFD: Stream #0, has id 0x49 codec id
MPEG2VIDEO, type Video, bitrate 65000000 at 0x0x161a27d0
2008-12-06 22:51:53.312 VDP: Accepting: cmp(> 0 0) dec(vdpau) cpus(1)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(vdpaubasic,none) filt()
2008-12-06 22:51:53.313 VDP: LoadBestPreferences(2048x2048, 0)
2008-12-06 22:51:53.313 VDP: LoadBestPreferences(2048x2048, 60)
2008-12-06 22:51:53.313 VDP: LoadBestPreferences(1920x1080, 60)
2008-12-06 22:51:53.602 VDP: Accepting: cmp(> 0 0) dec(vdpau) cpus(1)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(vdpaubasic,none) filt()
2008-12-06 22:51:53.602 VDP: LoadBestPreferences(2048x2048, 0)
2008-12-06 22:51:53.602 VDP: LoadBestPreferences(2048x2048, 60)
2008-12-06 22:51:53.602 VDP: LoadBestPreferences(1920x1080, 60)
2008-12-06 22:51:53.603 Using 1 CPUs for decoding
2008-12-06 22:51:53.603 AFD: InitVideoCodec() 0x1261f250
id(MPEGVIDEO_VDPAU) type (Video).
2008-12-06 22:51:53.603 detectInterlace(Detect Scan, Interlaced Scan,
29.97, 1080) ->Interlaced Scan
2008-12-06 22:51:53.603 AFD: EIA-608 caption 1 is in the English language.
2008-12-06 22:51:53.604 AFD: EIA-708 caption service #1 is in the
English language.
2008-12-06 22:51:53.604 AFD: Using vdpau for video decoding
2008-12-06 22:51:53.604 AFD: Looking for decoder for MPEGVIDEO_VDPAU
2008-12-06 22:51:53.604 AFD: Opened codec 0x1261f250,
id(MPEGVIDEO_VDPAU) type(Video)
2008-12-06 22:51:53.604 AFD: Stream #1, has id 0x52 codec id AC3, type
Audio, bitrate 384000 at 0x0xde772e0
2008-12-06 22:51:53.604 AFD: codec AC3 has 2 channels
2008-12-06 22:51:53.605 AFD: Looking for decoder for AC3
2008-12-06 22:51:53.606 AFD: Opened codec 0x10ba4bf0, id(AC3) type(Audio)
2008-12-06 22:51:53.606 RingBuf(/tv/d3/1051_20081110190000.mpg):
CalcReadAheadThresh(0 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2008-12-06 22:51:53.607 Opening audio device 'spdif'. ch 2(2) sr 48000
2008-12-06 22:51:53.607 Opening ALSA audio device 'spdif'.
2008-12-06 22:51:53.617 Opening audio device 'spdif'. ch 2(2) sr 48000
2008-12-06 22:51:53.618 Opening ALSA audio device 'spdif'.
2008-12-06 22:51:53.623 Dec: Selected track #1 in the English language(6647399)
2008-12-06 22:51:53.624 Dec: Selected track #1 in the English language(6647399)
2008-12-06 22:51:53.624 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2008-12-06 22:51:53.656 Position map filled from DB to: 53769
2008-12-06 22:51:53.658 SyncPositionMap prerecorded, from DB: 3687 entries
2008-12-06 22:51:53.658 SyncPositionMap, new totframes: 53769, new
length: 1794, posMap size: 3687
2008-12-06 22:51:53.658 AFD: Position map found
2008-12-06 22:51:53.659 AFD: Successfully opened decoder for file:
"/tv/d3/1051_20081110190000.mpg". novideo(0)
2008-12-06 22:51:53.946 VideoOutput: Allowed renderers: vdpau
2008-12-06 22:51:53.946 VideoOutput: Allowed renderers (filt: vdpau): vdpau
2008-12-06 22:51:53.949 VDP: Accepting: cmp(> 0 0) dec(vdpau) cpus(1)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(vdpaubasic,none) filt()
2008-12-06 22:51:53.949 VDP: LoadBestPreferences(2048x2048, 0)
2008-12-06 22:51:53.949 VDP: LoadBestPreferences(2048x2048, 60)
2008-12-06 22:51:53.949 VDP: LoadBestPreferences(1920x1080, 60)
2008-12-06 22:51:53.950 VideoOutput: Preferred renderer: vdpau
2008-12-06 22:51:53.950 VideoOutput: Trying video renderer: 'vdpau'
2008-12-06 22:51:53.963 VDP: Accepting: cmp(> 0 0) dec(vdpau) cpus(1)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(vdpaubasic,none) filt()
2008-12-06 22:51:53.963 VDP: LoadBestPreferences(2048x2048, 0)
2008-12-06 22:51:53.963 VDP: LoadBestPreferences(2048x2048, 60)
2008-12-06 22:51:53.963 VideoOutputXv: ctor
2008-12-06 22:51:54.015 VideoOutputXv: Creating XJ_gc
2008-12-06 22:51:54.016 VideoOutputXv: XJ_screen:     '0x113802a0'
2008-12-06 22:51:54.016 VideoOutputXv: XJ_screen_num: '0'
2008-12-06 22:51:54.016 VideoOutputXv: XJ_curwin:     '12590775'
2008-12-06 22:51:54.016 VideoOutputXv: XJ_win:        '12590775'
2008-12-06 22:51:54.016 VideoOutputXv: XJ_root:       '314'
2008-12-06 22:51:54.017 VideoOutputXv: XJ_gc:         '0x1241cdf0'
2008-12-06 22:51:54.017 XOff: 0, YOff: 0
2008-12-06 22:51:54.017 VDP: LoadBestPreferences(1920x1088, 60)
2008-12-06 22:51:54.017 Snapping width to avoid scaling: width: 1920, left: 0
2008-12-06 22:51:54.017 Display Rect  left: 0, top: 135, width: 1920,
height: 810, aspect: 1.33333
2008-12-06 22:51:54.018 Video Rect    left: 0, top: 0, width: 1920,
height: 1080, aspect: 1.77778
2008-12-06 22:51:54.020 VideoOutputXv: Pixel dimensions: Screen
1920x1080, window 1920x1080
2008-12-06 22:51:54.021 VideoOutputXv: Estimated display dimensions:
650x366 mm  Aspect: 1.77596
2008-12-06 22:51:54.021 VideoOutputXv: Estimated window dimensions:
650x366 mm  Aspect: 1.77596
2008-12-06 22:51:54.303 VideoOutputXv: InitSetupBuffers() render:
vdpau, allowed: vdpau
2008-12-06 22:51:54.709 VDPAU Error: Error at util-vdpau.cpp:635 (#23,
The system does not have enough resources to complete the requested
operation at this time.)
2008-12-06 22:51:54.709 VDPAU Error: Create video mixer - errored but
returned handle.
2008-12-06 22:51:54.710 VDPAU Error: Error at util-vdpau.cpp:663 (#3,
An invalid handle value was provided.)
2008-12-06 22:51:54.710 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.710 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.711 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.711 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.711 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.712 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.712 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.712 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.712 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.713 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.713 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.713 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.714 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.714 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.714 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.715 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.715 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.715 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:54.715 Unable to create VDPAU buffers
2008-12-06 22:51:54.716 VideoOutputXv: DiscardFrames(1)
2008-12-06 22:51:54.716 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAA
2008-12-06 22:51:54.716 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:54.716 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2008-12-06 22:51:54.716 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:54.728 VideoOutputXv: DiscardFrames(1)
2008-12-06 22:51:54.729 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAA
2008-12-06 22:51:54.729 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:54.729 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2008-12-06 22:51:54.729 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:54.730 VideoOutputXv Error: Failed to initialize
buffers for codec MPEG2 VDPAU
2008-12-06 22:51:55.121 VDPAU Error: Error at util-vdpau.cpp:635 (#23,
The system does not have enough resources to complete the requested
operation at this time.)
2008-12-06 22:51:55.121 VDPAU Error: Create video mixer - errored but
returned handle.
2008-12-06 22:51:55.121 VDPAU Error: Error at util-vdpau.cpp:663 (#3,
An invalid handle value was provided.)
2008-12-06 22:51:55.122 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.122 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.122 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.122 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.123 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.123 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.123 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.123 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.123 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.124 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.124 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.124 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.124 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.125 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.125 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.125 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.125 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.126 VDPAU Error: Error at util-vdpau.cpp:674 (#0, UNKNOWN)
2008-12-06 22:51:55.126 Unable to create VDPAU buffers
2008-12-06 22:51:55.126 VideoOutputXv: DiscardFrames(1)
2008-12-06 22:51:55.126 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAA
2008-12-06 22:51:55.126 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.126 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2008-12-06 22:51:55.126 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.137 VideoOutputXv: DiscardFrames(1)
2008-12-06 22:51:55.137 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAA
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2008-12-06 22:51:55.138 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.138 VideoOutputXv Error: Failed to initialize
buffers for codec MPEG2 VDPAU
2008-12-06 22:51:55.138 VideoOutputXv Error: Failed to get any video
output Exiting playback.
2008-12-06 22:51:55.138 VideoOutputXv: dtor
2008-12-06 22:51:55.138 VideoOutputXv: DiscardFrames(1)
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames(1):
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames(): ERROR, A not in
available, pause, or displayed
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames(): ERROR, B not in
available, pause, or displayed A
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames(): ERROR, C not in
available, pause, or displayed AA
2008-12-06 22:51:55.138 VideoBuffers::DiscardFrames(): ERROR, D not in
available, pause, or displayed AAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, E not in
available, pause, or displayed AAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, F not in
available, pause, or displayed AAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, G not in
available, pause, or displayed AAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, H not in
available, pause, or displayed AAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, a not in
available, pause, or displayed AAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, b not in
available, pause, or displayed AAAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, c not in
available, pause, or displayed AAAAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, d not in
available, pause, or displayed AAAAAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, e not in
available, pause, or displayed AAAAAAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, f not in
available, pause, or displayed AAAAAAAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, g not in
available, pause, or displayed AAAAAAAAAAAAAA
2008-12-06 22:51:55.139 VideoBuffers::DiscardFrames(): ERROR, h not in
available, pause, or displayed AAAAAAAAAAAAAAA
2008-12-06 22:51:55.140 VideoBuffers::DiscardFrames(): ERROR, 0 not in
available, pause, or displayed AAAAAAAAAAAAAAAA
2008-12-06 22:51:55.140 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.140 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2008-12-06 22:51:55.140 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.140 VideoOutputXv: DiscardFrames(1)
2008-12-06 22:51:55.140 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAA
2008-12-06 22:51:55.140 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.140 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2008-12-06 22:51:55.140 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2008-12-06 22:51:55.140 VideoOutput, Error: Not compiled with any
useable video output method.
2008-12-06 22:51:55.140 Unable to initialize video.
2008-12-06 22:51:55.147 TV: StartPlayer(): took 2038 ms to start player.
2008-12-06 22:51:55.148 TV Error: StartPlayer(): NVP is not playing
after 20000 msec

Looks like we need to extend video profiles for not only res but video
type.  Being the hd-pvr is only putting out 720p it would be nice to
say:

if h.264 ==> vdpau
if mpeg2 ==>standard.

Mitchell


More information about the mythtv-users mailing list