Volumio2 and brutefir...

Discuss, contribute and orient Volumio development!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Volumio2 and brutefir...

Postby Dudu » Fri Nov 08 2019 19:15

balbuze wrote:@solveit : sorry for that... Unable the plugin and reset the output in Volumio. Reboot and check if ok. Then enable the plugin. You may have to reboot again before using it... But I haven't changed their part in the plugin, just hide the field in UI. Previous version is here : https://github.com/balbuze/volumio-plug ... /brutefir3

@dudu : permanent changes for brutefir config : change brutefir.conf.tmpl in the folder of the plugin. For number of partition comment num_part in this file and write your value.
I can add other filters size.
The resampling is done by brutefir. Switching between nvalue requires to have all filter generated for each sample rate.


Everything works fine now, thank you for the info, brutefir adds so much to music quality. Do you mean, can I set up brutefir to switch between sample rates automatically ? E.g. first music file is 44.1KHz sampled, the second is 192KHz, is it possible to set up auto filter switching on some way, like at feature: volume level filters ? If I can do it via config file rewriting just let me know, and thank you for last year brutefir improvements !
Random avatar
Dudu
Sunday DIYer
Sunday DIYer
 
Posts: 13
Joined: Wed Nov 14 2018 09:54

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Volumio2 and brutefir...

Postby balbuze » Fri Nov 08 2019 19:30

@dudu : Glad to read it works fine!
You can't make automatic switching between sample rate just by tweaking a file... I already made a preliminary work to do that, but I stop as I'm not sure of the interest... Whatever is the sample rate of the file, everything is resampled through brutefir. The only requirement is having a filter samplerate matching with what is set in the plugin.
But I'm open if you convince me of the interest ! ;)
Can you share how you generate your filter, what is the mic, and if you wish some screenshot of the frequency response of your system before/after.
Thanks!
User avatar
balbuze
Moderator
 
Posts: 1684
Joined: Thu May 08 2014 08:42
Location: Isère France


Volumio2 and brutefir...

Postby Solveit » Sat Nov 09 2019 09:05

