Ok I think RPI 3B as i have, not 3B+, you not getting it 100% with USB out.
But!
Separate the power opened the Khadas DAC up!
I changed wifi spot to an better with 72Mbit/s and now its working without cracks.
Strange that its so picky, 28Mbit/s just cracking every 5 second.
Have Raspberry Zero enough cpu power to run Brutefir?
I didnāt test this configuration. But Iām afraid you are going to experience glitches, and more problems with usb Dac. But once again, I didnāt tested it.
After reboot output format jumps to SPECIAL which dont work for me so have to change it to HW-Detected-S32LE.
Latest update 2.659
@Solveit : does it occurs each reboot? Or after enabling the plugin? What is your DAC? Are HW-Detected value OK ?
TY
It happens every reboot but Hw works for me.
Khadas Tone DAC.
what are hw-detected values? Is your setting overwritten each boot?
Btw, I made some changes with last version, it may improve glitches with usb dac and RPI3
Dont know what or where too find hw-detected values?
Maybe a little improvement of the glitches.
volumio volumio[4440]: BruteFIR v1.0m (November 2013) (c) Anders Torger
Oct 29 18:28:41 volumio volumio[4440]: Internal resolution is 64 bit floating point.
Oct 29 18:28:41 volumio volumio[4440]: Creating 4 FFTW plans of size 16384...finished.
Oct 29 18:28:41 volumio volumio[4440]: Loading 16 coefficient sets...finished.
Oct 29 18:28:41 volumio volumio[4440]: Realtime priorities are min = 2, usermax = 1, mid = 3 and max = 4.
Oct 29 18:28:41 volumio volumio[4440]: Warning: no support for clock cycle counter on this platform.
Oct 29 18:28:41 volumio volumio[4440]: Timers for benchmarking may be unreliable.
Oct 29 18:28:41 volumio volumio[4440]: Filters in process 0: 0 2
Oct 29 18:28:41 volumio volumio[4440]: Filters in process 1: 1 3
Oct 29 18:28:41 volumio volumio[4440]: ALSA I/O: Could not set audio input parameters for "hw:Loopback,1":
Oct 29 18:28:41 volumio volumio[4440]: Failed to set sample format to S32_LE: Invalid argument.
Oct 29 18:28:41 volumio volumio[4440]: Failed to init input device.
Oct 29 18:28:41 volumio volumio[4440]: Failed to initialise digital audio interfaces.
Oct 29 18:28:41 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=1/FAILURE
Oct 29 18:28:41 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:28:42 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 29 18:28:42 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:28:42 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:28:42 volumio systemd[1]: brutefir.service start request repeated too quickly, refusing to start.
Oct 29 18:28:42 volumio systemd[1]: Failed to start brutefir Daemon.
Oct 29 18:28:42 volumio systemd[1]: Unit brutefir.service entered failed state.
You are having glitches because of the shared architecture between networking and USB port on 3B and 3B+. You can either upgrade to RPI 4 or use I2S DAC instead of USB DAC.
Yes I have understood that it dont work good with my RPI 3B.
My plan was to have another RPI Zero with an I2S Dac if it works with Brutefir.
@balbuze another log.
Error if push āApplyā
But works after changing to HW-Detected-S32_LE.
volumio[1274]: info: CALLMETHOD: audio_interface brutefir saveBrutefirconfigAccount2 [object Object]
Oct 29 18:47:45 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: brutefir , saveBrutefirconfigAccount2
Oct 29 18:47:45 volumio volumio[1274]: info: no delay needed
Oct 29 18:47:45 volumio volumio[1274]: SPECIAL
Oct 29 18:47:45 volumio sudo[2381]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart brutefir.service
Oct 29 18:47:45 volumio sudo[2381]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 18:47:45 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:47:45 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:47:45 volumio systemd[1]: Started brutefir Daemon.
Oct 29 18:47:45 volumio sudo[2381]: pam_unix(sudo:session): session closed for user root
Oct 29 18:47:45 volumio volumio[2386]: BruteFIR v1.0m (November 2013) (c) Anders Torger
Oct 29 18:47:46 volumio volumio[2386]: Parse error on line 221 in file "/data/configuration/audio_interface/brutefir/volumio-brutefir-config":
Oct 29 18:47:46 volumio volumio[2386]: Unknown sample format.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 29 18:47:46 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 29 18:47:46 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Started brutefir Daemon.
Oct 29 18:47:46 volumio volumio[2392]: BruteFIR v1.0m (November 2013) (c) Anders Torger
Oct 29 18:47:46 volumio volumio[2392]: Parse error on line 221 in file "/data/configuration/audio_interface/brutefir/volumio-brutefir-config":
Oct 29 18:47:46 volumio volumio[2392]: Unknown sample format.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 29 18:47:46 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 29 18:47:46 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Started brutefir Daemon.
Oct 29 18:47:46 volumio volumio[2397]: BruteFIR v1.0m (November 2013) (c) Anders Torger
Oct 29 18:47:46 volumio volumio[2397]: Parse error on line 221 in file "/data/configuration/audio_interface/brutefir/volumio-brutefir-config":
Oct 29 18:47:46 volumio volumio[2397]: Unknown sample format.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 29 18:47:46 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 29 18:47:46 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Started brutefir Daemon.
Oct 29 18:47:46 volumio volumio[2400]: BruteFIR v1.0m (November 2013) (c) Anders Torger
Oct 29 18:47:46 volumio volumio[2400]: Parse error on line 221 in file "/data/configuration/audio_interface/brutefir/volumio-brutefir-config":
Oct 29 18:47:46 volumio volumio[2400]: Unknown sample format.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 29 18:47:46 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 29 18:47:46 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:47:46 volumio systemd[1]: Started brutefir Daemon.
Oct 29 18:47:46 volumio volumio[2403]: BruteFIR v1.0m (November 2013) (c) Anders Torger
Oct 29 18:47:46 volumio volumio[2403]: Parse error on line 221 in file "/data/configuration/audio_interface/brutefir/volumio-brutefir-config":
Oct 29 18:47:46 volumio volumio[2403]: Unknown sample format.
Oct 29 18:47:46 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 29 18:47:46 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:47:47 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 29 18:47:47 volumio systemd[1]: Stopping brutefir Daemon...
Oct 29 18:47:47 volumio systemd[1]: Starting brutefir Daemon...
Oct 29 18:47:47 volumio systemd[1]: brutefir.service start request repeated too quickly, refusing to start.
Oct 29 18:47:47 volumio systemd[1]: Failed to start brutefir Daemon.
Oct 29 18:47:47 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 29 18:47:49 volumio volumio[1274]: info: VolumeController::SetAlsaVolumemute
Oct 29 18:47:49 volumio volumio[1274]: info: CoreStateMachine::pushState
Oct 29 18:47:49 volumio volumio[1274]: info: CoreStateMachine::getState
Oct 29 18:47:49 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:47:49 volumio volumio[1274]: info: CoreCommandRouter::volumioPushState
Oct 29 18:47:49 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Oct 29 18:47:49 volumio sudo[2415]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Oct 29 18:47:49 volumio sudo[2415]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 18:47:49 volumio volumio[1274]: info: VolumeController::SetAlsaVolumeunmute
Oct 29 18:47:49 volumio sudo[2415]: pam_unix(sudo:session): session closed for user root
Oct 29 18:47:49 volumio volumio[1274]: info: CoreStateMachine::pushState
Oct 29 18:47:49 volumio volumio[1274]: info: CoreStateMachine::getState
Oct 29 18:47:49 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:47:49 volumio volumio[1274]: info: CoreCommandRouter::volumioPushState
Oct 29 18:47:49 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Oct 29 18:47:49 volumio sudo[2425]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Oct 29 18:47:49 volumio sudo[2425]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 18:47:49 volumio sudo[2425]: pam_unix(sudo:session): session closed for user root
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::volumioPlay
Oct 29 18:48:06 volumio volumio[1274]: UNSET VOLATILE
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::play index undefined
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::setConsumeUpdateService undefined
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::startPlaybackTimer
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886280] ControllerSpop::resume
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886280] ControllerSpop::sendSpopCommand
Oct 29 18:48:06 volumio volumio[1274]: info: ADDING DEFER FOR COMMAND toggle
Oct 29 18:48:06 volumio volumio[1274]: info: STATUS
Oct 29 18:48:06 volumio volumio[1274]: info: {
Oct 29 18:48:06 volumio volumio[1274]: "status" : "playing",
Oct 29 18:48:06 volumio volumio[1274]: "repeat" : false,
Oct 29 18:48:06 volumio volumio[1274]: "shuffle" : false,
Oct 29 18:48:06 volumio volumio[1274]: "total_tracks" : 1,
Oct 29 18:48:06 volumio volumio[1274]: "current_track" : 1,
Oct 29 18:48:06 volumio volumio[1274]: "artist" : "Gary B",
Oct 29 18:48:06 volumio volumio[1274]: "title" : "Good Karma",
Oct 29 18:48:06 volumio volumio[1274]: "album" : "Breaking Free",
Oct 29 18:48:06 volumio volumio[1274]: "duration" : 250000,
Oct 29 18:48:06 volumio volumio[1274]: "position" : 18.992999999999999,
Oct 29 18:48:06 volumio volumio[1274]: "uri" : "spotify:track:7oSoiRPlfEnD5WpkloJFdU",
Oct 29 18:48:06 volumio volumio[1274]: "popularity" : 18
Oct 29 18:48:06 volumio volumio[1274]: }
Oct 29 18:48:06 volumio volumio[1274]: info:
Oct 29 18:48:06 volumio volumio[1274]: [1572374886289] ---------------------------- Spop announces state update
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886290] ControllerSpop::parseState
Oct 29 18:48:06 volumio volumio[1274]: { status: 'playing',
Oct 29 18:48:06 volumio volumio[1274]: repeat: false,
Oct 29 18:48:06 volumio volumio[1274]: shuffle: false,
Oct 29 18:48:06 volumio volumio[1274]: total_tracks: 1,
Oct 29 18:48:06 volumio volumio[1274]: current_track: 1,
Oct 29 18:48:06 volumio volumio[1274]: artist: 'Gary B',
Oct 29 18:48:06 volumio volumio[1274]: title: 'Good Karma',
Oct 29 18:48:06 volumio volumio[1274]: album: 'Breaking Free',
Oct 29 18:48:06 volumio volumio[1274]: duration: 250000,
Oct 29 18:48:06 volumio volumio[1274]: position: 18.993,
Oct 29 18:48:06 volumio volumio[1274]: uri: 'spotify:track:7oSoiRPlfEnD5WpkloJFdU',
Oct 29 18:48:06 volumio volumio[1274]: popularity: 18 }
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886308] ControllerSpop::pushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::servicePushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::syncState
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: STATE SERVICE {"status":"play","position":0,"seek":18993,"duration":250,"samplerate":"320Kbps","bitdepth":null,"channels":null,"artist":"Gary B","title":"Good Karma","album":"Breaking Free"}
Oct 29 18:48:06 volumio volumio[1274]: info: CURRENT POSITION 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::syncState stateService play
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::syncState currentStatus pause
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::pushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::getState
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::volumioPushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::pushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::getState
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::volumioPushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Oct 29 18:48:06 volumio sudo[2467]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Oct 29 18:48:06 volumio sudo[2467]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886362] ------------------------------ 73ms
Oct 29 18:48:06 volumio volumio[1274]: info: FIRST BRANCH
Oct 29 18:48:06 volumio volumio[1274]: info: BEFORE: SPOP HAS 1 PROMISE IN STACK
Oct 29 18:48:06 volumio volumio[1274]: info: AFTER: SPOP HAS 0 PROMISE IN STACK
Oct 29 18:48:06 volumio sudo[2472]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Oct 29 18:48:06 volumio sudo[2467]: pam_unix(sudo:session): session closed for user root
Oct 29 18:48:06 volumio sudo[2472]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 18:48:06 volumio volumio[1274]: info: STATUS
Oct 29 18:48:06 volumio volumio[1274]: info: {
Oct 29 18:48:06 volumio volumio[1274]: "status" : "playing",
Oct 29 18:48:06 volumio volumio[1274]: "repeat" : false,
Oct 29 18:48:06 volumio volumio[1274]: "shuffle" : false,
Oct 29 18:48:06 volumio volumio[1274]: "total_tracks" : 1,
Oct 29 18:48:06 volumio volumio[1274]: "current_track" : 1,
Oct 29 18:48:06 volumio volumio[1274]: "artist" : "Gary B",
Oct 29 18:48:06 volumio volumio[1274]: "title" : "Good Karma",
Oct 29 18:48:06 volumio volumio[1274]: "album" : "Breaking Free",
Oct 29 18:48:06 volumio volumio[1274]: "duration" : 250000,
Oct 29 18:48:06 volumio volumio[1274]: "position" : 18.992999999999999,
Oct 29 18:48:06 volumio volumio[1274]: "uri" : "spotify:track:7oSoiRPlfEnD5WpkloJFdU",
Oct 29 18:48:06 volumio volumio[1274]: "popularity" : 18
Oct 29 18:48:06 volumio volumio[1274]: }
Oct 29 18:48:06 volumio volumio[1274]: info:
Oct 29 18:48:06 volumio volumio[1274]: [1572374886380] ---------------------------- Spop announces state update
Oct 29 18:48:06 volumio sudo[2472]: pam_unix(sudo:session): session closed for user root
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886381] ControllerSpop::parseState
Oct 29 18:48:06 volumio volumio[1274]: { status: 'playing',
Oct 29 18:48:06 volumio volumio[1274]: repeat: false,
Oct 29 18:48:06 volumio volumio[1274]: shuffle: false,
Oct 29 18:48:06 volumio volumio[1274]: total_tracks: 1,
Oct 29 18:48:06 volumio volumio[1274]: current_track: 1,
Oct 29 18:48:06 volumio volumio[1274]: artist: 'Gary B',
Oct 29 18:48:06 volumio volumio[1274]: title: 'Good Karma',
Oct 29 18:48:06 volumio volumio[1274]: album: 'Breaking Free',
Oct 29 18:48:06 volumio volumio[1274]: duration: 250000,
Oct 29 18:48:06 volumio volumio[1274]: position: 18.993,
Oct 29 18:48:06 volumio volumio[1274]: uri: 'spotify:track:7oSoiRPlfEnD5WpkloJFdU',
Oct 29 18:48:06 volumio volumio[1274]: popularity: 18 }
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886382] ControllerSpop::pushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::servicePushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::syncState
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: STATE SERVICE {"status":"play","position":0,"seek":18993,"duration":250,"samplerate":"320Kbps","bitdepth":null,"channels":null,"artist":"Gary B","title":"Good Karma","album":"Breaking Free"}
Oct 29 18:48:06 volumio volumio[1274]: info: CURRENT POSITION 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::syncState stateService play
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::syncState currentStatus play
Oct 29 18:48:06 volumio volumio[1274]: info: Received an update from plugin. extracting info from payload
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::pushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::getState
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::volumioPushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Oct 29 18:48:06 volumio sudo[2485]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Oct 29 18:48:06 volumio sudo[2485]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::pushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreStateMachine::getState
Oct 29 18:48:06 volumio volumio[1274]: info: CorePlayQueue::getTrack 0
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::volumioPushState
Oct 29 18:48:06 volumio volumio[1274]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Oct 29 18:48:06 volumio sudo[2485]: pam_unix(sudo:session): session closed for user root
Oct 29 18:48:06 volumio sudo[2490]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Oct 29 18:48:06 volumio volumio[1274]: info: [1572374886449] ------------------------------ 70ms
@Solveit : can you post the content of
cat /data/configuration/audio_interface/brutefir/hwinfo.json
Dont how to get the content of that.
If you help me with code via Putty?
just enter the command when you are logged in via putty and copy past the result please
volumio@volumio:~$ cat /data/configuration/audio_interface/brutefir/hwinfo.json
{
āformatsā:{āvalueā:" S16_LE S32_LE SPECIAL"},
āchannelsā:{āvalueā:ā2ā}
Thank you. I see that SPECIAL is a value returned by you dac⦠A the plugin select the last value, SPECIAL is selectedā¦
I have to think of how to not choose it!
I understand that itās not easy to handle all hardware combinations that people have!
I2S DAC will work fine with 3B. I never tested brutefir with Zero so I canāt tell.
Is Brutefir realy going thrue webbradio?
Hard to hear any differences.