LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2019, 03:38 AM   #1
tiktik
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
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 ?
 
Old 09-01-2019, 01:00 PM   #2
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
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.
 
Old 09-01-2019, 01:41 PM   #3
tiktik
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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.
Attached Thumbnails
Click image for larger version

Name:	cap01.png
Views:	233
Size:	64.5 KB
ID:	31268   Click image for larger version

Name:	cap02.png
Views:	136
Size:	58.0 KB
ID:	31269   Click image for larger version

Name:	cap03.png
Views:	111
Size:	35.1 KB
ID:	31270  
 
  


Reply

Tags
amdgpu-pro, audio, radeon



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Open Source AMDGPU and Radeon Linux Drivers Bring TearFree, DRI3 by Default LXer Syndicated Linux News 0 11-17-2016 01:00 PM
LXer: Open Source AMDGPU Driver Now Detects All Linux Kernel Supported AMD Radeon GPUs LXer Syndicated Linux News 0 09-16-2016 05:44 AM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
550 550 relay not permitted (state 13) error SarahGurung Linux - Newbie 1 08-09-2012 05:09 PM
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI) felipefv Linux - Hardware 8 02-06-2012 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration