View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Sun Mar 25, 2018 2:59 pm Post subject: New build, RtAudioError termination |
|
|
Writing a new ebuild for media-sound/din. It exists in Portage, but it looks like the author has decided to release the latest source code as free software for GNU/Linux, so since there is a huge version gap, it made more sense to start a fresh ebuild. But I ran into some trouble post-install.
media-sound/din-30.ebuild:
Code: |
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Software musical instrument and audio synthesizer"
HOMEPAGE="https://dinisnoise.org"
SRC_URI=""https://archive.org/download/dinisnoise_source_code/${P}.tar.gz
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Not sure if libsdl or libsdl2 is needed here.
# README has a condition for "if you want ALSA instead of JACK,"
# but there's generally no reason not to have both.
RDEPEND="virtual/opengl
media-libs/libsdl2
virtual/jack
media-libs/alsa-lib"
DEPEND="${RDEPEND}
dev-lang/tcl
dev-libs/boost"
src_configure(){
# from README:
#autoreconf -fvi
#./configure CXXFLAGS="-O3 -D__UNIX_JACK__" CFLAGS=-O3
eautoreconf -fvi
econf CXXFLAGS="-O3 -D__UNIX_JACK__" CFLAGS=-O3
}
|
The rest is make and make install so that should be handled automatically.
Running din results in:
Code: |
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_RtApiJackCount
Jack: Clock source : unknown
Jack: JackLibClient::Open name = RtApiJackCount refnum = 3
Jack: jack_client_close
Jack: JackClient::Close ref = 3
Jack: JackClient::Deactivate
Jack: JackSocketClientChannel::Stop
Jack: JackPosixThread::Kill
Jack: JackClientSocket::Close
Jack: JackClientSocket::Close
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 2
Jack: Succeeded in unlocking 422 byte memory area
Jack: JackLibGlobals Destroy 11ebc40
Jack: ~JackLibGlobals
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1
Jack: Succeeded in unlocking 1187 byte memory area
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0
Jack: Succeeded in unlocking 82280346 byte memory area
Jack: jack_client_close res = 0
Jack: jack_client_open RtApiJackInfo
Jack: JackLibGlobals Init 0
Jack: JackLibGlobals
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackGenericClientChannel::ServerCheck = default
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackClientSocket::Close
Jack: JackLibClient::JackLibClient table = 11ebc60
Jack: JackLibClient::Open name = RtApiJackInfo
Jack: JackSocketClientChannel::Open name = RtApiJackInfo
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackServerSocket::Bind : addr.sun_path /dev/shm/jack_RtApiJackInfo_1000_0
Jack: JackSocketClientChannel::Start
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackSocketClientChannel::Init
Jack: JackServerSocket::Close /dev/shm/jack_RtApiJackInfo_1000_0
Jack: JackClient::ClientNotify ref = 0 name = system notify = 0
Jack: JackClient::AddClient name = system, ref = 0
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_system
Jack: JackClient::ClientNotify ref = 1 name = freewheel notify = 0
Jack: JackClient::AddClient name = freewheel, ref = 1
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_freewheel
Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 0
Jack: JackClient::AddClient name = dbusapi, ref = 2
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_dbusapi
Jack: JackShmReadWritePtr::Init 1 -1
Jack: Succeeded in locking 1187 byte memory area
Jack: JackShmReadWritePtr::Init 0 -1
Jack: Succeeded in locking 82280346 byte memory area
Jack: JackShmReadWritePtr1::Init 2 -1
Jack: Succeeded in locking 422 byte memory area
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackLinuxFutex::Connect name = jack_sem.1000_default_RtApiJackInfo
Jack: Clock source : unknown
Jack: JackLibClient::Open name = RtApiJackInfo refnum = 3
Jack: jack_client_close
Jack: JackClient::Close ref = 3
Jack: JackClient::Deactivate
Jack: JackSocketClientChannel::Stop
Jack: JackPosixThread::Kill
Jack: JackClientSocket::Close
Jack: JackClientSocket::Close
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 2
Jack: Succeeded in unlocking 422 byte memory area
Jack: JackLibGlobals Destroy 11ebc40
Jack: ~JackLibGlobals
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1
Jack: Succeeded in unlocking 1187 byte memory area
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0
Jack: Succeeded in unlocking 82280346 byte memory area
Jack: jack_client_close res = 0
terminate called after throwing an instance of 'RtAudioError'
what(): RtApi::openStream: a non-NULL output StreamParameters structure cannot have an nChannels value less than one.
Aborted
|
Any idea what's happening?
EDIT: I thought maybe media-libs/rtaudio was an RDEP, but this didn't help. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Mon Mar 26, 2018 4:37 am Post subject: |
|
|
I would look at this first. Closer to realtime you get, the more important high precision timing becomes.
Code: | Jack: Clock source : unknown |
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|