Date: Tue, 12 Dec 2006 12:15:26 +0100 From: Anders Troback <freebsd@troback.com> To: Greg 'groggy' Lehey <grog@FreeBSD.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: PVR-350 and mplayer Message-ID: <20061212121526.18eaedae@server25.gelita.swe> In-Reply-To: <20061209231727.GF34082@wantadilla.lemis.com> References: <20061209233159.7939750f@devil.troback.com> <20061209231727.GF34082@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Dec 2006 09:47:27 +1030
Greg 'groggy' Lehey <grog@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?"
--------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061212121526.18eaedae>
