There was an error opening the audio hardware jack error creating client

(solved) There was an error opening the audio hardware REAPER for Linux

Old
05-21-2019, 02:07 AM

 
#1

Human being with feelings

 

Join Date: Feb 2017

Location: Brussels

Posts: 115

Default
(solved) There was an error opening the audio hardware


Until yesterday I worked with Linux Mint Cinnamon (18 ?)
With a Focusrite Solo, Reaper worked directly out of the box.

Since today, I switched to another OS (Linux Mint XFCE 19), and installed Reaper again.

However, Reaper doesn’t seem to recognize the hardware (see screenshot).

In the Volume Control, the Scralett Solo is already set by default and it’s working as I can play music via VLC Player or Youtube or whatever.

Already switched to other USB port, rebooted, re�nstalled Reaper,…

Any other things I could try?

(I want to work directly via ALSA, not Jack)

Thanks in advance!

__________________
Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^


Last edited by bulevardi; 05-22-2019 at 11:33 AM.

Reason: solved

bulevardi is offline

 

Reply With Quote

Old
05-21-2019, 12:44 PM

 
#2

Human being with feelings

 

Join Date: Feb 2017

Location: Brussels

Posts: 115

Default


Re�nstalled Cinnamon, this went quite quick, as my working files are on a separate disk.
Opened Reaper, error message, went to Reaper Preference menu, ALSA input/output field was blank too, clicked on it, did nothing…
but when fiddling in the blank field, I clicked on the dropdown arrow and the HW: usb audio Scarlett appeared !!

Did a recording, worked perfect.

I’m now wondering that I clicked on the arrow or not when I was testing in Xfce… Grrrr
The Volume Control of Cinnamon is slightly different as UI in comparison with the Pavucontrol in Xfce, but I’m really wondering if that really changed anything…

Should I re�nstall Xfce again to test it out… tempting… :s

__________________
Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

bulevardi is offline

 

Reply With Quote

Old
05-21-2019, 02:44 PM

 
#3

Human being with feelings

 

Glennbo's Avatar

 

Join Date: Mar 2008

Location: Planet Earth

Posts: 8,282

Default


I’ve used xfce since initially installing Xubuntu 18.04 and ALSA works fine on my DAW with one of my two M-Audio 2496 cards.

That said, I use JACK so I can make both cards available to REAPER using QjackCtl’s patch bay. Performance wise, they are pretty equal.

__________________
Glennbo
Hear My Music — Click Me!!!

Glennbo is offline

 

Reply With Quote

Old
05-22-2019, 11:32 AM

 
#4

Human being with feelings

 

Join Date: Feb 2017

Location: Brussels

Posts: 115

Default


Re�nstalled Xfce from scratch. Pavucontrol as volume mixer.

For some reason it is now directly working out of the box…
The input/output fields of the ALSA settings were already filled in with Scarlett in Reaper.
And no latency at all when recording. :shock:


Don’t know what went wrong in the first place. It’s all working, so far so good.

__________________
Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

bulevardi is offline

 

Reply With Quote

Moderators: MattKingUSA, khz

FrenchuTheAlmightu

Posts: 2
Joined: Mon Jul 10, 2017 4:31 pm

Focusrite scarlet solo into Reaper

I have been trying for weeks to get my scarlet solo to work with reaper. I’ve found the device in reaper but the drivers aren’t installed and wont install so i get this error code:

There was an error opening the audio hardware:

Error initializing ASIO driver

so i searched and have seen the word «jack» thrown around endlessly. where do i get it? I’ve looked on their website and nothing gives me a download or terminal code. somehow i managed to find a way to get it on my computer, then I open the files and there’s only README files, change logs, and news files. nothing I can actually run. I’ve had my scarlet solo for over 2 months and haven’t been able to use it once. I’m using ubuntu 16.04 LTS 64-bit. please provide links to any download suggestions.

User avatar

bluebell

Established Member
Posts: 1600
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 26 times
Been thanked: 25 times

Re: Focusrite scarlet solo into Reaper

Post

by bluebell » Tue Jul 11, 2017 11:47 am

The generic setup is installing jackd, a lowlatency audio server. Jackd can use audio interfaces that are supported by ALSA and other lowlevel drivers.

There is some good news: The Scarletts run out of the box with Linux, its builtin ALSA drivers and jackd.

