Re: [PD] Running Pd with real-time priority

2017-03-29 Thread Alexandros Drymonitis
On Wed, Mar 29, 2017 at 5:29 PM, Antoine Rousseau 
wrote:

> So then, Pd is indeed running with RT?
>
>
> I think so. Try:
> pd -verbose -stderr
>
> and you should read:
>
> "priority 6 scheduling enabled."
>
That did it! I did get the "priority 6 scheduling enabled." message, so
it's fine. Thanks!
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Running Pd with real-time priority

2017-03-29 Thread Antoine Rousseau
>
> So then, Pd is indeed running with RT?


I think so. Try:
pd -verbose -stderr

and you should read:

"priority 6 scheduling enabled."
if jack support is compiled in, or:

"priority 92 scheduling enabled."
if not.

If you hadn't the rights for real time, a simple:
pd
would print:

"priority 92 scheduling failed."

cheers


Antoine Rousseau
  http://www.metalu.net  __
http://www.metaluachahuter.com/



2017-03-29 10:46 GMT+02:00 Alexandros Drymonitis :

>
> Hi,
>>
>> I've proposed pull request #39 (https://github.com/pure-data/
>> pure-data/pull/39) to fix this (RT status not printed to console any
>> more).
>>
>> In the meantime, if you don't get related error message (and you don't
>> specify -nrt) then RT should be enabled.
>>
> So then, Pd is indeed running with RT?
>
>
>>
>>
>>
>> Antoine Rousseau
>>   http://www.metalu.net  __ htt
>> p://www.metaluachahuter.com/
>> 
>>
>>
>> 2017-03-29 8:29 GMT+02:00 katja :
>>
>>> Which Pd version do you run? I remember having the same issue with Pd
>>> on Raspberry Pi some years ago. Pd at that time asked for rtprio 99
>>> and didn't get it with jackd default settings. In response Miller has
>>> then changed Pd's rtprio requirement to 95 (I don't remember which Pd
>>> version exactly, it was probably around 0.45). If the Odroid image
>>> ships an old Pd, setting rtprio 99 could make the difference.
>>>
>> I'm running the latest Pd (0.47-1) compiled from source with Jack support
> on an Ubuntu 14.04 LTS image.
>
>
> Cheers
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Running Pd with real-time priority

2017-03-29 Thread Alexandros Drymonitis
> Hi,
>
> I've proposed pull request #39 (https://github.com/pure-data/
> pure-data/pull/39) to fix this (RT status not printed to console any
> more).
>
> In the meantime, if you don't get related error message (and you don't
> specify -nrt) then RT should be enabled.
>
So then, Pd is indeed running with RT?


>
>
>
> Antoine Rousseau
>   http://www.metalu.net  __ htt
> p://www.metaluachahuter.com/
> 
>
>
> 2017-03-29 8:29 GMT+02:00 katja :
>
>> Which Pd version do you run? I remember having the same issue with Pd
>> on Raspberry Pi some years ago. Pd at that time asked for rtprio 99
>> and didn't get it with jackd default settings. In response Miller has
>> then changed Pd's rtprio requirement to 95 (I don't remember which Pd
>> version exactly, it was probably around 0.45). If the Odroid image
>> ships an old Pd, setting rtprio 99 could make the difference.
>>
> I'm running the latest Pd (0.47-1) compiled from source with Jack support
on an Ubuntu 14.04 LTS image.


Cheers
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Running Pd with real-time priority

2017-03-29 Thread Antoine Rousseau
Hi,

I've proposed pull request #39 (https://github.com/pure-data/
pure-data/pull/39) to fix this (RT status not printed to console any more).

In the meantime, if you don't get related error message (and you don't
specify -nrt) then RT should be enabled.


Antoine Rousseau
  http://www.metalu.net  __ htt
p://www.metaluachahuter.com/



2017-03-29 8:29 GMT+02:00 katja :

> Which Pd version do you run? I remember having the same issue with Pd
> on Raspberry Pi some years ago. Pd at that time asked for rtprio 99
> and didn't get it with jackd default settings. In response Miller has
> then changed Pd's rtprio requirement to 95 (I don't remember which Pd
> version exactly, it was probably around 0.45). If the Odroid image
> ships an old Pd, setting rtprio 99 could make the difference.
>
> Katja
>
> On Wed, Mar 29, 2017 at 1:16 AM, Alexandros Drymonitis 
> wrote:
> > When running Pd, it is supposed to run with real-time priority by
> default,
> > right?
> >
> > When launching Pd from the terminal, you usually get this printed:
> > priority 6 scheduling enabled.
> > priority 8 scheduling enabled.
> >
> > I'm running Pd on an Odroid-U3, and launching Pd from the terminal
> doesn't
> > print anything like this.
> > I'm using Pd with jack, which I run with real-time priority (I'm using
> > Qjackctl and I'm clicking on the Realtime tick-box). I have the following
> > both in /etc/security/limits.conf and in /etc/security/limits.d/audio.c
> onf:
> >
> > @audio   -  rtprio 95
> > @audio   -  memlockunlimi
> > ted
> > @audio   -  nice  -19
> >
> > The user odroir (which is the default user in the Odroid image) is a
> member
> > of the audio group. What am I missing here? Is Pd running with real-time
> > priority indeed, or do I need to do something more than that to run with
> > real-time priority?
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > https://lists.puredata.info/listinfo/pd-list
> >
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> stinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Running Pd with real-time priority

