|
From: Jonathan W. <jw...@ju...> - 2017-03-28 02:32:32
|
Hi Marc On Tue, Mar 28, Marc Cayouette wrote: > Find attached the output from jackd -R -P70 -dfirewire -p512 -n3 -v3 Thanks for providing this. For the list's benefit it is included at the end of this post. There are some significant observations to make. > Cannot create RT messagebuffer thread: Operation not permitted (1) This indicates that your system has not granted your user permission to run programs with the so-called realtime scheduling priorities. Ffado requires this in order to function correctly. There is a good description of this at http://jackaudio.org/faq/linux_rt_config.html In your case you are running Ubuntu so it should be possible to rectify this issue by adding your user (marcc) to the "audio" group. I believe there is a graphical tool to do this in Ubuntu. You may have to logout/login after this so the change can take effect. Another problem we see is > Cannot lock down 82274202 byte memory area (Cannot allocate memory) This is another system limit like access to the realtime scheduling. Jackd and FFADO need the ability to lock memory so it isn't paged out. Paging would not be good due to the near realtime requirements of an audio system like jack. If you can add your user to the "audio" group to fix the scheduling complaint, this memory locking problem will also be fixed. > Fatal (devicemanager.cpp)[ 187] initialize: No firewire > adapters (ports) found. This is the final significant message we see, and comes from FFADO. It means pretty much what it says: that the system cannot see any firewire adapters. Obviously this prevents communication with any firewire buses those adapters might provide so it's something which needs to be fixed. There is a chance that this is collateral damage from a permission problem. It might be fixed after your user is added to the "audio" group. Therefore it is worth rerunning this test once you are a member of the "audio" group and see what happens. If it still errors out, post the output again so we can take a look. Please also post the full ffado-diag output as described in my earlier post: > For example: > > ffado-diag >& /tmp/ffado-diag.log > > You will find the output in the /tmp/ffado-diag.log file, which you can > then > cut and paste into an email. This will tell us a little more about the hardware you have and might give additional clues as to the remaining problems. Regards jonathan Output from jackd command ------------------------- marcc@marcc-desktop:~$ jackd -R -P70 -dfirewire -p512 -n3 -v3 jackdmp 1.9.11 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2014 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 Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns JACK server starting in realtime mode with priority 70 self-connect-mode is "Don't restrict self connect requests" Cannot lock down 82274202 byte memory area (Cannot allocate memory) Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user 1490660557248582: (ffado.cpp)[ 92] ffado_streaming_init: libffado 2.2.1- built Dec 1 2015 05:12:06 firewire ERR: FFADO: Error creating virtual device Cannot attach audio driver 1490660557249473: Fatal (devicemanager.cpp)[ 187] initialize: No firewire adapters (ports) found. 1490660557249479: Fatal (ffado.cpp)[ 160] ffado_streaming_init: Could not initialize device manager JackServer::Open failed with -1 no message buffer overruns Failed to open server |