Request SSR configuration help

32 views
Skip to first unread message

Yang Bingan

unread,
Dec 15, 2017, 7:50:31 PM12/15/17
to SoundScape Renderer
Dear SSR Users,

Greetings!
My name is Bingan Yang, a beginner of Linux without much experience of Linux which installed in VMware Workstation 14.

* All commands run at root privileges for installation and configuration, all dependencies are successfully installed by "apt-get","./configure" show up a summary that we are ready to compile(disabled IP interface);
* ssr unpacked file root folder: /home/bingan/Downloads/ssr-0.4.2.

Currently, I have encountered some problems and have been stuck here for around two weeks
1) "./configure"again but below error shows up:
checking for boost_system library... not found! (Use BOOST_LIB_DIR to specify a directory.)
checking for boost_thread library... not found! (Use BOOST_LIB_DIR to specify a directory.)

Attempts: ./configure BOOST_LIB_DIR=-I/LIB64, but still not working
Question:
Manual PDF "Ensure that
/etc/ld.so.conf or LD_LIBRARY_PATH are set properly, and run ldconfig after changes."
 Q: How to ensure the path is correct? Which library path should be set? Currently,  /etc/ld.so.conf file has content " include /etc/ld.so.conf.d/*.conf", how do I change the  "*" into a path? Or "BOOST_LIB_DIR" has no value in "configure"file at /home/bingan/Downloads/ssr-0.4.2. Do I need to give a value? How to do so?

2) Manual PDF"If a header is not installed in the standard paths of your system you can pass its location to the configure script using ./configure CPPFLAGS=-Iyourpath"
Question: which path should be used? What header this means for? I have tried to run "./configure CPPFLAGS=-I/lib64" but it shows error.

3) run "qjackctl" command shows up:
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.

Question:
a) how to change the standard path?
b) how to specify a protocol?
c) how to get QXcbConnect works?

4) Previously it seems have been installed successfully in the VMware Debian 9.x 64bit system and the Qjackctl can open up Jack Connect Kit, however once loaded a 720 channels WAV file(origin: http://usir.salford.ac.uk/30868/) it takes endless time to load the file(90M size) to the server, furthermore, open the "connect" tap but no devices can be detected in the "Audio" tap while "MIDI" exists some hardware.

Attached file is a Configuration Log, appreciated for your kindness to read this email and really expect your helps to solve these problems for listening the spatial audio performance in a listening room at Salford.

Best regards
config.log

Matthias Geier

unread,
Dec 16, 2017, 3:09:11 AM12/16/17
to Yang Bingan, SoundScape Renderer
Hello Bingan.

On Sat, Dec 16, 2017 at 1:50 AM, Yang Bingan wrote:
> Dear SSR Users,
>
> Greetings!
> My name is Bingan Yang, a beginner of Linux without much experience of Linux
> which installed in VMware Workstation 14.

Welcome to the world of Linux and to the SSR community!

> * All commands run at root privileges for installation and configuration,

This is not good. You should use root only where necessary.

> all dependencies are successfully installed by "apt-get","./configure" show
> up a summary that we are ready to compile(disabled IP interface);
> * ssr unpacked file root folder: /home/bingan/Downloads/ssr-0.4.2.
>
> Currently, I have encountered some problems and have been stuck here for
> around two weeks
> 1) "./configure"again but below error shows up:
> checking for boost_system library... not found! (Use BOOST_LIB_DIR to
> specify a directory.)
> checking for boost_thread library... not found! (Use BOOST_LIB_DIR to
> specify a directory.)
>
> Attempts: ./configure BOOST_LIB_DIR=-I/LIB64, but still not working

Linux is case sensitive, are you sure the directory is called /LIB64
and not /lib64?

Also, you should not use "-I", but just the directory.

And, /lib64 should be searched by default, are you sure your boost
libraries are there?

> Question:
> Manual PDF "Ensure that /etc/ld.so.conf or LD_LIBRARY_PATH are set properly,
> and run ldconfig after changes."
> Q: How to ensure the path is correct? Which library path should be set?

Wherever the boost libraries are located on your system.
You can search for files that start with "libboost" and end with ".so".

I'm still not sure if your really installed all the necessary packages.

Which boost-related packages did you install?

