Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2006 09:47:27 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Anders Troback <freebsd@troback.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: PVR-350 and mplayer
Message-ID:  <20061209231727.GF34082@wantadilla.lemis.com>
In-Reply-To: <20061209233159.7939750f@devil.troback.com>
References:  <20061209233159.7939750f@devil.troback.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--UBnjLfzoMQYIXCvq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

Greg
--
See complete headers for address and phone numbers.

--UBnjLfzoMQYIXCvq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFFe0QHIubykFB6QiMRAjQ7AKCJxTedtcFT7pvVVADlmXW9odayKwCeIo8a
BeAqdXSftAW318YxGHnfxSY=
=ZiwC
-----END PGP SIGNATURE-----

--UBnjLfzoMQYIXCvq--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061209231727.GF34082>