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 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


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

PostPosted: Thu Apr 01, 2010 1:23 pm    Post subject: Trying to emerge Ardour-3.9999 Reply with quote

I get:

Code:

waf: error: no such option: --aubio


But emerge -pvq aubio gives:
Code:

[ebuild   R   ] media-libs/aubio-0.3.2-r1  USE="alsa jack lash -doc"


emerge --info =media-sound/ardour-3.9999

Code:

Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.33.1-rt11 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33.1-rt11-x86_64-AMD_Opteron-tm-_Processor_248-with-gentoo-2.0.1
Timestamp of tree: Wed, 31 Mar 2010 12:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d/xdm /etc/issue /etc/locale.gen /etc/slim.conf /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext 64bit X aac acl acpi alsa amd64 aspell berkdb bzip2 cairo cdda cddb cdio cegui clamav clamd clamdtop classic cli cracklib crypt cups cxx dbus devil dri dssi encode exif export extras facedetect ffmpeg fftw flac fortran freebob freesound gdbm gif gphoto2 gpm gtk gui hal hpcups hpijs iconv id3tag ieee1394 ipv6 jack jackmidi java jpeg ladspa lame lash lilypond lv2 mad midi mikmod mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plugins png ppds pppd python qt3support quicktime readline reflection samba scale0tilt schroedinger session sndfile soundtouch spell spl sse sse2 ssl subject-rewrite sysfs tcpd threads thumbnail tiff timidity truetype twolame unicode v4l vamp vorbis vst x264 xcf xorg xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv =media-sound/ardour-3.9999:

Code:

[ebuild  NS   ] media-sound/ardour-3.9999 [2.8.2] USE="freesound lv2 nls sse vst (-altivec) -debug -sys-libs -tranzport -wiimote"


Build log: http://audiodef.com/gentoo/bugs/ardour_build_1Apr2010.log
_________________
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 01, 2010 5:57 pm    Post subject: Reply with quote

Hi, audiodef. It seems the "--aubio" option removed from waf configure script by upstream. But the waf successfully detect aubio package and use it. You should remove it from ebuild. I see you already did it (from ardour forums) and now facing something with svn revision. I use an old ardour3 svn ebuild which correctly compiles. I just emerged it fine. Use an ebuild before the svn revison fix included, until it is fixed properly. If you need I can post here.
_________________
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
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Apr 01, 2010 6:57 pm    Post subject: Reply with quote

I tried the latest ardour-3 svn ebuild from pro-audio overlay. It emerged fine. Aubio option is removed from it. And subversion fix works here.
_________________
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 01, 2010 8:25 pm    Post subject: Reply with quote

Hm. I'll sync my overlay and see if that picks up the fix.
_________________
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: Thu Apr 01, 2010 9:01 pm    Post subject: Reply with quote

It did, but I'm still having compile trouble. Now, I get this:

Code:

