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."
> 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
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:
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
To view this discussion on the web visit https://groups.google.com/d/msgid/SoundScapeRenderer/CAFaW%2BH7im1VHNXUq84%2BnAW-gXxprp_EqhAitB3fv-PEwOrqicw%40mail.gmail.com.--
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.
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.
To unsubscribe from this group and stop receiving emails from it, send an email to SoundScapeRenderer+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/SoundScapeRenderer/CAFaW%2BH6V3pUC8qX%3D4O4c_5UcaSrAs3LNFew-1VEX29_LemjRmQ%40mail.gmail.com.
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
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
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)
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%2BH496rP6gXxPmBpHqr699R_vL0UKNrTagAMy9pahczU-_g%40mail.gmail.com.
...
[Message clipped]
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>
...
[Nachricht gekürzt]
...
[Message clipped]
...
[Message clipped]
Dear Bingan,
<Screenshot from 2017-12-26 23-43-57.png>
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 bit2) play audio file by video/VLC directly, audio is ok;3) tried the website solution but still cannot resolve this problemThank you very much for your advice and helpRegardsBingan
<Screenshot from 2017-12-24 00-29-06.png>
...
[Message clipped]