[mythtv-users] SVN 15166: playback profiles - Deinterlacers

Phill Wiggin alamar at gmail.com
Tue Jan 15 03:33:11 UTC 2008


On Jan 10, 2008 1:58 PM, Paul Catchpole <paul at paulcatchpole.co.uk> wrote:

> I've got a similar setup, with a Sempron 3000 and FX5200. I haven't
> managed to get Xvmc working since the mythtv-vid merge, although I don't
> need it [no HD] so I've not been too bothered.
>
> Two thoughts spring to mind - one is whether you're still using Xvmc at
> HD resolution given the playback profiles, you can check in the frontend
> log - possibly better with -v playback. Also, are you actually using the
> opengl renderer, from mythtv-vid - that stresses my Sempron quite hard
> although it's fine for SD playback. I don't find the Sempron 3000 at
> 1.6ghz much of a massive upgrade from the PIII 800 it replaced -
> especially before I fixed the DSDT in the bios so it would actually run
> at 1.6ghz! :-)
>
> PC
>

I'm still trying to get my HD stutter-free... I ran MFE with -v
playback, and some of the interesting bits are:

2008-01-14 23:39:40.378 Compiler did not align stack variables.
Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.

2008-01-14 23:39:41.172 VDP: Accepting: cmp(> 0 0) dec(xvmc)
rend(xvmc-opengl) osd(chromakey) osdfade(disabled)
deint(bobdeint,onefield) filt()
  -- This is my 'test' profile setup

2008-01-14 23:39:41.230 VideoOutputXv: XvMC version: 1.1
2008-01-14 23:39:41.295 XvMCSurfaceTypes::find(w 1920, h 1080, chroma
1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 245,
2450 <=p, port, surfNum)
2008-01-14 23:39:41.295 Trying XvMC port 245
2008-01-14 23:39:41.375 Found a suitable XvMC surface 0
2008-01-14 23:39:41.386 VDP: Accepting: cmp(> 0 0) dec(xvmc)
rend(xvmc-opengl) osd(chromakey) osdfade(disabled)
deint(bobdeint,onefield) filt()
2008-01-14 23:39:41.386 VDP: LoadBestPreferences(2048x2048, 0)
2008-01-14 23:39:41.386 VDP: LoadBestPreferences(2048x2048, 60)
2008-01-14 23:39:41.386 VDP: LoadBestPreferences(1920x1080, 60)
2008-01-14 23:39:41.387 VideoOutputXv: @ j=0 Looking for flag[s]:
XvInputMask  1d
2008-01-14 23:39:41.387 VideoOutputXv: Adaptor#0: NV17 Video Overlay
has flag[s]: XvInputMask XvImageMask
2008-01-14 23:39:41.387 VideoOutputXv: Has XVideo flags...
2008-01-14 23:39:41.408 Found a suitable XvMC surface 0
2008-01-14 23:39:41.408 VideoOutputXv: Grabbed xv port 245
2008-01-14 23:39:41.408 VideoOutputXv: XvMC surface found with IDCT
support on port 245
2008-01-14 23:39:41.419 VideoOutputXv: Closing XVideo port 245
2008-01-14 23:39:41.420 AFD: InitVideoCodec() 0x82bf3f0
id(MPEG2VIDEO_XVMC) type (Video).
2008-01-14 23:39:41.420 detectInterlace(Detect Scan, Interlaced Scan,
29.97, 1088) ->Interlaced Scan
2008-01-14 23:39:41.521 AFD: Using xvmc for video decoding
2008-01-14 23:39:41.521 AFD: Looking for decoder for MPEG2VIDEO_XVMC
2008-01-14 23:39:41.521 AFD: Opened codec 0x82bf3f0,
id(MPEG2VIDEO_XVMC) type(Video)

I loads the AC3 decoder, then:

2008-01-14 23:39:41.766 AFD: Position map found
2008-01-14 23:39:41.766 AFD: Successfully opened decoder for file:
"myth://192.168.7.99:6543/8083_20080114205700.mpg". novideo(0)
2008-01-14 23:39:41.769 VideoOutputXv: XvMC version: 1.1
2008-01-14 23:39:41.769 VideoOutput: Allowed renderers: xvmc-blit
2008-01-14 23:39:41.769 VideoOutput: Allowed renderers (filt: xvmc): xvmc-blit
2008-01-14 23:39:41.769 VideoOutput: Trying video renderer: xvmc-blit
2008-01-14 23:39:41.771 VDP: Accepting: cmp(> 0 0) dec(xvmc)
rend(xvmc-opengl) osd(chromakey) osdfade(disabled)
deint(bobdeint,onefield) filt()
2008-01-14 23:39:41.771 VDP: LoadBestPreferences(2048x2048, 0)
2008-01-14 23:39:41.771 VDP: LoadBestPreferences(2048x2048, 60)
2008-01-14 23:39:41.811 VideoOutputXv: ctor
2008-01-14 23:39:41.889 XOff: 0, YOff: 0
2008-01-14 23:39:41.889 VDP: LoadBestPreferences(1920x1088, 60)
2008-01-14 23:39:41.889 Display Rect  left: 0, top: 85, width: 1180,
height: 510, aspect: 1.33333
2008-01-14 23:39:41.889 Video Rect    left: 0, top: 0, width: 1920,
height: 1080, aspect: 1.77778
2008-01-14 23:39:41.889 VideoOutputXv: Pixel dimensions: Screen
1280x720, window 1180x680
2008-01-14 23:39:41.889 VideoOutputXv: Estimated display dimensions:
325x183 mm  Aspect: 1.77596
2008-01-14 23:39:41.889 VideoOutputXv: Estimated window dimensions:
299x172 mm  Aspect: 1.73837
2008-01-14 23:39:41.890 VideoOutputXv: XvMC version: 1.1
2008-01-14 23:39:41.890 VideoOutputXv: InitSetupBuffers() render:
xvmc-opengl, allowed: xvmc-blit
2008-01-14 23:39:41.890 VideoOutputXv: Desired video renderer
'xvmc-opengl' not available.
                        codec 'MPEG2 IDCT' makes 'xvmc-blit,'
available, using 'xvmc-blit' instead.
2008-01-14 23:39:41.890 VDP: SetVideoRenderer(xvmc-blit)

So, for some reason, xvmc-opengl is 'not available'. Any suggestions?

So, at this point, it falls back to xvmc-blit.

2008-01-14 23:39:41.890 VDP: Old preferences: rend(xvmc-opengl)
osd(chromakey) deint(bobdeint,onefield) filt()
2008-01-14 23:39:41.890 VDP: New preferences: rend(xvmc-blit)
osd(chromakey) deint(bobdeint,onefield) filt()

2008-01-14 23:39:41.893 VideoOutputXv: Grabbed xv port 245
2008-01-14 23:39:41.893 VideoOutputXv: XvMC surface found with IDCT
support on port 245
2008-01-14 23:39:41.893 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video Overlay'
2008-01-14 23:39:41.903 VDP: SetVideoRenderer(xvmc-blit)

A few:

2008-01-14 23:39:43.702 OSDImgCache, Error: Creating osdcache file failed.
2008-01-14 23:39:43.703 OSDImgCache, Error: Creating osdcache file failed.

Then:

2008-01-14 23:39:48.736 VDP: GetFilteredDeint() : xvmc-blit -> 'bobdeint'
2008-01-14 23:39:48.737 Using deinterlace method bobdeint
2008-01-14 23:39:48.838 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2008-01-14 23:39:48.838 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2008-01-14 23:39:48.838 RTCVideoSync: Could not set RTC frequency,
Permission denied.
2008-01-14 23:39:48.838 Set video sync frame interval to 33366
2008-01-14 23:39:48.838 Using audio as timebase
2008-01-14 23:39:48.838 Video timing method: USleep with busy wait

And finally,

2008-01-14 23:39:50.075 NVP: prebuffering pause
2008-01-14 23:39:50.075 NVP: Waiting for prebuffer.. 0 AALdAALA
2008-01-14 23:39:50.259 NVP: prebuffering pause
2008-01-14 23:39:50.259 NVP: Waiting for prebuffer.. 0 ALAALDdA


And that's where I'm stuck. xvmc-opengl isn't available, and falls
back to opengl-blit. I've tried all the other renderers, the audio's
fine, but the video is like watching a flip-book. Bob2x makes the
picture look nice, but I get prebuffering pauses.  With xvmc, One
Field fixes the prebuffering pauses, but introduces nasty combing
effects.

Libavcodec apparently has issues (as seen above), but this same FE box
ran HD (pre-Profiles) flawlessly.

The only thing I can really think of is a driver issue. Is there a
specific nvidia driver I should use?  Currently, I'm at 100.14.19.

Any help is greatly appreciated.

Thanks,
--Phill


More information about the mythtv-users mailing list