sfdb_freesound_mootcher.cc:(.text+0x2871): undefined reference to `curl_easy_setopt'
sfdb_freesound_mootcher.cc:(.text+0x2888): undefined reference to `curl_easy_setopt'
sfdb_freesound_mootcher.cc:(.text+0x289c): undefined reference to `curl_easy_setopt'
sfdb_freesound_mootcher.cc:(.text+0x28af): undefined reference to `curl_easy_perform'
sfdb_freesound_mootcher.cc:(.text+0x28f3): undefined reference to `curl_easy_strerror'
default/gtk2_ardour/sfdb_freesound_mootcher_1.o: In function `Mootcher::setcUrlOptions()':
sfdb_freesound_mootcher.cc:(.text+0xb2): undefined reference to `curl_easy_setopt'
collect2: ld returned 1 exit status

_________________
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 01, 2010 9:51 pm    Post subject: Reply with quote

Same here. If you disable "freesound" useflag it compiles fine. Probably ardour needs a curl fix for linking to it, properly.
_________________
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 01, 2010 10:08 pm    Post subject: Reply with quote

I'm trying that now. I also had to disable the vst use flag because I have a 64-bit system. I wish I had enough programming expertise to just fix that myself.
_________________
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: Thu Apr 01, 2010 10:38 pm    Post subject: Reply with quote

It worked! Thanks, keenblade. Karma shall flow from me to you. 8)

Now if I can only get jack working, I'd be all set!
_________________
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 01, 2010 10:59 pm    Post subject: Reply with quote

audiodef wrote:

Now if I can only get jack working, I'd be all set!

Nice to hear it worked.
And what is wrong with jack?
I updated jack-audio-connection-kit-2.9999 at pro-audio. It was not compiling with alsa support. I added alsa useflag. Now jack can use "alsa" as a driver, if it is the problem you are experiencing.
_________________
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 01, 2010 11:29 pm    Post subject: Reply with quote

I have it emerged, I'm just unable to get it started via qjackctl. I have a Mackie Onyx with firewire, have libfreebob emerged, have the freebob use flag set, have an rt-kernel, limits.conf is set up, my user is a member of the audio group, audio can access /dev/1394 and /dev/hpet...

Still not.

I've done this before with this same mixer on this same machine, and it worked (went to Ubuntu for a while, got tired of the fluff and came back to Gentoo... sweet home). I haven't spotted yet what I'm missing, but I know this works once I find that missing piece.

Just checked it again, getting exit status 256 and "unknow driver freebob" (or "firewire", for that matter). I do have libfreebob emerged.
_________________
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 01, 2010 11:47 pm    Post subject: Reply with quote

audiodef wrote:
Just checked it again, getting exit status 256 and "unknow driver freebob" (or "firewire", for that matter). I do have libfreebob emerged.

It seems you did not emerged jack-audio-connection-kit with "freebob" useflag, or the ebuild does need a fix.
Could you check if freebob useflag is set for jack?
_________________
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
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Fri Apr 02, 2010 12:03 am    Post subject: Reply with quote

I fixed the jack-audio-connection-kit-2.9999 in pro-audio for "freebob" useflag. Could you try again from proaudio?
If it is a firewire card, than we need to add firewire useflag, too.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"


Last edited by keenblade on Fri Apr 02, 2010 12:10 am; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


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

PostPosted: Fri Apr 02, 2010 12:05 am    Post subject: Reply with quote

Yep, it is:

Code:

audiodef@Handel ~ $ eix jack-audio-connection-kit
[I] media-sound/jack-audio-connection-kit
     Available versions:  0.109.2-r1 (~)0.116.2 (~)0.116.2[1] (~)0.118.0 (~)0.118.0[1] [M](~)1.9.2[1] (~)1.9.3[1] (~)1.9.4[1] (~)1.9.5[1] **1.9999!m[1] (**)2.9999[1] {3dnow alsa altivec caps celt classic coreaudio cpudetection dbus debug doc examples freebob ieee1394 jackdmp mixed mmx monitor netjack oss sse}
     Installed versions:  2.9999[1](04:25:29 04/01/10)(classic dbus freebob mixed -debug -doc)
     Homepage:            http://www.grame.fr/~letz/jackdmp.html
     Description:         Jackdmp jack implemention for multi-processor machine

[1] "proaudio" /var/lib/layman/pro-audio


Perhaps I need a different version of jack or freebob?

Code:

audiodef@Handel ~ $ eix libfreebob
[I] sys-libs/libfreebob [1]
     Available versions:  1.0.0 1.0.3 1.0.11
     Installed versions:  1.0.11(04:33:01 04/01/10)
     Homepage:            http://freebob.sf.net
     Description:         Library for accessing BeBoB IEEE1394 devices

[1] "proaudio" /var/lib/layman/pro-audio

_________________
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: Fri Apr 02, 2010 12:06 am    Post subject: Reply with quote

I missed your last post about jack. I'll sync and try again and let you know how it works.
_________________
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: Fri Apr 02, 2010 12:43 am    Post subject: Reply with quote

I investigated a little and found out libffado is the successor of the freebob driver. Like in the jack-audio-connection-kit -1.9999, I edited the 2.9999 for that, too.
Now if freebob does not work for you, you can try the new driver with disabling the "freebob" and enabling "ieee1394" useflag.
I updated the ebuild adding "ieee1394" useflag, so sync pro-audio one more time.
I hope that will work better for you.
_________________
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: Fri Apr 02, 2010 1:28 am    Post subject: Reply with quote

It works! With freebob! I'll sync and re-emerge and let you know if it works with both. Since under Ubuntu it did, I would think it would.

Now I just have to make sure I eliminate xruns. :roll: That's always been a problem for me, but since I have two Opterons and 5 GB RAM, I should be able to eliminate it with the right settings. I shouldn't be getting xruns on this machine even if I'm running OpenOffice and Thunderbird (which I wouldn't, while doing audio, but I'm just saying :wink: ).
_________________
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: Fri Apr 02, 2010 1:51 am    Post subject: Reply with quote

Btw, what is your sound card? I am considering one that works fine with linux with 24Bit/192kHz with 6 output. I liked Edirol FA-101, but it is too pricey. Also I wonder which is better firewire or usb? I guess firewire. Maybe usb-3 ones will be better.
_________________
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: Fri Apr 02, 2010 2:09 am    Post subject: Reply with quote

From what I understand USB3 is better (faster) than Firewire.

I have a Mackie Onyx 1640 (and a 1620, but not using it right now) with the firewire option card. Goes up to 96kHz/24 bits, 16 in, stereo out. Works great! Just have to get the software all jiggered up for it. :wink:

Mackie used to claim two can work together, but unfortunately, that option was buggy and they just... dropped it instead of fixing it. Kind of put a notch in my respect for them. But I can't complain about the quality of the mixer itself.

OK, jack with ieee1394 did not work. I'm trying libffado-9999, and maybe recompile jack after that, but if not, I'll recompile with +libfreebob -ieee1394.
_________________
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: Fri Apr 02, 2010 2:43 am    Post subject: Reply with quote

Nope, it seems to only work on my system with libfreebob, not ieee1394/ffado.

But that's fine with me - it's working! :D

What's the best way to get rid of these xruns? I'm using an rt kernel. Is there something I didn't set somewhere?

Code:

LibFreeBoB ERR: cannot use real-time scheduling (FIFO at priority 15) [for thread 809572112, from thread 809572112] (1: Operation not permitted)LibFreeBoB ERR: Dropped packets on connection 1
LibFreeBoB ERR: cannot use real-time scheduling (FIFO at priority 25) [for thread 817964816, from thread 817964816] (1: Operation not permitted)LibFreeBoB ERR: cannot use real-time scheduling (FIFO at priority 15) [for thread 809572112, from thread 809572112] (1: Operation not permitted)JackAudioDriver::ProcessAsync: read error, skip cycle
JackPosixMutex::Unlock res = 1
21:42:19.448 XRUN callback (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: Fri Apr 02, 2010 9:22 am    Post subject: Reply with quote

Some random info for your 1640:
* With Freebob make sure the periods/buffer setting is set to 3 not 2 though.
* It might help to configure jack to run only recording (no playback). (sounds lame to me, but for live performances to record everything at once, it may work.)
I am sure you have already adjusted many things and have read many docs. But here some more if you have not read them:
IRQ Priorities How-To
UbuntuStudioPreparation
You can make fdado devs adding support for your Mackie Onyx with the instructions here . Since fdado runs better than freebob, it will help. Actually someone provided incomplete info for your card, you can complete. It is from 2007, so I would not hold my breathe.
I wish that alsa and jack guys start manufacturing sound cards for linux. What dreams may come true :)
_________________
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: Fri Apr 02, 2010 2:08 pm    Post subject: Reply with quote

Add to that wish list better support for MOTU devices. There's support for like, ONE MOTU device, and via parallel (!!!) port at that. It doesn't include my Express XT, which is why I have an AMT8. I love the AMT8, though.

I'll be checking out those docs. Thanks! You rock! I hope I can return the favour someday.

I plan on writing a new, updated how-to for professional audio on Gentoo. Yes, there are docs out there, but they're incomplete, as you pointed out, and out of date. I hope to fix that and create a single URI for pro audio on Gentoo. Maybe a new Wiki page, but for now, I want complete control over it until it's sufficiently done in my mind, and then open it up - or a copy of it - to public editing.
_________________
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: Mon Apr 05, 2010 12:27 pm    Post subject: Reply with quote

Hello,

i recently found a possible source for unexplainable xruns by chance. I have a core2 quad as home computer and been doing recording there and always wondered why there appeared occasional xruns when the machine wasn't doing any hard work. You could think 4 cores must be enough. I set up an old ahtlon-xp 2500+ with a firewire interface for rehearsal room and there were no xruns at the same latency settings. so i wondered how this old and lame machine could be "better" than my home computer. what i found was that the real problem was that it used 4 cpu cores.
If you have enabled CPU frequency scaling and for example the ondemand governor in your kernel the different cpu cores' frequencies jump to full speed when a task is using them and return to e.g. 2/3 of the speed when it is under no load. As the tasks keep jumping from one core to another you get these jumps in cpu-frequency which seems to be very disturbing for realtime use.
You can either set to 'performance' or 'powersave' as default governor in kernel (or disable cpu-frequency scaling) or use the cpufrequtils iin portage to set the governor temporarily to performance if you need it to prevent jumping frequencies.

For jack-audio-connection-kit and ieee1394/ffado you have to first emerge libffado and then recompile jack-audio-connection-kit with ieee1394 use-flag. You also have to make sure that you have loaded the old firewire driver stack as modules (ieee1394, ohci1394, raw1394(built-in in the kernel didn't work for me):

Code:
Device-Drivers -->
    IEEE  1394 (FireWire) support  --->
         <M> Legacy alternative FireWire driver stack
         <M>   OHCI-1394 controllers
         <M>   raw1394 userspace interface


Make sure to not load the new firewire-driver stack (FIREWIRE and FIREWIRE_OHCI) by blacklisting the modules in /etc/modprobe.d/blacklist.conf if you have the modules built and installed and also do not build them into the kernel. Otherwise ffado will complain about this if you issue ffado-diag.
Another issue might be a problem with permissions on the /dev/raw1394 device (don't know if this is the right name, i could be wrong as i don't have the computer right here now) which ffado-diag can tell you. Maybe you have to set the permissions to read+write for this device and the right group (audio or firewire grp or something like that whatever grp your user has to belong to to use these sort of devices)
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 05, 2010 1:10 pm    Post subject: Reply with quote

Thanks again for your help, keenblade. I decided to experiment a bit. I edited the jack-audio-connection-kit-2.9999 ebuild to remove the mutual blockers between freebob and ffado (figuring if it worked that way under Ubuntu, why can't I get it to work, too? Just in case I want that choice). No problems with the emerge, but switching the driver to firewire in qjackctl yields this:

Code:

08:07:59.869 /usr/bin/jackd -dfirewire -r48000 -p1024 -n3
08:07:59.883 JACK was started with PID=2691.
no message buffer overruns
no message buffer overruns
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
JACK server starting in realtime mode with priority 10
libffado 2.999.0- built Apr  5 2010 07:38:41
00310878481: Error (PosixThread.cpp)[ 150] Start: Cannot create realtime thread (1: Operation not permitted)
00310879277: 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


Have you come across this kind of error before? It looks like a possible permissions problem, but I thought I'd already solved permissions and got it working under freebob.

EDIT:

Reading the VERY helpful post by Mikkl - thanks! Will post back the results I find for my own system.
_________________
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: Mon Apr 05, 2010 3:22 pm    Post subject: Reply with quote

Now I know the problem with using the firewire driver in qjackctl is a user permissions error because I can use the firewire driver when I start qjackctl as root (which I only do for testing. My regular user has be to be able to do it, which I'm sure I don't have to tell y'all :wink: ). I seem to be getting no xruns, but I'm just going to let jack run for a while to confirm that. I already had my kernel configured for performance governor, but I'll turn off frequency scaling and see if that helps if I have any further xruns.

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

I might try to contact the ffado devs and give them a link to a perl script I found that detects an rt-patched kernel. Perhaps they can integrate that into ffado-diag because that script says it needs a way to check for an rt-patched kernel. I imagine it won't be hard to port the code - it's probably just a line or two, if that.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43562
Location: 56N 3W

PostPosted: Mon Apr 05, 2010 9:19 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

Live ebuilds are not offically supported.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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 1, 2  Next
Page 1 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