FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 12-11-2011, 04:39 PM
Ralf Mardorf
 
Default audio realtime, was: /usr/bin/X: No such file

Sorry some additional Arch Linux newbie questions

-----Ursprüngliche Nachricht-----
Von: arch-general-bounces@archlinux.org im Auftrag von Ionut Biru
Gesendet: So 12/11/2011 16:19
> AUR is your friend.
>
> nvidia-lts for kernel26-lts is in extra.
> nvidia-rt from aur
> nvidia-$yourcrappykerly from aur

http://aur.archlinux.org/packages.php?ID=12132

Dependencies:
linux-rt>=3.0.0
linux-rt<3.2.0
nvidia-utils=285.05.09

So if I build a kernel myself, not by using pacman or PKGBUILD I need to
add some kind of dummy package?
I'll test one of those kernels from
https://wiki.archlinux.org/index.php/Pro_Audio#Realtime_Kernel but
usually I'm using my self build kernels only.
Btw. I can't agree with
"Tickless, CONFIG_NO_HZ, i.e "dynticks", or "dynamic ticks", is said to
interfere with realtime (though the extent may not be noticeable)."
it reduces audible MIDI jitter on my machine.

Dunno how PKGBUILD works (I'll find out soon), but reading
https://aur.archlinux.org/packages/li/linux-rt/PKGBUILD I can e.g. use
make oldconfig, but

"# remove the sublevel from Makefile
# this ensures our kernel version is always 3.X-ARCH
# this way, minor kernel updates will not break external modules"

What if I need e.g. 3.0.12-rt30-test1 and 3.0.12-rt30-test2 with
different configs?

Is there something equivalent to Debian's equivs?
http://www.debian.org/doc/manuals/apt-howto/ch-helpers.en.html

E.g. to remove pulseaudio, which was installed as dependency of xfce4,
or to install a self build, selected version of jack2 and to keep
dependencies.

I couldn't find Jack2 64-bit (searching the Internet from a Suse
install, didn't run packman)?! Anyway, 32-bit seems to be 1.9.7 and I
need 1.9.8, because I need the -Xalsarawmidi option. Using this option
in combination with a2jmidi_bridge I don't have any audible MIDI jitter.

> grep audio /media/archlinux/etc/security/limits.conf
@audio - rtprio 65
@audio - nice -10
@audio - memlock 40000

If I edit this to different values, e.g.
http://jackaudio.org/linux_rt_config , could it be overwritten by a
package upgrade?

Cheers!

Ralf
 
Old 12-11-2011, 04:44 PM
Bernardo Barros
 
Default audio realtime, was: /usr/bin/X: No such file

On Sun, Dec 11, 2011 at 9:39 AM, Ralf Mardorf
<ralf.mardorf@alice-dsl.net> wrote:
>> grep audio /media/archlinux/etc/security/limits.conf
> @audio * * * * *- * * * rtprio * * * * *65
> @audio * * * * *- * * * nice * * * * * -10
> @audio * * * * *- * * * memlock * * * * 40000
>

A recent jack update sets those limits for you.

Do not set nice value. I'd recommend this:

@audio - rtprio 99
@audio - memlock unlimited


If you're looking for linux 3.0.12-rt30 and you happen to have a
recent intel processor (icore):

http://bbarros.com/archstudio/
 
Old 12-11-2011, 04:45 PM
Ionut Biru
 
Default audio realtime, was: /usr/bin/X: No such file

On 12/11/2011 07:39 PM, Ralf Mardorf wrote:
> Sorry some additional Arch Linux newbie questions
>
> -----Ursprüngliche Nachricht-----
> Von: arch-general-bounces@archlinux.org im Auftrag von Ionut Biru
> Gesendet: So 12/11/2011 16:19
>> AUR is your friend.
>>
>> nvidia-lts for kernel26-lts is in extra.
>> nvidia-rt from aur
>> nvidia-$yourcrappykerly from aur
>
> http://aur.archlinux.org/packages.php?ID=12132
>
> Dependencies:
> linux-rt>=3.0.0
> linux-rt<3.2.0
> nvidia-utils=285.05.09
>
> So if I build a kernel myself, not by using pacman or PKGBUILD I need to
> add some kind of dummy package?

is called nvidia-all

> Cheers!
>
> Ralf
>


--
IonuÈ›
 
Old 12-11-2011, 04:54 PM
"Ralf Mardorf"
 
Default audio realtime, was: /usr/bin/X: No such file

-----Ursprüngliche Nachricht-----
Von: arch-general-bounces@archlinux.org im Auftrag von Bernardo Barros
Gesendet: So 12/11/2011 18:44
An: General Discussion about Arch Linux
Betreff: Re: [arch-general] audio realtime, was: /usr/bin/X: No such file

On Sun, Dec 11, 2011 at 9:39 AM, Ralf Mardorf
<ralf.mardorf@alice-dsl.net> wrote:
>> grep audio /media/archlinux/etc/security/limits.conf
> @audio * * * * *- * * * rtprio * * * * *65
> @audio * * * * *- * * * nice * * * * * -10
> @audio * * * * *- * * * memlock * * * * 40000
>

A recent jack update sets those limits for you.

Do not set nice value. I'd recommend this:

@audio - rtprio 99
@audio - memlock unlimited


If you're looking for linux 3.0.12-rt30 and you happen to have a
recent intel processor (icore):

http://bbarros.com/archstudio/

+++

I never ever would set such values. This value with nice is the default on my Arch Linux install, NOT EDITED BY ME. The settings you recommend are the settings I already posted with this link http://jackaudio.org/linux_rt_config .

It's important for me to set up my machine myself, regarding to audio. If I e.g. would use a basic rtirq, my RME sound card would have a lower priority than my two Envy24 cards, that are used as additional MIDInterfaces.
Of cause http://bbarros.com/archstudio/ is interesting, but how do I keep dependencies if I e.g. compile my own kernel-rt, jack2, ardour3 with video timeline etc.?

- Ralf
 
Old 12-11-2011, 04:54 PM
"Ralf Mardorf"
 
Default audio realtime, was: /usr/bin/X: No such file

> So if I build a kernel myself, not by using pacman or PKGBUILD I need to
> add some kind of dummy package?

is called nvidia-all

+++

Thank you

- Ralf
 
Old 12-11-2011, 04:58 PM
Bernardo Barros
 
Default audio realtime, was: /usr/bin/X: No such file

download from AUR and adapt the packages with your custom options

you can then compile your custom linux and ardour packages yourself
and install with pacman,
that is safer then `make installing`
 
Old 12-11-2011, 06:15 PM
Ray Rashif
 
Default audio realtime, was: /usr/bin/X: No such file

On 12 December 2011 01:39, Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
> Btw. I can't agree with
> "Tickless, CONFIG_NO_HZ, i.e "dynticks", or "dynamic ticks", is said to
> interfere with realtime (though the extent may not be noticeable)."
> it reduces audible MIDI jitter on my machine.

And I have heard it increases xruns on other machines

You can just enable it in the config.


--
GPG/PGP ID: C0711BF1
 
Old 12-11-2011, 06:18 PM
Ray Rashif
 
Default audio realtime, was: /usr/bin/X: No such file

On 12 December 2011 01:44, Bernardo Barros <bernardobarros2@gmail.com> wrote:
> On Sun, Dec 11, 2011 at 9:39 AM, Ralf Mardorf
> <ralf.mardorf@alice-dsl.net> wrote:
>>> grep audio /media/archlinux/etc/security/limits.conf
>> @audio * * * * *- * * * rtprio * * * * *65
>> @audio * * * * *- * * * nice * * * * * -10
>> @audio * * * * *- * * * memlock * * * * 40000
>>
>
> A recent jack update sets those limits for you.

And also it doesn't matter what is there in limits.conf - they'll
simply be overriden by those in limits.d. So things should just work,
theoretically.


--
GPG/PGP ID: C0711BF1
 
Old 12-12-2011, 05:37 PM
Ralf Madorf
 
Default audio realtime, was: /usr/bin/X: No such file

Thank you Bernardo. Thank you Ray.

Ray, a note to your comment about HPET/hrtimer, for jackd IMO it's
unusable, since at least my machine doesnt have enough timers.

I'm using it for the ALSA sequencer timer only.

Some apps freeze the system, when it's enabled. Fortunately non of those
I'm using.

Regarding to MIDI jitter with hardware interfaces it can improve a
little bit.

Cheers!

Ralf
 

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org