You are not logged in.
SOLVED, a reboot of TV fixed the issue
As a title states, when trying to cast a video from my Archlinux desktop to a TV, the video plays just fine, but there is zero audio.
I have tried this on multiple sites and places. Audio on the desktop itself works just fine.
I've went through the wiki and not sure what the hell i am missing. On the desktop, everything works fine. This is an issue with casting only. Any suggestions/help troubleshooting is appreciated.
pipewire-alsa 1:0.3.67-1
pipewire-audio 1:0.3.67-1
pipewire-pulse 1:0.3.67-1
pipewire 1:0.3.67-1
google-chrome 111.0.5563.146-1
google-chrome 111.0.5563.146-1
pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 529
Tile Size: 65472
User Name: yevsey
Host Name: desktopoffice
Server Name: PulseAudio (on PipeWire 0.3.67)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_13_00.4.analog-stereo
Default Source: alsa_output.pci-0000_13_00.4.analog-stereo.monitor
Cookie: f624:6883
[yevsey@desktopoffice ~]$ systemctl --user status pipewire-media-session.service
● pipewire-media-session.service - PipeWire Media Session Manager
Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-03-29 18:36:35 MDT; 9s ago
Main PID: 90489 (pipewire-media-)
Tasks: 2 (limit: 76993)
Memory: 13.4M
CPU: 150ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-media-session.service
└─90489 /usr/bin/pipewire-media-session
Mar 29 18:36:35 desktopoffice systemd[1473]: Started PipeWire Media Session Manager.
Mar 29 18:36:36 desktopoffice pipewire-media-session[90489]: spa.bluez5: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
[yevsey@desktopoffice ~]$ pactl list sinks
Sink #887
State: SUSPENDED
Name: alsa_output.pci-0000_11_00.1.hdmi-stereo-extra2
Description: Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 3)
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 48287 / 74% / -7.96 dB, front-right: 48287 / 74% / -7.96 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_11_00.1.hdmi-stereo-extra2.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
object.path = "alsa:pcm:1:hdmi:1,2:playback"
api.alsa.path = "hdmi:1,2"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "1"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "2770"
alsa.id = "HDMI 2"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "8"
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfc220000 irq 155"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "hdmi-stereo-extra2"
device.profile.description = "Digital Stereo (HDMI 3)"
card.profile.device = "12"
device.id = "44"
factory.name = "api.alsa.pcm.sink"
priority.driver = "552"
priority.session = "552"
media.class = "Audio/Sink"
node.nick = "HDA ATI HDMI"
node.name = "alsa_output.pci-0000_11_00.1.hdmi-stereo-extra2"
device.description = "Navi 21/23 HDMI/DP Audio Controller"
device.icon_name = "audio-card-hdmi"
device.bus = "pci"
device.bus_path = "pci-0000:11:00.1"
node.pause-on-idle = "false"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "72"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "46"
object.serial = "887"
device.enum.api = "udev"
api.alsa.card = "1"
api.alsa.card.name = "HDA ATI HDMI"
api.alsa.card.longname = "HDA ATI HDMI at 0xfc220000 irq 155"
device.plugged.usec = "6753747"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0f:00.0/0000:10:00.0/0000:11:00.1/sound/card1"
device.subsystem = "sound"
device.vendor.id = "0x1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "0xab28"
device.product.name = "Navi 21/23 HDMI/DP Audio Controller"
device.name = "alsa_card.pci-0000_11_00.1"
device.nick = "HDA ATI HDMI"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio1"
device.string = "1"
Ports:
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, availability group: Legacy 3, available)
Active Port: hdmi-output-2
Formats:
pcm
Sink #888
State: SUSPENDED
Name: alsa_output.pci-0000_13_00.4.analog-stereo
Description: Starship/Matisse HD Audio Controller Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 48287 / 74% / -7.96 dB, front-right: 48287 / 74% / -7.96 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_13_00.4.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
object.path = "alsa:pcm:2:front:2:playback"
api.alsa.path = "front:2"
api.alsa.pcm.card = "2"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "2"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc000000 irq 157"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
card.profile.device = "5"
device.id = "89"
factory.name = "api.alsa.pcm.sink"
priority.driver = "881"
priority.session = "881"
media.class = "Audio/Sink"
node.nick = "HD-Audio Generic"
node.name = "alsa_output.pci-0000_13_00.4.analog-stereo"
device.description = "Starship/Matisse HD Audio Controller"
device.icon_name = "audio-card-analog"
device.bus = "pci"
device.bus_path = "pci-0000:13:00.4"
node.pause-on-idle = "false"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "72"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "67"
object.serial = "888"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
device.enum.api = "udev"
api.alsa.card = "2"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.card.longname = "HD-Audio Generic at 0xfc000000 irq 157"
device.plugged.usec = "6753521"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:13:00.4/sound/card2"
device.subsystem = "sound"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "0x1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.name = "alsa_card.pci-0000_13_00.4"
device.nick = "HD-Audio Generic"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio2"
device.string = "2"
Ports:
analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, not available)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, available)
Active Port: analog-output-headphones
Formats:
pcm
Last edited by krutoileshii (2023-03-30 20:35:55)
Offline
Casting what/where exactly? The way chrome "casting" (... of a webpage) normally works is that the TV does everything and you just have a control via the browser, but all the logic of actually accessing the relevant resources sits in the TV, thus are you sure your TV isn't just muted? FWIW from a desktop streaming perspective assuming audio is streamed as well you'd look at sources rather than sinks, so what do you get from
pactl list sources
pactl list source-outputs
during a "faulty" situation.
Offline
[yevsey@desktopoffice ~]$ pactl list sources
Source #888
State: SUSPENDED
Name: alsa_output.pci-0000_13_00.4.analog-stereo.monitor
Description: Monitor of Starship/Matisse HD Audio Controller Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor of Sink: alsa_output.pci-0000_13_00.4.analog-stereo
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
object.path = "alsa:pcm:2:front:2:playback"
api.alsa.path = "front:2"
api.alsa.pcm.card = "2"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "2"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "monitor"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc000000 irq 157"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
card.profile.device = "5"
device.id = "89"
factory.name = "api.alsa.pcm.sink"
priority.driver = "881"
priority.session = "881"
media.class = "Audio/Sink"
node.nick = "HD-Audio Generic"
node.name = "alsa_output.pci-0000_13_00.4.analog-stereo"
device.description = "Starship/Matisse HD Audio Controller"
device.icon_name = "audio-card-analog"
device.bus = "pci"
device.bus_path = "pci-0000:13:00.4"
node.pause-on-idle = "false"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "72"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "67"
object.serial = "888"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
device.enum.api = "udev"
api.alsa.card = "2"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.card.longname = "HD-Audio Generic at 0xfc000000 irq 157"
device.plugged.usec = "6753521"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:13:00.4/sound/card2"
device.subsystem = "sound"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "0x1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.name = "alsa_card.pci-0000_13_00.4"
device.nick = "HD-Audio Generic"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio2"
device.string = "2"
Formats:
pcm
Source #889
State: SUSPENDED
Name: alsa_input.pci-0000_13_00.4.analog-stereo
Description: Starship/Matisse HD Audio Controller Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor of Sink: n/a
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
object.path = "alsa:pcm:2:front:2:capture"
api.alsa.path = "front:2"
api.alsa.pcm.card = "2"
api.alsa.pcm.stream = "capture"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "3"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc000000 irq 157"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
card.profile.device = "0"
device.id = "89"
factory.name = "api.alsa.pcm.source"
priority.driver = "1881"
priority.session = "1881"
media.class = "Audio/Source"
node.nick = "HD-Audio Generic"
node.name = "alsa_input.pci-0000_13_00.4.analog-stereo"
device.description = "Starship/Matisse HD Audio Controller"
device.icon_name = "audio-input-microphone-analog"
device.bus = "pci"
device.bus_path = "pci-0000:13:00.4"
node.pause-on-idle = "false"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "72"
node.driver = "true"
factory.mode = "split"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "52"
object.serial = "889"
device.enum.api = "udev"
api.alsa.card = "2"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.card.longname = "HD-Audio Generic at 0xfc000000 irq 157"
device.plugged.usec = "6753521"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:13:00.4/sound/card2"
device.subsystem = "sound"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "0x1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.name = "alsa_card.pci-0000_13_00.4"
device.nick = "HD-Audio Generic"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio2"
device.string = "2"
Ports:
analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, availability group: Legacy 1, not available)
analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, availability group: Legacy 2, not available)
analog-input-linein: Line In (type: Line, priority: 8100, availability group: Legacy 3, not available)
Active Port: analog-input-front-mic
Formats:
pcm
Source #1003
State: SUSPENDED
Name: alsa_output.pci-0000_11_00.1.hdmi-stereo-extra2.monitor
Description: Monitor of Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 3)
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor of Sink: alsa_output.pci-0000_11_00.1.hdmi-stereo-extra2
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
object.path = "alsa:pcm:1:hdmi:1,2:playback"
api.alsa.path = "hdmi:1,2"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "1"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "monitor"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "2770"
alsa.id = "HDMI 2"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "8"
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfc220000 irq 155"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "hdmi-stereo-extra2"
device.profile.description = "Digital Stereo (HDMI 3)"
card.profile.device = "12"
device.id = "44"
factory.name = "api.alsa.pcm.sink"
priority.driver = "552"
priority.session = "552"
media.class = "Audio/Sink"
node.nick = "HDA ATI HDMI"
node.name = "alsa_output.pci-0000_11_00.1.hdmi-stereo-extra2"
device.description = "Navi 21/23 HDMI/DP Audio Controller"
device.icon_name = "audio-card-hdmi"
device.bus = "pci"
device.bus_path = "pci-0000:11:00.1"
node.pause-on-idle = "false"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "72"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "46"
object.serial = "1003"
device.enum.api = "udev"
api.alsa.card = "1"
api.alsa.card.name = "HDA ATI HDMI"
api.alsa.card.longname = "HDA ATI HDMI at 0xfc220000 irq 155"
device.plugged.usec = "6753747"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0f:00.0/0000:10:00.0/0000:11:00.1/sound/card1"
device.subsystem = "sound"
device.vendor.id = "0x1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "0xab28"
device.product.name = "Navi 21/23 HDMI/DP Audio Controller"
device.name = "alsa_card.pci-0000_11_00.1"
device.nick = "HDA ATI HDMI"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio1"
device.string = "1"
Formats:
pcm
produces nothing.
Offline
Casting what/where exactly? The way chrome "casting" (... of a webpage) normally works is that the TV does everything and you just have a control via the browser, but all the logic of actually accessing the relevant resources sits in the TV, thus are you sure your TV isn't just muted?
?
What might have somewhat of a relevance here, is PipewireWEBRTC integration enabled? e.g. https://askubuntu.com/a/1339294
Offline
Complete brain fart here. Forgot the first thing about troubleshooting..... If you didn't mention TV, I would have wasted more time. Thank you.
me wrote:Casting what/where exactly? The way chrome "casting" (... of a webpage) normally works is that the TV does everything and you just have a control via the browser, but all the logic of actually accessing the relevant resources sits in the TV, thus are you sure your TV isn't just muted?
?
What might have somewhat of a relevance here, is PipewireWEBRTC integration enabled? e.g. https://askubuntu.com/a/1339294
Offline