View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Tue Apr 06, 2010 2:36 am Post subject: Trying to start jack with regular user |
|
|
I know jack works because I can start it by running qjackctl as root. So I somehow need to give permission to something, somewhere, so my regular user can start jack.
This is the command that works as root:
/usr/bin/jackd -dfirewire -r48000 -p1024 -n3
But as a regular user, I get:
Code: |
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2009 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
libffado 2.999.0- built Apr 5 2010 07:38:41
00730979233: Error (PosixThread.cpp)[ 150] Start: Cannot create realtime thread (1: Operation not permitted)
00730979343: Error (PosixThread.cpp)[ 151] Start: priority: 15
firewire ERR: FFADO: Error creating virtual device
Cannot attach audio driver
JackServer::Open() failed with -1
no message buffer overruns
Failed to start server
|
I've done all the required stuff. I've set up limits.conf, my regular user is part of the audio group, I'm using an rt-patched kernel, etc. I haven't been able to figure out what I'm missing. I'm starting to log into fvwm as root and damn the advice not to _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
Kingmilo Apprentice
Joined: 29 Apr 2005 Posts: 173 Location: South Africa
|
Posted: Tue Apr 06, 2010 8:42 am Post subject: |
|
|
I agree, there is another part of the system that needs to be touched and only root has permission.
Why not setup sudo for that command and see if that works, or alternatively start the service as root and hup then use regular user for the rest. _________________ trample the weak, hurdle the dead.. . |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
pota n00b
Joined: 25 Jan 2005 Posts: 22
|
Posted: Tue Apr 06, 2010 6:25 pm Post subject: |
|
|
You need a rtlimits-enabled pam and set up
/etc/security/limits.conf accordingly by adding something like this:
@audio - nice -10
@audio - rtprio 99
@audio - memlock unlimited
and put yourself in group audio. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|