I try my second project now to install Brutefir on an RPI Zero with an I2S DAC, PCM 5102, drivers Hifi Berry.
Works good without Brutefir but with I just got an short crack sound.
Maybe its to slow Zero? :(
Code: Select all
volumio[4035]: ALSA I/O: Could not read audio: Broken pipe.
Nov 09 08:52:57 volumio3 volumio[4035]: I/O module failed to read (probably) due to buffer underflow on output, aborting.
Nov 09 08:52:57 volumio3 systemd[1]: brutefir.service holdoff time over, scheduling restart.
Nov 09 08:52:57 volumio3 systemd[1]: Stopping brutefir Daemon...
Nov 09 08:52:57 volumio3 systemd[1]: Starting brutefir Daemon...
Nov 09 08:52:57 volumio3 systemd[1]: Started brutefir Daemon.
Nov 09 08:52:57 volumio3 volumio[5611]: BruteFIR v1.0m (November 2013)                                (c) Anders Torger
Nov 09 08:52:57 volumio3 volumio[5611]: Internal resolution is 64 bit floating point.
Nov 09 08:52:57 volumio3 volumio[949]: info: ------------------------------ 1255ms
Nov 09 08:52:57 volumio3 volumio[5611]: Creating 4 FFTW plans of size 4096...finished.
Nov 09 08:52:57 volumio3 volumio[949]: info: ------------------------------ 1114ms


Code: Select all
volumio[5611]: ALSA I/O: Could not read audio: Broken pipe.
Nov 09 08:53:02 volumio3 volumio[5611]: I/O module failed to read (probably) due to buffer underflow on output, aborting.
Nov 09 08:53:02 volumio3 systemd[1]: brutefir.service: main process exited, code=exited, status=5/NOTINSSTALLED
Nov 09 08:53:02 volumio3 systemd[1]: Unit brutefir.service entered failed state.
Nov 09 08:53:03 volumio3 systemd[1]: brutefir.service holdoff time over, scheduling restart.
Nov 09 08:53:03 volumio3 systemd[1]: Stopping brutefir Daemon...
Nov 09 08:53:03 volumio3 systemd[1]: Starting brutefir Daemon...
Nov 09 08:53:03 volumio3 systemd[1]: Started brutefir Daemon.
Nov 09 08:53:03 volumio3 volumio[5672]: BruteFIR v1.0m (November 2013)                                (c) Anders Torger
Nov 09 08:53:03 volumio3 volumio[5672]: Internal resolution is 64 bit floating point.
Nov 09 08:53:03 volumio3 volumio[5672]: Creating 4 FFTW plans of size 4096...finished.
Nov 09 08:53:04 volumio3 volumio[949]: info: CoreCommandRouter::volumioStop
Nov 09 08:53:04 volumio3 volumio[949]: info: CoreStateMachine::stop
Nov 09 08:53:04 volumio3 volumio[949]: info: CoreStateMachine::setConsumeUpdateService undefined
Nov 09 08:53:04 volumio3 volumio[949]: UNSET VOLATILE
Random avatar
Solveit
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Sun Sep 29 2019 18:49


Volumio2 and brutefir...

Postby balbuze » Sat Nov 09 2019 09:51

@solveit : it could be due to a lack of power from the CPU. Try to see using the command 'top' while playing to see if CPU is overloaded .
One thing that may help is to set internal precision of brutefir to 32bit instead of 64. To do so, see in brutefir.conf.tmpl in plugin folder.

Edit : the field to change is is called 'float_bits'
User avatar
balbuze
Moderator
 
Posts: 1684
Joined: Thu May 08 2014 08:42
Location: Isère France


Volumio2 and brutefir...

Postby krunok » Sat Nov 09 2019 11:03

balbuze wrote:@solveit : it could be due to a lack of power from the CPU. Try to see using the command 'top' while playing to see if CPU is overloaded .
One thing that may help is to set internal precision of brutefir to 32bit instead of 64. To do so, see in brutefir.conf.tmpl in plugin folder.

Edit : the field to change is is called 'float_bits'


If CPU is a problem (and it may as well be) than increasing number of partitions may help.
Random avatar
krunok
Sunday DIYer
Sunday DIYer
 
Posts: 32
Joined: Mon Apr 30 2018 19:19


Volumio2 and brutefir...

Postby Solveit » Sun Nov 10 2019 19:49

How do I install an older version of Brutefir?
For exampel this one:
https://github.com/balbuze/volumio-plug ... /brutefir3
Cant get it work with wget and that link even if I change the last command to /brutefir3/brutefir.zip
Random avatar
Solveit
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Sun Sep 29 2019 18:49


Volumio2 and brutefir...

Postby balbuze » Sun Nov 10 2019 20:01

just downloaded the zip file : https://github.com/balbuze/volumio-plugins/blob/571d5942afb25d84d4a20a1db4884ed7fa6587ee/plugins/audio_interface/brutefir3/brutefir.zip
and from the folder :
Code: Select all
volumio plugin install

but there is no interest installing this version...
you'd rather install the last one
User avatar
balbuze
Moderator
 
Posts: 1684
Joined: Thu May 08 2014 08:42
Location: Isère France


Volumio2 and brutefir...

Postby Solveit » Sun Nov 10 2019 22:54

I had my RPI Zero working but wanted to do a clean install so formated installed Volumio and Brutefir.
Ofcourse it didnt work but I changed the brutefir.conf.tmpl to what have worked before and then it crashed.
Out of memory?
Code: Select all
Nov 10 22:38:55 volumio volumio[1110]: BruteFIR v1.0m (November 2013)                                (c) Anders Torger
Nov 10 22:38:55 volumio sudo[1093]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart airplay
Nov 10 22:38:55 volumio systemd[1]: Starting UPnP Renderer front-end to MPD...
Nov 10 22:38:55 volumio systemd[1]: Started UPnP Renderer front-end to MPD.
Nov 10 22:38:55 volumio volumio[1110]: Internal resolution is 32 bit floating point.
Nov 10 22:38:55 volumio sudo[1093]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:38:55 volumio sudo[1082]: pam_unix(sudo:session): session closed for user root
Nov 10 22:38:55 volumio volumio[1110]: Creating 4 FFTW plans of size 32768...finished.
Nov 10 22:38:55 volumio systemd[1]: Stopping ShairportSync AirTunes receiver...
Nov 10 22:38:55 volumio systemd[1]: Starting ShairportSync AirTunes receiver...
Nov 10 22:38:55 volumio systemd[1]: Started ShairportSync AirTunes receiver.
Nov 10 22:38:55 volumio sudo[1093]: pam_unix(sudo:session): session closed for user root
Nov 10 22:38:55 volumio shairport-sync[1124]: Successful Startup
Nov 10 22:38:56 volumio volumio[886]: { device: '1',
Nov 10 22:38:56 volumio volumio[886]: name: 'HiFiBerry DAC',
Nov 10 22:38:56 volumio volumio[886]: mixer: '',
Nov 10 22:38:56 volumio volumio[886]: mixertype: 'None',
Nov 10 22:38:56 volumio volumio[886]: maxvolume: '100',
Nov 10 22:38:56 volumio volumio[886]: volumecurve: 'logarithmic',
Nov 10 22:38:56 volumio volumio[886]: volumestart: 'disabled',
Nov 10 22:38:56 volumio volumio[886]: volumesteps: '10',
Nov 10 22:38:56 volumio volumio[886]: softvolumenumber: 'undefined' }
Nov 10 22:38:56 volumio volumio[886]: info: CoreCommandRouter::volumioUpdateVolumeSettings
Nov 10 22:38:56 volumio volumio[886]: info: Updating Volume Controller Parameters: Device: 1 Name: HiFiBerry DAC Mixer:  Max Vol: 100 Vol Curve; logarithmic Vol Steps: 10
Nov 10 22:38:56 volumio volumio[886]: info: CoreStateMachine::pushState
Nov 10 22:38:56 volumio volumio[886]: info: CoreStateMachine::getState
Nov 10 22:38:56 volumio volumio[886]: info: CorePlayQueue::getTrack 0
Nov 10 22:38:56 volumio volumio[886]: info: CoreCommandRouter::volumioPushState
Nov 10 22:38:56 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Nov 10 22:38:56 volumio volumio[886]: Discovery: adding eb66b1f6-5721-4879-814e-4b30343065c1
Nov 10 22:38:56 volumio volumio[886]: info: mDNS: Found device Volumio
Nov 10 22:38:56 volumio volumio[886]: info:
Nov 10 22:38:56 volumio sudo[1131]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:38:56 volumio sudo[1131]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:38:56 volumio sudo[1131]: pam_unix(sudo:session): session closed for user root
Nov 10 22:38:57 volumio volumio[886]: info: Shairport-Sync Started
Nov 10 22:38:57 volumio volumio[886]: Error adding Membership: Error: addMembership EINVAL
Nov 10 22:38:57 volumio volumio[886]: info: Upmpdcli Daemon Started
Nov 10 22:38:57 volumio volumio[886]: info: Shairport-Sync Started
Nov 10 22:38:57 volumio volumio[886]: info: Shairport-Sync Started
Nov 10 22:38:59 volumio volumio[886]: info: CoreCommandRouter::volumioGetState
Nov 10 22:38:59 volumio volumio[886]: info: CoreStateMachine::getState
Nov 10 22:38:59 volumio volumio[886]: info: CorePlayQueue::getTrack 0
Nov 10 22:38:59 volumio volumio[886]: info: CoreCommandRouter::volumioGetState
Nov 10 22:38:59 volumio volumio[886]: info: CoreStateMachine::getState
Nov 10 22:38:59 volumio volumio[886]: info: CorePlayQueue::getTrack 0
Nov 10 22:38:59 volumio sudo[1141]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:38:59 volumio sudo[1141]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:38:59 volumio sudo[1141]: pam_unix(sudo:session): session closed for user root
Nov 10 22:38:59 volumio sudo[1145]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:38:59 volumio sudo[1145]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:38:59 volumio sudo[1145]: pam_unix(sudo:session): session closed for user root
Nov 10 22:39:00 volumio volumio[886]: info: CoreCommandRouter::volumioGetVisibleSources
Nov 10 22:39:00 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
Nov 10 22:39:00 volumio volumio[886]: info: CoreCommandRouter::volumioGetState
Nov 10 22:39:00 volumio volumio[886]: info: CoreStateMachine::getState
Nov 10 22:39:00 volumio volumio[886]: info: CorePlayQueue::getTrack 0
Nov 10 22:39:00 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
Nov 10 22:39:00 volumio volumio[886]: info: Listing playlists
Nov 10 22:39:01 volumio sudo[1161]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:39:01 volumio volumio[886]: info: CoreCommandRouter::volumioGetQueue
Nov 10 22:39:01 volumio volumio[886]: info: CoreStateMachine::getQueue
Nov 10 22:39:01 volumio volumio[886]: info: CorePlayQueue::getQueue
Nov 10 22:39:01 volumio sudo[1161]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:39:01 volumio sudo[1161]: pam_unix(sudo:session): session closed for user root
Nov 10 22:39:01 volumio sudo[1163]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:39:01 volumio sudo[1163]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:39:01 volumio sudo[1163]: pam_unix(sudo:session): session closed for user root
Nov 10 22:39:01 volumio volumio[886]: info: VolumeController::SetAlsaVolumemute
Nov 10 22:39:01 volumio volumio[886]: info: CoreStateMachine::pushState
Nov 10 22:39:01 volumio volumio[886]: info: CoreStateMachine::getState
Nov 10 22:39:01 volumio volumio[886]: info: CorePlayQueue::getTrack 0
Nov 10 22:39:01 volumio volumio[886]: info: CoreCommandRouter::volumioPushState
Nov 10 22:39:01 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Nov 10 22:39:02 volumio sudo[1179]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:39:02 volumio sudo[1179]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:39:02 volumio volumio[886]: info: VolumeController::SetAlsaVolumeunmute
Nov 10 22:39:02 volumio volumio[886]: info: CoreStateMachine::pushState
Nov 10 22:39:02 volumio volumio[886]: info: CoreStateMachine::getState
Nov 10 22:39:02 volumio volumio[886]: info: CorePlayQueue::getTrack 0
Nov 10 22:39:02 volumio volumio[886]: info: CoreCommandRouter::volumioPushState
Nov 10 22:39:02 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Nov 10 22:39:02 volumio sudo[1179]: pam_unix(sudo:session): session closed for user root
Nov 10 22:39:02 volumio sudo[1188]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Nov 10 22:39:02 volumio sudo[1188]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:39:02 volumio sudo[1188]: pam_unix(sudo:session): session closed for user root
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Adding plugin bluetooth to plan superstar
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Adding plugin cd_controller to plan superstar
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Adding plugin smart_inputs to plan superstar
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Adding plugin hi_res_audio to plan superstar
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Adding plugin bluetooth to plan virtuoso
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Adding plugin cd_controller to plan virtuoso
Nov 10 22:39:03 volumio volumio[886]: info: [MyVolumio PluginManager] Loading plugin "my_volumio"...
Nov 10 22:39:20 volumio volumio[886]: info: [MyVolumio PluginManager] Loading plugin "streaming_services"...
Nov 10 22:39:24 volumio volumio[1110]: Loading 16 coefficient sets...finished.
Nov 10 22:39:25 volumio volumio[1110]: Realtime priorities are min = 2, usermax = 1, mid = 3 and max = 4.
Nov 10 22:39:25 volumio volumio[1110]: Warning: no support for clock cycle counter on this platform.
Nov 10 22:39:25 volumio volumio[1110]: Timers for benchmarking may be unreliable.
Nov 10 22:39:26 volumio volumio[1110]: Realtime priority 1 set for cli process (pid 1209)
Nov 10 22:39:27 volumio volumio[1110]: Realtime priority 3 set for input process (pid 1111)
Nov 10 22:39:29 volumio kernel: avahi-daemon invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
Nov 10 22:39:29 volumio kernel: CPU: 0 PID: 521 Comm: avahi-daemon Tainted: G         C        4.19.79+ #1273
Nov 10 22:39:29 volumio kernel: Hardware name: BCM2835
Nov 10 22:39:29 volumio kernel: [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
Nov 10 22:39:29 volumio kernel: [] (show_stack) from [] (dump_stack+0x20/0x28)
Nov 10 22:39:29 volumio kernel: [] (dump_stack) from [] (dump_header+0x74/0x210)
Nov 10 22:39:29 volumio kernel: [] (dump_header) from [] (oom_kill_process+0x2a0/0x2f0)
Nov 10 22:39:29 volumio kernel: [] (oom_kill_process) from [] (out_of_memory+0x118/0x36c)
Nov 10 22:39:29 volumio kernel: [] (out_of_memory) from [] (__alloc_pages_nodemask+0xd1c/0xea0)
Nov 10 22:39:29 volumio kernel: [] (__alloc_pages_nodemask) from [] (filemap_fault+0x54c/0x688)
Nov 10 22:39:29 volumio kernel: [] (filemap_fault) from [] (__do_fault+0x58/0x1c4)
Nov 10 22:39:29 volumio kernel: [] (__do_fault) from [] (handle_mm_fault+0x6ec/0xc68)
Nov 10 22:39:29 volumio kernel: [] (handle_mm_fault) from [] (do_page_fault+0x338/0x3cc)
Nov 10 22:39:29 volumio kernel: [] (do_page_fault) from [] (do_PrefetchAbort+0x50/0xd8)
Nov 10 22:39:29 volumio kernel: [] (do_PrefetchAbort) from [] (ret_from_exception+0x0/0x1c)
Nov 10 22:39:29 volumio kernel: Exception stack(0xd8599fb0 to 0xd8599ff8)
Nov 10 22:39:29 volumio kernel: 9fa0:                                     00000000 0000000a 00002e24 00000000
Nov 10 22:39:29 volumio kernel: 9fc0: 0052af20 00000000 b6c694d0 00000000 0052af20 0052af90 00039418 000394e0
Nov 10 22:39:29 volumio kernel: 9fe0: 00000000 bec97c48 b6f0f1c4 b6f0f1c4 00000010 ffffffff
Nov 10 22:39:29 volumio kernel: Mem-Info:
Nov 10 22:39:29 volumio kernel: active_anon:46742 inactive_anon:1113 isolated_anon:0
                                 active_file:83 inactive_file:210 isolated_file:0
                                 unevictable:59128 dirty:0 writeback:269 unstable:0
                                 slab_reclaimable:1911 slab_unreclaimable:2158
                                 mapped:4863 shmem:3308 pagetables:865 bounce:0
                                 free:3047 free_pcp:37 free_cma:0
Nov 10 22:39:29 volumio kernel: Node 0 active_anon:186968kB inactive_anon:4452kB active_file:332kB inactive_file:840kB unevictable:236512kB isolated(anon):0kB isolated(file):0kB mapped:19452kB dirty:0kB writeback:1076kB shmem:13232kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Nov 10 22:39:29 volumio kernel: Normal free:12188kB min:16384kB low:20480kB high:24576kB active_anon:186968kB inactive_anon:4452kB active_file:332kB inactive_file:840kB unevictable:236512kB writepending:1076kB present:491520kB managed:475556kB mlocked:236512kB kernel_stack:1152kB pagetables:3460kB bounce:0kB free_pcp:148kB local_pcp:148kB free_cma:0kB
Nov 10 22:39:29 volumio kernel: lowmem_reserve[]: 0 0
Nov 10 22:39:29 volumio kernel: Normal: 613*4kB (UME) 307*8kB (UME) 101*16kB (UE) 49*32kB (UME) 16*64kB (UME) 8*128kB (UME) 2*256kB (E) 1*512kB (M) 1*1024kB (M) 0*2048kB 0*4096kB = 12188kB
Nov 10 22:39:29 volumio kernel: 6054 total pagecache pages
Nov 10 22:39:29 volumio kernel: 0 pages in swap cache
Nov 10 22:39:29 volumio kernel: Swap cache stats: add 0, delete 0, find 0/0
Nov 10 22:39:29 volumio kernel: Free swap  = 0kB
Nov 10 22:39:29 volumio kernel: Total swap = 0kB
Nov 10 22:39:29 volumio kernel: 122880 pages RAM
Nov 10 22:39:29 volumio kernel: 0 pages HighMem/MovableOnly
Nov 10 22:39:29 volumio kernel: 3991 pages reserved
Nov 10 22:39:29 volumio kernel: 2048 pages cma reserved
Nov 10 22:39:29 volumio kernel: Tasks state (memory values in pages):
Nov 10 22:39:29 volumio kernel: [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Nov 10 22:39:29 volumio kernel: [    145]     0   145     2004      710    12288        0             0 systemd-journal
Nov 10 22:39:29 volumio kernel: [    173]     0   173     2914      484    14336        0         -1000 systemd-udevd
Nov 10 22:39:29 volumio kernel: [    409]     0   409     1085      431    12288        0             0 rpcbind
Nov 10 22:39:29 volumio kernel: [    438]   103   438     1131      503    12288        0             0 rpc.statd
Nov 10 22:39:29 volumio kernel: [    454]     0   454      711      288    10240        0             0 rpc.idmapd
Nov 10 22:39:29 volumio kernel: [    456]     0   456     1888     1048    14336        0             0 haveged
Nov 10 22:39:29 volumio kernel: [    460]  1000   460     1650      465    14336        0             0 udisks-glue
Nov 10 22:39:29 volumio kernel: [    466]  1000   466     7842      691    26624        0             0 volumio-remote-
Nov 10 22:39:29 volumio kernel: [    492]     0   492      824      359    10240        0             0 systemd-logind
Nov 10 22:39:29 volumio kernel: [    521]   104   521      970      498    12288        0             0 avahi-daemon
Nov 10 22:39:29 volumio kernel: [    532]   102   532     1381      560    12288        0          -900 dbus-daemon
Nov 10 22:39:29 volumio kernel: [    549]   104   549      944      287    10240        0             0 avahi-daemon
Nov 10 22:39:29 volumio kernel: [    559]   100   559     5865      771    30720        0             0 ntpd
Nov 10 22:39:29 volumio kernel: [    593]     0   593     1940      486    14336        0         -1000 sshd
Nov 10 22:39:29 volumio kernel: [    596]     0   596      492      171     8192        0             0 hciattach
Nov 10 22:39:29 volumio kernel: [    608]     0   608     4416      606    18432        0             0 udisks-daemon
Nov 10 22:39:29 volumio kernel: [    611]     0   611     1178      434    10240        0             0 bluetoothd
Nov 10 22:39:29 volumio kernel: [    626]     0   626     2076      294    16384        0             0 udisks-daemon
Nov 10 22:39:29 volumio kernel: [    637]     0   637     8743      606    26624        0             0 polkitd
Nov 10 22:39:29 volumio kernel: [    642]     0   642      988      367    12288        0             0 agetty
Nov 10 22:39:29 volumio kernel: [    732]     0   732     6781      641    34816        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    738]     0   738     6857      747    34816        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    741]     0   741     5320      656    26624        0             0 nmbd
Nov 10 22:39:29 volumio kernel: [    742]     0   742     5179      533    24576        0             0 nmbd
Nov 10 22:39:29 volumio kernel: [    783]     0   783     1650      397    14336        0             0 wpa_supplicant
Nov 10 22:39:29 volumio kernel: [    816]     0   816     8504      865    43008        0             0 smbd
Nov 10 22:39:29 volumio kernel: [    819]     0   819     6781      641    34816        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    820]     0   820     6781      659    32768        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    821]     0   821     8504      705    38912        0             0 smbd
Nov 10 22:39:29 volumio kernel: [    863]     0   863      526      264    10240        0             0 dhcpcd
Nov 10 22:39:29 volumio kernel: [    886]  1000   886    46122    13465   264192        0             0 node
Nov 10 22:39:29 volumio kernel: [    887]  1000   887   208236      367    26624        0             0 streaming-daemo
Nov 10 22:39:29 volumio kernel: [    922]  1000   922    17646     1780    83968        0             0 node
Nov 10 22:39:29 volumio kernel: [    930]  1000   930    20101     3636   126976        0             0 node
Nov 10 22:39:29 volumio kernel: [   1008]   110  1008    38457     3673   104448        0             0 mpd
Nov 10 22:39:29 volumio kernel: [   1110]     0  1110      453      244     8192        0             0 brutefir
Nov 10 22:39:29 volumio kernel: [   1111]     0  1111    22232    21717    96256        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1115]  1000  1115    22334      707    40960        0             0 upmpdcli
Nov 10 22:39:29 volumio kernel: [   1124]  1000  1124     6523      573    18432        0             0 shairport-sync
Nov 10 22:39:29 volumio kernel: [   1207]     0  1207    24489    21736   102400        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1208]     0  1208    24489    21736   102400        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1209]     0  1209    22232    21717    96256        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1210]     0  1210    22232    17236    90112        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: Out of memory: Kill process 1207 (brutefir.real) score 183 or sacrifice child
Nov 10 22:39:29 volumio kernel: Killed process 1207 (brutefir.real) total-vm:97956kB, anon-rss:77500kB, file-rss:1324kB, shmem-rss:8120kB
Nov 10 22:39:29 volumio kernel: oom_reaper: reaped process 1207 (brutefir.real), now anon-rss:77500kB, file-rss:1324kB, shmem-rss:8120kB
Nov 10 22:39:29 volumio kernel: avahi-daemon invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
Nov 10 22:39:29 volumio kernel: CPU: 0 PID: 521 Comm: avahi-daemon Tainted: G         C        4.19.79+ #1273
Nov 10 22:39:29 volumio kernel: Hardware name: BCM2835
Nov 10 22:39:29 volumio kernel: [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
Nov 10 22:39:29 volumio kernel: [] (show_stack) from [] (dump_stack+0x20/0x28)
Nov 10 22:39:29 volumio kernel: [] (dump_stack) from [] (dump_header+0x74/0x210)
Nov 10 22:39:29 volumio kernel: [] (dump_header) from [] (oom_kill_process+0x2a0/0x2f0)
Nov 10 22:39:29 volumio kernel: [] (oom_kill_process) from [] (out_of_memory+0x118/0x36c)
Nov 10 22:39:29 volumio kernel: [] (out_of_memory) from [] (__alloc_pages_nodemask+0xd1c/0xea0)
Nov 10 22:39:29 volumio kernel: [] (__alloc_pages_nodemask) from [] (filemap_fault+0x54c/0x688)
Nov 10 22:39:29 volumio kernel: [] (filemap_fault) from [] (__do_fault+0x58/0x1c4)
Nov 10 22:39:29 volumio kernel: [] (__do_fault) from [] (handle_mm_fault+0x6ec/0xc68)
Nov 10 22:39:29 volumio kernel: [] (handle_mm_fault) from [] (do_page_fault+0x338/0x3cc)
Nov 10 22:39:29 volumio kernel: [] (do_page_fault) from [] (do_PrefetchAbort+0x50/0xd8)
Nov 10 22:39:29 volumio kernel: [] (do_PrefetchAbort) from [] (ret_from_exception+0x0/0x1c)
Nov 10 22:39:29 volumio kernel: Exception stack(0xd8599fb0 to 0xd8599ff8)
Nov 10 22:39:29 volumio kernel: 9fa0:                                     00000000 0000000a 00002e24 00000000
Nov 10 22:39:29 volumio kernel: 9fc0: 0052af20 00000000 b6c694d0 00000000 0052af20 0052af90 00039418 000394e0
Nov 10 22:39:29 volumio kernel: 9fe0: 00000000 bec97c48 b6f0f1c4 b6f0f1c4 00000010 ffffffff
Nov 10 22:39:29 volumio kernel: Mem-Info:
Nov 10 22:39:29 volumio kernel: active_anon:46742 inactive_anon:1113 isolated_anon:0
                                 active_file:77 inactive_file:216 isolated_file:0
                                 unevictable:59128 dirty:0 writeback:269 unstable:0
                                 slab_reclaimable:1911 slab_unreclaimable:2158
                                 mapped:4863 shmem:3308 pagetables:865 bounce:0
                                 free:3047 free_pcp:37 free_cma:0
Nov 10 22:39:29 volumio kernel: Node 0 active_anon:186968kB inactive_anon:4452kB active_file:308kB inactive_file:864kB unevictable:236512kB isolated(anon):0kB isolated(file):0kB mapped:19452kB dirty:0kB writeback:1076kB shmem:13232kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Nov 10 22:39:29 volumio kernel: Normal free:12188kB min:16384kB low:20480kB high:24576kB active_anon:186968kB inactive_anon:4452kB active_file:308kB inactive_file:864kB unevictable:236512kB writepending:1076kB present:491520kB managed:475556kB mlocked:236512kB kernel_stack:1152kB pagetables:3460kB bounce:0kB free_pcp:148kB local_pcp:148kB free_cma:0kB
Nov 10 22:39:29 volumio kernel: lowmem_reserve[]: 0 0
Nov 10 22:39:29 volumio kernel: Normal: 613*4kB (UME) 307*8kB (UME) 101*16kB (UE) 49*32kB (UME) 16*64kB (UME) 8*128kB (UME) 2*256kB (E) 1*512kB (M) 1*1024kB (M) 0*2048kB 0*4096kB = 12188kB
Nov 10 22:39:29 volumio kernel: 6054 total pagecache pages
Nov 10 22:39:29 volumio kernel: 0 pages in swap cache
Nov 10 22:39:29 volumio kernel: Swap cache stats: add 0, delete 0, find 0/0
Nov 10 22:39:29 volumio kernel: Free swap  = 0kB
Nov 10 22:39:29 volumio kernel: Total swap = 0kB
Nov 10 22:39:29 volumio kernel: 122880 pages RAM
Nov 10 22:39:29 volumio kernel: 0 pages HighMem/MovableOnly
Nov 10 22:39:29 volumio kernel: 3991 pages reserved
Nov 10 22:39:29 volumio kernel: 2048 pages cma reserved
Nov 10 22:39:29 volumio kernel: Tasks state (memory values in pages):
Nov 10 22:39:29 volumio kernel: [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Nov 10 22:39:29 volumio kernel: [    145]     0   145     2004      710    12288        0             0 systemd-journal
Nov 10 22:39:29 volumio kernel: [    173]     0   173     2914      484    14336        0         -1000 systemd-udevd
Nov 10 22:39:29 volumio kernel: [    409]     0   409     1085      431    12288        0             0 rpcbind
Nov 10 22:39:29 volumio kernel: [    438]   103   438     1131      503    12288        0             0 rpc.statd
Nov 10 22:39:29 volumio kernel: [    454]     0   454      711      288    10240        0             0 rpc.idmapd
Nov 10 22:39:29 volumio kernel: [    456]     0   456     1888     1048    14336        0             0 haveged
Nov 10 22:39:29 volumio kernel: [    460]  1000   460     1650      465    14336        0             0 udisks-glue
Nov 10 22:39:29 volumio kernel: [    466]  1000   466     7842      691    26624        0             0 volumio-remote-
Nov 10 22:39:29 volumio kernel: [    492]     0   492      824      359    10240        0             0 systemd-logind
Nov 10 22:39:29 volumio kernel: [    521]   104   521      970      498    12288        0             0 avahi-daemon
Nov 10 22:39:29 volumio kernel: [    532]   102   532     1381      560    12288        0          -900 dbus-daemon
Nov 10 22:39:29 volumio kernel: [    549]   104   549      944      287    10240        0             0 avahi-daemon
Nov 10 22:39:29 volumio kernel: [    559]   100   559     5865      771    30720        0             0 ntpd
Nov 10 22:39:29 volumio kernel: [    593]     0   593     1940      486    14336        0         -1000 sshd
Nov 10 22:39:29 volumio kernel: [    596]     0   596      492      171     8192        0             0 hciattach
Nov 10 22:39:29 volumio kernel: [    608]     0   608     4416      606    18432        0             0 udisks-daemon
Nov 10 22:39:29 volumio kernel: [    611]     0   611     1178      434    10240        0             0 bluetoothd
Nov 10 22:39:29 volumio kernel: [    626]     0   626     2076      294    16384        0             0 udisks-daemon
Nov 10 22:39:29 volumio kernel: [    637]     0   637     8743      606    26624        0             0 polkitd
Nov 10 22:39:29 volumio kernel: [    642]     0   642      988      367    12288        0             0 agetty
Nov 10 22:39:29 volumio kernel: [    732]     0   732     6781      641    34816        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    738]     0   738     6857      747    34816        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    741]     0   741     5320      656    26624        0             0 nmbd
Nov 10 22:39:29 volumio kernel: [    742]     0   742     5179      533    24576        0             0 nmbd
Nov 10 22:39:29 volumio kernel: [    783]     0   783     1650      397    14336        0             0 wpa_supplicant
Nov 10 22:39:29 volumio kernel: [    816]     0   816     8504      865    43008        0             0 smbd
Nov 10 22:39:29 volumio kernel: [    819]     0   819     6781      641    34816        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    820]     0   820     6781      659    32768        0             0 winbindd
Nov 10 22:39:29 volumio kernel: [    821]     0   821     8504      705    38912        0             0 smbd
Nov 10 22:39:29 volumio kernel: [    863]     0   863      526      264    10240        0             0 dhcpcd
Nov 10 22:39:29 volumio kernel: [    886]  1000   886    46122    13465   264192        0             0 node
Nov 10 22:39:29 volumio kernel: [    887]  1000   887   208236      367    26624        0             0 streaming-daemo
Nov 10 22:39:29 volumio kernel: [    922]  1000   922    17646     1780    83968        0             0 node
Nov 10 22:39:29 volumio kernel: [    930]  1000   930    20101     3636   126976        0             0 node
Nov 10 22:39:29 volumio kernel: [   1008]   110  1008    38457     3673   104448        0             0 mpd
Nov 10 22:39:29 volumio kernel: [   1110]     0  1110      453      244     8192        0             0 brutefir
Nov 10 22:39:29 volumio kernel: [   1111]     0  1111    22232    21717    96256        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1115]  1000  1115    22334      707    40960        0             0 upmpdcli
Nov 10 22:39:29 volumio kernel: [   1124]  1000  1124     6523      573    18432        0             0 shairport-sync
Nov 10 22:39:29 volumio kernel: [   1207]     0  1207    24489    21736   102400        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1208]     0  1208    24489    21736   102400        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1209]     0  1209    22232    21717    96256        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: [   1210]     0  1210    22232    17236    90112        0             0 brutefir.real
Nov 10 22:39:29 volumio kernel: Out of memory: Kill process 1208 (brutefir.real) score 183 or sacrifice child
Nov 10 22:39:29 volumio kernel: Killed process 1208 (brutefir.real) total-vm:97956kB, anon-rss:77500kB, file-rss:1324kB, shmem-rss:8120kB
Nov 10 22:39:29 volumio kernel: oom_reaper: reaped process 1208 (brutefir.real), now anon-rss:77500kB, file-rss:1324kB, shmem-rss:8120kB
Nov 10 22:39:29 volumio volumio[1110]: (1210) read from fd 17 failed: No such device or address
Nov 10 22:39:29 volumio volumio[1110]: Error: ran probably out of memory, aborting.
Nov 10 22:39:30 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Nov 10 22:39:30 volumio systemd[1]: Unit brutefir.service entered failed state.
Nov 10 22:39:30 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Nov 10 22:39:30 volumio systemd[1]: Stopping brutefir Daemon...
Nov 10 22:39:30 volumio systemd[1]: Starting brutefir Daemon...
Nov 10 22:39:30 volumio systemd[1]: Started brutefir Daemon.
Nov 10 22:39:30 volumio volumio[1212]: BruteFIR v1.0m (November 2013)                                (c) Anders Torger
Nov 10 22:39:30 volumio volumio[1212]: Internal resolution is 32 bit floating point.
Nov 10 22:39:30 volumio volumio[1212]: Creating 4 FFTW plans of size 32768...finished.
Nov 10 22:39:37 volumio volumio[886]: info: [MyVolumio PluginManager] MyVolumio plugin successfully loaded
Nov 10 22:39:37 volumio volumio[886]: [MyVolumio PluginManager] Starting plugin system_controller.my_volumio
Nov 10 22:39:37 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
Nov 10 22:39:37 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
Nov 10 22:39:37 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
Nov 10 22:39:37 volumio volumio[886]: info: Starting MyVolumio Remote Streaming Endpoints
Nov 10 22:39:37 volumio volumio[886]: info: [MyVolumio PluginManager] Streaming Services plugin successfully loaded
Nov 10 22:39:37 volumio volumio[886]: [MyVolumio PluginManager] Starting plugin music_service.streaming_services
Nov 10 22:39:37 volumio volumio[886]: info: Streaming services startup
Nov 10 22:39:37 volumio volumio[886]: info: Starting Streaming Daemon
Nov 10 22:39:38 volumio volumio[886]: info: MyVolumio not started
Nov 10 22:39:38 volumio volumio[886]: info: Initializing device activation check
Nov 10 22:39:38 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
Nov 10 22:39:38 volumio volumio[886]: info: [MyVolumio PluginManager] MyVolumio plugin successfully started
Nov 10 22:39:39 volumio sudo[1215]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart volumio-streaming-daemon.service
Nov 10 22:39:39 volumio sudo[1215]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 10 22:39:39 volumio volumio[886]: /usr/bin/md5sum: /sys/class/net/eth0/address: No such file or directory
Nov 10 22:39:39 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
Nov 10 22:39:39 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
Nov 10 22:39:39 volumio volumio[886]: info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
Nov 10 22:39:39 volumio systemd[1]: Stopping Volumio Streaming Daemon...
Nov 10 22:39:40 volumio systemd[1]: Starting Volumio Streaming Daemon...
Nov 10 22:39:40 volumio systemd[1]: Started Volumio Streaming Daemon.
Nov 10 22:39:40 volumio sudo[1215]: pam_unix(sudo:session): session closed for user root
Nov 10 22:39:41 volumio volumio[886]: Upnp client error: Error: This socket has been ended by the other party
Random avatar
Solveit
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Sun Sep 29 2019 18:49


