Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2018 02:16:28 +0200
From:      Goran =?utf-8?B?TWVracSH?= <meka@tilda.center>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Choppy audio using virtual_oss
Message-ID:  <20180809001628.g2rfm4wgagjetsup@hal9000.home.meka.rs>
In-Reply-To: <6c6613fc-1bfd-71cd-8f7d-84282a258d4a@selasky.org>
References:  <20180807003145.7m55dlakppucpkt2@thinker.home.meka.rs> <57293b09-97c6-8b89-24eb-2497529f2ba5@selasky.org> <20180807085240.mcyaj2siqwtydjyj@hal9000.home.meka.rs> <95ed28ae-57a4-ede0-274c-3ae863d4eb0b@selasky.org> <20180807092204.opswsmebt3tohsvj@hal9000.home.meka.rs> <6c6613fc-1bfd-71cd-8f7d-84282a258d4a@selasky.org>

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

--eaikyukv2gqe5pni
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

On Tue, Aug 07, 2018 at 11:41:46AM +0200, Hans Petter Selasky wrote:
> You can try.
>
> Check the CPU usage(s). If some process is running close to 100% it won't
> work, you need larger buffers.
>
> I'm a bit worried that the high sample rate combined with libsamplerate will
> overturn the system. Did you try to use 44100 or 48000 Hz. Is there any
> particular reason you are using 88200 Hz ?
>
> Another thing to check is if your kernel is compiled with debugging /
> invariants / witness and such. It will make the character device in
> userspace processing slower.
>
> --HPS

I took some time to do more testing, and when drumgizmo is run as LV2
plugin inside ardour, I experience the problems I described. No matter
what buffer and sample rate parameters I use, the results are the same.
Curiously, when I run drumgizmo as a standalone app and connect it to
ardour via jack audio/midi, everything works fine. At first I thought
it's drumgizmo fault (I'm one of the developers, so it's up to me to
inspect it), but the same symptoms are present using only yoshimi
connected to jack. If I ever figure out what's wrong with jack (I just
presume it's jack's fault), I'll send a patch or howto or something. For
now, I can at least work on my song! :o) Also, CPU now is around 50%
when everything is running, and sampling rate is still 88.2kHz. As I'm
running -RELEASE, there shouldn't be any debugging / invariants /
witness.

Regards,
meka

--eaikyukv2gqe5pni
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAltrh9gACgkQWj1Tknov
rLYn2A//T0HTzUjQ20mE89+v+wE5BpfAT/YVbzTqsLgE0Fiw37celP87ykRKqWWW
ZDv2qfbN7k6XNlpD0SgOKuTn97KSCERNPbKiuGTRRdczfcENhrehjDcGSrW4AGzH
xDa8Ft/BsS4snRBRvEJmlttZG7BAI2rEKgIjjfAxAB0TBh+GcvWh9avU6uvkQG0V
mcKkGp6GjVyFs4dAmZ4GZSH8RN+lLw4B483PZll/UNcQqkL32lkHmKas2rv/ZstS
QOkJ2bcq3t2CZt/QwCmtUQ8GXfp0bubHRMHgIbUd7/NCg68QIXsW9TZ13is0zigZ
jfP0swKbhZ50yQFm3TkWmeEpNklBiaW+z4OeEPcOaR/LzqGc08UPkxVppR/BII9k
o3Wi2+ZztcKaTInqU/ckVZEOggAKrA4fLZQP02FrzlJMvYjfjqeDGT7d9ZFdeAXG
NOHzQzZuYIaRQ54NrTk74C5wDk09cCg+lGcTMZEVk7obvewrsYwjP7Z5C94x0UaZ
YoVzUW+KPKHc/HX201wapLqmSi8AZzvH5sfHtS2j7sWLvnfAnRNKABFli8he+NBo
T2SxOYAWRiX6rrYHgC3WgUJgsbkEGJ7wuqlx53jy/TeV3dTOwPcVTjVk3QD5dhF8
pO4sBghSQ0jTr3ONCUooHfXCla3lxBe9jHZNDvphy/frSASVGrs=
=Rlvn
-----END PGP SIGNATURE-----

--eaikyukv2gqe5pni--



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