You are not logged in.
Pages: 1
Hello,
After spending a lot of time trying to get sound working, and failing miserably, I'd like to request some help.
I own a Radeon 380 card, and I am using the AMD GPU open source driver.
Currently I have a monitor connected via display port, and a TV via HDMI, however no sound is being outputted to the TV via hdmi. I don't have a soundcard installed and the onboard one is disabled.
Here are the outputs of all the sound relevant commands :
lspci -nn | grep Audio
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380] [1002:aad8]$ lsmod | grep snd
snd_hda_codec_hdmi 45056 1
snd_hda_intel 32768 2
snd_hda_codec 106496 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core 65536 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 86016 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer 28672 1 snd_pcm
snd 65536 10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore 16384 1 snd
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA ATI HDMI, HDMI 4
HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
HDA ATI HDMI, HDMI 5
HDMI Audio Outputdmesg | grep snd
[ 8.923361] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 8.923432] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 8.923434] snd_hda_intel 0000:01:00.1: Force to non-snoop modecat /proc/asound/modules
0 snd_hda_intelWhy am I getting intel related traces above ? I do not have anything intel installed ...
I also tried pacmd, and for some reason the drive name is 'snd_hda_intel ' ??? :
pacmd list-cards
1 card(s) available.
index: 0
name: <alsa_card.pci-0000_01_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 0xfea60000 irq 60"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aad8"
device.product.name = "Tonga HDMI Audio [Radeon R9 285/380] (Radeon R9 285/380 HDMI Audio)"
device.string = "0"
device.description = "Tonga HDMI Audio [Radeon R9 285/380] (Radeon R9 285/380 HDMI Audio)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: unknown)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: unknown)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: unknown)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5200, available: unknown)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 100, available: unknown)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_01_00.1.hdmi-stereo/#0: Tonga HDMI Audio [Radeon R9 285/380] (Radeon R9 285/380 HDMI Audio) Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#0: Monitor of Tonga HDMI Audio [Radeon R9 285/380] (Radeon R9 285/380 HDMI Audio) Digital Stereo (HDMI)
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
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"
hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"also I tried
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Monobut nothing gets outputted ...
Any ideas ?
Thank you in advance.
Dimis
Offline
What's the output of "aplay -l" ? Could you test the aplay command after having temporarily uninstalled pulseaudio in order to see where the problem is.
Offline
i also got same problem.Though with gtx 960.
No audio coming out from HDMI.In fact i see all audio output of HDMI not connected in pulseaudio mixer.
& i gave up.Watching where this topic is going.
Offline
Hi,
Few years ago I had to use "radeon.audio=1" option in the kernel cmd line to activate audio via hdmi on my radeon card. Here is more info: https://wiki.archlinux.org/index.php/ATI#HDMI_audio.
Do you have that option set? Could you post output from `cat /proc/cmdline`?
@addicted: this probably is separate issue. What kind of driver are you using? Nvidia proprietary, nouveau or something else? Audio via hdmi (with pulseaudio) is working just fine on nouveau and gtx760. Could you post output from your `lspci`? You should see there something similar to "Audio device: NVIDIA Corporation GK104 HDMI Audio Controller".
Offline
i'm using Nvidia proprietary since i believe proprietary is still superiour than nouveau open source.
lspci -nn | grep Audio
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fba] (rev a1)HDMI audio was working fine with windows with Nvidia driver.But since i moved to linux, i still can't make it work.Believe it's something to do with Nvidia driver.(damn why don't they just make it open source??)
& https://wiki.archlinux.org/index.php/ATI#HDMI_audio is a fix for older kernel.isn't it?
Last edited by addicted (2016-10-10 11:47:48)
Offline
@hiciu
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=94196298-3f11-43f5-b797-78b8cb8fae64 rw quiet resume=UUID=788cbf86-c110-471d-b23d-7d839de35847According to https://wiki.archlinux.org/index.php/ATI#HDMI_audio the "radeon.audio=1" setting is only applicable to kernels older than 3.13. My current kernel is version 4.7.6-1
@olive
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/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
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0It looks like there might be an issue here :
cat /proc/asound/modules
0 snd_hda_intelwhich is also used as
alsa.driver_name = "snd_hda_intel"I don't have anything intel related on my current desktop as I am using AMD's FX-8350 with a 990FX sabertooth r2.0 motherboard !! Is this a bug with the hardware detection processes/scripts ?
Offline
No, the snd_hda_intel driver is used for lots of chipsets.
All AMD cards with HDMI outputs use that driver.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
What's strange is that you seem to have plenty of HDMI audio device. Have you tried aplay -D plughw:0,7 and the other numbers?
Offline
Hello! There might be issues with different sample rate on your external audio device and your PC. If you're using pulseaudio, try this advice
Also get a look to this topic
Offline
Pages: 1