[mythtv-users] VDPAU Current Status Report

Mitch Gore mitchell.gore at gmail.com
Thu Jan 8 04:12:36 UTC 2009


Ok so after doing a bunch of trial and error here is what i get.

using r19597 driver 180.16

Using Advanced 2x HW is completely un-watchable.  Moving to Bob2x is
better but here are the results.

All samples are OTA HD in 1080i or 720p.  I have my profiles set up if
that video is 720 deinter. are set to none.  If 1080i use Bob.

when playing HD from 1080 or 720 it works fine.

BUT when watching a SD recording (still OTA digital) I get a strange
ghosting look.  The video doesnt studder but its like there is a 3 or
so frames over the top of the current one.
Here is the log:
2009-01-07 22:08:45.293 NVP(3): LoadFilters(''..) -> 0x0
2009-01-07 22:08:45.297 OSD Theme Dimensions W: 640 H: 480
2009-01-07 22:08:46.886 NVP(3): ClearAfterSeek(1)
2009-01-07 22:08:46.887 playCtx: StartDecoderThread(): took 3514 ms to
start player.
2009-01-07 22:08:46.887 VideoOutputXv: ClearAfterSeek()
2009-01-07 22:08:46.887 TV: StartPlayer(0, WatchingPreRecorded, main) -- end ok
2009-01-07 22:08:46.887 VideoOutputXv: DiscardFrames(0)
2009-01-07 22:08:46.888 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA
2009-01-07 22:08:46.888 VideoBuffers::DiscardFrames(0):
AAAAAAAAAAAAAAAAA -- done
2009-01-07 22:08:46.888 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:08:46.889 Realtime priority would require SUID as root.
2009-01-07 22:08:46.889 TV: Changing from None to WatchingPreRecorded
2009-01-07 22:08:46.891 VDP: GetFilteredDeint() : vdpau -> 'vdpaubobdeint'
2009-01-07 22:08:46.892 TV: HandleStateChange(0) -- end
2009-01-07 22:08:46.933 VDPAU: Created VDPAU decoder (2 ref frames)
2009-01-07 22:08:46.947 AFD: DoFastForward(7032 (1), do discard frames)
2009-01-07 22:08:46.948 Dec: DoFastForward(7032 (1), do discard frames)
2009-01-07 22:08:46.949 Dec: FindPostion(7032, search not adjusted)
--> [249(433579512)]
2009-01-07 22:08:46.950 AFD: SeekReset(7032, 0, do flush, do discard)
2009-01-07 22:08:46.950 AFD: SeekReset() flushing
2009-01-07 22:08:46.950 VideoOutputXv: DiscardFrames(1)
2009-01-07 22:08:46.950 VideoBuffers::DiscardFrames(1): UAAAAAAAAAAAAAAAA
2009-01-07 22:08:46.951 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:08:46.951 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2009-01-07 22:08:46.951 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:08:46.951 NVP(3): ClearAfterSeek(0)
2009-01-07 22:08:46.993 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2009-01-07 22:08:46.993 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2009-01-07 22:08:46.994 OpenGLVideoSync()
2009-01-07 22:08:46.994 ~OpenGLVideoSync() -- closing opengl vsync
2009-01-07 22:08:46.994 RTCVideoSync: Could not set RTC frequency,
Permission denied.
2009-01-07 22:08:46.994 Set video sync frame interval to 33366
2009-01-07 22:08:46.995 Using audio as timebase
2009-01-07 22:08:46.995 Video timing method: USleep with busy wait
2009-01-07 22:08:46.995 Refresh rate: 16666, frame interval: 33366
2009-01-07 22:08:46.996 NVP(3): Waiting for prebuffer..  0 AAuLAAAAAAAAAAAAA
'video_output' mean = '33378.22', std. dev. = '821.56', fps = '29.96'
2009-01-07 22:08:52.609 Dec: Selected track #1 in the Unknown language(0)
'video_output' mean = '33331.51', std. dev. = '193.86', fps = '30.00'
'video_output' mean = '33364.31', std. dev. = '411.33', fps = '29.97'
2009-01-07 22:09:00.350 NVP(3): 400 interlaced frames seen.
'video_output' mean = '33361.02', std. dev. = '306.28', fps = '29.98'
'video_output' mean = '33363.13', std. dev. = '398.73', fps = '29.97'
'video_output' mean = '33363.22', std. dev. = '327.19', fps = '29.97'


At random times when playing a video i get a black screen, no audio or
video; to recover i must kill frontend:
2009-01-07 22:05:25.224 VideoOutput: Trying video renderer: 'vdpau'
2009-01-07 22:05:25.247 VDP: Accepting: cmp(<= 1280 720) dec(vdpau)
cpus(0) rend(vdpau) osd(vdpau) osdfade(enabled) deint(none,none)
filt()
2009-01-07 22:05:25.248 VDP: Accepting: cmp() dec(vdpau) cpus(0)
rend(vdpau) osd(vdpau) osdfade(disabled) deint(vdpaubobdeint,none)
filt()
2009-01-07 22:05:25.248 VDP: LoadBestPreferences(2048x2048, 0)
2009-01-07 22:05:25.248 VDP: LoadBestPreferences(2048x2048, 60)
2009-01-07 22:05:25.255 VideoOutputXv: ctor
2009-01-07 22:05:25.256 VideoOutWindow::SetPIPState. pip_state: 0]
2009-01-07 22:05:25.258 VideoOutputXv: Creating XJ_gc
2009-01-07 22:05:25.258 VideoOutputXv: XJ_screen:     '0x8f96c70'
2009-01-07 22:05:25.259 VideoOutputXv: XJ_screen_num: '0'
2009-01-07 22:05:25.259 VideoOutputXv: XJ_curwin:     '6292759'
2009-01-07 22:05:25.259 VideoOutputXv: XJ_win:        '6292759'
2009-01-07 22:05:25.259 VideoOutputXv: XJ_root:       '258'
2009-01-07 22:05:25.259 VideoOutputXv: XJ_gc:         '0x8f97160'
2009-01-07 22:05:25.261 Snapping width to avoid scaling: width: 1280, left: 0
2009-01-07 22:05:25.261 Display Rect  left: 0, top: 90, width: 1280,
height: 540, aspect: 1.33333
2009-01-07 22:05:25.261 Video Rect    left: 0, top: 0, width: 1280,
height: 720, aspect: 1.77778
2009-01-07 22:05:25.261 VDP: LoadBestPreferences(1280x720, 60)
2009-01-07 22:05:25.262 VideoOutputXv: Pixel dimensions: Screen
1280x720, window 1280x720
2009-01-07 22:05:25.267 VideoOutputXv: Estimated display dimensions:
707x398 mm  Aspect: 1.77638
2009-01-07 22:05:25.268 VideoOutputXv: Estimated window dimensions:
707x398 mm  Aspect: 1.77638
2009-01-07 22:05:25.271 GLCtx: Created window and GLX context.
2009-01-07 22:05:25.273 GLCtx: GLX Version: 1.2
2009-01-07 22:05:25.274 GLCtx: Direct rendering: Yes
2009-01-07 22:05:25.669 GLCtx: OpenGL vendor  : NVIDIA Corporation
2009-01-07 22:05:25.670 GLCtx: OpenGL renderer: GeForce 8400 GS/PCI/SSE2
2009-01-07 22:05:25.670 GLCtx: OpenGL version : 2.1.2 NVIDIA 180.16
2009-01-07 22:05:25.671 GLCtx: Max texture size: 8192 x 8192
2009-01-07 22:05:25.671 VideoOutputXv: InitSetupBuffers() render:
vdpau, allowed: vdpau
Xlib: unexpected async reply (sequence 0x2c)!
Xlib: sequence lost (0x10000 > 0x2c) in reply type 0x0!
X Error: 0 0
  Major opcode: 0 ()
  Resource id:  0x0

Some times It will play audio but no video; to recover i can escape key out.:
2009-01-07 22:07:25.601 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:07:25.602 TV: Changing from None to WatchingPreRecorded
2009-01-07 22:07:25.603 New DB connection, total: 3
2009-01-07 22:07:25.609 Connected to database 'mythconverg' at host: mythtv
2009-01-07 22:07:25.609 VDP: GetFilteredDeint() : vdpau -> 'vdpaubobdeint'
2009-01-07 22:07:25.612 Realtime priority would require SUID as root.
2009-01-07 22:07:25.615 TV: HandleStateChange(0) -- end
2009-01-07 22:07:25.617 Display Rect  left: 0, top: 0, width: 1280,
height: 720, aspect: 1.77778
2009-01-07 22:07:25.617 Video Rect    left: 0, top: 0, width: 1920,
height: 1080, aspect: 1.77778
2009-01-07 22:07:25.661 VDPAU: Created VDPAU decoder (2 ref frames)
2009-01-07 22:07:25.717 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2009-01-07 22:07:25.718 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2009-01-07 22:07:25.718 OpenGLVideoSync()
2009-01-07 22:07:25.718 ~OpenGLVideoSync() -- closing opengl vsync
2009-01-07 22:07:25.718 RTCVideoSync: Could not set RTC frequency,
Permission denied.
2009-01-07 22:07:25.719 Set video sync frame interval to 33366
2009-01-07 22:07:25.719 Using audio as timebase
2009-01-07 22:07:25.719 Video timing method: USleep with busy wait
2009-01-07 22:07:25.719 Refresh rate: 16666, frame interval: 33366
2009-01-07 22:07:25.755 VideoOutputXv: UpdatePauseFrame() uLAAAAAAAAAAAAAAA
2009-01-07 22:07:25.755 VideoOutputXv: VDPAU using old pause frame.
2009-01-07 22:07:25.756 VDPAU: Copying VDPAU video surface.
2009-01-07 22:07:25.756 AFD: DoFastForward(5138 (1), do discard frames)
2009-01-07 22:07:25.756 Dec: DoFastForward(5138 (1), do discard frames)
2009-01-07 22:07:25.756 Dec: FindPostion(5138, search not adjusted)
--> [182(313994404),183(315482988)]
2009-01-07 22:07:25.768 AFD: SeekReset(5124, 14, do flush, do discard)
2009-01-07 22:07:25.771 AFD: SeekReset() flushing
2009-01-07 22:07:25.773 VideoOutputXv: DiscardFrames(1)
2009-01-07 22:07:25.774 VideoBuffers::DiscardFrames(1): UAPAAAAAAAAAAAAAA
2009-01-07 22:07:25.777 VideoBuffers::DiscardFrames():
AAPAAAAAAAAAAAAAA -- done()
2009-01-07 22:07:25.778 VideoBuffers::DiscardFrames(1):
AAPAAAAAAAAAAAAAA -- done
2009-01-07 22:07:25.779 VideoOutputXv: DiscardFrames() 3:
AAPAAAAAAAAAAAAAA -- done()
2009-01-07 22:07:25.939 VDPAU: Copying VDPAU video surface.
2009-01-07 22:07:26.138 NVP(0): ClearAfterSeek(0)
2009-01-07 22:07:26.161 VDPAU: Copying VDPAU video surface.
2009-01-07 22:07:26.306 NVP(0): Waiting for prebuffer..  0 ALPAAAAAAAAAAAAAa
2009-01-07 22:07:26.731 NVP(0): Video is 3.04987 frames behind audio
(too slow), dropping frame to catch up.
'video_output' mean = '32990.36', std. dev. = '3294.87', fps = '30.31'
2009-01-07 22:07:29.997 Dec: Selected track #1 in the Unknown language(0)

And finally playing a 1080i video that is perfect:
2009-01-07 22:08:45.293 NVP(3): LoadFilters(''..) -> 0x0
2009-01-07 22:08:45.297 OSD Theme Dimensions W: 640 H: 480
2009-01-07 22:08:46.886 NVP(3): ClearAfterSeek(1)
2009-01-07 22:08:46.887 playCtx: StartDecoderThread(): took 3514 ms to
start player.
2009-01-07 22:08:46.887 VideoOutputXv: ClearAfterSeek()
2009-01-07 22:08:46.887 TV: StartPlayer(0, WatchingPreRecorded, main) -- end ok
2009-01-07 22:08:46.887 VideoOutputXv: DiscardFrames(0)
2009-01-07 22:08:46.888 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA
2009-01-07 22:08:46.888 VideoBuffers::DiscardFrames(0):
AAAAAAAAAAAAAAAAA -- done
2009-01-07 22:08:46.888 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:08:46.889 Realtime priority would require SUID as root.
2009-01-07 22:08:46.889 TV: Changing from None to WatchingPreRecorded
2009-01-07 22:08:46.891 VDP: GetFilteredDeint() : vdpau -> 'vdpaubobdeint'
2009-01-07 22:08:46.892 TV: HandleStateChange(0) -- end
2009-01-07 22:08:46.933 VDPAU: Created VDPAU decoder (2 ref frames)
2009-01-07 22:08:46.947 AFD: DoFastForward(7032 (1), do discard frames)
2009-01-07 22:08:46.948 Dec: DoFastForward(7032 (1), do discard frames)
2009-01-07 22:08:46.949 Dec: FindPostion(7032, search not adjusted)
--> [249(433579512)]
2009-01-07 22:08:46.950 AFD: SeekReset(7032, 0, do flush, do discard)
2009-01-07 22:08:46.950 AFD: SeekReset() flushing
2009-01-07 22:08:46.950 VideoOutputXv: DiscardFrames(1)
2009-01-07 22:08:46.950 VideoBuffers::DiscardFrames(1): UAAAAAAAAAAAAAAAA
2009-01-07 22:08:46.951 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:08:46.951 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAA -- done
2009-01-07 22:08:46.951 VideoOutputXv: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2009-01-07 22:08:46.951 NVP(3): ClearAfterSeek(0)
2009-01-07 22:08:46.993 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2009-01-07 22:08:46.993 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2009-01-07 22:08:46.994 OpenGLVideoSync()
2009-01-07 22:08:46.994 ~OpenGLVideoSync() -- closing opengl vsync
2009-01-07 22:08:46.994 RTCVideoSync: Could not set RTC frequency,
Permission denied.
2009-01-07 22:08:46.994 Set video sync frame interval to 33366
2009-01-07 22:08:46.995 Using audio as timebase
2009-01-07 22:08:46.995 Video timing method: USleep with busy wait
2009-01-07 22:08:46.995 Refresh rate: 16666, frame interval: 33366
2009-01-07 22:08:46.996 NVP(3): Waiting for prebuffer..  0 AAuLAAAAAAAAAAAAA
'video_output' mean = '33378.22', std. dev. = '821.56', fps = '29.96'
2009-01-07 22:08:52.609 Dec: Selected track #1 in the Unknown language(0)
'video_output' mean = '33331.51', std. dev. = '193.86', fps = '30.00'
'video_output' mean = '33364.31', std. dev. = '411.33', fps = '29.97'
2009-01-07 22:09:00.350 NVP(3): 400 interlaced frames seen.
'video_output' mean = '33361.02', std. dev. = '306.28', fps = '29.98'
'video_output' mean = '33363.13', std. dev. = '398.73', fps = '29.97'
'video_output' mean = '33363.22', std. dev. = '327.19', fps = '29.97'

Looking through these sample I cant really see any issues with the
ghosting.  You guys see anything?

Thanks,
Mitchell


More information about the mythtv-users mailing list