Discussion:
Cannot start Jack
(too old to reply)
Peter Nabbefeld
2017-02-20 08:06:08 UTC
Permalink
Raw Message
Hello,

I've installed jack2-dbus, but cannot start jack:

$ jack_control start
--- start
DBus exception: org.jackaudio.Error.Generic: Failed to open server

I'm in the audio group, dmesg doesn't show anything (I've cleared it
before issuing the command, just to make sure I don't miss any line).

Kind regards
Peter
Ralf Mardorf
2017-02-20 08:50:49 UTC
Permalink
Raw Message
Post by Peter Nabbefeld
I've installed jack2-dbus, but cannot start jack
Hi,

if nobody subscribed to this list should be able to help you, consider
to send a request to
http://lists.linuxaudio.org/listinfo/linux-audio-user .

I'm a jack2 user, but I use jackd, not jackdubus.

Regards,
Ralf
Martin Kühne via arch-general
2017-02-20 08:59:22 UTC
Permalink
Raw Message
run dbus-monitor in a different terminal window while running
`jack_control start` to get the full, graphic details of the dbus
exception.

cheers!
mar77i
Peter Nabbefeld
2017-02-20 10:15:39 UTC
Permalink
Raw Message
Thank You!

But I get already "flooded" by messages which I don't understand without
starting jack:

signal time=1487585613.430463 sender=org.freedesktop.DBus ->
destination=:1.1990 serial=2 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameAcquired
string ":1.1990"
signal time=1487585613.430485 sender=org.freedesktop.DBus ->
destination=:1.1990 serial=4 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameLost
string ":1.1990"
signal time=1487585613.571790 sender=:1.1717 -> destination=(null
destination) serial=15691 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3949840133
signal time=1487585613.826792 sender=:1.1717 -> destination=(null
destination) serial=15692 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3950080130
signal time=1487585614.081793 sender=:1.1717 -> destination=(null
destination) serial=15693 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3950359134
signal time=1487585614.337818 sender=:1.1717 -> destination=(null
destination) serial=15694 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3950600131
signal time=1487585614.592819 sender=:1.1717 -> destination=(null
destination) serial=15695 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3950869130
signal time=1487585614.848847 sender=:1.1717 -> destination=(null
destination) serial=15696 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3951120152
signal time=1487585615.103749 sender=:1.1717 -> destination=(null
destination) serial=15697 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3951360069
signal time=1487585615.358814 sender=:1.1717 -> destination=(null
destination) serial=15698 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3951636131
signal time=1487585615.614840 sender=:1.1717 -> destination=(null
destination) serial=15699 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3951880132
signal time=1487585615.866738 sender=:1.1717 -> destination=(null
destination) serial=15700 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3952123085
signal time=1487585616.125828 sender=:1.1717 -> destination=(null
destination) serial=15701 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Seeked
int64 3952400134

Kind regards
Peter
Post by Martin Kühne via arch-general
run dbus-monitor in a different terminal window while running
`jack_control start` to get the full, graphic details of the dbus
exception.
cheers!
mar77i
Peter Nabbefeld
2017-02-20 10:27:49 UTC
Permalink
Raw Message
Hi,

using "grep -v" I got the following output:

method call time=1487586215.471926 sender=:1.2037 -> destination=:1.5
serial=3 path=/org/jackaudio/Controller;
interface=org.freedesktop.DBus.Introspectable; member=Introspect
method return time=1487586215.472072 sender=:1.5 -> destination=:1.2037
serial=4923 reply_serial=3
string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object
Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/jackaudio/Controller">
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml_data" type="s" direction="out" />
</method>
</interface>
<interface name="org.jackaudio.JackControl">
<method name="IsStarted">
<arg name="started" type="b" direction="out" />
</method>
<method name="StartServer">
</method>
<method name="StopServer">
</method>
<method name="SwitchMaster">
</method>
<method name="GetLoad">
<arg name="load" type="d" direction="out" />
</method>
<method name="GetXruns">
<arg name="xruns_count" type="u" direction="out" />
</method>
<method name="GetSampleRate">
<arg name="sample_rate" type="u" direction="out" />
</method>
<method name="GetLatency">
<arg name="latency_ms" type="d" direction="out" />
</method>
<method name="GetBufferSize">
<arg name="buffer_size_frames" type="u" direction="out" />
</method>
<method name="SetBufferSize">
<arg name="buffer_size_frames" type="u" direction="in" />
</method>
<method name="IsRealtime">
<arg name="realtime" type="b" direction="out" />
</method>
<method name="ResetXruns">
</method>
<method name="LoadInternal">
<arg name="internal" type="s" direction="in" />
</method>
<method name="UnloadInternal">
<arg name="internal" type="s" direction="in" />
</method>
<method name="AddSlaveDriver">
<arg name="driver_name" type="s" direction="in" />
</method>
<method name="RemoveSlaveDriver">
<arg name="driver_name" type="s" direction="in" />
</method>
<signal name="ServerStarted">
</signal>
<signal name="ServerStopped">
</signal>
</interface>
<interface name="org.jackaudio.Configure">
<method name="ReadContainer">
<arg name="parent" type="as" direction="in" />
<arg name="leaf" type="b" direction="out" />
<arg name="children" type="as" direction="out" />
</method>
<method name="GetParametersInfo">
<arg name="parent" type="as" direction="in" />
<arg name="parameter_info_array" type="a(ysss)" direction="out" />
</method>
<method name="GetParameterInfo">
<arg name="parameter" type="as" direction="in" />
<arg name="parameter_info" type="(ysss)" direction="out" />
</method>
<method name="GetParameterConstraint">
<arg name="parameter" type="as" direction="in" />
<arg name="is_range" type="b" direction="out" />
<arg name="is_strict" type="b" direction="out" />
<arg name="is_fake_value" type="b" direction="out" />
<arg name="values" type="a(vs)" direction="out" />
</method>
<method name="GetParameterValue">
<arg name="parameter" type="as" direction="in" />
<arg name="is_set" type="b" direction="out" />
<arg name="default" type="v" direction="out" />
<arg name="value" type="v" direction="out" />
</method>
<method name="SetParameterValue">
<arg name="parameter" type="as" direction="in" />
<arg name="value" type="v" direction="in" />
</method>
<method name="ResetParameterValue">
<arg name="parameter" type="as" direction="in" />
</method>
</interface>
<interface name="org.jackaudio.JackPatchbay">
<method name="GetAllPorts">
<arg name="ports_list" type="as" direction="out" />
</method>
<method name="GetGraph">
<arg name="known_graph_version" type="t" direction="in" />
<arg name="current_graph_version" type="t" direction="out" />
<arg name="clients_and_ports" type="a(tsa(tsuu))" direction="out" />
<arg name="connections" type="a(tstststst)" direction="out" />
</method>
<method name="ConnectPortsByName">
<arg name="client1_name" type="s" direction="in" />
<arg name="port1_name" type="s" direction="in" />
<arg name="client2_name" type="s" direction="in" />
<arg name="port2_name" type="s" direction="in" />
</method>
<method name="ConnectPortsByID">
<arg name="port1_id" type="t" direction="in" />
<arg name="port2_id" type="t" direction="in" />
</method>
<method name="DisconnectPortsByName">
<arg name="client1_name" type="s" direction="in" />
<arg name="port1_name" type="s" direction="in" />
<arg name="client2_name" type="s" direction="in" />
<arg name="port2_name" type="s" direction="in" />
</method>
<method name="DisconnectPortsByID">
<arg name="port1_id" type="t" direction="in" />
<arg name="port2_id" type="t" direction="in" />
</method>
<method name="DisconnectPortsByConnectionID">
<arg name="connection_id" type="t" direction="in" />
</method>
<method name="GetClientPID">
<arg name="client_id" type="t" direction="in" />
<arg name="process_id" type="x" direction="out" />
</method>
<signal name="GraphChanged">
<arg name="new_graph_version" type="t" />
</signal>
<signal name="ClientAppeared">
<arg name="new_graph_version" type="t" />
<arg name="client_id" type="t" />
<arg name="client_name" type="s" />
</signal>
<signal name="ClientDisappeared">
<arg name="new_graph_version" type="t" />
<arg name="client_id" type="t" />
<arg name="client_name" type="s" />
</signal>
<signal name="PortAppeared">
<arg name="new_graph_version" type="t" />
<arg name="client_id" type="t" />
<arg name="client_name" type="s" />
<arg name="port_id" type="t" />
<arg name="port_name" type="s" />
<arg name="port_flags" type="u" />
<arg name="port_type" type="u" />
</signal>
<signal name="PortDisappeared">
<arg name="new_graph_version" type="t" />
<arg name="client_id" type="t" />
<arg name="client_name" type="s" />
<arg name="port_id" type="t" />
<arg name="port_name" type="s" />
</signal>
<signal name="PortsConnected">
<arg name="new_graph_version" type="t" />
<arg name="client1_id" type="t" />
<arg name="client1_name" type="s" />
<arg name="port1_id" type="t" />
<arg name="port1_name" type="s" />
<arg name="client2_id" type="t" />
<arg name="client2_name" type="s" />
<arg name="port2_id" type="t" />
<arg name="port2_name" type="s" />
<arg name="connection_id" type="t" />
</signal>
<signal name="PortsDisconnected">
<arg name="new_graph_version" type="t" />
<arg name="client1_id" type="t" />
<arg name="client1_name" type="s" />
<arg name="port1_id" type="t" />
<arg name="port1_name" type="s" />
<arg name="client2_id" type="t" />
<arg name="client2_name" type="s" />
<arg name="port2_id" type="t" />
<arg name="port2_name" type="s" />
<arg name="connection_id" type="t" />
</signal>
<signal name="PortRenamed">
<arg name="new_graph_version" type="t" />
<arg name="port_id" type="t" />
<arg name="client_id" type="t" />
<arg name="client_name" type="s" />
<arg name="port_old_name" type="s" />
<arg name="port_new_name" type="s" />
</signal>
</interface>
<interface name="org.jackaudio.SessionManager">
<method name="Notify">
<arg name="queue" type="b" direction="in" />
<arg name="target" type="s" direction="in" />
<arg name="type" type="u" direction="in" />
<arg name="path" type="s" direction="in" />
<arg name="result" type="a(sssu)" direction="out" />
</method>
<method name="GetUuidForClientName">
<arg name="name" type="s" direction="in" />
<arg name="uuid" type="s" direction="out" />
</method>
<method name="GetClientNameByUuid">
<arg name="uuid" type="s" direction="in" />
<arg name="name" type="s" direction="out" />
</method>
<method name="ReserveClientName">
<arg name="name" type="s" direction="in" />
<arg name="uuid" type="s" direction="in" />
</method>
<method name="HasSessionCallback">
<arg name="client_name" type="s" direction="in" />
<arg name="has_session_callback" type="b" direction="out" />
</method>
<method name="GetState">
<arg name="type" type="u" direction="out" />
<arg name="target" type="s" direction="out" />
</method>
<signal name="StateChanged">
<arg name="type" type="u" />
<arg name="target" type="s" />
</signal>
</interface>
<interface name="org.jackaudio.JackTransport">
</interface>
</node>
"
method call time=1487586215.472976 sender=:1.2037 -> destination=:1.5
serial=4 path=/org/jackaudio/Controller;
interface=org.jackaudio.JackControl; member=StartServer
method call time=1487586215.519314 sender=:1.5 ->
destination=org.freedesktop.DBus serial=4924 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=RequestName
string "org.freedesktop.ReserveDevice1.Audio0"
uint32 4
signal time=1487586215.519333 sender=org.freedesktop.DBus ->
destination=(null destination) serial=7256 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameOwnerChanged
string "org.freedesktop.ReserveDevice1.Audio0"
string ""
string ":1.5"
signal time=1487586215.519339 sender=org.freedesktop.DBus ->
destination=:1.5 serial=6554 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameAcquired
string "org.freedesktop.ReserveDevice1.Audio0"
method return time=1487586215.519343 sender=org.freedesktop.DBus ->
destination=:1.5 serial=6555 reply_serial=4924
uint32 1
method call time=1487586215.519491 sender=:1.5 ->
destination=org.freedesktop.DBus serial=4925 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=ReleaseName
string "org.freedesktop.ReserveDevice1.Audio0"
signal time=1487586215.519503 sender=org.freedesktop.DBus ->
destination=:1.5 serial=6556 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameLost
string "org.freedesktop.ReserveDevice1.Audio0"
signal time=1487586215.519508 sender=org.freedesktop.DBus ->
destination=(null destination) serial=7257 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameOwnerChanged
string "org.freedesktop.ReserveDevice1.Audio0"
string ":1.5"
string ""
method return time=1487586215.519513 sender=org.freedesktop.DBus ->
destination=:1.5 serial=6557 reply_serial=4925
uint32 1
error time=1487586215.531332 sender=:1.5 -> destination=:1.2037
error_name=org.jackaudio.Error.Generic reply_serial=4
string "Failed to open server"
signal time=1487586215.533919 sender=org.freedesktop.DBus ->
destination=:1.2037 serial=5 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameLost
string ":1.2037"
signal time=1487586215.533933 sender=org.freedesktop.DBus ->
destination=(null destination) serial=7258 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.2037"
...

If there's some unexpected additional output, it might be inserted by
some "grep-removed" output.

Kind regards
Peter
Post by Martin Kühne via arch-general
run dbus-monitor in a different terminal window while running
`jack_control start` to get the full, graphic details of the dbus
exception.
cheers!
mar77i
Loading...