[Jack-Devel] How do I start jackd without dbus interference

PrevNext  Index
DateThu, 26 Jan 2012 15:55:02 +1300
From Daniel Reurich <[hidden] at centurion dot net dot nz>
To[hidden] at lists dot jackaudio dot org
Follow-UpPaul Davis Re: [Jack-Devel] How do I start jackd without dbus interference
Hi.

For my thin client testing I'm having trouble getting jack to start as a 
root daemon.  It seems to fail in negotiation with dbus for access to 
the hardware.

Is there a flag that tells jack to not query dbus at all?


When running "jackd -vvvv -p32 -R -P89 -dalsa -dhw:0" I get the 
following output

jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 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
JACK server starting in realtime mode with priority 89
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: playback device hw:0
Jack: capture device hw:0
Jack: JackDriver::Open capture_driver_name = hw:0
Jack: JackDriver::Open playback_driver_name = hw:0
Jack: Check protocol client = 8 server = 8
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackPosixSemaphore::Allocate name = jack_sem.0_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 1024
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
control device hw:0
control device hw:0
Failed to connect to session bus for device reservation Unable to 
autolaunch a dbus-daemon without a $DISPLAY for X11

Failed to acquire device name : Audio0 error : Invalid argument
Audio device hw:0 cannot be acquired...
Jack: ~JackDriver
Cannot initialize driver
Jack: no message buffer overruns
Jack: ThreadHandler: exit
Jack: JackPosixThread::Stop
JackServer::Open() failed with -1
Jack: Succeeded in unlocking 14128858 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: Succeeded in unlocking 994 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: cleaning up shared memory
Jack: cleaning up files
Jack: unregistering server `default'
Failed to open server



-- 
Daniel Reurich
Centurion Computer Technology (2005) Ltd
Ph: 021 797 722
PrevNext  Index

1327546527.20661_0.ltw:2,a <4F20C086.2090804 at centurion dot net dot nz>