Ardour cannot create Session?

30 replies [Last post]
drmccoy20
User offline. Last seen 4 years 6 weeks ago. Offline
Joined: 2013-06-20
Posts:

So I've just installed Ardour 3 [full version], and started up my Jack server using Qjackctl.

When I start up Ardour, I can create a new session, but whenever i type in a name and click on 'open', it just kind of crashes, giving me an error saying it could not create the session and this log file:


[INFO]: LV2: Discovering 0 plugins
[INFO]: Loading menus from /opt/Ardour-3.2-dbg/etc/ardour.menus
[INFO]: Loaded mixer bindings from /opt/Ardour-3.2-dbg/etc/mixer.bindings
[ERROR]: JACK: Cannot create thread res = 1
[ERROR]: JACK: Cannot use real-time scheduling (RR/5)(1: Die Operation ist nicht erlaubt)
[ERROR]: JACK: JackClient::AcquireSelfRealTime error

I'm new to the whole audio scene, and i'm still not quite sure what jack actually does or why I'm getting weird interferences on my mic, but I don't think this is the problem here, right?

I'm also getting a message informing me of Ardour not being able to free up enough RAM, but I also don't think that's the point.

Can anybody help me here?

paul
paul's picture
User offline. Last seen 4 hours 5 min ago. Offline
Joined: 2006-03-16
Posts:
alberto2236
User offline. Last seen 3 years 28 weeks ago. Offline
Joined: 2013-07-01
Posts:

I'm getting the same error

Wcubed
User offline. Last seen 3 years 42 weeks ago. Offline
Joined: 2013-08-16
Posts:

That's exactly the error I get too.

And paul, revering to the FAQ didn't help me at all. If there is something useful in there and I am not seeing it, please be a little more specific.

Wcubed
User offline. Last seen 3 years 42 weeks ago. Offline
Joined: 2013-08-16
Posts:

Well, I figured it out, the page of the FAQ paul was revering to was: http://jackaudio.org/linux_rt_config

The only thing i had to do was rename:
etc/security/limits.d/audio.conf.disabled
into:
etc/security/limits.d/audio.conf

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

Hi People Need help!
I also have the same failure output! I already tried the steps on http://jackaudio.org/linux_rt_config and changed the limits.conf in the way described. Still i have the same failure! Please help because I wanna do a recording session, with this beloved cool DAW.
MY system: Opensuse 13.1 64 bit

veda_sticks
User offline. Last seen 2 years 3 weeks ago. Offline
Joined: 2011-03-11
Posts:

if you cant start jack with realtime your not part of the audio group. theres plenty of info on how to add users to the audio group. google is your friend

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

Thanks alot but i am already in the audio group … i also did the how to add audio to rtprio 99 and memlock unlimited to he limits.conf but it didn´t help ;) So, that is all i could find on google, it seems, that there is still something missing to get realtime permission … So some other suggestions would be helpful! Thx

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

i made the workaround like it is said on http://jackaudio.org/linux_rt_config.
benji@linux-hy7i:~> groups
users audio rtkit realtime

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

Okay interestingly i installed the old version of Ardour (2.8.13), which is working without problems (Still there comes a message, saying, that Ardour does not have unlimited permission to the memory, but everything seems to work fine). So i guess there is some bug in the Ardour 3.5.74 version, which is preventing Ardour to start, still it is the same failure message as given by drmccoy20. Some ideas?

veda_sticks
User offline. Last seen 2 years 3 weeks ago. Offline
Joined: 2011-03-11
Posts:

what distro are you using, and are you using a low latency or Real time kernel?

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

I´m using Opensuse 13.1 and Kernel 3.11.6-4-desktop …

veda_sticks
User offline. Last seen 2 years 3 weeks ago. Offline
Joined: 2011-03-11
Posts:

Then maybe its your kernel thats stopping ardour from starting,

All i can suggest apart from getting a low latency kernel is to start jack first and then start ardour. Maybe ardour 3 is set to start jack with realtime option.

Open up qjackctrl and uncheck realtime, though i suggest tryuing to get a realtime kernel otherwise you wont be able to run with lower latencys.

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

Interesting … Actually starting jackd without Realtime did work. Strange because in Ardour2 i never encountered any compareable problem – sofar everything worked fine, also with realtime! Any workarounds or suggestions?

Thanks veda_sticks!

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

I forgot to mention, that there is just one strange thing too: When i start jack with realtime support, then ardour3 does not work. So it is just working with jack without realtime! Might this be because of the kernel? Or is it a ardou3 problem?

paul
paul's picture
User offline. Last seen 4 hours 5 min ago. Offline
Joined: 2006-03-16
Posts:
See the FAQ at http://jackaudio.org/faq specifically the section on Linux realtime configuration.
Xperienced
User offline. Last seen 3 years 27 weeks ago. Offline
Joined: 2011-08-18
Posts:

Now I too have this problem -- I'm using Ardour 3.5.308~dfsg-1 from the Ubuntu repo in Ubuntu 14.04.

FACTS:
-The realtime configuration is correct, I've quadruple-checked it. Not up for discussion.
-It does not work, either, when I start JACK and Ardour as root. Same error.
-libcgroup is not installed
-...and every other software works correctly -- I just tested Yoshimi and jack_rack. Only Ardour doesn't work. (I should have done this before...)
-This is the same setup that was working well a week ago, the only difference is that I updated it to Ubuntu 14.04

