Sorry to bother you again...
I have found out that xwax with Alsa is running with RTPRIO = 80.
($ ps -LO rtprio /proc_num/)
With Jack, xwax is always running with RTPRIO = 15, whatever the
settings I write in /etc/security/limits.d .
I tried in limits.d:
@realtime - rtprio 20
@realtime - memlock unlimited
or/and
* - rtprio 99
* - memlock 4194304
* - nice -10
or/and
@jackuser - rtprio 20
@jackuser - memlock 131072
and adding my username in "realtime" and "jackuser" groups.
Xwax is running with RTPRIO = 15, whatever the settings.
This is maybe the cause of my problem.
Where does this value 15 come from?
Do you have any idea of what I've done wrong?
Thanks
On 12/16/2010 02:56 PM, Matthieu Caron wrote:
> Thanks for your inputs Charles and Matt.
> Nothing helps unfortunately.
>
> I can run jack with RT capabilities (+ frames/period = 64, sample/rate
> = 44100, periods/buffer = 2) and xwax without any xrun but I still
> have the same issue.
> Maybe xwax is not running RT... even if I followed the instructions.
> Is there a way to check?
> Since everything is fine with alsa, do you have any idea in which
> direction I should investigate?
> Thanks again.
>
>
> On 12/16/2010 09:57 AM, Intamixx Music Company wrote:
>> Sorry have to be quick...!
>> I am using RHEL5 with alsa-lib-1.0.17-1.el5.
>> I am using custom RT kernel 2.6.28.
>> I use the following commands with jack server
>> /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p128 -n2 -S -Xseq
>> I am using asus xonar d1 and intel onboard sound card. I use alsa-in
>> and alsa-out jack utils to use both soundcards
>> Using xwax with jack-rack I get amazing sounding real time effects
>> when scratching and playing normally. The response time is super fast.
>> Let me know if you need to know any other config I have.
>> thanks,
>> matt
>>
>>
>> > From: charles@...
>> > To: xwax-devel@...
>> > Date: Tue, 14 Dec 2010 15:57:27 -0800
>> > Subject: Re: [xwax-devel] xwax and jack
>> >
>> > Hi Matthieu,
>> >
>> > My experience has been that tuning Jack audio is much more difficult
>> > than ALSA audio. It's taken me several tries to find the right settings
>> > for my Firewire Stanton Scratchamp 2.
>> >
>> > Most importantly, do you have your system setup so that your user can
>> > run xwax and jack in realtime? (See: http://jackaudio.org/faq ,
>> > http://help.ubuntu.com/community/UbuntuStudioPreparation#Real-Time
>> > Support , http://help.ubuntu.com/community/FireWire ) . It's very
>> > possible that xwax and/or jack are not running at a high enough
>> > priority.
>> >
>> > HTH,
>> >
>> > Charles
>> >
>> >
>> > On Wed, 2010-12-15 at 00:39 +0100, Matthieu Caron wrote:
>> > > Hi,
>> > > You can find two examples, one recorded with ALSA
>> (export_alsa.ogg) and
>> > > one with JACK (export_jack.ogg) at http://mcaron.free.fr/xwax/. I
>> hope
>> > > it can help.
>> > > Maybe my settings in JACK are not correct?
>> > > I run under Fedora (first under fedora12 with a RT kernel from
>> CCRMA and
>> > > now under fedora 14 with the normal kernel - I have this problem in
>> > > both) and have an audiophile 24/96.
>> > >
>> > > The second issue is solved with stereo 44100Hz files. Thank you.
>> > >
>> > >
>> > > Le 12/12/2010 12:52, Mark Hills a écrit :
>> > > > On Wed, 8 Dec 2010, Matthieu Caron wrote:
>> > > >
>> > > >> Hi all,
>> > > >> I am using xwax to scratch and I get very good results with
>> alsa. I now
>> > > >> need to use it with jack... But with jack scratches sound
>> terrible...
>> > > >> I configured jack to have very small latency (fx 2ms (or even
>> less)
>> > > >> according to qjackctl) but it doesn't help....
>> > > >> Do you have any idea?
>> > > > There's nothing immediately different about the JACK
>> implementation that
>> > > > would make it sound worse, can you describe the sound you are
>> hearing? Or
>> > > > perhaps even post a recording online and include a link.
>> > > >
>> > > >> Another issue:
>> > > >> when playing flac or ogg files (created with ardour), xwax
>> read the
>> > > >> files too quickly (maybe twice the normal speed...)
>> > > > It sounds like the file is not stereo 44100Hz. In some cases
>> the import
>> > > > script will do the conversion, in some cases it won't. Perhaps a
>> > > > workaround is to remove the FLAC and Ogg entries from the
>> import script,
>> > > > and always fallback to ffmpeg or sox.
>> > > >
>> > >
>> > >
>> > >
>> ------------------------------------------------------------------------------
>> > > Lotusphere 2011
>> > > Register now for Lotusphere 2011 and learn how
>> > > to connect the dots, take your collaborative environment
>> > > to the next level, and enter the era of Social Business.
>> > > http://p.sf.net/sfu/lotusphere-d2d
>> >
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Lotusphere 2011
>> > Register now for Lotusphere 2011 and learn how
>> > to connect the dots, take your collaborative environment
>> > to the next level, and enter the era of Social Business.
>> > http://p.sf.net/sfu/lotusphere-d2d
>>
>>
>> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social Business.
>> http://p.sf.net/sfu/lotusphere-d2d
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
|