You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no audio. It only has Auto and Dummy Output in the AUDIO OUTPUT setting, and it has only AUTO, VC4-HDMI-0PRO AUDIO and VC4-HDMI-1PRO AUDIO. But still no sound even I selected them.
Detailed reproduction steps
First of all, the boot went no signal after the Splash screen. I then tried to use vc4-fkms-v3d, it solved the problem but no sound. The booting screen has a bit flickering and it could not find the sound hardware when I typed aplay -l. "no soundcards found..."
Then I decided to keep using vc4-kms-v3d but first of all I need to solve the blank screen issue.
I tried so many times and finally solved it by adding hdmi_force_hotplug=1 to config.txt and adding video=HDMI-A-1:1920x1080@60D to cmdline.txt.
I was happy but now it had no sound. The aplay -l command gave me the correct sound hardware:
I also tried to enter Kodi and select HDMI sound (default it selected Pipewire server). Kodi then had sound. I even tried to set passthrough and no luck.
Details of any attempts to fix this yourself
I tried to set audio.device=hdmi, audio.device=0,3, audio.device=0,4, etc... but no luck
I tried to add snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 to cmdline.txt but no luck
I tried to add below to config.txt but no luck:
auto auto
pro-audio@alsa_card._sys_devices_platform_soc_107c701400.hdmi_sound_card0 vc4-hdmi-0 Pro Audio
pro-audio@alsa_card._sys_devices_platform_soc_107c706400.hdmi_sound_card1 vc4-hdmi-1 Pro Audio
id 0, type PipeWire:Interface:Core/4
object.serial = "0"
core.name = "pipewire-0"
id 1, type PipeWire:Interface:Module/3
object.serial = "1"
module.name = "libpipewire-module-rt"
id 2, type PipeWire:Interface:Module/3
object.serial = "2"
module.name = "libpipewire-module-protocol-native"
id 3, type PipeWire:Interface:Module/3
object.serial = "3"
module.name = "libpipewire-module-profiler"
id 4, type PipeWire:Interface:Profiler/3
object.serial = "4"
id 5, type PipeWire:Interface:Module/3
object.serial = "5"
module.name = "libpipewire-module-metadata"
id 6, type PipeWire:Interface:Factory/3
object.serial = "6"
module.id = "5"
factory.name = "metadata"
factory.type.name = "PipeWire:Interface:Metadata"
factory.type.version = "3"
id 7, type PipeWire:Interface:Module/3
object.serial = "7"
module.name = "libpipewire-module-spa-device-factory"
id 8, type PipeWire:Interface:Factory/3
object.serial = "8"
module.id = "7"
factory.name = "spa-device-factory"
factory.type.name = "PipeWire:Interface:Device"
factory.type.version = "3"
id 9, type PipeWire:Interface:Module/3
object.serial = "9"
module.name = "libpipewire-module-spa-node-factory"
id 10, type PipeWire:Interface:Factory/3
object.serial = "10"
module.id = "9"
factory.name = "spa-node-factory"
factory.type.name = "PipeWire:Interface:Node"
factory.type.version = "3"
id 11, type PipeWire:Interface:Module/3
object.serial = "11"
module.name = "libpipewire-module-client-node"
id 12, type PipeWire:Interface:Factory/3
object.serial = "12"
module.id = "11"
factory.name = "client-node"
factory.type.name = "PipeWire:Interface:ClientNode"
factory.type.version = "5"
id 13, type PipeWire:Interface:Module/3
object.serial = "13"
module.name = "libpipewire-module-client-device"
id 14, type PipeWire:Interface:Factory/3
object.serial = "14"
module.id = "13"
factory.name = "client-device"
factory.type.name = "Spa:Pointer:Interface:Device"
factory.type.version = "0"
id 15, type PipeWire:Interface:Module/3
object.serial = "15"
module.name = "libpipewire-module-portal"
id 16, type PipeWire:Interface:Module/3
object.serial = "16"
module.name = "libpipewire-module-access"
id 17, type PipeWire:Interface:Module/3
object.serial = "17"
module.name = "libpipewire-module-adapter"
id 18, type PipeWire:Interface:Factory/3
object.serial = "18"
module.id = "17"
factory.name = "adapter"
factory.type.name = "PipeWire:Interface:Node"
factory.type.version = "3"
id 19, type PipeWire:Interface:Module/3
object.serial = "19"
module.name = "libpipewire-module-link-factory"
id 20, type PipeWire:Interface:Factory/3
object.serial = "20"
module.id = "19"
factory.name = "link-factory"
factory.type.name = "PipeWire:Interface:Link"
factory.type.version = "3"
id 21, type PipeWire:Interface:Module/3
object.serial = "21"
module.name = "libpipewire-module-session-manager"
id 22, type PipeWire:Interface:Factory/3
object.serial = "22"
module.id = "21"
factory.name = "client-endpoint"
factory.type.name = "PipeWire:Interface:ClientEndpoint"
factory.type.version = "0"
id 23, type PipeWire:Interface:Factory/3
object.serial = "23"
module.id = "21"
factory.name = "client-session"
factory.type.name = "PipeWire:Interface:ClientSession"
factory.type.version = "0"
id 24, type PipeWire:Interface:Factory/3
object.serial = "24"
module.id = "21"
factory.name = "session"
factory.type.name = "PipeWire:Interface:Session"
factory.type.version = "0"
id 25, type PipeWire:Interface:Factory/3
object.serial = "25"
module.id = "21"
factory.name = "endpoint"
factory.type.name = "PipeWire:Interface:Endpoint"
factory.type.version = "0"
id 26, type PipeWire:Interface:Factory/3
object.serial = "26"
module.id = "21"
factory.name = "endpoint-stream"
factory.type.name = "PipeWire:Interface:EndpointStream"
factory.type.version = "0"
id 27, type PipeWire:Interface:Factory/3
object.serial = "27"
module.id = "21"
factory.name = "endpoint-link"
factory.type.name = "PipeWire:Interface:EndpointLink"
factory.type.version = "0"
id 28, type PipeWire:Interface:Node/3
object.serial = "28"
factory.id = "10"
priority.driver = "20000"
node.name = "Dummy-Driver"
id 29, type PipeWire:Interface:Node/3
object.serial = "29"
factory.id = "10"
priority.driver = "19000"
node.name = "Freewheel-Driver"
id 30, type PipeWire:Interface:Metadata/3
object.serial = "30"
metadata.name = "settings"
id 31, type PipeWire:Interface:Client/3
object.serial = "31"
module.id = "2"
pipewire.protocol = "protocol-native"
pipewire.sec.pid = "720"
pipewire.sec.uid = "0"
pipewire.sec.gid = "0"
pipewire.sec.socket = "pipewire-0"
pipewire.access = "unrestricted"
application.name = "pipewire"
id 32, type PipeWire:Interface:Node/3
object.serial = "32"
factory.id = "18"
client.id = "31"
node.description = "Dummy Output"
node.name = "auto_null"
media.class = "Audio/Sink"
id 33, type PipeWire:Interface:Client/3
object.serial = "33"
module.id = "2"
pipewire.protocol = "protocol-native"
pipewire.sec.pid = "718"
pipewire.sec.uid = "0"
pipewire.sec.gid = "0"
pipewire.sec.socket = "pipewire-0"
pipewire.access = "unrestricted"
application.name = "WirePlumber"
id 34, type PipeWire:Interface:Client/3
object.serial = "34"
module.id = "2"
pipewire.protocol = "protocol-native"
pipewire.sec.pid = "718"
pipewire.sec.uid = "0"
pipewire.sec.gid = "0"
pipewire.sec.socket = "pipewire-0"
pipewire.access = "unrestricted"
application.name = "WirePlumber [export]"
id 35, type PipeWire:Interface:Metadata/3
factory.id = "6"
module.id = "5"
metadata.name = "default"
client.id = "33"
object.serial = "35"
id 36, type PipeWire:Interface:Node/3
object.serial = "45"
factory.id = "10"
client.id = "34"
priority.driver = "1"
node.name = "Midi-Bridge"
media.class = "Midi/Bridge"
id 37, type PipeWire:Interface:Metadata/3
metadata.name = "route-settings"
factory.id = "6"
module.id = "5"
client.id = "33"
object.serial = "37"
id 38, type PipeWire:Interface:Metadata/3
metadata.name = "sm-objects"
factory.id = "6"
module.id = "5"
client.id = "33"
object.serial = "38"
id 39, type PipeWire:Interface:Device/3
object.serial = "39"
factory.id = "14"
client.id = "34"
device.api = "alsa"
device.description = "Built-in Audio"
device.name = "alsa_card._sys_devices_platform_soc_107c701400.hdmi_sound_card0"
device.nick = "vc4-hdmi-0"
media.class = "Audio/Device"
id 40, type PipeWire:Interface:Device/3
object.serial = "40"
factory.id = "14"
client.id = "34"
device.api = "alsa"
device.description = "Built-in Audio"
device.name = "alsa_card._sys_devices_platform_soc_107c706400.hdmi_sound_card1"
device.nick = "vc4-hdmi-1"
media.class = "Audio/Device"
id 41, type PipeWire:Interface:Port/3
object.serial = "41"
object.path = "auto_null:playback_0"
format.dsp = "32 bit float mono audio"
node.id = "32"
audio.channel = "FL"
port.id = "0"
port.name = "playback_FL"
port.direction = "in"
port.alias = "Dummy Output:playback_FL"
id 42, type PipeWire:Interface:Port/3
object.serial = "42"
object.path = "auto_null:monitor_0"
format.dsp = "32 bit float mono audio"
node.id = "32"
audio.channel = "FL"
port.id = "0"
port.name = "monitor_FL"
port.direction = "out"
port.monitor = "true"
port.alias = "Dummy Output:monitor_FL"
id 43, type PipeWire:Interface:Port/3
object.serial = "43"
object.path = "auto_null:playback_1"
format.dsp = "32 bit float mono audio"
node.id = "32"
audio.channel = "FR"
port.id = "1"
port.name = "playback_FR"
port.direction = "in"
port.alias = "Dummy Output:playback_FR"
id 44, type PipeWire:Interface:Port/3
object.serial = "44"
object.path = "auto_null:monitor_1"
format.dsp = "32 bit float mono audio"
node.id = "32"
audio.channel = "FR"
port.id = "1"
port.name = "monitor_FR"
port.direction = "out"
port.monitor = "true"
port.alias = "Dummy Output:monitor_FR"
id 45, type PipeWire:Interface:Port/3
object.serial = "46"
object.path = "alsa:seq:default:client_14:playback_0"
format.dsp = "8 bit raw midi"
node.id = "36"
port.id = "0"
port.name = "Midi Through:(playback_0) Midi Through Port-0"
port.direction = "in"
port.physical = "true"
port.terminal = "true"
port.alias = "Midi Through:Midi Through Port-0"
id 46, type PipeWire:Interface:Port/3
object.serial = "47"
object.path = "alsa:seq:default:client_14:capture_0"
format.dsp = "8 bit raw midi"
node.id = "36"
port.id = "0"
port.name = "Midi Through:(capture_0) Midi Through Port-0"
port.direction = "out"
port.physical = "true"
port.terminal = "true"
port.alias = "Midi Through:Midi Through Port-0"
id 47, type PipeWire:Interface:Port/3
object.serial = "226"
object.path = "alsa_playback.emulationstation:output_0"
format.dsp = "32 bit float mono audio"
node.id = "49"
audio.channel = "FL"
port.id = "0"
port.name = "output_FL"
port.direction = "out"
port.alias = "ALSA Playback [emulationstation]:output_FL"
id 48, type PipeWire:Interface:Client/3
object.serial = "223"
module.id = "2"
pipewire.protocol = "protocol-native"
pipewire.sec.pid = "720"
pipewire.sec.uid = "0"
pipewire.sec.gid = "0"
pipewire.sec.socket = "pipewire-0"
pipewire.access = "unrestricted"
application.name = "EmulationStation"
id 49, type PipeWire:Interface:Node/3
object.serial = "225"
factory.id = "8"
client.id = "53"
application.name = "PipeWire ALSA [emulationstation]"
node.description = "ALSA Playback [emulationstation]"
node.name = "alsa_playback.emulationstation"
media.class = "Stream/Output/Audio"
media.type = "Audio"
media.category = "Playback"
id 50, type PipeWire:Interface:Link/3
object.serial = "228"
factory.id = "20"
client.id = "33"
link.output.port = "47"
link.input.port = "41"
link.output.node = "49"
link.input.node = "32"
id 51, type PipeWire:Interface:Port/3
object.serial = "227"
object.path = "alsa_playback.emulationstation:output_1"
format.dsp = "32 bit float mono audio"
node.id = "49"
audio.channel = "FR"
port.id = "1"
port.name = "output_FR"
port.direction = "out"
port.alias = "ALSA Playback [emulationstation]:output_FR"
id 52, type PipeWire:Interface:Link/3
object.serial = "229"
factory.id = "20"
client.id = "33"
link.output.port = "51"
link.input.port = "43"
link.output.node = "49"
link.input.node = "32"
id 53, type PipeWire:Interface:Client/3
object.serial = "224"
module.id = "2"
pipewire.protocol = "protocol-native"
pipewire.sec.pid = "7040"
pipewire.sec.uid = "0"
pipewire.sec.gid = "0"
pipewire.sec.socket = "pipewire-0"
pipewire.access = "unrestricted"
application.name = "PipeWire ALSA [emulationstation]"
id 54, type PipeWire:Interface:Client/3
object.serial = "255"
module.id = "2"
pipewire.protocol = "protocol-native"
pipewire.sec.pid = "9213"
pipewire.sec.uid = "0"
pipewire.sec.gid = "0"
pipewire.sec.socket = "pipewire-0"
pipewire.access = "unrestricted"
application.name = "pw-cli"
$ alsactl init:
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "vc4-hdmi" "" "" "" ""
Hardware is initialized using a generic method
alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
Found hardware: "vc4-hdmi" "" "" "" ""
Hardware is initialized using a generic method
#------------------------------------
# Original Default Batocera for Pi5
#------------------------------------
arm_boost=1
arm_64bit=1
kernel=boot/linux
initramfs boot/initrd.lz4
dtoverlay=vc4-kms-v3d,cma-512
# Fixed the issue of vc4-kms-v3d with my Arzopa portable monitor
hdmi_force_hotplug=1
# Enable bluetooth
dtparam=krnbt=on
[Overclock]
over_voltage_delta=50000
arm_freq=2900
gpu_freq=950
Below is the batocera.conf (Audio Part only):
# ------------ C - Audio ------------ #
## Set the audio device
## Use "batocera-audio list" to see available devices.
audio.device=auto
#audio.device=alsa_card._sys_devices_platform_soc_107c701400.hdmi_sound_card0
#audio.device=0,4
#audio.device="hw:0,4"
#audio.device=hdmi
#audio.output=hdmi
## Set system volume (0-100)
audio.volume=70
## Set max volume for boost sound (100-150)
audio.volume.boost=100
## Enable or disable system sounds in ES (0,1)
audio.bgmusic=1
I am using Raspberry Pi 5 + Batocera (V40o 2024/07/31 14:27), connected to Arzopa portable monitor (A1 model), with mini HDMI (I think most portable monitors are with mini HDMI).
The audio and video are fine if I connected to TV or my 32" LG monitor with HDMI.
Your help is greatly appreciated.
Best Regards, and thank you.
The text was updated successfully, but these errors were encountered:
Thanks for answering me. I think many OS may have this issue with different new or old monitors....
With the same Pi 5 board, I have also tried to install LinkageOS 21 (https://konstakang.com/devices/rpi5/) but with the below TV/PC monitor results:
LG 32" UltraFine UHD 4K Ergo IPS Monitor: Fine (with both video and audio)
Arzopa Portable Monitor A1: No video signal...
Sony Bravia TV (seems 2020 model): No video signal...
Batocera build version
40-dev
Your architecture
Raspberry Pi 5
Your Graphic Processor Unit(s) (GPU)
Raspberry Pi 5 onboard
Issue description
I have no audio. It only has Auto and Dummy Output in the AUDIO OUTPUT setting, and it has only AUTO, VC4-HDMI-0PRO AUDIO and VC4-HDMI-1PRO AUDIO. But still no sound even I selected them.
Detailed reproduction steps
First of all, the boot went no signal after the Splash screen. I then tried to use vc4-fkms-v3d, it solved the problem but no sound. The booting screen has a bit flickering and it could not find the sound hardware when I typed aplay -l. "no soundcards found..."
Then I decided to keep using vc4-kms-v3d but first of all I need to solve the blank screen issue.
I tried so many times and finally solved it by adding hdmi_force_hotplug=1 to config.txt and adding video=HDMI-A-1:1920x1080@60D to cmdline.txt.
I was happy but now it had no sound. The aplay -l command gave me the correct sound hardware:
I also tried to enter Kodi and select HDMI sound (default it selected Pipewire server). Kodi then had sound. I even tried to set passthrough and no luck.
Details of any attempts to fix this yourself
I tried to set audio.device=hdmi, audio.device=0,3, audio.device=0,4, etc... but no luck
I tried to add snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 to cmdline.txt but no luck
I tried to add below to config.txt but no luck:
Details of any modifications you have made to Batocera.
Adding hdmi_force_hotplug=1 to config.txt and adding video=HDMI-A-1:1920x1080@60D to cmdline.txt
Logs and data
$ pw-top:
$ batocera-audio list:
$ batocera-audio get:
auto
$ batocera-audio list-profiles:
$ batocera-audio get-profile:
(empty)
$ aplay -l:
$ aplay -L:
$ lsmod | grep -i snd:
$ lspci -k:
$ dmesg | grep -i snd:
(Empty)
$ pactl list cards:
$ pactl list sinks:
$ pw-cli ls:
$ alsactl init:
Below is the content of cmdline.txt:
console=tty3 video=HDMI-A-1:1920x1080@60D loglevel=3 elevator=deadline vt.global_cursor_default=0 logo.nologo dev=LABEL=BATOCERA rootwait fastboot noswap
Below is the content of config.txt:
Below is the batocera.conf (Audio Part only):
I am using Raspberry Pi 5 + Batocera (V40o 2024/07/31 14:27), connected to Arzopa portable monitor (A1 model), with mini HDMI (I think most portable monitors are with mini HDMI).
The audio and video are fine if I connected to TV or my 32" LG monitor with HDMI.
Your help is greatly appreciated.
Best Regards, and thank you.
The text was updated successfully, but these errors were encountered: