Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to emerge Ardour-3.9999
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Mikkl
n00b
n00b


Joined: 12 Jan 2006
Posts: 71

PostPosted: Tue Apr 06, 2010 9:57 am    Post subject: Reply with quote

Quote:
So, under my regular user, I still get the permission error I described above. What do I need to change to fix it?

Assuming your user is a member of audio group I think i simply did an
Code:
chown root:audio /dev/raw1394
I think it was some other grp in the beginning like video or camera or even firewire?, but you can look that up with
Code:
ls -l /dev/raw1394
and you need read and write permissions for that group, so:
Code:
chmod g+rw /dev/raw1394
or set same permissions as user root has on it.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Tue Apr 06, 2010 1:25 pm    Post subject: Reply with quote

I double-checked all those things and they're already set. Jack still refuses to start as my regular user.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Mikkl
n00b
n00b


Joined: 12 Jan 2006
Posts: 71

PostPosted: Wed Apr 07, 2010 6:42 am    Post subject: Reply with quote

hmm just a short guess as i'm about to leave for a couple of days. have you set in /etc/security/limits.conf something like?
Code:
# rtprio
  @audio - rtprio 99
  @audio - nice -5
  @audio - memlock unlimited
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Wed Apr 07, 2010 2:03 pm    Post subject: Reply with quote

Yep.

I've actually done audio on gentoo setups several times. This time, something is strangely missing.

I think what I'll end up doing is adding "sudo" before all relevant launcher commands in FVWM (qjackctl, Ardour, etc.). That way I don't have to log into Xorg as root but everything I need to run will work.

I'd still like to figure out what's missing, because I would like to write an all-in-one page how-to for pro audio on Gentoo. It would be better to make sure I have all the right steps included.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Apr 07, 2010 8:02 pm    Post subject: Reply with quote

audiodef wrote:
Yep.
I think what I'll end up doing is adding "sudo" before all relevant launcher commands in FVWM (qjackctl, Ardour, etc.). That way I don't have to log into Xorg as root but everything I need to run will work.

Maybe it is a permission issue with firewire port. I read it somewhere. Does it work if you do :
Code:

useradd -G disk username

and then re-login. It seems an udev rule issue. I got the info here at comment 4.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Wed Apr 07, 2010 8:48 pm    Post subject: Reply with quote

Yep. I'm in group disk. Still no cigar.

This must be the stumper of the century. :P
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Wed Apr 07, 2010 10:46 pm    Post subject: Reply with quote

I'm going to re-install Gentoo from scratch and document everything, for the purpose of creating that cohesive pro-audio on Gentoo document. I don't mind. In the process, I may pick up what I missed. 8)
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Apr 08, 2010 2:02 am    Post subject: Reply with quote

Good luck mate. May the force be with you. Keep us informed. We need that up-to date documentation for gentoo.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Thu Apr 08, 2010 2:58 am    Post subject: Reply with quote

You betcha. 8)
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Mikkl
n00b
n00b


Joined: 12 Jan 2006
Posts: 71

PostPosted: Sun Apr 11, 2010 6:48 pm    Post subject: Reply with quote

finally i got a look at my firewire setup in the rehearsal room:
keenblade got me a hint with the udev-thing:
i have a file /etc/udev/rules.d/10-local.rules which reads:
Code:
KERNEL=="raw1394*", GROUP="audio"


i also found that graphics drivers have a huge influence on xruns, tested with 44100Hz samplerate, 64 frames/period, 2 periods/buffer:
using network and X11-Forwarding over ssh: no xruns
using nvidia-drivers: occasional xruns when starting to record in ardour
using nouveau drivers: hundreds of xruns / ~10sec when starting ardour and doing nothing

good luck with your re-install

here's some info of my working firewire setup, maybe this helps.
Code:
$ ls -l /dev/raw1394
crw-rw---- 1 root audio 171, 0 Apr 11 12:12 /dev/raw1394

Code:
$ groups
wheel audio cdrom video games usb users plugdev

as user (not root):
Code:
$ ffado-diag

FFADO diagnostic utility 2.999.0-
============================
(C) 2008 Pieter Palmers


=== CHECK ===
 Base system...
  kernel version............ 2.6.33-gentoo
