MusE 2.2 and Jack Shutdown?

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

MusE 2.2 and Jack Shutdown?

Post by GraysonPeddie »

I downgraded from MusE 3 to 2.2 and before and after I deleted the ~/.conf/MusE folder, I get the message:
Jack has detected a performance problem which has lead to
MusE being disconnected.
This could happen due to a number of reasons:
- a performance issue with your particular setup.
- a bug in MusE (or possibly in another connected software).
- a random hiccup which might never occur again.
- jack was voluntary stopped by you or someone else
- jack crashed
If there is a persisting problem you are much welcome to discuss it
on the MusE mailinglist.
(there is information about joining the mailinglist on the MusE
homepage which is available through the help menu)

To proceed check the status of Jack and try to restart it and then .
click on the Restart button.
Here's the output from the terminal:

Code: Select all

[grayson@htpc .config]$ muse
Config File </home/grayson/.config/MusE/MusE.cfg>
LOCALE en_US
open projectfile: No such file or directory
Denormal protection enabled.
Trying RTC timer...
got timer = 87
Aquired timer frequency: 1024
libjack.so.0 loaded sucessfully!
assertion failure: "! outputsReached" in file ../../dpf/distrho/src/DistrhoPluginVST.cpp, line 1105
assertion failure: "! outputsReached" in file ../../dpf/distrho/src/DistrhoPluginVST.cpp, line 1105
libjack.so.0 loaded sucessfully!
lo server running on 14169
lo server running on 16796
assertion failure: "! outputsReached" in file ../../dpf/distrho/src/DistrhoPluginVST.cpp, line 1105
JACK: buffersize changed 512
MusE: JackAudioDevice::realtimePriority: JACK is not running realtime
Audio::shutdown()
midi thread 31849 _NOT_ running SCHED_FIFO
starting with template /usr/share/muse/templates/default.med
Route::read(): jack port <system:playback_1> not found
  Warning - route invalid. Ignoring route!
Route::read(): jack port <system:playback_2> not found
  Warning - route invalid. Ignoring route!
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
JACK is still running and is handled by Cadence, so I don't want to restart the JACK server, so what gives?

I downgraded from Muse3 (still in development) which gave me a "stack smashing detected" error when starting muse3, which did not happen in Arch Linux but happens in Ubuntu, so I'm thinking this is a distro-specific issue. However, I'm trying to figure out how to fix the errors listed in the error message and in the terminal so that I can use MusE-Sequencer.

Until then, are there any alternatives out there that have the similar workflow to muse-sequencer? I'm thinking OpenOctave, but it's no longer in development. I couldn't help but find that development of MusE-Sequencer is quite slow (no offense intended for the devs). If only I could modify Qtractor to adapt workflow similar to MusE-Sequencer, for when I want to dabble in some MIDI notes without triggering a "Save Project" dialog--when trying to come up with a song I want to create.

And as a side note, the reason why I want to switch over to Ubuntu is because I wanted to try out something different (previously I was running GNOME 3.20 in Arch Linux) and that would be Unity and I'm loving it so far. Wish I could get Unity up and running in Arch Linux so that I don't have to do distro-hopping again.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: MusE 2.2 and Jack Shutdown?

Post by rghvdberg »

I'm on Mint 17.3 ( based on ubuntu 14.04) and too have a similar problem.
Both with Muse 2 and 3
I reported it on github
https://github.com/muse-sequencer/muse/issues/522
spamatica
Established Member
Posts: 581
Joined: Mon Feb 08, 2010 10:38 am
Has thanked: 86 times
Been thanked: 100 times

Re: MusE 2.2 and Jack Shutdown?

Post by spamatica »

Hi guys

see this thread also: http://muse-sequencer.org/forum/showthread.php?tid=156
In short, an updated jackd2 for ubuntu doesn't work as before with MusE, it's yet unresolved why.

Solutions:
use jackd1
or use jackd2 built from source
MusE DAW
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: MusE 2.2 and Jack Shutdown?

Post by GraysonPeddie »

Okay. I got jackd1 installed thereby uninstalling Cadence in the process and MusE 2.2 works. I've had to install qjackctl, though, but then I don't know how I can get snd-aloop running since Cadence can take care of that.

I can build jackd2 from source, but uninstalling jackd1 will cause circular dependency problems. Uninstalling jackd1 installs jackd1; uninstalling jackd1 installs jackd2; uninstalling jackd1 installs jackd2. At least pacman in Arch gives me a warning on what I'm about to do, such as asking me if I want to replace jackd2 with jackd1 or not and if I'm uninstalling package, it will let me know which packages break with which.

I still get stack smashing detected in Muse3, though. I love Ubuntu Unity, but Muse3 is giving me the incentive to move back to Arch Linux where there is no "stack smashing detected" problems at all... :(
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: MusE 2.2 and Jack Shutdown?

Post by GraysonPeddie »

Okay. Jackd2 and Cadence is compiled successfully, but when I tried to start JACK from Cadence, I get a message:
Thu Aug 4 07:42:32 2016: ERROR: Can't load "/usr/lib/x86_64-linux-gnu/jack/jack_alsa.so": /usr/lib/x86_64-linux-gnu/jack/jack_alsa.so: undefined symbol: jack_driver_nt_init
I have uninstalled jackd1 which installs jackd2 and Cadence is able to start JACK. I checked into Carla and saw that I do not have any audio inputs and outputs at all, as if JACK is not running, as reported by MusE2. I'm going to end up uninstalling the compiled-from-source versions of Jackd2 and Cadence.

Ugh... This whole JACK/Ubuntu thing is a mess...

Update: Once I'm back to Jackd2 and Cadence I'm back to square one with MusE 2.2.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: MusE 2.2 and Jack Shutdown?

Post by GraysonPeddie »

I still got a "Jack shutdown!" message after updating my system and restarting JACK from Cadence.

Code: Select all

[grayson@htpc ~]$ muse
Config File </home/grayson/.config/MusE/MusE.cfg>
LOCALE en_US
Denormal protection enabled.
Trying RTC timer...
got timer = 87
Aquired timer frequency: 1024
libjack.so.0 loaded sucessfully!
assertion failure: "! outputsReached" in file ../../dpf/distrho/src/DistrhoPluginVST.cpp, line 1105
assertion failure: "! outputsReached" in file ../../dpf/distrho/src/DistrhoPluginVST.cpp, line 1105
libjack.so.0 loaded sucessfully!
lo server running on 17455
lo server running on 15939
assertion failure: "! outputsReached" in file ../../dpf/distrho/src/DistrhoPluginVST.cpp, line 1105
JACK: buffersize changed 512
MusE: JackAudioDevice::realtimePriority: JACK is not running realtime
Audio::shutdown()
midi thread 25077 _NOT_ running SCHED_FIFO
starting with template /usr/share/muse/templates/default.med
Route::read(): jack port <system:playback_1> not found
  Warning - route invalid. Ignoring route!
Route::read(): jack port <system:playback_2> not found
  Warning - route invalid. Ignoring route!
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu 
[grayson@htpc ~]$
JACK version 2:1.9.11~20160620-4~xenial1
MusE 2.2 version 1:2.2.1-2kxstudio2v5
GCC version: 4:5.3.1-1ubuntu1

Update: I suppose this could help:

Code: Select all

Thu Aug  4 11:56:21 2016: New client 'MusE' with PID 25035
Thu Aug  4 11:56:22 2016: Client 'MusE' with PID 25035 is out
Thu Aug  4 11:56:29 2016: New client 'MusE' with PID 25077
Thu Aug  4 11:56:30 2016: New client 'JackAss-NativeVST' with PID 25077
Thu Aug  4 11:56:30 2016: port 'JackAss-NativeVST:midi-out_01' created
Thu Aug  4 11:56:30 2016: Client 'JackAss-NativeVST' with PID 25077 is out
Thu Aug  4 11:56:31 2016: New client 'JackAssFX-NativeVST' with PID 25077
Thu Aug  4 11:56:31 2016: port 'JackAssFX-NativeVST:midi-out_01' created
Thu Aug  4 11:56:31 2016: Client 'JackAssFX-NativeVST' with PID 25077 is out
Thu Aug  4 11:56:36 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Thu Aug  4 11:56:36 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Thu Aug  4 11:56:50 2016: Client 'MusE' with PID 25077 is out
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: MusE 2.2 and Jack Shutdown?

Post by GraysonPeddie »

JACK Log:

Code: Select all

Thu Aug  4 15:26:38 2016: New client 'MusE' with PID 307
Thu Aug  4 15:26:38 2016: port 'MusE:Out 1-0' created
Thu Aug  4 15:26:38 2016: port 'MusE:Out 1-1' created
Thu Aug  4 15:26:40 2016: Client 'MusE' with PID 307 is out
Thu Aug  4 15:27:17 2016: New client 'MusE' with PID 376
Thu Aug  4 15:27:22 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Thu Aug  4 15:27:30 2016: Client 'MusE' with PID 376 is out
Thu Aug  4 15:27:40 2016: New client 'MusE' with PID 409
Thu Aug  4 15:27:41 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
MusE 2.2 output:

Code: Select all

[grayson@htpc Videos]$ muse -pNI2
Config File </home/grayson/.config/MusE/MusE.cfg>
LOCALE en_US
Denormal protection enabled.
Trying RTC timer...
got timer = 87
Aquired timer frequency: 1024
JACK: buffersize changed 512
MusE: JackAudioDevice::realtimePriority: JACK is not running realtime
Audio::shutdown()
midi thread 409 _NOT_ running SCHED_FIFO
starting with template /usr/share/muse/templates/default.med
Route::read(): jack port <system:playback_1> not found
  Warning - route invalid. Ignoring route!
Route::read(): jack port <system:playback_2> not found
  Warning - route invalid. Ignoring route!
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu 
^C
[grayson@htpc Videos]$
JACK is running realtime as checked in Cadence.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: MusE 2.2 and Jack Shutdown?

Post by GraysonPeddie »

Okay. I switched back to Arch Linux this time with Pantheon desktop environment and I get no stack smashing detected when I built muse 3.0 from the AUR.

So, my conclusion is this:

If I try to run MusE 3.0 in Ubuntu: stack smashing detected
If I try to run MusE 3.0 in Arch Linux: no stack smashing detection at all.

I have not tried running 2.2 because I only got 3.0 from AUR.

Goodbye, Unity. I miss you.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
Post Reply