I don’t know Reaper. ASIO ist no architecture found in the Linux world. It’s from the Windows world. There is software like WINE that enables Windows programs to be run on Linux, including ASIO. AFAIK there is a Reaper version for Windows and a native version for Linux. I hope some Reaper users can tell you more details.

You find more infos about setting up jackd on http://libremusicproduction.com/workflow

Jack Winter

Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: Focusrite scarlet solo into Reaper

Post

by Jack Winter » Tue Jul 11, 2017 12:35 pm

To run reaper in wine there is the wineasio driver, that turns an ASIO host into a JACK client.

But I’d suggest trying the the native version being developed at the moment, it’s more or less complete, just some smaller issues. Many windows vsts work well in LinVst and possibly other vst wrappers.

Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

FrenchuTheAlmightu

Posts: 2
Joined: Mon Jul 10, 2017 4:31 pm

Re: Focusrite scarlet solo into Reaper

Post

by FrenchuTheAlmightu » Tue Jul 11, 2017 4:20 pm

bluebell wrote:The generic setup is installing jackd, a lowlatency audio server. Jackd can use audio interfaces that are supported by ALSA and other lowlevel drivers.

There is some good news: The Scarletts run out of the box with Linux, its builtin ALSA drivers and jackd.

I don’t know Reaper. ASIO ist no architecture found in the Linux world. It’s from the Windows world. There is software like WINE that enables Windows programs to be run on Linux, including ASIO. AFAIK there is a Reaper version for Windows and a native version for Linux. I hope some Reaper users can tell you more details.

You find more infos about setting up jackd on http://libremusicproduction.com/workflow

the problem is that i cant find «jackd» the only thing i can find is jack audio connection kit which (the link you provided) shows as the window name of Qjackctl but theres nothing inside of it that i can run to get the program open. i have reaper working fine through wine, its connected to my scarlet solo, it just gives me that error every time i open it.

User avatar

bluebell

Established Member
Posts: 1600
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 26 times
Been thanked: 25 times

Re: Focusrite scarlet solo into Reaper

Post

by bluebell » Sun Aug 13, 2017 7:13 pm

FrenchuTheAlmightu wrote:
the problem is that i cant find «jackd» the only thing i can find is jack audio connection kit which (the link you provided) shows as the window name of Qjackctl but theres nothing inside of it that i can run to get the program open. i have reaper working fine through wine, its connected to my scarlet solo, it just gives me that error every time i open it.

jackd is the name of the program binary that works as the main sound server of the jack audio connection kit.
So when you use the jack audio connection kit then jackd is running on your machine.

User avatar

bulevardi

Established Member
Posts: 79
Joined: Tue Oct 07, 2014 8:46 pm
Has thanked: 6 times
Been thanked: 11 times
Contact:

Re: Focusrite scarlet solo into Reaper

Post

by bulevardi » Tue May 21, 2019 9:15 am

Have the same problem right now.
Don’t know why it happened.

Until yesterday I worked with Linux Mint Cinnamon (18 ?)
With a Focusrite Solo, Reaper worked directly out of the box.

Since today, I switched to another OS (Linux Mint XFCE 19), and installed Reaper again.

Now, Reaper doesn’t seem to recognize the hardware (see screenshot) anymore.

However, in the Volume Control, the Scralett Solo is already set by default and it’s working as I can play music via VLC Player or Youtube or whatever.

Already switched to other USB port, rebooted, reïnstalled Reaper,… nothing seemed to work.

Any other things I could try?

(I want to work directly via ALSA, not Jack)

Image

Thanks in advance!

Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

User avatar

bluebell

Established Member
Posts: 1600
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 26 times
Been thanked: 25 times

Re: Focusrite scarlet solo into Reaper

Post

by bluebell » Tue May 21, 2019 1:18 pm

bulevardi wrote:Have the same problem right now.
Don’t know why it happened.

Until yesterday I worked with Linux Mint Cinnamon (18 ?)
With a Focusrite Solo, Reaper worked directly out of the box.

Since today, I switched to another OS (Linux Mint XFCE 19), and installed Reaper again.

Why? If you don’t know why something works or why it doesn’t work then you shouldn’t wildly install one distribution after another.

If it’s only the desktop environment that you want to replace then most distributions allow to install alternate desktop environments like xfce4.

The screenshot seems to show Pulseaudio’s pavuctrl. That means that Pulseaudio already «owns» the soundcard and no other program can own it. It’s common that Pulseaudio redirects other programs that output to ALSA (default device) to itself so ALSA programs can output via Pulseaudio.

I recommend setting up jack, configuring Pulseaudio to output via jack (with jack-sink) and having all audio programs output to jack if they can. Then you can connect everything with everything.

EDIT:
I saw that Reaper offers to suspend Pulseaudio. So you should select input and ouput device. Note that this is a bad solution since you won’t be able to use Pulseaudio clients at the same time with Reaper.

Last edited by bluebell on Tue May 21, 2019 1:51 pm, edited 2 times in total.

merlyn

Established Member
Posts: 1147
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 125 times
Been thanked: 167 times

Re: Focusrite scarlet solo into Reaper

Post

by merlyn » Tue May 21, 2019 1:26 pm

@bulevardi The ‘input device’ and ‘output device’ drop downs are blank. Is that it?

The ultimate hidden truth of the world is that we make it, and could just as easily make it differently.

User avatar

bulevardi

Established Member
Posts: 79
Joined: Tue Oct 07, 2014 8:46 pm
Has thanked: 6 times
Been thanked: 11 times
Contact:

Re: Focusrite scarlet solo into Reaper

Post

by bulevardi » Tue May 21, 2019 5:04 pm

bluebell wrote:I recommend setting up jack, configuring Pulseaudio to output via jack (with jack-sink) and having all audio programs output to jack if they can. Then you can connect everything with everything.

Thanks for the idea of using Jack, but since I started with Linux in 2014, I did a long time configuring jack and troubleshoot it’s settings without succes. I don’t want that nightmare anylonger. I know you can do everything with jack, when it works.

But my experience with ALSA is that it worked directly, out of the box, without the need to setup or connect anything or manually run a server on the background. That’s the reason why I asked for ALSA and no jack ;) With all respect for jack lovers.

merlyn wrote:@bulevardi The ‘input device’ and ‘output device’ drop downs are blank. Is that it?

That’s right indeed.

Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

User avatar

bluebell

Established Member
Posts: 1600
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 26 times
Been thanked: 25 times

Re: Focusrite scarlet solo into Reaper

Post

by bluebell » Tue May 21, 2019 5:10 pm

bulevardi wrote:
But my experience with ALSA is that it worked directly, out of the box, without the need to setup or connect anything or manually run a server on the background. That’s the reason why I asked for ALSA and no jack ;) With all respect for jack lovers.

Mastering ALSA isn’t that easy when it comes to several programs running concurrently.
Understanding ~./asoundrc can be demanding

User avatar

bulevardi

Established Member
Posts: 79
Joined: Tue Oct 07, 2014 8:46 pm
Has thanked: 6 times
Been thanked: 11 times
Contact:

Re: Focusrite scarlet solo into Reaper

Post

by bulevardi » Tue May 21, 2019 5:24 pm

bluebell wrote:
Why? If you don’t know why something works or why it doesn’t work then you shouldn’t wildly install one distribution after another.

If it’s only the desktop environment that you want to replace then most distributions allow to install alternate desktop environments like xfce4.

Why, well I tested Xfce on another pc elsewhere, I installed an SSD to experience the fast boot time and it it was very nice to work with. (however, didn’t test sound recording on that one)

I wanted to do this on my audio recording pc aswel, as the boot time was quite slow, I installed an SSD for the OS (aside the hdd for the files), and decided to install a more lightweight version instead of Cinnamon. So that’s why I chose for Xfce.

If necessary, I can always go back installing Cinnamon again… if the desktop environment is really causing the problem…

bluebell wrote:
EDIT:
I saw that Reaper offers to suspend Pulseaudio. So you should select input and ouput device. Note that this is a bad solution since you won’t be able to use Pulseaudio clients at the same time with Reaper.

Just tested with Pulseaudio: no error, the sound comes through, however with a long delay of more than 2 seconds. I really need a lower latency :)

Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

User avatar

bulevardi

Established Member
Posts: 79
Joined: Tue Oct 07, 2014 8:46 pm
Has thanked: 6 times
Been thanked: 11 times
Contact:

Re: Focusrite scarlet solo into Reaper

Post

by bulevardi » Tue May 21, 2019 7:41 pm

bulevardi wrote:

bluebell wrote:
If necessary, I can always go back installing Cinnamon again… if the desktop environment is really causing the problem…

Reïnstalled Cinnamon, this went quite quick, as my working files are on a separate disk.
Opened Reaper, error message, went to Reaper Preference menu, ALSA input/output field was blank too, clicked on it, did nothing…
but when fiddling in the blank field, I clicked on the dropdown arrow and the HW: usb audio Scarlett appeared !!

Did a recording, worked perfect.

I’m now wondering that I clicked on the arrow or not when I was testing in Xfce… Grrrr
The Volume Control of Cinnamon is slightly different as UI, but I’m really wondering if that really changed anything…

Should I reïnstall Xfce again… tempting… :s

Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

merlyn

Established Member
Posts: 1147
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 125 times
Been thanked: 167 times

Re: Focusrite scarlet solo into Reaper

Post

by merlyn » Wed May 22, 2019 11:35 am

bulevardi wrote:Reïnstalled Cinnamon, this went quite quick, as my working files are on a separate disk.

That sounds as if you re-installed the whole OS to change to Cinnamon. You don’t have to do that!

Just as you can have multiple browsers or DAWs installed, you can have multiple DEs, and choose the one you want at login.

The ultimate hidden truth of the world is that we make it, and could just as easily make it differently.

User avatar

bulevardi

Established Member
Posts: 79
Joined: Tue Oct 07, 2014 8:46 pm
Has thanked: 6 times
Been thanked: 11 times
Contact:

Re: Focusrite scarlet solo into Reaper

Post

by bulevardi » Wed May 22, 2019 1:48 pm

merlyn wrote:That sounds as if you re-installed the whole OS to change to Cinnamon. You don’t have to do that!

That’s exactly what I did :mrgreen:

merlyn wrote:
Just as you can have multiple browsers or DAWs installed, you can have multiple DEs, and choose the one you want at login.

Yes, I tried that first. Perhaps I followed wrong instructions… but the environment didn’t look like the Cinnamon I was used to work with, and I couldn’t choose the environment at login. Perhaps something went wrong or I didn’t install the other environment the right way.
But in my head, it doesn’t seem a good idea to mess up a system by installing multiple environments. I just need one stable one, and from scratch if possible. So yes, I reïnstalled the OS, took me 15 minutes or so on an SSD.

Instagram, BandCamp, SoundCloud, Spotify, iTunes,….
Get In Touch^^

merlyn

Established Member
Posts: 1147
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 125 times
Been thanked: 167 times

Re: Focusrite scarlet solo into Reaper

Post

by merlyn » Wed May 22, 2019 2:49 pm

bulevardi wrote:But in my head, it doesn’t seem a good idea to mess up a system by installing multiple environments

For the benefit of anyone reading this thread in my experience multiple DEs don’t mess up the system.

Re-installing the OS is the sort of thing you have to do with Windows. :)

The ultimate hidden truth of the world is that we make it, and could just as easily make it differently.

  • Печать

Страницы: 1 2 [3]  Все   Вниз

