PVR-350 and mplayer

Anders Troback freebsd at troback.com
Tue Dec 12 03:36:44 PST 2006


On Sun, 10 Dec 2006 09:47:27 +1030
Greg 'groggy' Lehey <grog at FreeBSD.org> wrote:

> On Saturday,  9 December 2006 at 23:31:59 +0100, Anders Troback wrote:
> > Hi,
> >
> > I'm running a PVR-350 on my FBSD 6.2 system.
> >
> > If I do "mplayer /dev/cxm0" mplayer are showing "slow" picutre with
> > good sound at first and after a few secs good picture and crappy
> > sound.
> 
> Yes, I've seen this, and I'm working on it.  You should also be seeing
> this kind of message in /var/log/messages:
> 
>   Nov  3 17:04:58 afa0001 kernel: cxm0: encoder dma not enough buffer
> space free
> 
> Try this patch:
> 
> --- /usr/ports/multimedia/pvr250/work/dev/cxm/cxm.h     Sat Dec  9
> 13:28:01 2006
> +++ /usr/ports/multimedia/pvr250/work-in-progress/dev/cxm/cxm.h Thu
> Nov 30 18:30:15 2006 @@ -64,7 +64,7 @@ enum cxm_byte_order byte_order;
>  };
> 
> -#define CXM_SG_BUFFERS 50
> +#define CXM_SG_BUFFERS 500
> 
>  struct cxm_buffer_pool {
>         bus_dma_tag_t           dmat;
> 
> Then rebuild the module, unload the old module and install the new
> one.  Please let me know how it goes, whether or not it works.  I'm
> currently in the process of importing this driver into the source
> tree, and this is one of the things I'm planning to make a tuneable.
> 

No same thing (besides that I didn't see the dma stuff
in /var/log/messages anymore):-(

I did try to run xine instead (cat /dev/cxm0 | xine stdin://) and that
works! It don't change anything but I just want to let you know:-)



-- 
Anders Trobäck
http://www.troback.com/
============================================
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"
--------------------------------------------


More information about the freebsd-multimedia mailing list