Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Arch This Forum is for the discussion of Arch Linux.


  Search this Thread
Old 08-20-2018, 06:06 PM   #1
LQ Newbie
Registered: Feb 2017
Posts: 5

Rep: Reputation: Disabled
jack2-dbus (dummy driver)/qjackctl/alsa_out issue


I'm working on Arch Linux arm64 with 3.14 kernel. Therefore it doesn't support mmap (used for jack to use alsa driver and zita-a2jbridge, available on 3.17 and newer) but alsa alone is working fine. So I can play music without any problems.

As I want to use jack for calf audio enhancements, i'm trying to make it work. Therefore I installed jack2-dbus,qjackctl and calf.
I added myself to audio group, changed limits (rtprio,memlock,nice), updated asound.conf.

I can start jack/jack2 or jack2-dbus (i tried all of them) without any problem using dummy driver and 2048 Frames/Period. Afterwards I can start alsa_out to bridge between jack and alsa. This is done like "alsa_out -dhw:1 -t1024 -n5" (-t stands for target_delay, n for num_period). This actually works too but stops working after 40seconds (From time to time it was working for up to 3 minutes). Then it sounds strangely, somehow broken, maybe clock is not in sync. When I start alsa_out, before jack2 is running one line of the log says: "clock source = system clock via clock_gettime". CPU usage is always below 10%, cpu gov is ondemand (i tried with performance without luck), the devices are brand-new and with alsa everything works.

Afterwards the only way to make it work again, is to cap all connections in jack. Restart jack and alsa_out (at the same time).

Does anyone of you know that problem? Any idea?

Some details:
Device: Hardkernel Odroid C2
Sound via I2S, PCM5102

type hw
card 1
period_size 1024
buffer_size 2048
rate 48000
type hw
card 1

EDIT: By the way, i tried to start alsa_out with many different parameters, as well as different asound.conf (using type plug , different buffer sizes etc).

Thanks a lot,

Last edited by alexruedi; 08-20-2018 at 06:08 PM.


alsa, audio, jack

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] using jack2-dbus, jack_control start gives error: DBus exception: org.jackaudio.Error Laertiades Linux - Newbie 7 05-10-2014 05:10 PM
writing a dummy driver yethish Programming 3 06-15-2011 04:25 PM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-08-2008 11:23 PM
newbie / dummy httpd.conf issue leicaphotos Linux - Newbie 6 10-03-2008 09:54 AM
how to make a dummy driver in kernel 2.6 siddhi817 Linux - Newbie 1 05-12-2008 12:39 AM > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration