Page 1 of 1

(Solved) i could cry

Posted: Wed Sep 11, 2019 1:34 pm
by linux-lover
Fresh install xubuntu 18.04 dit the gcc5 and kx studio debs installed cadence,carla and musicscore.
start cadence see server status "stopped" so press start then failed to start jack check the logs ,yeah great where are the logs ?
Rotten google give all crap not what you ask,or info form years back but ok that's google .More surprised that it not works, the old kxstudio installed and just run. All this grumpy person can say FALK please come back soon.Make a iso that just run again .

Re: i could cry

Posted: Wed Sep 11, 2019 2:28 pm
by merlyn
In Cadence go to the 'Tools' tab and click on 'Logs' to see JACK and A2J logs.

Re: i could cry

Posted: Wed Sep 11, 2019 2:45 pm
by rghvdberg
don't forget to install kxstudio-default-settings

Re: i could cry

Posted: Wed Sep 11, 2019 3:28 pm
by linux-lover
@rghvdberg that was a good one dit that rebooted.
@ never see that :( and using kx for years.
Sadly i get
Wed Sep 11 17:18:15 2019: Controller activated. Version 1.9.12 (0+) built on Thu Mar 21 20:06:34 2019
Wed Sep 11 17:18:15 2019: Loading settings from "/home/jan/.config/jack/conf.xml" using expat_2.2.5 ...
Wed Sep 11 17:18:15 2019: setting parameter 'engine':'driver':'(null)' to value "alsa"
and more setting parameter
Wed Sep 11 17:18:20 2019: JACK server starting in realtime mode with priority 10
Wed Sep 11 17:18:20 2019: self-connect-mode is "Don't restrict self connect requests"
Wed Sep 11 17:18:20 2019: Acquired audio card Audio0
Wed Sep 11 17:18:20 2019: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Wed Sep 11 17:18:20 2019: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Wed Sep 11 17:18:20 2019: Released audio card Audio0
Wed Sep 11 17:18:20 2019: ERROR: Cannot initialize driver
Wed Sep 11 17:18:20 2019: ERROR: JackServer::Open failed with -1
Wed Sep 11 17:18:20 2019: ERROR: Failed to open server
Housten i have a problem.

Re: i could cry

Posted: Wed Sep 11, 2019 3:47 pm
by merlyn
We could do with a bit more info. Is it hw:0 you want to use?

Quite often it's pulseaudio so try

Code: Select all

sudo apt-get install  pulseaudio-module-jack
if you don't have that already.

Re: i could cry

Posted: Wed Sep 11, 2019 3:53 pm
by sysrqer
linux-lover wrote:@ never see that :( and using kx for years.

It was most likely installed on your system though. If you don't install it you will need to manually set up your system for realtime use.
It looks like you don't have the right card selected in cadence's settings.

Re: i could cry

Posted: Wed Sep 11, 2019 4:27 pm
by ufug
merlyn wrote:I didn't think he had Ubuntu Studio :
linux-lover wrote:Fresh install xubuntu 18.04


Deleted due to irrelevancy, thanks for clearing out my brain fog merlyn. :?

Re: i could cry

Posted: Wed Sep 11, 2019 4:50 pm
by merlyn
I didn't think he had Ubuntu Studio :
linux-lover wrote:Fresh install xubuntu 18.04

Re: i could cry

Posted: Wed Sep 11, 2019 6:38 pm
by Linuxmusician01
linux-lover wrote:[...]start cadence see server status "stopped" [...]

I think you want to start Jack. Maybe Jack started for the wrong audio device. We musicians/music producers usually have an external USB audio device. Maybe the following works.

1. Determine audio card "number" w/ the command:

Code: Select all

cat /proc/asound/cards

2. Start Jack, for example, for your second audio device (number 1). The first audio device (number 0) is usually the on-board audio card which you do not want to use.

Code: Select all

jackd -d alsa --device hw:1

Re: i could cry

Posted: Wed Sep 11, 2019 8:01 pm
by linux-lover
pulseaudio-module-jack was installed. so next
cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xc1310000 irq 52
1 [Loopback ]: Loopback - Loopback
Loopback 1
2 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc1314000 irq 49 so i assumed i need 2 as no hdmi connected dit
jackd -d alsa --device hw:2 resulted in
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2018 Filipe Coelho.
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"
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:2|hw:2|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
and stay so cntr c give
Jack main caught signal 2
Released audio card Audio2
audio_reservation_finish
Before the cntr c i try cadence that say stopped .So in a moment i remembered Linuxmusisian1 hint and go to cadence configure and changed to hw:0 to hw:2
And it started :) Happy me.

TY all for the hints and info.:):")

Re: (Solved) i could cry

Posted: Wed Sep 11, 2019 8:39 pm
by Michael Willis
Glad you got it working.

Tangential side note: Every time I see this thread pop up, I want it to be in the "Original Scores & Recordings" subforum so that I can listen to somebody's original piece of music called "i could cry".

Re: (Solved) i could cry

Posted: Thu Sep 12, 2019 7:10 am
by lilith
Michael Willis wrote:Glad you got it working.
Tangential side note: Every time I see this thread pop up, I want it to be in the "Original Scores & Recordings" subforum so that I can listen to somebody's original piece of music called "i could cry".


Me too ... :lol: