[mythtv-users] VDPAU not working

Philip Nourse pjn at pobox.com
Sat Jun 13 03:09:37 UTC 2009


I can't seem to get VDPAU to work on my frontend using trunk.  From what I
have read, once trunk is compiled with -enable-vdpau, it should just work.
He VDPAU benchmark tester works, and the MythTV decoders I was using before
VDPAU work but VDPAU doesn't.  Can anyone help.  The following is a portion
of the output log for mythfrontend with playback verbosity set to on:

 

2009-06-12 22:34:51.935 mythfrontend version: trunk [20674M] www.mythtv.org

-Skipped a bunch of lines here

 

2009-06-12 22:35:08.996 TV: StartTV() -- begin
2009-06-12 22:35:08.997 TV: ctor
2009-06-12 22:35:09.083 TV: tv->Playback() -- begin
2009-06-12 22:35:09.095 TV: tv->Playback() -- end
2009-06-12 22:35:09.095 TV: StartTV -- process events begin
2009-06-12 22:35:09.096 TV: HandleStateChange(0) -- begin
2009-06-12 22:35:09.096 TV: Attempting to change from None to Watching
WatchingRecording
2009-06-12 22:35:09.100 RingBuf(/MythTVExtVideos2/3041_20090612200636.mpg):
OpenFile(/MythTVExtVideos2/3041_20090612200636.mpg, 12)
2009-06-12 22:35:09.101 RingBuf(/MythTVExtVideos2/3041_20090612200636.mpg):
CalcReadAheadThresh(0 KB)
                   -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2009-06-12 22:35:09.104 Using protocol version 45
2009-06-12 22:35:09.105 TV: StartPlayer(0, Watching WatchingRecording, main)
-- begin
2009-06-12 22:35:09.114 FilterManager, Error: Failed to load filter symbol:
'/usr/local/lib/mythtv/filters/libconvert.so'
                  /usr/local/lib/mythtv/filters/libconvert.so: undefined
symbol: filter_table
2009-06-12 22:35:09.114 FilterManager, Warning: Failed to load filter
library: /usr/local/lib/mythtv/filters/libconvert.so
2009-06-12 22:35:09.358 AFD: Stream #0, has id 0x49 codec id MPEG2VIDEO,
type Video, bitrate 90000000 at 0x0x9d3ff860
2009-06-12 22:35:09.363 VDP: Accepting: cmp(>= 0 0) dec(vdpau) cpus(0)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(none,none) filt()
2009-06-12 22:35:09.363 VDP: LoadBestPreferences(2048x2048, 0)
2009-06-12 22:35:09.364 VDP: LoadBestPreferences(2048x2048, 60)
2009-06-12 22:35:09.364 VDP: LoadBestPreferences(1920x1080, 60)
2009-06-12 22:35:09.366 VDP: Accepting: cmp(>= 0 0) dec(vdpau) cpus(0)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(none,none) filt()
2009-06-12 22:35:09.367 VDP: LoadBestPreferences(2048x2048, 0)
2009-06-12 22:35:09.367 VDP: LoadBestPreferences(2048x2048, 60)
2009-06-12 22:35:09.367 VDP: LoadBestPreferences(1920x1080, 60)
2009-06-12 22:35:09.887 VDPAU: Version 0
2009-06-12 22:35:09.887 VDPAU: Information Unknown
2009-06-12 22:35:09.932 Using 1 CPUs for decoding
2009-06-12 22:35:09.933 AFD: InitVideoCodec() 0x9d3ff9f0 id(MPEGVIDEO_VDPAU)
type (Video).
2009-06-12 22:35:09.933 detectInterlace(Detect Scan, Interlaced Scan, 29.97,
1080) ->Interlaced Scan
2009-06-12 22:35:09.933 AFD: Using vdpau for video decoding
2009-06-12 22:35:09.933 AFD: Looking for decoder for MPEGVIDEO_VDPAU
2009-06-12 22:35:09.933 AFD Error: Could not find decoder for codec
(MPEGVIDEO_VDPAU), ignoring.
2009-06-12 22:35:09.933 AFD: Stream #1, has id 0x52 codec id AC3, type
Audio, bitrate 384000 at 0x0x9d3fe8e0
2009-06-12 22:35:09.933 AFD: codec AC3 has 6 channels
2009-06-12 22:35:09.933 AFD: Looking for decoder for AC3
2009-06-12 22:35:09.934 AFD: Opened codec 0x9d3fea80, id(AC3) type(Audio)
2009-06-12 22:35:09.934 RingBuf(/MythTVExtVideos2/3041_20090612200636.mpg):
CalcReadAheadThresh(0 KB)
                   -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2009-06-12 22:35:09.944 Opening audio device 'iec958:{AES0 0x00}'. ch 2(2)
sr 48000
2009-06-12 22:35:09.944 Opening ALSA audio device 'iec958:{AES0 0x02}'.
2009-06-12 22:35:09.978 Mixer unable to find control Master 1
2009-06-12 22:35:09.978 mixer unable to find control Master 1
2009-06-12 22:35:09.981 Opening audio device 'iec958:{AES0 0x00}'. ch 2(2)
sr 48000
2009-06-12 22:35:09.981 Opening ALSA audio device 'iec958:{AES0 0x02}'.
2009-06-12 22:35:09.998 Mixer unable to find control Master 1
2009-06-12 22:35:09.998 mixer unable to find control Master 1
2009-06-12 22:35:09.999 Dec: Trying to select track (w/lang)
2009-06-12 22:35:09.999 Dec: Selecting first track
2009-06-12 22:35:09.999 Dec: Selected track #1 in the Unknown language(0)
2009-06-12 22:35:09.999 Dec: Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(1)
2009-06-12 22:35:10.241 Position map filled from DB to: 267063
2009-06-12 22:35:10.245 Dec: SyncPositionMap watchingrecording, from DB:
17882 entries
2009-06-12 22:35:10.246 NVP(0): Filling position map from 267064 to end
2009-06-12 22:35:10.247 Dec: Position map filled from Encoder to: 267063
2009-06-12 22:35:10.247 Dec: SyncPositionMap watchingrecording total: 17882
entries
2009-06-12 22:35:10.247 Dec: SyncPositionMap, new totframes: 267063, new
length: 8911, posMap size: 17882
2009-06-12 22:35:10.247 AFD: Partial position map found
2009-06-12 22:35:10.247 AFD: Successfully opened decoder for file:
"/MythTVExtVideos2/3041_20090612200636.mpg". novideo(0)
2009-06-12 22:35:10.788 VideoOutput: Allowed renderers: vdpau
2009-06-12 22:35:10.788 VideoOutput: Allowed renderers (filt: vdpau): vdpau
2009-06-12 22:35:10.791 VDP: Accepting: cmp(>= 0 0) dec(vdpau) cpus(0)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(none,none) filt()
2009-06-12 22:35:10.792 VDP: LoadBestPreferences(2048x2048, 0)
2009-06-12 22:35:10.792 VDP: LoadBestPreferences(2048x2048, 60)
2009-06-12 22:35:10.792 VDP: LoadBestPreferences(1920x1080, 60)
2009-06-12 22:35:10.792 VideoOutput: Preferred renderer: vdpau
2009-06-12 22:35:10.792 VideoOutput: Trying video renderer: 'vdpau'
2009-06-12 22:35:10.805 VDP: Accepting: cmp(>= 0 0) dec(vdpau) cpus(0)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(none,none) filt()
2009-06-12 22:35:10.805 VDP: LoadBestPreferences(2048x2048, 0)
2009-06-12 22:35:10.805 VDP: LoadBestPreferences(2048x2048, 60)
2009-06-12 22:35:10.810 VideoOutputXv: ctor
2009-06-12 22:35:10.810 VideoOutWindow::SetPIPState. pip_state: 0]
2009-06-12 22:35:10.811 VideoOutputXv: Creating XJ_gc
2009-06-12 22:35:10.812 VideoOutputXv: XJ_screen:     '0x881c9d0'
2009-06-12 22:35:10.812 VideoOutputXv: XJ_screen_num: '0'
2009-06-12 22:35:10.812 VideoOutputXv: XJ_curwin:     '41943045'
2009-06-12 22:35:10.812 VideoOutputXv: XJ_win:        '41943045'
2009-06-12 22:35:10.812 VideoOutputXv: XJ_root:       '259'
2009-06-12 22:35:10.812 VideoOutputXv: XJ_gc:         '0x87f4480'
2009-06-12 22:35:10.813 Snapping width to avoid scaling: width: 1920, left:
0
2009-06-12 22:35:10.813 Display Rect  left: 0, top: 135, width: 1920,
height: 810, aspect: 1.33333
2009-06-12 22:35:10.813 Video Rect    left: 0, top: 0, width: 1920, height:
1080, aspect: 1.77778
2009-06-12 22:35:10.813 VDP: LoadBestPreferences(1920x1088, 60)
2009-06-12 22:35:10.820 VideoOutputXv: Pixel dimensions: Screen 1920x1080,
window 1920x1080
2009-06-12 22:35:10.820 VideoOutputXv: Estimated display dimensions:
1161x653 mm  Aspect: 1.77795
2009-06-12 22:35:10.820 VideoOutputXv: Estimated window dimensions: 1161x653
mm  Aspect: 1.77795
2009-06-12 22:35:11.361 VideoOutputXv: InitSetupBuffers() render: vdpau,
allowed: vdpau
2009-06-12 22:35:11.783 VideoOutputXv: Created VDPAU context (GPU decode)
2009-06-12 22:35:11.784 VDP: SetVideoRenderer(vdpau)
2009-06-12 22:35:11.784 VDP: SetVideoRender(vdpau) == GetVideoRenderer()
2009-06-12 22:35:11.788 VDPAU: Created OSD (1920x1080)
2009-06-12 22:35:11.788 VideoOutputXv: VDPAU Colorkey: 0x20202 (depth 24)
2009-06-12 22:35:11.788 VideoOutputXv: PictureAttributes: Brightness,
Contrast, Colour, Hue
2009-06-12 22:35:11.795 Snapping height to avoid scaling: height: 1080, top:
0
2009-06-12 22:35:11.795 Snapping width to avoid scaling: width: 1920, left:
0
2009-06-12 22:35:11.795 Display Rect  left: 0, top: 0, width: 1920, height:
1080, aspect: 1.77778
2009-06-12 22:35:11.795 Video Rect    left: 0, top: 0, width: 1920, height:
1080, aspect: 1.77778
2009-06-12 22:35:11.798 Over/underscan. V: 0.01, H: 0
2009-06-12 22:35:11.798 Display Rect  left: 0, top: 0, width: 1920, height:
1080, aspect: 1.77778
2009-06-12 22:35:11.798 Video Rect    left: 0, top: 11, width: 1920, height:
1058, aspect: 1.77778
2009-06-12 22:35:11.798 VDP: LoadBestPreferences(1920x1088, 29.97)
2009-06-12 22:35:11.799 NVP(0): LoadFilters(''..) -> 0x0
2009-06-12 22:35:11.801 OSD Theme Dimensions W: 640 H: 480
2009-06-12 22:35:12.599 NVP(0): ClearAfterSeek(1)
2009-06-12 22:35:12.599 VideoOutputXv: ClearAfterSeek()
2009-06-12 22:35:12.600 VideoOutputXv: DiscardFrames(0)
2009-06-12 22:35:12.600 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA
2009-06-12 22:35:12.599 playCtx: StartDecoderThread(): took 2347 ms to start
player.
2009-06-12 22:35:12.600 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA --
done
2009-06-12 22:35:12.600 VideoOutputXv: DiscardFrames() 3: AAAAAAAAAAAAAAAAA
-- done()
2009-06-12 22:35:12.600 TV: StartPlayer(0, Watching WatchingRecording, main)
-- end ok
2009-06-12 22:35:12.600 VideoOutputXv: UpdatePauseFrame() AAAAAAAAAAAAAAAAA
2009-06-12 22:35:12.603 VDP: GetFilteredDeint() : vdpau -> 'none'
2009-06-12 22:35:12.603 TV: Changing from None to Watching WatchingRecording
2009-06-12 22:35:12.604 DRMVideoSync: Could not open device /dev/dri/card0,
No such file or directory
2009-06-12 22:35:12.604 OpenGLVideoSync()
2009-06-12 22:35:12.614 Realtime priority would require SUID as root.
2009-06-12 22:35:12.627 TV: HandleStateChange(0) -- end
2009-06-12 22:35:12.629 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.629 GLCtx: Created window and GLX context.
2009-06-12 22:35:12.629 GLCtx: GLX Version: 1.2
2009-06-12 22:35:12.629 GLCtx: Direct rendering: Yes
2009-06-12 22:35:12.630 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.631 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.633 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.634 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.634 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.636 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.639 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.641 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.642 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.643 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.644 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.649 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.649 ScreenSaverX11Private: DPMS Deactivated 1
2009-06-12 22:35:12.649 ScreenSaverX11Private: ResetTimer -- begin
2009-06-12 22:35:12.649 ScreenSaverX11Private: StopTimer
2009-06-12 22:35:12.650 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.650 ScreenSaverX11Private: StartTimer
2009-06-12 22:35:12.650 ScreenSaverX11Private: ResetTimer -- end
2009-06-12 22:35:12.650 AFD: No codec for stream index 0, type(Video)
id(MPEGVIDEO_VDPAU:129)
2009-06-12 22:35:12.652 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.652 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.653 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.653 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.654 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.654 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.655 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.655 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.655 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.656 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.656 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.656 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.657 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.657 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.658 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.661 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.662 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.662 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.663 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.663 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.663 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.664 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.664 AFD: No codec for stream index 0, type(Video)
id(MPEG2VIDEO:2)
2009-06-12 22:35:12.664 GLCtx: OpenGL vendor  : NVIDIA Corporation
2009-06-12 22:35:12.665 GLCtx: OpenGL renderer: GeForce 8400
GS/PCI/SSE2/3DNOW!
2009-06-12 22:35:12.665 GLCtx: OpenGL version : 3.0.0 NVIDIA 180.44
2009-06-12 22:35:12.665 GLCtx: Max texture size: 8192 x 8192
2009-06-12 22:35:12.665 GLCtx: Max texture units: 4

 

--skipped the rest of the file.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090612/950e5892/attachment.htm>


More information about the mythtv-users mailing list