Volumio Information
Volumio Version: 3 beta
Hardware: RPI4
DAC: hifiberry dac2
Hello everybody,
I am stuck on one thing for many days and its making me crazy. Iam trying to set up volumio with pulseeffects equalization but i am unsucessfull.
First i need to point out that i cannot use other solutions like equalizer plugin or hadrware equalizer because i really need bass enhancer and other enhancements present only in pulseeffects (or viper4linux but its certain libraries are not ported for ARM - i discussed that with creator of viper4linux)
Therefore i started my research. I installed classic Debian buster with gui and then pulseeffects itself - all working very nicely. Then with finished preset for equalizer i started moving this equalization with pulseeffect to volumio. I had some issues like absence of gui - i installed XVFB to launch it without it, then there vere some errors from GTK which i solved by
> $ sudo sh # umask 022 # update-mime-database /usr/share/mime # exit
which i have no idea what it does but after that pulseeffects launches just fine, i was able to put my equalizer preset to respective folder (output) and other file to folder (autoload) but equalization didnt happened. I then checked with pacmd that pulseaudio dont see any cards that are connected to system. I was a bit lost, added volumio user to audio and pulse group, tried to launch it as sudo, nothing worked.
Then i decied to uninstall pulseaudio and install it again because someone on forum said it helped him from unknown reason. After that i am able to see my cards finally but there is no “sink-input” when i play music over volumio. On normal debian buster with gui, when i play something on youtube for example and i let pacmd to list sink inputs it shows “chromium sink input” or something like that and it will capture it somehow and equalize the sound and then output it to sound card. But this is not happening in volumio, no input sinks shows up no metter how i play things in volumio - web radio, local files, airplay - nothing shows in pacmd, therefore its not capturing this stream properly and equalization does not happen.
I researched official documentation of pulseaudio but they only say this:
Note: If
pacmd
reports0 sink input(s)
, double-check that the application is playing audio. If it is still absent, verify that other applications show up as sink inputs.
But nothing else, and in Volumio, volumio is the only app that is sending sound.
There is few outputs if it would help:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 [HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
PACMD INFO
>>> info
Memory blocks currently allocated: 1, size: 64.0 KiB.
Memory blocks allocated during the whole lifetime: 1310, size: 2.7 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.platform-bcm2835_audio.analog-stereo
Default source name: alsa_output.platform-bcm2835_audio.analog-stereo.monitor
Memory blocks of type POOL: 1 allocated/1 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/1309 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
22 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "12.2"
index: 1
name: <module-stream-restore>
argument: <restore_device=false>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "12.2"
index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "12.2"
index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "12.2"
index: 4
name: <module-switch-on-port-available>
argument: <>
used: -1
load once: yes
properties:
module.author = "David Henningsson"
module.description = "Switches ports and profiles when devices are plugged/unplugged"
module.version = "12.2"
index: 5
name: <module-udev-detect>
argument: <tsched=0>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "12.2"
index: 6
name: <module-alsa-card>
argument: <device_id="0" name="platform-bcm2835_audio" card_name="alsa_card.platform-bcm2835_audio" namereg_fail=false tsched=no fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "12.2"
index: 7
name: <module-alsa-card>
argument: <device_id="1" name="platform-bcm2835_audio" card_name="alsa_card.platform-bcm2835_audio" namereg_fail=false tsched=no fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "12.2"
index: 8
name: <module-alsa-card>
argument: <device_id="2" name="platform-soc_sound" card_name="alsa_card.platform-soc_sound" namereg_fail=false tsched=no fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "12.2"
index: 9
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "12.2"
index: 10
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "12.2"
index: 11
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
module.version = "12.2"
index: 12
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded even if it's a null one"
module.version = "12.2"
index: 13
name: <module-intended-roles>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based on intended roles of devices"
module.version = "12.2"
index: 14
name: <module-suspend-on-idle>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "12.2"
index: 15
name: <module-console-kit>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each ConsoleKit session of this user"
module.version = "12.2"
index: 16
name: <module-systemd-login>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = "12.2"
index: 17
name: <module-position-event-sounds>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "12.2"
index: 18
name: <module-role-cork>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Mute & cork streams with certain roles while others exist"
module.version = "12.2"
index: 19
name: <module-filter-heuristics>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "12.2"
index: 20
name: <module-filter-apply>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "12.2"
index: 25
name: <module-cli-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Command line interface protocol (UNIX sockets)"
module.version = "12.2"
3 sink(s) available.
index: 0
name: <alsa_output.platform-bcm2835_audio.digital-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
state: SUSPENDED
suspend cause: IDLE
priority: 9000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 59.95 ms
card: 0 <alsa_card.platform-bcm2835_audio>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "bcm2835 HDMI 1"
alsa.id = "bcm2835 HDMI 1"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "bcm2835 HDMI 1"
alsa.long_card_name = "bcm2835 HDMI 1"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0"
device.form_factor = "internal"
device.string = "hw:0"
device.buffering.buffer_size = "10576"
device.buffering.fragment_size = "2640"
device.access_mode = "mmap"
device.profile.name = "digital-stereo"
device.profile.description = "Digital Stereo"
device.description = "Built-in Audio Digital Stereo"
alsa.mixer_name = "Broadcom Mixer"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "video-display"
active port: <hdmi-output-0>
* index: 1
name: <alsa_output.platform-bcm2835_audio.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
state: SUSPENDED
suspend cause: IDLE
priority: 9009
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 59.95 ms
card: 1 <alsa_card.platform-bcm2835_audio.2>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "bcm2835 Headphones"
alsa.id = "bcm2835 Headphones"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "bcm2835 Headphones"
alsa.long_card_name = "bcm2835 Headphones"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card1"
device.form_factor = "internal"
device.string = "hw:1"
device.buffering.buffer_size = "10576"
device.buffering.fragment_size = "2640"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Broadcom Mixer"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
active port: <analog-output>
index: 2
name: <alsa_output.platform-soc_sound.stereo-fallback>
driver: <module-alsa-card.c>
flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME
state: SUSPENDED
suspend cause: IDLE
priority: 9000
volume: front-left: 25545 / 39% / -24.55 dB, front-right: 25545 / 39% / -24.55 dB
balance 0.00
base volume: 56102 / 86% / -4.05 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 2
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 59.95 ms
card: 2 <alsa_card.platform-soc_sound>
module: 8
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0"
alsa.id = "HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "snd_rpi_hifiberry_dacplus"
alsa.long_card_name = "snd_rpi_hifiberry_dacplus"
alsa.driver_name = "snd_soc_hifiberry_dacplus"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card2"
device.form_factor = "internal"
device.string = "hw:2"
device.buffering.buffer_size = "10576"
device.buffering.fragment_size = "2644"
device.access_mode = "mmap"
device.profile.name = "stereo-fallback"
device.profile.description = "Stereo"
device.description = "Built-in Audio Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
3 source(s) available.
index: 0
name: <alsa_output.platform-bcm2835_audio.digital-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 59.95 ms
monitor_of: 0
card: 0 <alsa_card.platform-bcm2835_audio>
module: 6
properties:
device.description = "Monitor of Built-in Audio Digital Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "bcm2835 HDMI 1"
alsa.long_card_name = "bcm2835 HDMI 1"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
* index: 1
name: <alsa_output.platform-bcm2835_audio.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 59.95 ms
monitor_of: 1
card: 1 <alsa_card.platform-bcm2835_audio.2>
module: 7
properties:
device.description = "Monitor of Built-in Audio Analog Stereo"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "bcm2835 Headphones"
alsa.long_card_name = "bcm2835 Headphones"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card1"
device.form_factor = "internal"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
index: 2
name: <alsa_output.platform-soc_sound.stereo-fallback.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 59.95 ms
monitor_of: 2
card: 2 <alsa_card.platform-soc_sound>
module: 8
properties:
device.description = "Monitor of Built-in Audio Stereo"
device.class = "monitor"
alsa.card = "2"
alsa.card_name = "snd_rpi_hifiberry_dacplus"
alsa.long_card_name = "snd_rpi_hifiberry_dacplus"
alsa.driver_name = "snd_soc_hifiberry_dacplus"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card2"
device.form_factor = "internal"
device.string = "2"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
2 client(s) logged in.
index: 0
driver: <module-systemd-login.c>
owner module: 16
properties:
application.name = "Login Session 1"
systemd-login.session = "1"
index: 4
driver: <cli.c>
owner module: 25
properties:
application.name = "UNIX socket client"
3 card(s) available.
index: 0
name: <alsa_card.platform-bcm2835_audio>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "bcm2835 HDMI 1"
alsa.long_card_name = "bcm2835 HDMI 1"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
output:digital-stereo: Digital Stereo Output (priority 5100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:digital-stereo>
sinks:
alsa_output.platform-bcm2835_audio.digital-stereo/#0: Built-in Audio Digital Stereo
sources:
alsa_output.platform-bcm2835_audio.digital-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.platform-bcm2835_audio.2>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "bcm2835 Headphones"
alsa.long_card_name = "bcm2835 Headphones"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card1"
device.form_factor = "internal"
device.string = "1"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
output:analog-stereo: Analog Stereo Output (priority 5100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.platform-bcm2835_audio.analog-stereo/#1: Built-in Audio Analog Stereo
sources:
alsa_output.platform-bcm2835_audio.analog-stereo.monitor/#1: Monitor of Built-in Audio Analog Stereo
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
index: 2
name: <alsa_card.platform-soc_sound>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "2"
alsa.card_name = "snd_rpi_hifiberry_dacplus"
alsa.long_card_name = "snd_rpi_hifiberry_dacplus"
alsa.driver_name = "snd_soc_hifiberry_dacplus"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card2"
device.form_factor = "internal"
device.string = "2"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
output:multichannel-output: Multichannel Output (priority 100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:stereo-fallback>
sinks:
alsa_output.platform-soc_sound.stereo-fallback/#2: Built-in Audio Stereo
sources:
alsa_output.platform-soc_sound.stereo-fallback.monitor/#2: Monitor of Built-in Audio Stereo
ports:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
properties:
0 sink input(s) available.
0 source output(s) available.
0 cache entrie(s) available.
And when i play something, it still says 0 sink inputs available
Iam launching pulseeffects manually and everytime its giving me these errors but it is running, not sure if it is related:
(pulseeffects:1088): pulseeffects-**WARNING** **: 08:12:24.139: pulse_manager: Pulseaudio 12.2 does not support norewinds. Loading the sink the old way. Changing apps volume will cause cracklings
(pulseeffects:1163): GLib-GObject-**WARNING** **: 08:14:12.111: g_object_set_is_valid_property: object class 'GstPulseSrc' has no property named 'D\xac'
I wasnt been able to found on the whole internet what the hell is “norewinds” and what loading sink old way means, nothing.
Is there anybody who knows pulseaudio and volumio and is able to help me? Please. Thank you