> Currently, /etc/ld.so.conf file has content " include
> /etc/ld.so.conf.d/*.conf", how do I change the "*" into a path?

You shouldn't.

Just leave the line as it is and add more paths in separate lines.

But you probably don't need all this, let's first make sure you have
installed Boost correctly.

> Or
> "BOOST_LIB_DIR" has no value in "configure"file at
> /home/bingan/Downloads/ssr-0.4.2. Do I need to give a value? How to do so?

You don't have to change the "configure" file.
The way you used it in your configure call looks fine.
But you probably don't need this anyway.

> 2) Manual PDF"If a header is not installed in the standard paths of your
> system you can pass its location to the configure script using ./configure
> CPPFLAGS=-Iyourpath"
> Question: which path should be used? What header this means for? I have
> tried to run "./configure CPPFLAGS=-I/lib64" but it shows error.

This is for adding header files (i.e. files with the ending ".h" or
".hpp"). This is not relevant in your case.

> 3) run "qjackctl" command shows up:
> QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000
> instead of 0
> No protocol specified
> qt.qpa.screen: QXcbConnection: Could not connect to display :0
> Could not connect to any X display.

This is because you were using root for configuration.
You should do everything as a normal user and only "make install" as root.

You should also make sure that you start the JACK daemon with the same
user as you are using for the SSR (which should not be "root").

BTW, you should also make sure that your user is member of the "audio" group.

> Question:
> a) how to change the standard path?
> b) how to specify a protocol?
> c) how to get QXcbConnect works?
>
> 4) Previously it seems have been installed successfully in the VMware Debian
> 9.x 64bit system and the Qjackctl can open up Jack Connect Kit, however once
> loaded a 720 channels WAV file(origin: http://usir.salford.ac.uk/30868/) it
> takes endless time to load the file(90M size) to the server,

How exactly did you "load" the file?

> furthermore,
> open the "connect" tap but no devices can be detected in the "Audio" tap
> while "MIDI" exists some hardware.

OK, that's bad. There should be at least one entry called "system" in
the Audio tab.

Did you press "Start" and did JACK start successfully?

I've never used VMware, but you probably have to configure it in some
way that the audio device is available to the guest OS?

Probably someone else on this mailing list has experience with VMware?

> Attached file is a Configuration Log, appreciated for your kindness to read
> this email and really expect your helps to solve these problems for
> listening the spatial audio performance in a listening room at Salford.

Good luck, and if you have further questions, don't hesitate to ask!

cheers,
Matthias

Yang Bingan

unread,
Dec 16, 2017, 5:18:49 AM12/16/17
to Matthias Geier, SoundScape Renderer
Hi Matthias,

Thank you so much for kind helps. Shall we set up Teamviewer to troubleshoot?
My ID: 476811088, PW: 1w56vv
Please refer to below:

Regards
Bingan

On Sat, Dec 16, 2017 at 4:08 PM, Matthias Geier <matthia...@gmail.com> wrote:
Hello Bingan.

On Sat, Dec 16, 2017 at 1:50 AM, Yang Bingan wrote:
> Dear SSR Users,
>
> Greetings!
> My name is Bingan Yang, a beginner of Linux without much experience of Linux
> which installed in VMware Workstation 14.

Welcome to the world of Linux and to the SSR community!
@Thank you, it is my pleasure to join the SSR community.

> * All commands run at root privileges for installation and configuration,

This is not good. You should use root only where necessary.
@Created a new folder 'try_16Dec', copy and unpack ssr-0.4.2.tar.gz into the new folder, right click to open in terminal, then run through the commands (a normal user), firstly,./configure then get the same finding as Question 1 below.
> all dependencies are successfully installed by "apt-get","./configure" show
> up a summary that we are ready to compile(disabled IP interface);
> * ssr unpacked file root folder: /home/bingan/Downloads/ssr-0.4.2.
>
> Currently, I have encountered some problems and have been stuck here for
> around two weeks
> 1) "./configure"again but below error shows up:
> checking for boost_system library... not found! (Use BOOST_LIB_DIR to
> specify a directory.)
> checking for boost_thread library... not found! (Use BOOST_LIB_DIR to
> specify a directory.)
>
> Attempts: ./configure BOOST_LIB_DIR=-I/LIB64, but still not working

Linux is case sensitive, are you sure the directory is called /LIB64
and not /lib64?
@sorry, /lib64 is correct
Also, you should not use "-I", but just the directory.
@deleted -I
And, /lib64 should be searched by default, are you sure your boost
libraries are there?
@cannot locate the boost libraries
> Question:
> Manual PDF "Ensure that /etc/ld.so.conf or LD_LIBRARY_PATH are set properly,
> and run ldconfig after changes."
>  Q: How to ensure the path is correct? Which library path should be set?

Wherever the boost libraries are located on your system.
You can search for files that start with "libboost" and end with ".so".
@searched files "libboost" but no result, I guess I have missed something
I'm still not sure if your really installed all the necessary packages.
@all the dependencies in Page 8 are installed by manually use apt-get install "make ... etc"
Which boost-related packages did you install?
@I have no idea what packages are boost-related packages, for example:libboost-dev

> Currently,  /etc/ld.so.conf file has content " include
> /etc/ld.so.conf.d/*.conf", how do I change the  "*" into a path?

You shouldn't.

Just leave the line as it is and add more paths in separate lines.

But you probably don't need all this, let's first make sure you have
installed Boost correctly.
@noted, may I know what is Boost? Is it libboost-dev package?
> Or
> "BOOST_LIB_DIR" has no value in "configure"file at
> /home/bingan/Downloads/ssr-0.4.2. Do I need to give a value? How to do so?

You don't have to change the "configure" file.
The way you used it in your configure call looks fine.
But you probably don't need this anyway.
@noted
> 2) Manual PDF"If a header is not installed in the standard paths of your
> system you can pass its location to the configure script using ./configure
> CPPFLAGS=-Iyourpath"
> Question: which path should be used? What header this means for? I have
> tried to run "./configure CPPFLAGS=-I/lib64" but it shows error.

This is for adding header files (i.e. files with the ending ".h" or
".hpp"). This is not relevant in your case.
@noted
> 3) run "qjackctl" command shows up:
> QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000
> instead of 0
> No protocol specified
> qt.qpa.screen: QXcbConnection: Could not connect to display :0
> Could not connect to any X display.

This is because you were using root for configuration.
You should do everything as a normal user and only "make install" as root.
@noted, now do it again in the new folder and root is required to install dependencies, so use root to install then ./configure, but same finding as Question1
You should also make sure that you start the JACK daemon with the same
user as you are using for the SSR (which should not be "root").
@noted, will use as normal user
BTW, you should also make sure that your user is member of the "audio" group.
@root user, key in commands "adduser bingan audio" shows bingan is already a member of audio group
> Question:
> a) how to change the standard path?
> b) how to specify a protocol?
> c) how to get QXcbConnect works?
>
> 4) Previously it seems have been installed successfully in the VMware Debian
> 9.x 64bit system and the Qjackctl can open up Jack Connect Kit, however once
> loaded a 720 channels WAV file(origin: http://usir.salford.ac.uk/30868/) it
> takes endless time to load the file(90M size) to the server,

How exactly did you "load" the file?
@normal user, key in "qjackctl" to open <Jack Audio Connect Kit[(default)] Stopped> then click Start tap, pop up window shows "Could not connect JACK server as client  -Overall operation failed  - Unable to connect to server  - Please check the messages window for more info."
 Inline image 1
@check the directory but no such file "/dev/shm/..."
> furthermore,
> open the "connect" tap but no devices can be detected in the "Audio" tap
> while "MIDI" exists some hardware.

OK, that's bad. There should be at least one entry called "system" in
the Audio tab.
@cannot locate the system
Did you press "Start" and did JACK start successfully?
@I am not sure whether it start successfully, I can see the window is showing the progress status and RT 4% varying; now press"Start" and error as above, JACK ALSA shows below, Audio MIDI no devices detected
Inline image 2

Yang Bingan

unread,
Dec 16, 2017, 11:22:52 AM12/16/17
to Matthias Geier, SoundScape Renderer
Hi Matthias,

Good news:
The question 1 is settled by running below commands to install the libraries:
1) sudo apt-get install libboost-filesystem-dev
2) sudo apt-get install libboost-thread-dev
And now try to solve the JACK issues.
Thanks

Regards
Bingan

Yang Bingan

unread,
Dec 17, 2017, 7:31:22 AM12/17/17
to Matthias Geier, SoundScape Renderer
Hi Matthias,

Kindly advise how to solve the Jack issues:

20:10:52.845 Statistics reset.

20:10:52.876 ALSA connection change.

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

20:12:45.218 JACK is starting...

20:12:45.219 /usr/bin/jackd -v -m -dalsa -dhw:0 -r44100 -p16 -n2

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

20:12:45.269 JACK was started with PID=3633.

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

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

JACK server starting in realtime mode with priority 10

self-connect-mode is "Don't restrict self connect requests"

Cannot lock down 82274202 byte memory area (Cannot allocate memory)

Jack: JackPosixThread::StartImp : create non RT thread

Jack: JackPosixThread::ThreadHandler : start

Jack: playback device hw:0

Jack: capture device hw:0

Jack: apparent rate = 44100

Jack: frames per period = 16

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.1000_default_system val = 0

Jack: JackEngine::NotifyAddClient: name = system

Jack: JackGraphManager::SetBufferSize size = 16

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

audio_reservation_init

Acquire audio card Audio0

creating alsa driver ... hw:0|hw:0|16|2|44100|0|0|nomon|swmeter|-|32bit

configuring for 44100Hz, period = 16 frames (0.4 ms), buffer = 2 periods

ALSA: final selected sample format for capture: 16bit little-endian

ALSA: use 2 periods for capture

ALSA: final selected sample format for playback: 16bit little-endian

ALSA: use 2 periods for playback

Jack: JackSocketServerChannel::Open

Jack: JackServerSocket::Bind : addr.sun_path /dev/shm/jack_default_1000_0

Jack: JackSocketServerChannel::BuildPoolTable size = 1

Jack: JackEngine::Open

Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0

Jack: JackEngine::ClientInternalOpen: name = freewheel

Jack: JackEngine::AllocateRefNum ref = 1

Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_freewheel val = 0

Jack: JackEngine::NotifyAddClient: name = freewheel

Jack: JackDriver::ClientNotify ref = 1 driver = system name = freewheel notify = 0

Jack: JackDriver::ClientNotify ref = 0 driver = freewheel name = system notify = 0

Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1

Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1


Jack setting:

Inline image 1Inline image 2


The settings screenshots are for your kind reference, I have tried to use the others commands and methods but still encounter the error as above Messages history. When click at Start, the system will shows in the Connect window and can be patched, however there is no sound from laptop microphone or VLC player with VLC-Jack plugin installed and Output module set to JACK(by this means, the general music file will be patched to JACK while starting the JACK), but there is no sound coming out from laptop loudspeaker or headphone jack.

Thank you very much


Regards

Bingan

Jens Ahrens

unread,
Dec 18, 2017, 8:15:36 AM12/18/17
to Yang Bingan, SoundScape Renderer
Hi Bingan,

I'm not sure if that's the issue, but your JACK settings are very aggressive. You set the frame size (a.k.a. block size, buffer size)  to 16 samples ("Frames/Period") and "Periods/buffer" to 2. Start with 1024 and 3 and then lower the frame size if the latency is too large.

Greets,
Jens


--
You received this message because you are subscribed to the Google Groups "SoundScape Renderer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to SoundScapeRenderer+unsub...@googlegroups.com.
To post to this group, send email to SoundScapeRenderer@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/SoundScapeRenderer/CAFaW%2BH7im1VHNXUq84%2BnAW-gXxprp_EqhAitB3fv-PEwOrqicw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Yang Bingan

unread,
Dec 18, 2017, 10:57:28 AM12/18/17
to Jens Ahrens, SoundScape Renderer
Dear Jens,

Noted with thanks.
I have just changed the setting as advised, please refer to below screenshot. However the issue still exists, I have tried to uninstall libjackd-dev and then install libjack-jackd2-dev, uninstall jackd and install jackd2 only. The number of problems become less and the messages become pink font rather than black; then restart qjackctl, the problem resurfaces. I am wondering whether there is something wrong with the dependencies installed. Could you advise whether all of the dependencies should be installed? For example, libecasoundc2.2-dev is unable to install while libecasoundc-dev is ok.
In the mean time, how to ensure the configuration are correct? Don't mind if anyone of you can add my Skype ID (bingan yang) for troubleshooting, I am struggling to configure ssr for two weeks however it is very disappointing that I still cannot get it work.

Regards
Bingan

Inline image 1

Messages as below for your kind reference:

23:43:32.917 Statistics reset.

23:43:32.948 ALSA connection change.

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

23:43:38.833 JACK is starting...

23:43:38.834 /usr/bin/jackd -v -m -dalsa -dhw:AudioPCI,0 -r44100 -p1024 -n3 -D -Phw:AudioPCI

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

23:43:38.884 JACK was started with PID=1583.

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

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

JACK server starting in realtime mode with priority 10

self-connect-mode is "Don't restrict self connect requests"

Cannot lock down 82274202 byte memory area (Cannot allocate memory)

Jack: JackPosixThread::StartImp : create non RT thread

Jack: JackPosixThread::ThreadHandler : start

Jack: playback device hw:AudioPCI,0

Jack: capture device hw:AudioPCI,0

Jack: playback device hw:AudioPCI

Jack: apparent rate = 44100

Jack: frames per period = 1024

Jack: JackDriver::Open capture_driver_name = hw:AudioPCI,0

Jack: JackDriver::Open playback_driver_name = hw:AudioPCI

Jack: Check protocol client = 8 server = 8

Jack: JackEngine::ClientInternalOpen: name = system

Jack: JackEngine::AllocateRefNum ref = 0

Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_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

audio_reservation_init

Acquire audio card Audio0

creating alsa driver ... hw:AudioPCI|hw:AudioPCI,0|1024|3|44100|0|0|nomon|swmeter|-|32bit

configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods

ALSA: final selected sample format for capture: 16bit little-endian

ALSA: use 3 periods for capture

ALSA: final selected sample format for playback: 16bit little-endian

ALSA: use 3 periods for playback

Jack: JackSocketServerChannel::Open

Jack: JackServerSocket::Bind : addr.sun_path /dev/shm/jack_default_1000_0

Jack: JackSocketServerChannel::BuildPoolTable size = 1

Jack: JackEngine::Open

Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0

Jack: JackEngine::ClientInternalOpen: name = freewheel

Jack: JackEngine::AllocateRefNum ref = 1

Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_freewheel val = 0

Jack: JackEngine::NotifyAddClient: name = freewheel

Jack: JackDriver::ClientNotify ref = 1 driver = system name = freewheel notify = 0

Jack: JackDriver::ClientNotify ref = 0 driver = freewheel name = system notify = 0

Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1

Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1

Jack: JackDriver::SetupDriverSync driver sem in flush mode

Jack: JackGraphManager::SetBufferSize size = 1024

Jack: JackAlsaDriver::Attach fBufferSize 1024 fSampleRate 44100


To unsubscribe from this group and stop receiving emails from it, send an email to SoundScapeRenderer+unsubscribe@googlegroups.com.

To post to this group, send email to SoundScapeRenderer@googlegroups.com.

Matthias Geier

unread,
Dec 20, 2017, 5:17:27 AM12/20/17
to Yang Bingan, Jens Ahrens, SoundScape Renderer
Hi Bingan.

It's good to see that you are making progress!

I've just lost track about what's the current issue. What is the actual problem?
Is there anything not working as expected?

According to your last screenshot, JACK is running (it says "Started" in the top left of the display area), there are just some xruns happening (the red numbers below "Started").
So you should be able to use the SSR, but there might be some audio dropouts.

The logging messages suggest that there are problems using realtime (RT) mode.

You said before that your user account is part of the "audio" group, which is one requirement for that.
Just to make sure, please run the command "groups" and check if "audio" is in the list.

But also the JACK daemon has to be configured correctly in order to use realtime priority.
To do that, you should run this command as root:

    dpkg-reconfigure jackd2

... and answer "Yes" to enable realtime priority.
I'm not sure if it's necessary, but you should probably re-boot the system afterwards.

Once everything works, you can try to switch "Periods/Buffer" back to 2 and see if it still works.

cheers,
Matthias

To unsubscribe from this group and stop receiving emails from it, send an email to SoundScapeRenderer+unsub...@googlegroups.com.

To post to this group, send email to SoundScapeRenderer@googlegroups.com.

Yang Bingan

unread,
Dec 20, 2017, 6:38:53 AM12/20/17
to Matthias Geier, Jens Ahrens, SoundScape Renderer
Dear Matthias,

Noted with many thanks for your kind following up.
1) run the "groups" and audio is in the list as below shown:
bingan cdrom floppy audio dip video plugdev netdev bluetooth lpadmin scanner

2) run "sudo dpkg-reconfigure jackd2" and then select "Yes", reboot Debian and VMware, then run qjacktrl and configure "Periods/Buffer" back to "2" then error as screenshot; 
Inline image 3
Change back to 1024 Periods/buffer, no error shows as below and the Messages as Appendix A shown.

3) the current issues:
   a. Jack still shows error as Appendix B;
   b. When Jack started, the audio shows only system where has two mic and two loudspeakers, I would like to test the system mics either headset mic or computer        embedded mic in laptop.
   c. Tried to load the snaredrum.wav file but the error shows in Appendix C:

If you don't mind, shall we arrange half an hour for Teamviewer troubleshoot? That will be more efficient to resolve all these tricky issues in one shot.
Thank you so much

Regards
Bingan

Appendix A

19:20:44.922 Statistics reset.

19:20:44.946 ALSA connection change.

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

19:20:45.005 ALSA connection graph change.

19:20:47.311 JACK is starting...

19:20:47.312 /usr/bin/jackd -v -m -dalsa -dhw:AudioPCI,0 -r44100 -p1024 -n3 -D -Phw:AudioPCI

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

19:20:47.363 JACK was started with PID=3084.

no message buffer overruns

no message buffer overruns

no message buffer overruns

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

JACK server starting in realtime mode with priority 10

self-connect-mode is "Don't restrict self connect requests"

Jack: JackPosixThread::StartImp : create non RT thread





19:20:44.922 Statistics reset.

19:20:44.946 ALSA connection change.

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

19:20:45.005 ALSA connection graph change.

19:20:47.311 JACK is starting...

19:20:47.312 /usr/bin/jackd -v -m -dalsa -dhw:AudioPCI,0 -r44100 -p1024 -n3 -D -Phw:AudioPCI

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

19:20:47.363 JACK was started with PID=3084.

no message buffer overruns

no message buffer overruns

no message buffer overruns

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

JACK server starting in realtime mode with priority 10

self-connect-mode is "Don't restrict self connect requests"

Jack: JackPosixThread::StartImp : create non RT thread

Appendix B

19:20:44.922 Statistics reset.

19:20:44.946 ALSA connection change.

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

19:20:45.005 ALSA connection graph change.

19:20:47.311 JACK is starting...

19:20:47.312 /usr/bin/jackd -v -m -dalsa -dhw:AudioPCI,0 -r44100 -p1024 -n3 -D -Phw:AudioPCI

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock

19:20:47.363 JACK was started with PID=3084.

no message buffer overruns

no message buffer overruns

no message buffer overruns

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

JACK server starting in realtime mode with priority 10

self-connect-mode is "Don't restrict self connect requests"

Jack: JackPosixThread::StartImp : create non RT thread


Appendix C
bingan@debian:~/Downloads/ssr-0.4.2$ ssr snaredrum

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
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
no message buffer overruns
no message buffer overruns
no message buffer overruns

JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Jack: JackEngine::PortRegister ref = 0 name = system:capture_1 type = 32 bit float mono audio flags = 22 buffer_size = 1024
Jack: JackGraphManager::AllocatePortAux port_index = 1 name = system:capture_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 1
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 1
Jack: JackEngine::PortRegister ref = 0 name = system:capture_2 type = 32 bit float mono audio flags = 22 buffer_size = 1024
Jack: JackGraphManager::AllocatePortAux port_index = 2 name = system:capture_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 2
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 2
Jack: JackEngine::PortRegister ref = 0 name = system:playback_1 type = 32 bit float mono audio flags = 21 buffer_size = 1024
Jack: JackGraphManager::AllocatePortAux port_index = 3 name = system:playback_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 3
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 3
Jack: JackEngine::PortRegister ref = 0 name = system:playback_2 type = 32 bit float mono audio flags = 21 buffer_size = 1024
Jack: JackGraphManager::AllocatePortAux port_index = 4 name = system:playback_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 4
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 4
Jack: Clock source : system clock via clock_gettime
Jack: JackServer::Start
Jack: JackThreadedDriver::Start

Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackThreadedDriver::Init real-time
Jack: JackPosixThread::AcquireRealTimeImp priority = 10

Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackRequest::Notification
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 9
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 10
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackSocketServerChannel::Execute : poll client error err = Success
Jack: JackSocketServerChannel::ClientKill ref = -1 fd = 10
Jack: Client was not opened : probably correspond to server_check
Jack: JackClientSocket::Close
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 9
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 10
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackRequest::ClientCheck

Jack: Check protocol client = 8 server = 8
Jack: JackRequest::ClientOpen
Jack: JackEngine::ClientExternalOpen: uuid = 0, name = BinauralRenderer
Jack: JackEngine::AllocateRefNum ref = 2
Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_BinauralRenderer val = 0
Jack: JackSocketNotifyChannel::Open name = BinauralRenderer
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_BinauralRenderer_1000_0
Jack: JackShmMem::new index = 2 attached = 7be5000 size = 422
Jack: JackExternalClient::Open name = BinauralRenderer index = 2 base = 7be5000
Jack: JackPosixProcessSync::TimedWait time out = 5000000
Jack: JackPosixProcessSync::TimedWait finished delta = 13531.0
Jack: JackEngine::NotifyAddClient: name = BinauralRenderer
Jack: JackDriver::ClientNotify ref = 2 driver = system name = BinauralRenderer notify = 0
Jack: JackExternalClient::ClientNotify ref = 0 client = BinauralRenderer name = system notify = 0
Jack: JackDriver::ClientNotify ref = 2 driver = freewheel name = BinauralRenderer notify = 0
Jack: JackExternalClient::ClientNotify ref = 1 client = BinauralRenderer name = freewheel notify = 0
Jack: JackSocketServerChannel::ClientAdd ref = 2 fd = 10
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 9
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 10
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_BinauralRenderer
Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = BinauralRenderer refnum = 2
       ___    
      /  ___  
  ___/  /  ___
    ___/  /    SSR (SoundScape Renderer) 0.4.2~dfsg
         /    
              
Website: <http://spatialaudio.net/ssr/>
Contact: <s...@spatialaudio.net>

Copyright © 2014 Institut für Nachrichtentechnik, Universität Rostock
Copyright © 2012 Quality & Usability Lab, Telekom Innovation Labs, TU Berlin

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackRequest::Notification
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackRequest::RegisterPort
Jack: JackEngine::PortRegister ref = 2 name = BinauralRenderer:out_1 type = 32 bit float mono audio flags = 2 buffer_size = 0
Jack: JackGraphManager::AllocatePortAux port_index = 5 name = BinauralRenderer:out_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 2 port = 5
Jack: JackClient::PortRegister ref = 2 name = BinauralRenderer:out_1 type = 32 bit float mono audio port_index = 5
Jack: JackClient::Connect src = BinauralRenderer:out_1 dst = system:playback_1
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackRequest::ConnectNamePorts
Jack: JackEngine::PortConnect ref = 2 src = BinauralRenderer:out_1 dst = system:playback_1
Jack: JackGraphManager::CheckConnect src_name = BinauralRenderer:out_1 dst_name = system:playback_1
Jack: JackEngine::PortConnect ref = 2 src = 5 dst = 3
Cannot connect ports owned by inactive clients: "BinauralRenderer" is not active
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackRequest::RegisterPort
Jack: JackEngine::PortRegister ref = 2 name = BinauralRenderer:out_2 type = 32 bit float mono audio flags = 2 buffer_size = 0
Jack: JackGraphManager::AllocatePortAux port_index = 6 name = BinauralRenderer:out_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 2 port = 6
Jack: JackClient::PortRegister ref = 2 name = BinauralRenderer:out_2 type = 32 bit float mono audio port_index = 6
Jack: JackClient::Connect src = BinauralRenderer:out_2 dst = system:playback_2
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackRequest::ConnectNamePorts
Jack: JackEngine::PortConnect ref = 2 src = BinauralRenderer:out_2 dst = system:playback_2
Jack: JackGraphManager::CheckConnect src_name = BinauralRenderer:out_2 dst_name = system:playback_2
Jack: JackEngine::PortConnect ref = 2 src = 6 dst = 4
Cannot connect ports owned by inactive clients: "BinauralRenderer" is not active
Error: File name 'snaredrum' does not have an extension. (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:782)
terminate called after throwing an instance of 'std::runtime_error'
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackRequest::Notification
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackEngine::ClientNotify: no callback for notification = 4
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
  what():  Couldn't load scene!
/usr/bin/ssr: line 48:  3338 Aborted                 $SSR_EXECUTABLE "${OPTIONS[@]}"
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 10
Jack: JackSocketServerChannel::Execute : poll client error err = No such file or directory
Jack: JackSocketServerChannel::ClientKill ref = 2 fd = 10
Jack: JackEngine::ClientKill ref = 2
Jack: JackEngine::ClientDeactivate ref = 2 name = BinauralRenderer
Jack: JackEngine::PortDisconnect ref = -1 src = 5 dst = 65535
Jack: JackEngine::PortDisconnect ref = -1 src = 6 dst = 65535
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackServer::Deactivate client = 2 was not activated
Jack: JackServer::Deactivate client = 2 was not activated
Jack: JackPosixProcessSync::TimedWait time out = 464380
bingan@debian:~/Downloads/ssr-0.4.2$ Jack: JackPosixProcessSync::TimedWait finished delta = 4226.0
Jack: JackEngine::ClientExternalClose ref = 2
Jack: JackEngine::ClientCloseAux ref = 2
Jack: JackEngine::PortUnRegister ref = 2 port_index = 5
Jack: JackEngine::PortDisconnect ref = -1 src = 5 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 5
Jack: JackConnectionManager::RemoveOutputPort ref = 2 port_index = 5
Jack: JackEngine::PortUnRegister ref = 2 port_index = 6
Jack: JackEngine::PortDisconnect ref = -1 src = 6 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 6
Jack: JackConnectionManager::RemoveOutputPort ref = 2 port_index = 6
Jack: JackEngine::ReleaseRefnum server quit
Unknown error...
terminate called after throwing an instance of 'Jack::JackTemporaryException'
  what(): 
^C
bingan@debian:~/Downloads/ssr-0.4.2$

Jens Ahrens

unread,
Dec 20, 2017, 10:34:46 AM12/20/17
to Yang Bingan, SoundScape Renderer
Hi Bingan,

As far as I can tell, the messages in your Appendix A are uncritical. See also this thread: https://github.com/jackaudio/jack2/issues/226

Regarding your issue a ("Jack still shows error as Appendix B"):
As per the thread referenced above, there seems to be no actual error but rather an unfortunate JACK message.

Regarding your issue b ("When Jack started, the audio shows only system where has two mic and two loudspeakers, I would like to test the system mics either headset mic or computer embedded mic in laptop."):
Presumably, it's your operating system that switches between headphone out and loudspeakers. JACK only sees the same two output channels. That's how it at least happens on my MacBook. I can plug and unplug the headphones while JACK is running - which causes the operating system to switch between the different physical outputs -  but JACK will not notice a difference.

Regarding your issue c ("Tried to load the snaredrum.wav file but the error shows in Appendix C"):
Specify also the filename extension when calling ssr ("ssr snaredrum.wav" instead of "ssr snaredrum"). If that still doesn't work, there might be something wrong with the header of the file. In this case, install sox and do:
sox old.wav new.wavpcm
mv new.wavpcm new.wav
(as explained at the bottom of this section: http://ssr.readthedocs.io/en/latest/operation.html#make-dmg-on-mac-os-x-chokes-on-symbolic-links)

This creates a new header for the file the libsndfile understands.

Greets,
Jens



Yang Bingan

unread,
Dec 20, 2017, 11:09:43 AM12/20/17
to Jens Ahrens, SoundScape Renderer
Dear Jens,

Good news update.
Appreciated for your kind help, now the SSR interface is visible and the binauralrender in the audio is also appeared, but there is no sound output from loudspeakers. Kindly see below.
Inline image 1


bingan@debian:~/Downloads/ssr-0.4.2$ ssr snaredrum.wav

Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_BinauralRenderer
Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = BinauralRenderer refnum = 3

       ___    
      /  ___  
  ___/  /  ___
    ___/  /    SSR (SoundScape Renderer) 0.4.2~dfsg
         /    
              
Website: <http://spatialaudio.net/ssr/>
Contact: <s...@spatialaudio.net>

Copyright © 2014 Institut für Nachrichtentechnik, Universität Rostock
Copyright © 2012 Quality & Usability Lab, Telekom Innovation Labs, TU Berlin

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Jack: JackClient::PortRegister ref = 3 name = BinauralRenderer:out_1 type = 32 bit float mono audio port_index = 5

Jack: JackClient::Connect src = BinauralRenderer:out_1 dst = system:playback_1
Jack: JackClient::PortRegister ref = 3 name = BinauralRenderer:out_2 type = 32 bit float mono audio port_index = 6

Jack: JackClient::Connect src = BinauralRenderer:out_2 dst = system:playback_2
Warning: Trying to open specified file as audio file. (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:952)

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Warning: Creating spontaneous scene from the audio file "snaredrum.wav". (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:986)

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1430 notify = 0
Jack: JackClient::AddClient name = ecasound-ctrl-1430, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound-ctrl-1430

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1430 notify = 1
Jack: JackClient::RemoveClient name = ecasound-ctrl-1430, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound-ctrl-1430

(ecasoundc_sa) Error='read() error', cmd='cs-connect' last_error='' cmd_cnt=6 last_cnt=5.

***********************************************************************
* Message from libecasoundc:
*
* Connection to the processing engine was lost. Check that ecasound
* is correctly installed. Also make sure that ecasound is either
* in some directory listed in PATH, or the environment variable
* 'ECASOUND' contains the path to a working ecasound executable.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 0
Jack: JackClient::AddClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 1
Jack: JackClient::RemoveClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound
Error: _get_jack_sample_rate():  (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:310)
Warning: AudioPlayer: Initialization of soundfile 'snaredrum.wav' failed! (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:87)
Jack: JackClient::PortRegister ref = 3 name = BinauralRenderer:in_1 type = 32 bit float mono audio port_index = 7

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1443 notify = 0
Jack: JackClient::AddClient name = ecasound-ctrl-1443, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound-ctrl-1443

Jack: JackPosixSemaphore::Connect sem_getvalue 0

(ecasoundc_sa) Error='read() error', cmd='cs-connect' last_error='' cmd_cnt=6 last_cnt=5.

***********************************************************************
* Message from libecasoundc:
*
* Connection to the processing engine was lost. Check that ecasound
* is correctly installed. Also make sure that ecasound is either
* in some directory listed in PATH, or the environment variable
* 'ECASOUND' contains the path to a working ecasound executable.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1443 notify = 1
Jack: JackClient::RemoveClient name = ecasound-ctrl-1443, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound-ctrl-1443
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 0
Jack: JackClient::AddClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 1
Jack: JackClient::RemoveClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound
Error: _get_jack_sample_rate():  (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:310)
Warning: AudioPlayer: Initialization of soundfile 'snaredrum.wav' failed! (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:87)
Jack: JackClient::PortRegister ref = 3 name = BinauralRenderer:in_2 type = 32 bit float mono audio port_index = 8
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::Activate

Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 1024
Jack: JackClient::Init : period = 23219 computation = 100 constraint = 23219
Jack: JackPosixThread::AcquireRealTimeImp priority = 5
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 2
Jack: JackClient::kActivateClient name = BinauralRenderer ref = 3
Jack: JackClient::Connect src = BinauralRenderer:out_2 dst = system:playback_2
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18

Jack: JackClient::Connect src = BinauralRenderer:out_1 dst = system:playback_1
Warning: Renderer is already processing. (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:1242)
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Gtk-Message: Failed to load module "canberra-gtk-module"
Warning: This system does not provide sample buffer support.
I can not enable anti-aliasing for OpenGl stuff. (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:1104)
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 3
Jack: JackClient::kXRunCallback
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackActivationCount::Signal value = 0 ref = 3
Jack: JackClient::PortUnRegister port_index = 7
Jack: JackClient::PortUnRegister port_index = 8
Warning: Trying to open specified file as audio file. (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:952)

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Warning: Creating spontaneous scene from the audio file "/home/bingan/Downloads/ssr-0.4.2/Mozart Excerpt 1.wav". (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/controller.h:986)

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1488 notify = 0
Jack: JackClient::AddClient name = ecasound-ctrl-1488, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound-ctrl-1488

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::kAddClient fName = BinauralRenderer name = ecasound-ctrl-1488

(ecasoundc_sa) Error='read() error', cmd='cs-connect' last_error='' cmd_cnt=6 last_cnt=5.

***********************************************************************
* Message from libecasoundc:
*
* Connection to the processing engine was lost. Check that ecasound
* is correctly installed. Also make sure that ecasound is either
* in some directory listed in PATH, or the environment variable
* 'ECASOUND' contains the path to a working ecasound executable.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1488 notify = 1
Jack: JackClient::RemoveClient name = ecasound-ctrl-1488, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound-ctrl-1488
Jack: JackClient::kRemoveClient fName = BinauralRenderer name = ecasound-ctrl-1488
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 0
Jack: JackClient::AddClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::kAddClient fName = BinauralRenderer name = ecasound
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 1
Jack: JackClient::RemoveClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound
Jack: JackClient::kRemoveClient fName = BinauralRenderer name = ecasound
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Error: _get_jack_sample_rate():  (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:310)
Warning: AudioPlayer: Initialization of soundfile '/home/bingan/Downloads/ssr-0.4.2/Mozart Excerpt 1.wav' failed! (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:87)
Jack: JackClient::PortRegister ref = 3 name = BinauralRenderer:in_1 type = 32 bit float mono audio port_index = 7

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18

***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************


***********************************************************************
* Message from libecasoundc:
*
* 'ECASOUND' environment variable not set. Using the default value
* value 'ECASOUND=ecasound'.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1501 notify = 0
Jack: JackClient::AddClient name = ecasound-ctrl-1501, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound-ctrl-1501

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::kAddClient fName = BinauralRenderer name = ecasound-ctrl-1501

(ecasoundc_sa) Error='read() error', cmd='cs-connect' last_error='' cmd_cnt=6 last_cnt=5.

***********************************************************************
* Message from libecasoundc:
*
* Connection to the processing engine was lost. Check that ecasound
* is correctly installed. Also make sure that ecasound is either
* in some directory listed in PATH, or the environment variable
* 'ECASOUND' contains the path to a working ecasound executable.
***********************************************************************

Jack: JackClient::ClientNotify ref = 4 name = ecasound-ctrl-1501 notify = 1
Jack: JackClient::RemoveClient name = ecasound-ctrl-1501, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound-ctrl-1501
Jack: JackClient::kRemoveClient fName = BinauralRenderer name = ecasound-ctrl-1501
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 0
Jack: JackClient::AddClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_ecasound

Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: JackClient::kAddClient fName = BinauralRenderer name = ecasound
Jack: JackClient::ClientNotify ref = 4 name = ecasound notify = 1
Jack: JackClient::RemoveClient name = ecasound, ref = 4
Jack: JackPosixSemaphore::Disconnect name = jack_sem.1000_default_ecasound
Jack: JackClient::kRemoveClient fName = BinauralRenderer name = ecasound
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Error: _get_jack_sample_rate():  (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:310)
Warning: AudioPlayer: Initialization of soundfile '/home/bingan/Downloads/ssr-0.4.2/Mozart Excerpt 1.wav' failed! (/build/soundscaperenderer-6RTWzq/soundscaperenderer-0.4.2~dfsg/./src/audioplayer.cpp:87)
Jack: JackClient::PortRegister ref = 3 name = BinauralRenderer:in_2 type = 32 bit float mono audio port_index = 8
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::ClientNotify ref = 3 name = BinauralRenderer notify = 18
Jack: JackClient::TransportLocate pos = 2132028
Jack: RequestNewPos pos = 2132028
Jack: JackClient::TransportLocate pos = 1989920
Jack: RequestNewPos pos = 1989920
Jack: JackClient::TransportLocate pos = 1723416
Jack: RequestNewPos pos = 1723416
Jack: JackClient::TransportLocate pos = 1228481
Jack: RequestNewPos pos = 1228481
Jack: JackClient::TransportLocate pos = 771618
Jack: RequestNewPos pos = 771618
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
^A

Matthias Geier

unread,
Dec 21, 2017, 3:35:46 AM12/21/17
to Yang Bingan, Jens Ahrens, SoundScape Renderer
Hi Bingan.

You might be missing a package named "ecasound"?

I've just seen that the documentation of the dependencies in the PDF file of SSR version 0.4.2 isn't very good.
We have improved that in the meantime. Have a look at this page to double-check if you have all the necessary packages installed:


cheers,
Matthias

To unsubscribe from this group and stop receiving emails from it, send an email to SoundScapeRenderer+unsub...@googlegroups.com.

To post to this group, send email to SoundScapeRenderer@googlegroups.com.

Yang Bingan

unread,
Dec 21, 2017, 7:59:30 AM12/21/17
to Matthias Geier, Jens Ahrens, SoundScape Renderer
Dear Matthias,

Kindly refer to below installed packages versions:
make is already the newest version (4.1-9.1).
g++ is already the newest version (4:7.2.0-1d1).***note that this version doesn't meet the requirement 4.7.3 then use clang instead***
clang is already the newest version (1:4.0-40).
libboost-system-dev is already the newest version (1.62.0.1).
libboost-thread-dev is already the newest version (1.62.0.1).
libasio-dev is already the newest version (1:1.10.8-1).________
libqt4-dev is already the newest version (4:4.8.7+dfsg-11).
libecasoundc-dev is already the newest version (2.9.1-7+b2).
ecasound is already the newest version (2.9.1-7+b2).
libxml2-dev is already the newest version (2.9.4+dfsg1-5.2).
libfftw3-dev is already the newest version (3.3.7-1).
libsndfile1-dev is already the newest version (1.0.28-4).
libjack-jackd2-dev is already the newest version (1.9.10+20150825git1ed50c92~dfsg-5).
jackd2 is already the newest version (1.9.10+20150825git1ed50c92~dfsg-5).
pkg-config is already the newest version (0.29-4+b1).
automake is already the newest version (1:1.15.1-3).
libtool is already the newest version (2.4.6-2).

Run commands:
 ./configure CXX=clang++
./configure *** after completing the configuration enters a SSR page to continue with "make","make install"
make
make install
qjackctl *** run this step and error pops up at the first time running, subsequently no error window

Next step:
ssr snaredrum.wav, but some errors as text file attached showing that ecasound environment variable not set.

Installed pavucontrol and noticed that off JACK, the system has no sound when playback audio file by VLC players as screenshot shown.
Thank you very much for you patient help, I tried above steps but still cannot get sound yet.

Regards
Bingan






Inline image 1
...

[Message clipped]  

Terminal error when running ssr(21 Dec)

bing

unread,
Dec 22, 2017, 10:30:38 AM12/22/17
to Matthias Geier, Jens Ahrens, SoundScape Renderer
Dear Matthias and Jens,

Wish you a very happy Christmas Day and New Year.

Regards 
Bingan 

Sent from my iPhone

On 21 Dec 2017, at 16:35, Matthias Geier <matthia...@gmail.com> wrote:

Hi Bingan.

You might be missing a package named "ecasound"?

I've just seen that the documentation of the dependencies in the PDF file of SSR version 0.4.2 isn't very good.
We have improved that in the meantime. Have a look at this page to double-check if you have all the necessary packages installed:


cheers,
Matthias

On Wed, Dec 20, 2017 at 5:09 PM, Yang Bingan <bengo...@gmail.com> wrote:
Dear Jens,

Good news update.
Appreciated for your kind help, now the SSR interface is visible and the binauralrender in the audio is also appeared, but there is no sound output from loudspeakers. Kindly see below.
<Screenshot from 2017-12-20 23-56-15.png>

<Screenshot from 2017-12-18 23-39-32.png>

<Screenshot from 2017-12-17 20-12-31.png><Screenshot from 2017-12-17 20-12-16.png>

Jens Ahrens

unread,
Dec 22, 2017, 4:58:38 PM12/22/17
to bing, SoundScape Renderer
Hi Bingan,

Merry Christmas to you, too!

I'm not sure if I understand correctly: SSR runs and it opens the audio file. When you hit "play" it keeps running, but you can hear no output. Is that correct?

If yes, then we need to clarify the following:

- Does you system play output at all? If not, the problem might be somewhere else...
- Does any other JACK-based software play properly? Test it, for example, with ecasound using the following command:

ecasound -i YOUR_AUDIO_FILE.wav -o jack,system

(The assumes that your sound card ports in JACK are named "system:...")

If this runs but does not cause output, it might be worth double-checking the alsa mixer settings. Run "alsamixer" in the command line. You can use the arrow keys and navigate to the different slider and pull them up. Sometime they are all the way down by default.

Let us know what happens.

Greets,
Jens




...

[Nachricht gekürzt]  

Yang Bingan

unread,
Dec 23, 2017, 11:36:48 AM12/23/17
to Jens Ahrens, SoundScape Renderer
Dear Jens,

Thank you.
Yes, you are right. Run alsamixer command and adjust all the sound cards to appropriate level and keep checking before playing audio file.
Run ecasound command and play the audio three times, test ok. However when run SSR again, the audio is like playing bit by bit; then change the setting in QjackCtl Setup frames/period from 1024 to 4096, period/buffer to 3 then the audio playback become longer, for instance, 0.3s then pause for a second then 0.2s or 0.3s. Noticed that there are some audio samples are skipped in the Messages window.
Attempts:
1) uninstall Jackd2 and install Jackd1, restart OS then ./configure, make && make install(root) again, but the audio playback is playing bit by bit
2) play audio file by video/VLC directly, audio is ok;
3) tried the website solution but still cannot resolve this problem
Thank you very much for your advice and help

Regards
Bingan

Inline image 1
...

[Message clipped]  

Jens Ahrens

unread,
Dec 24, 2017, 6:07:23 AM12/24/17
to Yang Bingan, SoundScape Renderer
Dear Bingan,

Great, we're narrowing down the problem. It seems that your installation is ok.

JACK reports XRUNs, which means that it happens sometimes that SSR requires more time to process an audio frame than what is the duration of that audio frame. This causes the drop outs of the audio output. It can have many reasons. We have never seen SSR causing this directly.

Reasons that I can conceive are:

- Reading an audio file with too many channels. We've seen that many times, the speed of the hard drive is a bottleneck. SSR can easily handle dozens (or hundreds, depending on which renderer your using) of virtual sound sources. But reading more than 20 channels can be an issue especially with older hard drives. Check this.

- Streaming the audio file from a remote source (network drive etc.) can also cause this.

Try and simplify your setup as much as possible to narrow down the problem (short audio file with only few channels etc.). Run SSR and do some profiling to see what causes the long processing times (use, for example, the command "top"). Also check what the computational load is if you are playing your audio file directly to the sound card via JACK and ecasound (using the command from my previous message). SSR uses ecasound to play the files, too.

Best regards,
Jens





Yang Bingan

unread,
Dec 26, 2017, 11:47:02 AM12/26/17
to Jens Ahrens, SoundScape Renderer
Dear Jens,

Thanks for your advice.
-- use either 1-channel or 2-channel wave file, but the error still happen that XRUN callback (#, skipped)
Q: how to know jack is currently capturing how many channels? this might help to pinpoint the issue.
Note: previously loaded 720 channels audio file and display all the source locations at the SSR GUI, this might cause SSR collapse? I have ever loaded for some times and the problem is that audio level is not varying.

-- check alsamixer: all maximized level
   check ecasound -i audiofile.wav -o jack,system: music playback is intermittent bit by bit which might be because of the XRUN callback skipped(JACK setting frames 4096, period 3; if change to 1024/3, the music playback bit is become shorter than 4096);
   change the timeout setting to 5000 then playback can be much longer but it is not consistently long during every playback.
- try different wave file then notice the alsa mode is"writte", should this be correct?
bingan@debian:~/Downloads/ssr-0.4.2$ ecasound -i elgar.wav
**************************************************************************
*        ecasound v2.9.1 (C) 1997-2014 Kai Vehmanen and others   
**************************************************************************

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-chainsetup) "rt" buffering mode selected.
(eca-chainsetup) NOTE: using existing audio parameters -f:s16_le,2,48000 for object 'elgar.wav' (tried to open with -f:s16_le,2,44100).
(eca-chainsetup) Opened input "elgar.wav", mode "read". Format: s16_le, channels 2, srate 48000, interleaved (locked params).
(eca-chainsetup) Opened output "alsa", mode "write". Format: s16_le, channels 2, srate 48000, interleaved.
- [ Connected chainsetup: "untitled-chainsetup" ] ------------------------
- [ Controller/Starting batch processing ] -------------------------------
- [ Engine - Driver start ] ----------------------------------------------
(audioio-db-client) WARNING: Underrun in reading from "elgar.wav". Trying to recover.
(audioio-db-client) WARNING: Underrun in reading from "elgar.wav". Trying to recover.
...

-- ecasound seems like working in the way that read bits of music then write bits of music to ALSA to playback? this caused the noncontinuous playback(some frames skipped in XRUN)

-- use top to check the process as below: 1) running ecasound only(40% to 80% CPU); 2) running SSR (90% to 100% CPU)
Above are all I can find now, it is very time-consuming to get it work and I hope I can resolve these in the coming days otherwise I have to give up because I am too much behind my project schedule.
Thank you for your helps.

Inline image 2Inline image 1

...

[Message clipped]  

Jens Ahrens

unread,
Dec 26, 2017, 2:26:51 PM12/26/17
to Yang Bingan, SoundScape Renderer
Dear Bingan,

Your problem is definitely independent of SSR. If ecasound by itself causes 40-80 % CPU load, then something's very wrong. It could be related to your sound card driver or all sorts of other things. BTW, in the ecasound example you're providing, there are different sampling rates apparent. It could be that there is some online re-sampling going on, which can cause a bit of CPU load.

Other than that, there is nothing that I (or probably we) can do for you. A problem like yours cannot be solved remotely. It's too specific to your particular system. You might want to try it in the according forums (JACK or ecasound or linux audio or so). Maybe you can get help there.

Sorry for not being able to resolve your problem!
Jens



bing

unread,
Dec 26, 2017, 6:34:44 PM12/26/17
to Jens Ahrens, SoundScape Renderer
Dear Jens,

Thank you so much for your advice and I am very fortunate to have your supports, I will make all efforts to resolve this problem(maybe reinstall a different OS).

Regards 
Bingan 


On 27 Dec 2017, at 03:26, Jens Ahrens <ahr...@gmail.com> wrote:

Dear Bingan,


Inline image 2<Screenshot from 2017-12-26 23-43-57.png>

Yang Bingan

unread,
Dec 27, 2017, 8:25:14 AM12/27/17
to Jens Ahrens, SoundScape Renderer
Dear Jens,

Great news!
With the whole day working on this, I found the reasons why the audio skipped by below:
1) because Linux is running at VMware where VMware shared the hardware(like sound card) with Windows OS; when disconnected the sound card in VMware the audio signal plays back smoothly but simply no sound playback because of disconnected;
2) before the step 1, I have done all necessary re-installation of all packages but unfortunately it doesn't help; so decided to install Linux OS in USB Thumbdrive(16GB) and installed all necessary dependencies, then the problems in the above email only happen once that "Cannot connect to JACK server...", this can be simply resolved by changing the setting of JACK interface to (hw: 1,0), in the meantime, the CPU is still working smoothly at 10% usage.
3) Because of the sound quality of the system sound card, the music quality is lossy and makes the spatial effect less detailed; next step which I am trying to do is to install RME Fireface UC Linux driver/firmware, however I cannot find the driver in Linux(will continue to source out this).
Appreciated your supports and patient helps, sometimes I felt upset because of spent too much time in setting this up but still cannot manage to listen the spatial audio effects. Went through all the difficulties, your detailed explanations always keep us upheld and I cannot help to express my greatest honor to you whom are the great developer in SSR community.


Best regards
Bingan

Jens Ahrens

unread,
Dec 27, 2017, 8:50:02 AM12/27/17
to Yang Bingan, SoundScape Renderer
Hi Bingan,

I'm glad that things are resolving for you. Linux can be like that...

If I remember correctly, then RME drivers are actually provided by ALSA. Some 10 years ago, it was necessary to run hdspmixer or something similar once after booting so that the audio interface woke up. Maybe this has changed. There is also the RME forum: https://www.forum.rme-audio.de/index.php

I'm using Mac OS now. ;)

Good luck!
Jens



bing

unread,
Dec 27, 2017, 10:59:15 AM12/27/17
to Jens Ahrens, SoundScape Renderer
Hi Jens,

Thanks for providing further information and I will check whether the ALSA packages installed will work with the Fireface UC. If not were you telling about the history of the ALSA and RME, I will definitely not notice that transition. I might consider to purchase one MacBook as well. :)

Best regards 
Bingan 

Sent from my iPhone

On 27 Dec 2017, at 21:49, Jens Ahrens <ahr...@gmail.com> wrote:

Hi Bingan,

Jens





<Screenshot from 2017-12-26 23-40-51.png><Screenshot from 2017-12-26 23-43-57.png>

On Sun, Dec 24, 2017 at 7:07 PM, Jens Ahrens <ahr...@gmail.com> wrote:
Dear Bingan,

Great, we're narrowing down the problem. It seems that your installation is ok.

JACK reports XRUNs, which means that it happens sometimes that SSR requires more time to process an audio frame than what is the duration of that audio frame. This causes the drop outs of the audio output. It can have many reasons. We have never seen SSR causing this directly.

Reasons that I can conceive are:

- Reading an audio file with too many channels. We've seen that many times, the speed of the hard drive is a bottleneck. SSR can easily handle dozens (or hundreds, depending on which renderer your using) of virtual sound sources. But reading more than 20 channels can be an issue especially with older hard drives. Check this.

- Streaming the audio file from a remote source (network drive etc.) can also cause this.

Try and simplify your setup as much as possible to narrow down the problem (short audio file with only few channels etc.). Run SSR and do some profiling to see what causes the long processing times (use, for example, the command "top"). Also check what the computational load is if you are playing your audio file directly to the sound card via JACK and ecasound (using the command from my previous message). SSR uses ecasound to play the files, too.

Best regards,
Jens





2017-12-23 17:36 GMT+01:00 Yang Bingan <bengo...@gmail.com>:
Dear Jens,

Thank you.
Yes, you are right. Run alsamixer command and adjust all the sound cards to appropriate level and keep checking before playing audio file.
Run ecasound command and play the audio three times, test ok. However when run SSR again, the audio is like playing bit by bit; then change the setting in QjackCtl Setup frames/period from 1024 to 4096, period/buffer to 3 then the audio playback become longer, for instance, 0.3s then pause for a second then 0.2s or 0.3s. Noticed that there are some audio samples are skipped in the Messages window.
Attempts:
1) uninstall Jackd2 and install Jackd1, restart OS then ./configure, make && make install(root) again, but the audio playback is playing bit by bit
2) play audio file by video/VLC directly, audio is ok;
3) tried the website solution but still cannot resolve this problem
Thank you very much for your advice and help

Regards
Bingan

<Screenshot from 2017-12-24 00-29-06.png>
...

[Message clipped]  




Reply all
Reply to author
Forward
0 new messages