A distribution overlay for Raspbian and similar systems to create a JACK-based embedded system for audio processing and streaming. Contract work for [mn] medianet. https://www.medianet-home.de
Other
11
stars
2
forks
source link
RPi 2B: mod-host fails due to aggressive optimization #51
mod-host dies immediately after forking. this is the problem:
CFLAGS="-march=armv8-a+crc -mfpu=neon-fp-armv8 -mtune=cortex-a53" make -j4 jjackack errors on startup
error manifests like this:
May 15 23:29:56 mn-rpi2b jackd[619]: JackEngine::XRun: client = mod-host was not finished, state = Running
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackEngine::XRun: client = mod-host was not finished, state = Triggered
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b jackd[619]: Cannot read socket fd = 16 err = Connection reset by peer
May 15 23:29:56 mn-rpi2b jackd[619]: Could not read notification result
May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 0 val2 = 0
May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe
May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error
May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification
May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 1 val2 = 0
May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe
May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error
May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification
May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 0 val2 = 0
May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe
May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error
May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification
May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 1 val2 = 0
May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
May 15 23:29:56 mn-rpi2b systemd[1]: mod-host.service: Main process exited, code=killed, status=4/ILL
May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe
May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error
May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification
May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 10 val1 = 5 val2 = 0
May 15 23:29:57 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe
May 15 23:29:57 mn-rpi2b jackd[619]: CheckRes error
May 15 23:29:57 mn-rpi2b jackd[619]: Could not write notification
May 15 23:29:57 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 10 val1 = 5 val2 = 0
mod-host dies immediately after forking. this is the problem: CFLAGS="-march=armv8-a+crc -mfpu=neon-fp-armv8 -mtune=cortex-a53" make -j4 jjackack errors on startup
error manifests like this:
May 15 23:29:56 mn-rpi2b jackd[619]: JackEngine::XRun: client = mod-host was not finished, state = Running May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackEngine::XRun: client = mod-host was not finished, state = Triggered May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b jackd[619]: Cannot read socket fd = 16 err = Connection reset by peer May 15 23:29:56 mn-rpi2b jackd[619]: Could not read notification result May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 0 val2 = 0 May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 1 val2 = 0 May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 0 val2 = 0 May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 18 val1 = 1 val2 = 0 May 15 23:29:56 mn-rpi2b jackd[619]: JackAudioDriver::ProcessGraphAsyncMaster: Process error May 15 23:29:56 mn-rpi2b systemd[1]: mod-host.service: Main process exited, code=killed, status=4/ILL May 15 23:29:56 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe May 15 23:29:56 mn-rpi2b jackd[619]: CheckRes error May 15 23:29:56 mn-rpi2b jackd[619]: Could not write notification May 15 23:29:56 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 10 val1 = 5 val2 = 0 May 15 23:29:57 mn-rpi2b jackd[619]: Cannot write socket fd = 16 err = Broken pipe May 15 23:29:57 mn-rpi2b jackd[619]: CheckRes error May 15 23:29:57 mn-rpi2b jackd[619]: Could not write notification May 15 23:29:57 mn-rpi2b jackd[619]: ClientNotify fails name = mod-host notification = 10 val1 = 5 val2 = 0