Volumio2 and brutefir...

Postby balbuze » Mon Nov 11 2019 09:30

@solveit : yes it looks like a lack of memory.
But try the following : brutefir.conf.tmpl try to set the fields process to -1
Code: Select all
process: -1;

this ligne appears several times ( set to 0 or 1)
You can reduce filter lenght
Sorry but I can't test as no hardware... ;)
User avatar
balbuze
Moderator
 
Posts: 1684
Joined: Thu May 08 2014 08:42
Location: Isère France


Volumio2 and brutefir...

Postby Solveit » Mon Nov 11 2019 13:25

The process setting works no more lack of memory but I try to manually set filters in conf.tmpl it dont work.
Edit:I managed to install an older version so I go from there. :)
Code: Select all
Nov 11 13:07:32 volumio systemd[1]: Starting brutefir Daemon...
Nov 11 13:07:32 volumio systemd[1]: Started brutefir Daemon.
Nov 11 13:07:33 volumio volumio[996]: BruteFIR v1.0m (November 2013)                                (c) Anders Torger
Nov 11 13:07:33 volumio volumio[996]: Internal resolution is 32 bit floating point.
Nov 11 13:07:33 volumio volumio[996]: Cannot mix manual process settings with automatic.
Nov 11 13:07:33 volumio volumio[852]: info: MPD Permissions set
Nov 11 13:07:33 volumio volumio[852]: info: Volumio called home
Nov 11 13:07:33 volumio volumio[852]: info: Setting Device type: Raspberry PI
Nov 11 13:07:33 volumio volumio[852]: info: snd_aloop loaded
Nov 11 13:07:33 volumio volumio[852]: info: MPD running with PID534 ,establishing connection
Nov 11 13:07:34 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 11 13:07:34 volumio systemd[1]: Unit brutefir.service entered failed state.
Nov 11 13:07:34 volumio sudo[991]: pam_unix(sudo:session): session closed for user root
Nov 11 13:07:34 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Nov 11 13:07:34 volumio systemd[1]: Stopping brutefir Daemon...
Nov 11 13:07:34 volumio systemd[1]: Starting brutefir Daemon...
Nov 11 13:07:34 volumio systemd[1]: Started brutefir Daemon.
Random avatar
Solveit
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Sun Sep 29 2019 18:49

Previous

Return to Development talks

Who is online

Users browsing this forum: No registered users and 8 guests