FIXME: implement test for RT kernel
   RT patched............... False
  old 1394 stack present.... True
  old 1394 stack loaded..... True
  old 1394 stack active..... True
  new 1394 stack present.... True
  new 1394 stack loaded..... False
  new 1394 stack active..... False
  /dev/raw1394 node present. True
  /dev/raw1394 permissions.. True
 Prerequisites (dynamic at run-time)...
   gcc................ gcc (Gentoo 4.4.3 p1.0) 4.4.3
   g++................ g++ (Gentoo 4.4.3 p1.0) 4.4.3
   PyQt............... sh: pyuic: command not found
   jackd.............. no message buffer overruns
     path............. /usr/bin/jackd
     flags............  -ljack 
   libraw1394......... 2.0.5
     flags............  -lraw1394 
   libavc1394......... 0.5.3
     flags............  -lavc1394 -lrom1394 -lraw1394 
   libiec61883........ 1.1.0
     flags............  -liec61883 -lraw1394 
   libxml++-2.6....... 2.26.1
     flags............ -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 
   dbus-1............. 1.2.24
     flags............ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -ldbus-1 -lpthread -lrt 
 Prerequisites (static at compile-time)...
   gcc................ gcc (Gentoo 4.4.3 p1.0) 4.4.3
   g++................ g++ (Gentoo 4.4.3 p1.0) 4.4.3
   PyQt............... sh: pyuic: command not found
   jackd.............. no message buffer overruns
     path............. /usr/bin/jackd
     flags............  -ljack 
   libraw1394......... 2.0.5
     flags............  -lraw1394 
   libavc1394......... 0.5.3
     flags............  -lavc1394 -lrom1394 -lraw1394 
   libiec61883........ 1.1.0
     flags............  -liec61883 -lraw1394 
   libxml++-2.6....... 2.26.1
     flags............ -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 
   dbus-1............. 1.2.24
     flags............ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -ldbus-1 -lpthread -lrt 
 Hardware...
   Host controllers:
sh: lspci: command not found
   CPU info:
processor   : 0
vendor_id   : AuthenticAMD
cpu family   : 6
model      : 10
model name   : AMD Athlon(tm) XP 2500+
stepping   : 0
cpu MHz      : 1830.058
cache size   : 512 KB
fdiv_bug   : no
hlt_bug      : no
f00f_bug   : no
coma_bug   : no
fpu      : yes
fpu_exception   : yes
cpuid level   : 1
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips   : 3660.11
clflush size   : 32
cache_alignment   : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts

 Configuration...
  IRQ information
Hardware Interrupts:
--------------------
 IRQ    0: PID:  None, count:              [129], Sched None (priority None), drivers: ['timer']
 IRQ    1: PID:  None, count:                [2], Sched None (priority None), drivers: ['i8042']
 IRQ    3: PID:  None, count:                [2], Sched None (priority None), drivers: ['']
 IRQ    4: PID:  None, count:                [2], Sched None (priority None), drivers: ['']
 IRQ    8: PID:  None, count:                [1], Sched None (priority None), drivers: ['rtc0']
 IRQ    9: PID:  None, count:                [0], Sched None (priority None), drivers: ['acpi']
 IRQ   14: PID:  None, count:           [265967], Sched None (priority None), drivers: ['pata_amd']
 IRQ   15: PID:  None, count:           [267668], Sched None (priority None), drivers: ['pata_amd']
 IRQ   18: PID:  None, count:           [476651], Sched None (priority None), drivers: ['sata_sil']
 IRQ   19: PID:  None, count:          [2185888], Sched None (priority None), drivers: ['nvidia']
 IRQ   20: PID:  None, count:           [202126], Sched None (priority None), drivers: ['ohci_hcd:usb2', 'ohci1394']
 IRQ   21: PID:  None, count:             [2314], Sched None (priority None), drivers: ['ehci_hcd:usb1', 'NVidia nForce2']
 IRQ   22: PID:  None, count:           [866041], Sched None (priority None), drivers: ['ohci_hcd:usb3', 'eth0']

Software Interrupts:
--------------------


=== REPORT ===
FireWire kernel drivers:
[PASS] Kernel modules present and correctly loaded.
[PASS] /dev/raw1394 node present and accessible.

part of /etc/security/limits.conf:
Code:
# rtprio
@audio - rtprio 99
@audio - nice -10
@audio - memlock 772761
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Mon Apr 12, 2010 3:17 pm    Post subject: Reply with quote

You guys might be interested in this! :D

https://forums.gentoo.org/viewtopic-p-6241076.html#6241076

I'd love to hear from you. I'm also looking for testers - people to start with a blank machine and follow this documentation.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum