LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


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

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


Hi,

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 https://www.hardkernel.com/main/prod...=G145457216438
Sound via I2S, PCM5102 https://www.hardkernel.com/main/prod...=G146355616215

/etc/asound.conf
pcm.!default
{
type hw
card 1
period_size 1024
buffer_size 2048
rate 48000
}
ctl.!default{
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,
Alex

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


Reply

Tags
alsa, audio, jack



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 09:42 AM.

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