[mythtv] [exp. patch] xv xvmc merge (v6)
Ivor Hewitt
ivor at ivor.org
Sun Apr 10 10:32:36 UTC 2005
On Sunday 10 Apr 2005 11:24, Ivor Hewitt wrote:
> On Sunday 10 Apr 2005 01:14, Daniel Kristjansson wrote:
> > On Sat, 2005-04-09 at 12:23 -0400, Daniel Kristjansson wrote:
> > > I've also re-added the VLD hack in AvFormatDecoder::Reset(), so
> > > XvMC-VLD may be working again...
> >
> > Ivor Hewitt found some other VLD buffer init problems, that are
> > fixed in this update. VLD is still broken, but thanks to a few
> > debug logs I've gotten today, I think I know the cause, I
> > believe it is due to the avformatdecoder->Reset() that I'm
> > performing as part of startup for xvmc fallback to xv to work.
> > I think this is also causing problems for the video preview
> > code. I'll look at removing the reset hack for the next patch.
> >
> > The "almost working VLD" patch is at:
> > http://www.mrl.nyu.edu/~danielk/mythtv/xv-xvmc-merge-v6.tbz
>
> Do you think the Reset is the cause of:-
> [mpegvideo_xvmc_vld @ 0x409b9da8]get_buffer() failed (1 1073741824 2 (nil))
>
FYI Log of v6 with lock debug enabled:-
2005-04-10 11:30:06.115 The realtime priority setting is not enabled.
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
2005-04-10 11:30:06.134 Changing from None to WatchingLiveTV
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
[mpegvideo_xvmc_vld @ 0x409bada8]get_buffer() failed (1 1073741824 2 (nil))
2005-04-10 11:30:06.149 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.150 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.156 Using deinterlace method bobdeint
2005-04-10 11:30:06.157 nVidiaVideoSync: Could not open device /dev/nvidia0,
No such file or directory
2005-04-10 11:30:06.158 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.159 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.161 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.161 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.163 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.163 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.165 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.165 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.167 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.167 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.169 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.169 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.172 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.172 Set video sync frame interval to 40000
2005-04-10 11:30:06.172 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.175 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.176 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.179 GetNextFreeFrame() is getting a busy frame.
LLLLLLLL
2005-04-10 11:30:06.180 GetNextFreeFrame() unable to lock frame. Dropping.
LLLLLLLL
2005-04-10 11:30:06.181 GetNextFreeFrame() unable to lock frame 10 times.
Discarding Frames.
2005-04-10 11:30:06.182 DiscardFrames() used limbo ABCDEFGH
2005-04-10 11:30:06.184 try lock frame: A LLLLLLL DiscardFrame
2005-04-10 11:30:06.184 got lock
2005-04-10 11:30:06.185 unlocking frame: A ALLLLLLL DiscardFrame
2005-04-10 11:30:06.185 try lock frame: B A LLLLLL DiscardFrame
2005-04-10 11:30:06.186 got lock
2005-04-10 11:30:06.186 unlocking frame: B AALLLLLL DiscardFrame
2005-04-10 11:30:06.187 try lock frame: C AA LLLLL DiscardFrame
2005-04-10 11:30:06.187 got lock
2005-04-10 11:30:06.188 unlocking frame: C AAALLLLL DiscardFrame
2005-04-10 11:30:06.188 try lock frame: D AAA LLLL DiscardFrame
2005-04-10 11:30:06.188 got lock
2005-04-10 11:30:06.189 unlocking frame: D AAAALLLL DiscardFrame
2005-04-10 11:30:06.190 Using video as timebase
2005-04-10 11:30:06.191 Video timing method: DRM
2005-04-10 11:30:06.191 Refresh rate: 16650, frame interval: 40000
2005-04-10 11:30:06.192 try lock frame: E AAAA LLL DiscardFrame
2005-04-10 11:30:06.192 got lock
2005-04-10 11:30:06.193 unlocking frame: E AAAAALLL DiscardFrame
2005-04-10 11:30:06.193 try lock frame: F AAAAA LL DiscardFrame
2005-04-10 11:30:06.194 got lock
2005-04-10 11:30:06.194 unlocking frame: F AAAAAALL DiscardFrame
2005-04-10 11:30:06.194 try lock frame: G AAAAAA L DiscardFrame
2005-04-10 11:30:06.195 got lock
2005-04-10 11:30:06.195 unlocking frame: G AAAAAAAL DiscardFrame
2005-04-10 11:30:06.195 try lock frame: H AAAAAAA DiscardFrame
2005-04-10 11:30:06.196 got lock
2005-04-10 11:30:06.196 unlocking frame: H AAAAAAAA DiscardFrame
2005-04-10 11:30:06.196 DiscardFrames() -- done() AAAAAAAA
2005-04-10 11:30:06.197 GetNextFreeFrame() is getting a busy frame.
AAAAAAAA
2005-04-10 11:30:06.197 GetNextFreeFrame() unable to lock frame. Dropping.
AAAAAAAA
2005-04-10 11:30:06.198 GetNextFreeFrame() unable to lock frame 10 times.
Discarding Frames.
2005-04-10 11:30:06.198 DiscardFrames() used limbo
2005-04-10 11:30:06.198 DiscardFrames() -- done() AAAAAAAA
PS the XvMCInit / CreateBuffer call still needs reordering in the v6 patch.
--
Ivor
http://www.ivor.it
More information about the mythtv-dev
mailing list