2017-03-29 Thread Miller Puckette
I'm not sure but I think if Pd is running with jack support compiled in it
gets prioriy 6/8 and if not, 95/97 (which is how I originally had set it,
but jack imposes its own priority levels).

cheers
Miller

On Wed, Mar 29, 2017 at 08:29:34AM +0200, katja wrote:
> Which Pd version do you run? I remember having the same issue with Pd
> on Raspberry Pi some years ago. Pd at that time asked for rtprio 99
> and didn't get it with jackd default settings. In response Miller has
> then changed Pd's rtprio requirement to 95 (I don't remember which Pd
> version exactly, it was probably around 0.45). If the Odroid image
> ships an old Pd, setting rtprio 99 could make the difference.
> 
> Katja
> 
> On Wed, Mar 29, 2017 at 1:16 AM, Alexandros Drymonitis  
> wrote:
> > When running Pd, it is supposed to run with real-time priority by default,
> > right?
> >
> > When launching Pd from the terminal, you usually get this printed:
> > priority 6 scheduling enabled.
> > priority 8 scheduling enabled.
> >
> > I'm running Pd on an Odroid-U3, and launching Pd from the terminal doesn't
> > print anything like this.
> > I'm using Pd with jack, which I run with real-time priority (I'm using
> > Qjackctl and I'm clicking on the Realtime tick-box). I have the following
> > both in /etc/security/limits.conf and in /etc/security/limits.d/audio.conf:
> >
> > @audio   -  rtprio 95
> > @audio   -  memlockunlimi
> > ted
> > @audio   -  nice  -19
> >
> > The user odroir (which is the default user in the Odroid image) is a member
> > of the audio group. What am I missing here? Is Pd running with real-time
> > priority indeed, or do I need to do something more than that to run with
> > real-time priority?
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > https://lists.puredata.info/listinfo/pd-list
> >
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Running Pd with real-time priority

2017-03-28 Thread katja
Which Pd version do you run? I remember having the same issue with Pd
on Raspberry Pi some years ago. Pd at that time asked for rtprio 99
and didn't get it with jackd default settings. In response Miller has
then changed Pd's rtprio requirement to 95 (I don't remember which Pd
version exactly, it was probably around 0.45). If the Odroid image
ships an old Pd, setting rtprio 99 could make the difference.

Katja

On Wed, Mar 29, 2017 at 1:16 AM, Alexandros Drymonitis  wrote:
> When running Pd, it is supposed to run with real-time priority by default,
> right?
>
> When launching Pd from the terminal, you usually get this printed:
> priority 6 scheduling enabled.
> priority 8 scheduling enabled.
>
> I'm running Pd on an Odroid-U3, and launching Pd from the terminal doesn't
> print anything like this.
> I'm using Pd with jack, which I run with real-time priority (I'm using
> Qjackctl and I'm clicking on the Realtime tick-box). I have the following
> both in /etc/security/limits.conf and in /etc/security/limits.d/audio.conf:
>
> @audio   -  rtprio 95
> @audio   -  memlockunlimi
> ted
> @audio   -  nice  -19
>
> The user odroir (which is the default user in the Odroid image) is a member
> of the audio group. What am I missing here? Is Pd running with real-time
> priority indeed, or do I need to do something more than that to run with
> real-time priority?
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Running Pd with real-time priority

2017-03-28 Thread Alexandros Drymonitis
When running Pd, it is supposed to run with real-time priority by default,
right?

When launching Pd from the terminal, you usually get this printed:
priority 6 scheduling enabled.
priority 8 scheduling enabled.

I'm running Pd on an Odroid-U3, and launching Pd from the terminal doesn't
print anything like this.
I'm using Pd with jack, which I run with real-time priority (I'm using
Qjackctl and I'm clicking on the Realtime tick-box). I have the following
both in /etc/security/limits.conf and in /etc/security/limits.d/audio.conf:

@audio   -  rtprio 95
@audio   -  memlockunlimi
ted
@audio   -  nice  -19

The user odroir (which is the default user in the Odroid image) is a member
of the audio group. What am I missing here? Is Pd running with real-time
priority indeed, or do I need to do something more than that to run with
real-time priority?
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list