So it is definitely a configuration or packaging problem related to Ardour and not a general problem of the system.

allank
allank's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 2006-12-07
Posts:

I have not seen this problem.. However, have you guys considered using jack in dbus mode.. It does mean starting jack with a different method.. (I use ladishd and the associated tools.. but from looking about if you are running the kxstudio tools, either in arch or kxstudio/ubuntu itself then there are even nicer tools. - If I were on an ubuntu variant, I'd be looking at sticking with the LTS versions..

Xperienced
User offline. Last seen 3 years 27 weeks ago. Offline
Joined: 2011-08-18
Posts:

We're already using jackdbus.

linuxdsp
linuxdsp's picture
User offline. Last seen 2 years 9 weeks ago. Offline
Joined: 2009-02-04
Posts:

Unless there is a specific need to upgrade (unlikely) stick with Ubuntu LTS versions (specifically in this case 12.04 LTS)
from the Ubuntu site: "..It has continuous hardware support improvements as well as guaranteed security and support updates until April 2017..."

I've found that lots of things tend to get broken in between LTS releases.

Xperienced
User offline. Last seen 3 years 27 weeks ago. Offline
Joined: 2011-08-18
Posts:

And I've found that I tend to disagree with you on everything. I've been down that path in the past... I'm not even going too discuss the topic, I don't feel like it. Just say no to old software. It's neither stable nor a good base for newer software, and I'm not even talking about the new features which tend to be very highly desirable. Sometimes there are problems when you are on the edge, it's true, but they're nothing compared with the headaches I've had trying to run "stable versions". I only use and recommend current software.

Anyway:
-14.04 is an LTS
-This is not a version problem because the thread has been here since a few versions of everything ago

paul
paul's picture
User offline. Last seen 4 hours 5 min ago. Offline
Joined: 2006-03-16
Posts:

Xperienced: it is absolutely NOT a packaging problem related to Ardour. If you get on IRC, we could possibly figure out what is going on. My handle there is "las". But I will never try to get into problems like this on a web forum - it is a ridiculous medium for such things.

linuxdsp
linuxdsp's picture
User offline. Last seen 2 years 9 weeks ago. Offline
Joined: 2009-02-04
Posts:

And I've found that I tend to disagree with you on everything

Sorry for wasting your time, you're absolutely right of course, I know nothing.

t0bY
User offline. Last seen 20 hours 57 min ago. Offline
Joined: 2012-08-14
Posts:

@previous comment made my day = LMAO :))

veda_sticks
User offline. Last seen 2 years 3 weeks ago. Offline
Joined: 2011-03-11
Posts:

14.04 hasnt even been released to the general public yet. Essentially you are beta testing new software.

veda_sticks
User offline. Last seen 2 years 3 weeks ago. Offline
Joined: 2011-03-11
Posts:

sorry, i just found it. its a daily build meaning it is constantly being updated to fix bugs and problems. Things change daily.

but its still not considered to be a stable release. Daily builds are for testing purposes.

benjamin10
User offline. Last seen 2 years 12 weeks ago. Offline
Joined: 2013-11-20
Posts:

Okay guys discussion has come back now ;) Anyway i don´t think, that someone has to hurry about compatibility and that stuff – things are changing, no problem ;)
@ Paul: I will give it another try http://jackaudio.org/linux_rt_config but i already tried it once and still it didn´t work (i mentioned this above).

I just think that there is some bug in Ardour3 because in Ardour2 (which I am currently using) Ardour works without any problem with realtime..So does anyone have some suggestions?

Thx anyway …

paul
paul's picture
User offline. Last seen 4 hours 5 min ago. Offline
Joined: 2006-03-16
Posts:

Instead of posting on a web forum, why don't you get on IRC where we can debug the issue in real time?

dsreyes1014
User offline. Last seen 3 days 19 hours ago. Offline
Joined: 2012-01-25
Posts:

Not sure if it will help but I had a similar issue as described in the OP when I built a 'Beyond Linux From Scratch' system and I found it had something to do with PAM and the login manager. Can't remember how I fixed it but it had something to do with with the pam module that handled the login manager. I was using the Slim login manager at the time. I redid the module and rebooted and it worked after that. Can't remember what I did exactly but might be something to look into if you can't figure out what it is.

boombrusher
User offline. Last seen 40 weeks 3 days ago. Offline
Joined: 2014-05-07
Posts:

I was having this same issue on 14.04 and Ardour 3.5.357. I followed the steps here: http://jackaudio.org/linux_rt_config and it works now. I hope that helps someone out. :D

corebots
User offline. Last seen 3 days 11 hours ago. Offline
Joined: 2015-04-29
Posts:

For everybody who wasn't able to fix the issue of Ardour not starting when Jack is in RealTime: it could depend on your distribution but for me on Fedora22 I had to put session required pam_limits.so somewhere at the end of the file /etc/pam.d/login as described by Pablo here: http://linuxmusicians.com/viewtopic.php?f=27&t=2607 i hope that helps ;) Enjoying Ardour4 now! (well first I need to figure out how to get rid of all those xRuns :D)