Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-01-2019, 03:38 AM
#1
LQ Newbie
Registered: Apr 2009
Posts: 15
Rep:
No HDMI audio with Radeon RX 550 with amdgpu
Hello,
I have an audio issue with HDMI, it's not working but strangely each time I play audio and whatever the sources of the audio I can see the playback is working in pavucontrol but I don't get any sound.
Also I noticed, I have no /dev/dsp and /dev/sound.
Some information :
Code:
❯ lspci -nnk | grep -A2 Audio
0a:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]
Subsystem: Gigabyte Technology Co., Ltd Device [1458:aae0]
Kernel driver in use: snd_hda_intel
Code:
❯ lsmod | gred snd
snd_hda_codec_hdmi 57344 1
snd_hda_intel 40960 4
snd_hda_codec 143360 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_hda_core 86016 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_pcm 114688 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 36864 1 snd_pcm
snd 90112 13 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
soundcore 16384 1 snd
Code:
❯ pactl list sinks
Sink #0
State: IDLE
Name: alsa_output.pci-0000_0a_00.1.hdmi-stereo
Description: HDA ATI HDMI Digital Stereo (HDMI)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
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 Source: alsa_output.pci-0000_0a_00.1.hdmi-stereo.monitor
Latency: 39809 usec, configured 40000 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfe860000 irq 90"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0a:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aae0"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "HDA ATI HDMI Digital Stereo (HDMI)"
alsa.mixer_name = "ATI R6xx HDMI"
alsa.components = "HDA:1002aa01,00aa0100,00100700"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, available)
Active Port: hdmi-output-0
Formats:
dts-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
pcm
Code:
❯ pacmd list-cards
1 card(s) available.
index: 0
name: <alsa_card.pci-0000_0a_00.1>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfe860000 irq 90"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0a:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aae0"
device.string = "0"
device.description = "HDA ATI HDMI"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_0a_00.1.hdmi-stereo/#0: HDA ATI HDMI Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_0a_00.1.hdmi-stereo.monitor/#0: Monitor of HDA ATI HDMI Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
Code:
❯ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code:
❯ aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
aplay: main:828: audio open error: Device or resource busy
❯ aplay -D plughw:0,7 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
❯ aplay -D plughw:0,8 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
❯ aplay -D plughw:0,9 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
❯ aplay -D plughw:0,10 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
No sound...
Code:
❯ ll /dev/snd/*
crw-rw----+ 1 root audio 116, 8 Sep 1 11:49 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 7 Sep 1 11:49 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 6 Sep 1 12:34 /dev/snd/pcmC0D10p
crw-rw----+ 1 root audio 116, 2 Sep 1 11:50 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 3 Sep 1 12:33 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116, 4 Sep 1 12:34 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116, 5 Sep 1 12:34 /dev/snd/pcmC0D9p
crw-rw---- 1 root audio 116, 1 Sep 1 2019 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Sep 1 11:49 /dev/snd/timer
/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 Sep 1 11:49 pci-0000:0a:00.1 -> ../controlC0
Code:
❯ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-custom root=UUID=0c5da875-ad4d-4c48-8f72-c599aa76d15b ro quiet splash iommu=soft amdgpu.dc=0 amdgpu.audio=1 radeon.audio=1 video=HDMI-A-1:1920x1080@60
Do you know how can I fix it ?
09-01-2019, 01:00 PM
#2
Senior Member
Registered: Apr 2015
Posts: 1,201
Rep:
You have to set it up in Volume Control is how I did it and when you're NOT using HDMI, set it back to the system default.
Last edited by PROBLEMCHYLD; 09-27-2019 at 09:52 PM .
09-01-2019, 01:41 PM
#3
LQ Newbie
Registered: Apr 2009
Posts: 15
Original Poster
Rep:
Well, I tried pavucontrol this before posting a message. Everything seems well when I look at it but still I have no sound.
I did some captures.
All times are GMT -5. The time now is 01:45 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News