Тема: Не запускается Jack Audio Connection Kit  (Прочитано 17925 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
skywriter

У меня 10.04. Запускал так:
— установил пакет linux-rt, т.к. нужен сэмплер без задержек;
— перезагрузился с rt-ядром;
— по совету добавил себя в группу audio и вписал 2 строки в файл /etc/security/limits.conf;

@audio — rtprio 100
@audio — memlock unlimited

— в qjackctl включил режим реального времени, выставил количество выборок в буфере 512;
— на панели «Connect — ALSA» соединил MIDI-клавиатуру с предварительно запущенным FluidSynth.
Задержка на слух не заметна.

Звонкие согласные в приставках — не опечатки. См. ВП СССР: «Язык наш как объективная данность и культура речи».


Оффлайн
prostoe1

У меня на xubuntu 11.04 тоже не запускается Jack
В окне сообщений выдает:

12:16:34.760 JACK был запущен с PID=7744.
12:16:41.765 Не удалось соединиться с сервером JACK. — Выполнение операции в целом неудачно. — Ошибка коммуникации с сервером. Просмотрите вывод в окне сообщений.
12:16:41.838 JACK останавливается …

Что за ерунда — не понимаю.
Уже все пляски с бубном (какие только нашел) — выполнил.
(пользователь в группе audio, конфиги подправил…)
Ни в какую работать не хочет.
Подскажите, в чем проблема?

« Последнее редактирование: 07 Сентября 2011, 13:04:26 от prostoe1 »


Оффлайн
prostoe1

Ладно. Фиг с ним. Поставил Ubuntu Studio, внес пользователя в группу audio и всё сразу же завелось.


Оффлайн
prostoe1

Для тех у кого такие зюки:

Cannot connect to server socket err = Нет такого файла или каталога
Cannot connect to server socket

переключаем интерфейс на английский язык и видим следующее:
«Cannot connect to server socket err = No such file or directory
Cannot connect to server socket»

Может это кому-нибудь поможет разобраться.


Оффлайн
Kristen

загрузила jack. при запуске через терминал выдает

в списке установленных программ его нет. в синоптике он указан как установленный


Оффлайн
prokoudine

загрузила jack. при запуске через терминал выдает

Это не тот JACK. Вы неправильный пакет установили.


Оффлайн
antas


Оффлайн
DrHlus

Извините за некропостинг, но надеюсь Вы мне поможете.
У меня Xubuntu последняя, при запуске JACK (при любых настройках) пишет такую фигню

Подкорректировал /etc/security/limits.conf, запускал даже под рутом. ошибка всегда одна и таже. Притом звук через alsa нормальный. Подскажите что-то, или стоит прощаться с Xubuntu?


Оффлайн
DrHlus

Пробовал Ubuntu Studio. Проблема та же. походу, прощаюсь с убунтой:(


Пользователь решил продолжить мысль 18 Января 2013, 08:34:07:


Поставил Ubuntu Studio, внес пользователя в группу audio и всё сразу же завелось.

А вот это сейчас попробую

Заработало. Стандартный аудио интерфейс был почему-то HDMI, а не звуковуха:(

« Последнее редактирование: 18 Января 2013, 19:15:45 от DrHlus »


Оффлайн
nikolosk

Не запускается Jack на Ubuntu 14.04 после отключения в биосе встроенной звуковой карты. Через USB прицеплена звуковуха E-MU 0202, звук через нее работает и сейчас и раньше работал. Поставил эмулятор гитарного уселителя Rakarraсk, который запускается на jack сервере. Звук гитары я в колонках слышал, но Rakarrack его никак не изменял. Тогда я выключил в биосе встроенную звуковую карту, после чего не запускается Jack и Rakarrack тоже (видимо из за отсутствия Jack).


  • Печать

Страницы: 1 2 [3]  Все   Вверх

Trying to get the PYO music module to work on my Chromebook (Chroot Dev) (ARM7 processor) (Precise Penguin/ubuntu 12.04)

pyo:

>>>import pyo
pyo version 0.7.7 (uses single precision)
>>>pyo.Server(audio='jack').boot()

Due to the ARM processor and Precise some small modifications to the dependencies were necessary:

1] ARM changes to /proc/cpuinfo in relation to Jackd2, error:

FATAL: cannot locate cpu MHz in /proc/cpuinfo

solution? The error changed after, but not knowledgeable enough to know if for the better.

2] xwPython3.0 not available for Precise:

solution, shouldn’t be a problem as this is UI dependency correct?


And to this is where the error is now:

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-2015 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
/usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_driver_params_parse
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
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
Jack error: Unable to create JACK client
jack_client_close called with a NULL client

Server not booted.
<pyolib.server.Server object at 0x1671150>

None of the solutions to any of the error messages i managed to find on google changed this error message. (google googled other, but you don’t care about my messy internet history)


pulseaudio:


>pulseaudio --start

E: [pulseaudio] main.c: Daemon startup failed.

Could this be the main problem as Precise and the ChromeOS are running sidebyside and this causes a lock on the Deamon?


>pulseaudio --kill

E: [pulseaudio] main.c: Failed to kill daemon: No such process

>sudo pulseaudio --kill

E: [pulseaudio] core-util.c: Home directory /home/USERNAME not ours. 
E: [pulseaudio] main.c: Failed to kill daemon: Permission denied

sudo permission denied??? PulseAudio running in ChromeOS???


jackd:


>jack_control start

Traceback (most recent call last):
  File "/usr/local/bin/jack_control", line 399, in <module>
    main()
  File "/usr/local/bin/jack_control", line 158, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__ 
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

This just doesn’t work cause i «don’t have a display» for Jackd to open up in right?

Понравилась статья? Поделить с друзьями:
  • There was an error loading the preference bundle
  • There was an error launching the application
  • There was an error in the questions that were submitted
  • There was an error in the forked process
  • There was an error generating the xml document error code 0x84b10001