[mythtv] XVMC in latest CVS

Chris White cbw at cs.hmc.edu
Sat Apr 30 01:03:17 UTC 2005


I've just bit the bullet and upgraded my Knoppmyth R5A12 system to 
latest CVS, hoping to get XVMC working somewhat better. Everything went 
fine, until I finally tried XVMC, and it failed rather spectacularly 
when going to play a program (though the previews seem to work, do those 
use xvmc?)

Here's the relevant playback log:

2005-04-29 17:55:25.891 Found a suitable XvMC surface 0
2005-04-29 17:55:25.892 detectInterlace(Detect Scan, Detect Scan, 29.97, 
480) ->Interlaced Scan
2005-04-29 17:55:25.892 Interlaced: Interlaced Scan  video_height: 480 
fps: 29.97
2005-04-29 17:55:25.892 AVFD: Looking for decoder for 3
2005-04-29 17:55:25.892 AVFD: Opening Stream #1: codec id 86016
2005-04-29 17:55:25.893 AVFD: Looking for decoder for 86016
2005-04-29 17:55:25.893 Estimated bitrate = 6384
2005-04-29 17:55:25.927 Position map filled from DB to: 3585
2005-04-29 17:55:25.928 SyncPositionMap prerecorded, from DB: 3586 entries
2005-04-29 17:55:25.928 SyncPositionMap, new totframes: 53775, new 
length: 1794, posMap size: 3586
2005-04-29 17:55:25.928 Position map found
2005-04-29 17:55:25.928 AvFormatDecoder: Successfully opened decoder for 
file: "/myth/tv/2107_20050428200000_20050428203000.nuv". novideo(0)
2005-04-29 17:55:25.937 Opening audio device 'spdif'.
2005-04-29 17:55:26.048 VideoOutputXv()
2005-04-29 17:55:26.051 Over/underscan. V: 0.02, H: 0.05, XOff: 0, YOff: 0
2005-04-29 17:55:26.054 XvMC version: 1.0
2005-04-29 17:55:26.054 @ j=1 Looking for flag[s]: XvInputMask
2005-04-29 17:55:26.054 Adaptor: 0 has flag[s]: XvInputMask XvImageMask
2005-04-29 17:55:26.055 XvMCSurfaceTypes::find(w 480, h 480, chroma 1, 
vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 145, 1450 
<=p, port, surfNum)
2005-04-29 17:55:26.055 Trying XvMC port 145
2005-04-29 17:55:26.055 Found a suitable XvMC surface 0
2005-04-29 17:55:26.055 XvMC surface found with IDCT support on port 145
Direct Rendering is not avilable on this system!
2005-04-29 17:55:26.126 Unable to create XvMC Context, status(11): BadAlloc
2005-04-29 17:55:26.126 VideoBuffers::DiscardFrames(): AAAAAAAA
2005-04-29 17:55:26.126 VideoBuffers::DiscardFrames(): AAAAAAAA -- done()
2005-04-29 17:55:26.126 VideoBuffers::DiscardFrames(): AAAAAAAA
2005-04-29 17:55:26.126 VideoBuffers::DiscardFrames(): AAAAAAAA -- done()
2005-04-29 17:55:26.127 Failed to create XvMC Buffers.
2005-04-29 17:55:26.127 Falling back to X11 network display.
2005-04-29 17:55:26.127     *** May be very slow ***
2005-04-29 17:55:26.127 XCreateImage failed: XJ_disp(0x8b9e678) 
visual(0x8b4c9b0)
                         XJ_depth(24) WxH(1024x768) bpl(3072)
2005-04-29 17:55:26.127 Failed to create X buffers.
2005-04-29 17:55:26.127 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA
2005-04-29 17:55:26.127 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA         -- done()
2005-04-29 17:55:26.128 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA
2005-04-29 17:55:26.128 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA         -- done()
2005-04-29 17:55:26.128 Failed to get any video output Exiting playback.
2005-04-29 17:55:49.814 Changing from None to WatchingPreRecorded
2005-04-29 17:55:49.814 Decoder not alive, and trying to play..
2005-04-29 17:55:49.914 Changing from None to None
2005-04-29 17:55:49.916 ~VideoOutputXv()
2005-04-29 17:55:49.916 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA
2005-04-29 17:55:49.916 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA         -- done()
2005-04-29 17:55:49.916 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA
2005-04-29 17:55:49.916 VideoBuffers::DiscardFrames(): 
AAAAAAAAAAAAAAAAAAAAAAA         -- done()
2005-04-29 17:55:50.703 AVFD: Opening Stream #0: codec id 2
2005-04-29 17:55:50.704 detectInterlace(Detect Scan, Detect Scan, 29.97, 
480) ->Interlaced Scan
2005-04-29 17:55:50.704 Interlaced: Interlaced Scan  video_height: 480 
fps: 29.97
2005-04-29 17:55:50.705 AVFD: Looking for decoder for 2
2005-04-29 17:55:50.705 AVFD: Opening Stream #1: codec id 86016
2005-04-29 17:55:50.705 AVFD: Looking for decoder for 86016
2005-04-29 17:55:50.705 Estimated bitrate = 6384
2005-04-29 17:55:50.705 recording has no position -- guessing at length
2005-04-29 17:55:50.705 AvFormatDecoder: Successfully opened decoder for 
file: "/myth/tv/2107_20050428200000_20050428203000.nuv". novideo(0)
2005-04-29 17:55:50.712 VideoOutputNull()
2005-04-29 17:55:50.717 Image size. dispxoff 0, dispyoff: 0, dispwoff: 
0, disphoff: 0
2005-04-29 17:55:50.717 Image size. imgx 24, imgy: 10, imgw: 432, imgh: 461
2005-04-29 17:55:50.718 positionMap[ 0 ] == 38.
2005-04-29 17:55:50.735 waiting for prebuffer... 0
2005-04-29 17:55:50.747 positionMap[ 1 ] == 176166.
2005-04-29 17:55:50.778 HandleGopStart: gopset not set, syncing positionMap
2005-04-29 17:55:50.778 SyncPositionMap prerecorded, from DB: 2 entries
2005-04-29 17:55:50.778 Stream initial keyframedist: 15.
2005-04-29 17:55:50.778 positionMap[ 2 ] == 358438.
2005-04-29 17:55:51.157 positionMap[ 3 ] == 555046.
2005-04-29 17:55:51.356 ~VideoOutputNull()


For what it's worth, I'm running an nvidia 5200 with driver version 6629.
Any thoughts?

Thanks,
-Chris


More information about the mythtv-dev mailing list