You are here

Add new comment

Hi,

Ok...if it is old - it needs to be updated! :)
I cloned the git of synthv1 and compiled it on the Raspi...
But it only plays "The sound of silence" (but perfectly, though... ;)

Jack is up and running (unfortunately on the Pi there is only qjackctl available).
I pressed STOP to get the message "stop jackd ?" (or similiar...this is no cite)
and pressed START again.

The alsa stuff itsself is ok. If I play "Wir sind die Roboter" (Kraftwerk) via mpv
(which directly speak to alsa) everything is fine.

The "Messages" section of QJackCtl displays this (only QJackctl started and
"START" pressed):
20:06:59.152 Statistics reset.
20:06:59.157 ALSA connection change.
20:06:59.224 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
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 -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
20:07:05.515 D-BUS: JACK server is starting...
Wed Jul 29 20:07:04 2020: Starting jack server...
Wed Jul 29 20:07:04 2020: JACK server starting in realtime mode with priority 10
Wed Jul 29 20:07:04 2020: self-connect-mode is "Don't restrict self connect requests"
20:07:05.533 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).
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 -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Wed Jul 29 20:07:05 2020: Acquired audio card Audio0
Wed Jul 29 20:07:05 2020: creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Wed Jul 29 20:07:05 2020: ERROR: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Wed Jul 29 20:07:05 2020: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Wed Jul 29 20:07:05 2020: ALSA: final selected sample format for playback: 16bit little-endian
Wed Jul 29 20:07:05 2020: ALSA: use 2 periods for playback
Wed Jul 29 20:07:05 2020: graph reorder: new port 'system:playback_1'
Wed Jul 29 20:07:05 2020: New client 'system' with PID 0
Wed Jul 29 20:07:05 2020: graph reorder: new port 'system:playback_2'
Wed Jul 29 20:07:06 2020: Saving settings to "/home/pi/.config/jack/conf.xml" ...
20:07:07.686 JACK connection change.
20:07:07.689 Server configuration saved to "/home/pi/.jackdrc".
20:07:07.691 Statistics reset.
20:07:07.717 Client activated.
20:07:07.718 Patchbay deactivated.
20:07:07.757 JACK connection graph change.
Wed Jul 29 20:07:07 2020: New client 'qjackctl' with PID 16478

Then I started synthv1 and connect it - again the messages:
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 -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
20:07:05.515 D-BUS: JACK server is starting...
Wed Jul 29 20:07:04 2020: Starting jack server...
Wed Jul 29 20:07:04 2020: JACK server starting in realtime mode with priority 10
Wed Jul 29 20:07:04 2020: self-connect-mode is "Don't restrict self connect requests"
20:07:05.533 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).
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 -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Wed Jul 29 20:07:05 2020: Acquired audio card Audio0
Wed Jul 29 20:07:05 2020: creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Wed Jul 29 20:07:05 2020: ERROR: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Wed Jul 29 20:07:05 2020: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Wed Jul 29 20:07:05 2020: ALSA: final selected sample format for playback: 16bit little-endian
Wed Jul 29 20:07:05 2020: ALSA: use 2 periods for playback
Wed Jul 29 20:07:05 2020: graph reorder: new port 'system:playback_1'
Wed Jul 29 20:07:05 2020: New client 'system' with PID 0
Wed Jul 29 20:07:05 2020: graph reorder: new port 'system:playback_2'
Wed Jul 29 20:07:06 2020: Saving settings to "/home/pi/.config/jack/conf.xml" ...
20:07:07.686 JACK connection change.
20:07:07.689 Server configuration saved to "/home/pi/.jackdrc".
20:07:07.691 Statistics reset.
20:07:07.717 Client activated.
20:07:07.718 Patchbay deactivated.
20:07:07.757 JACK connection graph change.
Wed Jul 29 20:07:07 2020: New client 'qjackctl' with PID 16478
20:09:29.913 JACK connection graph change.
20:09:29.950 ALSA connection graph change.
20:09:30.005 JACK connection change.
20:09:30.008 ALSA connection change.
20:09:30.010 JACK connection graph change.
Wed Jul 29 20:09:29 2020: New client 'synthv1' with PID 16502
20:09:40.567 JACK connection change.
20:09:40.588 JACK connection graph change.
Wed Jul 29 20:09:40 2020: Connecting 'synthv1:out_1' to 'system:playback_1'
Wed Jul 29 20:09:40 2020: Connecting 'synthv1:out_2' to 'system:playback_2'
20:09:49.487 ALSA connection change.
20:09:49.501 ALSA connection graph change.

This part is weird -- The Start/Stop buttons still signs "Jackd is running" and
the """LCD""" shows "Active"...:
20:07:05.533 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).
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

I changed from the headphone jack of the Raspi to a HiFi DAC.
The "Sound of silence" was played with an even better S/N ratio then...

Conclusion:
Jack is the Ripper
Alsa is fine

Don't mention pulseaudio or portaudio...otherwise I would probably
get a cardiac arrest.

Slightly confused and frustrated...
Cheers!
Meino