[yoshimi] Re: Ubuntu 20.04 Qjackctl

  • From: Matthew McGuire <gray@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 10 May 2020 10:00:34 -0400

Hi Redu,

You are correct about the purpose of qjackctl. It only helps you manage jack configuration and patch bay state.

The line...

>>> |jackd -d alsa -d hw:0|

Tells me you are trying to start jack using ALSA for the back end on device hw:0. This likely does not work because hw:0 is the wrong device ID on that machine or it is busy. If you have sound for MP3s then Jack should be usable. It simply isn't able to talk to the device for some reason.

All that said, don't start Jack using the terminal. You are far better off using a tool to manage it. Since you are using Ubuntu Focal, you NEED to use Ubuntu Studio Controls for this to work reliably. Go to the following link and read through it for instructions. (Ubuntu Studio is an official part of Ubuntu proper.)

https://help.ubuntu.com/community/UbuntuStudio/UbuntuStudioControls

This covers everything you need to get Jack running correctly. Pay close attention to the Audio setup section. This is where you configure the audio devices. That tool will show you what the system sees as legitimate devices you can use. One of them is the device you want. Try each until you find the one that works.

Try that and let me know how it goes. Feel free to email me directly. I have plenty of time to help today.

I have tested these tools on an old Dell Inspiron with an external USB audio interface without problem. Once properly configured Jack and Pulse worked fine and I could use both the onboard and USB audio devices at the same time. This gave me three working audio devices on the same system using Jack and Pulse without issue. So I'm positive we can get that working easily. Then we can move to the HP and see how it goes.

Hope that helps,

Matthew


On 5/10/2020 7:46 AM, redu wrote:


On 10.5.2020 11.16, Will Godfrey wrote:
On Sun, 10 May 2020 07:34:58 +0300
redu <reino.urala@xxxxxxxxx> wrote:

Thank yoy all for educating me!

Qjackctl is just a GUI. Not needed necerrary. However, Qjackctl takes
care of Jack connections and offers a way to write a patchbey script to
make connections permanent.

But I was totally wrong: Qjackctl works well in my system, but what
fails is Jack. Starting Jack in terminal:

|jackd -d alsa -d hw:0|
does not start jack either.
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server


I am totally confused.

Jack woul’nt start:

Ubuntu 20.04, HP Envy x360 laptop, IntelCorp Cannon point-LP audio


Jack starts normally:

Ubuntu 18.04. HP Envy x360 laptop, IntelCorp Sunrise point-LP audio

Ubuntu 20.04, Dell 17.3" Inspiron 17-3721


Installed latest Kernel 5.6.11 to problem HP. No luck. Jack still not
starts.

Cannot use Yoshimi in this Cannon point-LP audio HP laptop, as Jack
refuses to co-operate.

Does audio work on the Cannon for playing (say) and MP3?
If not, it may be a lack of drivers - the company is not very co-operative with
Linux.

Alternatively this may be caused by a contention between jack and pulse audio.
There is the ability to get pulse to move out of the way, but I don't know the
details because I always have pulse permanently disabled.

If Yoshimi is going to be the only sound source for a composition, you might
also get round this by setting Yoshimi to use ALSA audio directly.


Thans Will!

Yes, audio works well, if playing MP3 and MP4!

How to disable pulse permanently?

How to play Yoshimi less Jack, using an external USB keyboard? Stupid question? I never learned.

Yoshimi source code is available from either: https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: