Muse and the latest jack2

Official support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: falkTX, khz, MattKingUSA

tjingboem
Establlshed Member
Posts: 7
Joined: Wed Sep 17, 2014 6:36 pm

Muse and the latest jack2

Postby tjingboem » Tue Dec 20, 2016 1:25 pm

Hi,

a few weeks ago i reported that with the latest Jack2 20161209, the netone driver produced a lot of netXruns.
I did not get any reaction on my report, but saw that some updates became available and installed them. Indeed, the problem seems to have been resolved with Jack2 20161209 kxstudio4 - many thanks! Don't know what changed, but it works fine now... It looks stable as a rock now - GREAT!


The program Muse however still fails to work. QTractor does, and all the other Jack-related programs.
I have attached a screenshot:
Muse_issue.png

I can see that with the startup of Muse, the playhead has taken the position of JackTransport from the second, Master computer. After that, the playhead does not move anymore with JackTransport.

Any ideas someone?
You do not have the required permissions to view the files attached to this post.

j_e_f_f_g
Establlshed Member
Posts: 900
Joined: Fri Aug 10, 2012 10:48 pm

Re: Muse and the latest jack2

Postby j_e_f_f_g » Tue Dec 20, 2016 3:17 pm

Muse won't run on my system unless I run it from a root terminal.

varpa
Establlshed Member
Posts: 399
Joined: Fri Feb 25, 2011 6:40 pm

Re: Muse and the latest jack2

Postby varpa » Tue Dec 20, 2016 4:50 pm

Try setting the Jack timeout to a large value like 2000 ms (2s). On AVLinux 2016 Ardour will "zombify" (disconnect from Jack) unless I use a large timeout value. As far as I can see there is no downside to setting a large Jack timeout value.

User avatar
falkTX
Establlshed Member
Posts: 5942
Joined: Sat Jan 09, 2010 3:04 pm

Re: Muse and the latest jack2

Postby falkTX » Tue Dec 20, 2016 6:15 pm

Do you have the 'sync' option enabled? (server synchronous mode)
If yes, try to turn it off.

non-sync adds 1 run cycle of latency, but it's often desired because it doesn't let bad clients ruin the entire graph.

I don't know what's going on with muse, but since it seems to be the only one with the issue, I kinda have to think it's a muse issue...
If nothing else works, perhaps you can try jack1 instead of jack2.

tjingboem
Establlshed Member
Posts: 7
Joined: Wed Sep 17, 2014 6:36 pm

Re: Muse and the latest jack2

Postby tjingboem » Tue Dec 20, 2016 6:17 pm

i'm not ready to run Muse as root yet...i did try but got other errors related to wine and jack not being run as root...

So i tried the timeout option and set it to 2000ms:

menno@menno-System-Product-Name:~$ muse
Config File </home/menno/.config/MusE/MusE.cfg>
no locale <muse_nl_NL>/</usr/share/muse/locale>
LOCALE nl_NL
Denormal protection enabled.
Jack: JackClient::SetupDriverSync driver sem in normal mode
Jack: JackLinuxFutex::Connect name = jack_sem.MusE
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = MusE refnum = 3
Jack: jack_set_thread_init_callback ext_client 11d18b0 client 11d18b0
Jack: jack_set_graph_order_callback ext_client 11d18b0 client 11d18b0
Trying RTC timer...
fatal error: open /dev/rtc failed: Permission denied
hint: check if 'rtc' kernel module is loaded, or used by something else
Trying ALSA timer...
AlsaTimer::initTimer(): best available ALSA timer: system timer
got timer = 74
Aquired timer frequency: 1000
Jack: JackClient::Activate
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 512
JACK: buffersize changed 512
Jack: JackClient::Init calling client thread init callback
Jack: JackClient::Init : period = 10666 computation = 100 constraint = 10666
Jack: JackPosixThread::AcquireRealTimeImp priority = 90
Jack: JackClient::ClientNotify ref = 3 name = MusE notify = 2
Jack: JackClient::kActivateClient name = MusE ref = 3
Jack: JackClient::Init calling client thread init callback
Jack: JackLibClient::ShutDown
Jack: JackClient::ShutDown
Audio::shutdown()
Jack: JackPosixThread::Terminate
Jack: JackClient::ClientNotify ref = 3 name = MusE notify = 18
Jack: JackClient::ClientNotify ref = 3 name = MusE notify = 18
Jack: JackClient::ClientNotify ref = 3 name = MusE notify = 4
Segmentation fault


These are my jack settings:
Jack_settings.png

Is there something wrong with my settings perhaps?
You do not have the required permissions to view the files attached to this post.

tjingboem
Establlshed Member
Posts: 7
Joined: Wed Sep 17, 2014 6:36 pm

Re: Muse and the latest jack2

Postby tjingboem » Tue Dec 20, 2016 6:20 pm

When setting the Server Synchronous Mode to Off, Muse does start but there are no Jack connections....

menno@menno-System-Product-Name:~$ muse
Config File </home/menno/.config/MusE/MusE.cfg>
no locale <muse_nl_NL>/</usr/share/muse/locale>
LOCALE nl_NL
Denormal protection enabled.
Jack: JackClient::SetupDriverSync driver sem in normal mode
Jack: JackLinuxFutex::Connect name = jack_sem.MusE
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = MusE refnum = 4
Jack: jack_set_thread_init_callback ext_client 1c9ca50 client 1c9ca50
Jack: jack_set_graph_order_callback ext_client 1c9ca50 client 1c9ca50
Trying RTC timer...
fatal error: open /dev/rtc failed: Permission denied
hint: check if 'rtc' kernel module is loaded, or used by something else
Trying ALSA timer...
AlsaTimer::initTimer(): best available ALSA timer: system timer
got timer = 75
Aquired timer frequency: 1000
Jack: JackClient::Activate
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 512
JACK: buffersize changed 512
Jack: JackClient::Init calling client thread init callback
Jack: JackClient::Init : period = 10666 computation = 100 constraint = 10666
Jack: JackPosixThread::AcquireRealTimeImp priority = 90
Jack: JackClient::ClientNotify ref = 4 name = MusE notify = 2
Jack: JackClient::kActivateClient name = MusE ref = 4
Jack: JackClient::Init calling client thread init callback
Jack: JackClient::ClientNotify ref = 4 name = MusE notify = 18
Jack: JackClient::ClientNotify ref = 4 name = MusE notify = 18
Jack: JackClient::ClientNotify ref = 4 name = MusE notify = 4
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
MusE: JackAudioDevice::realtimePriority: JACK is not running realtime
Jack: JackClient::ClientNotify ref = 4 name = MusE notify = 4
Audio::shutdown()
Jack: JackLibClient::ShutDown
Jack: JackClient::ShutDown
Jack: JackPosixThread::Terminate
midi thread 3167 _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!

(muse:3167): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(muse:3167): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed


Return to “KXStudio Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests