Sound Problems through HDMI

I am a noob to opensuse and cannot get sound working through the hdmi to tv.
Sound randomly works when configuring through Yast but stops if I actually I apply the changes
I have tried the audio troubleshooting tips on opensuse’s wiki page with no success.
Changes I have done include the installation of AMD Catalyst.

My computer is custom built -
1 x GIGABYTE GA-F2A68HM-H
1 x AMD A10-5800K

I believe it has something go to do with AMD driver since the HDMI controller is labeled as trinity which is the cpu name.
Sound worked on linux mint mate but I remember changing something regarding I think pulsesound or also I’m not sure which. Windows 7 sound works

  1. make sure that the HDMI driver is fist in the list
  2. you may want to install pavulcontrol. It make life much easier handling multiple sound sources and sinks
  1. According to Yast I have set hdmi as the default but still no sound
  2. I have installed pavucontrol as per according to the audio troubleshooting wiki page

To give us a clearer picture, please run the

sudo /usr/sbin/alsa-info.sh

and upload the link that it generates here.

After running sudo /usr/sbin/alsa-info.sh I got this link -
http://www.alsa-project.org/db/?f=74efd5d167b8860d7b987d6a024df321bc1885f1

lspci gives out -
http://pastebin.com/91bCZFPZ

I note your audio for HTMI is being provided by an ATI device:


 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb44000 irq 47

This could mean your graphic driver (!! ) plays a factor here, as strange as that may sound. If you are using the opensource radeon driver, then I believe HDMI audio is OFF by default.

ie you may need to use a boot code with something like:


radeon.audio=1

stuck on the end of the relevant boot line in grub boot manager (reference: https://en.opensuse.org/SDB:Connecting_to_TV_Monitor). If that works, you can likely make it permanent using YaST and adding it to the end of the Optional Kernel Command Line Parameter’. …

ie …

system > boot loader > kernel parameters > Optional Kernel Command Line Parameter and add that entry: radeon.audio=1

.

Although the OP did mention that they were using the Catalyst driver already…

Changes I have done include the installation of AMD Catalyst.

@destinthegreat: This probably needs to be checked first. You can examine /var/log/Xorg.0.log or just check for loaded fglrx module with

lsmod|grep fglrx

If you need to share the Xorg.0.log with us, upload it to http://paste.opensuse.org/ and share the link to it here.

Xorg.0.log - http://paste.opensuse.org/76213091
Xorg.0.log.old - http://paste.opensuse.org/49818404

As @deano_ferrari said I have installed the AMD Catalyst driver but I have tried your suggestion with no results.

lsmod|grep fglrx results in -


fglrx               11799435  103 
amd_iommu_v2           18909  1 fglrx
button                 13971  1 fglrx

btw I am loving opensuse except for this small error. Very polished distro!

The radeon setting I noted is intended only for the radeon open source driver. Remove that entry if you are using the fglrx (catalyst0 driver.

I note this from both log files:

xorg.0.log


    17.565] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3 (/dev/input/event6)
    17.565] (II) No input driver specified, ignoring this device.
    17.565] (II) This device may have been added with another device file.

xorg.0.log.old


    20.110] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3 (/dev/input/event6)
    20.110] (II) No input driver specified, ignoring this device.
    20.110] (II) This device may have been added with another device file

did you review the link I provided earlier ? https://en.opensuse.org/SDB:Connecting_to_TV_Monitor

Using the AMD Proprietary (Catalyst) Drivers With the AMD “Catalyst” drivers installed the procedure is:

  • Plug-in the HDMI cable
  • Logout and then log back in
  • The HDMI output should now be working automatically, you can adjust settings by using the ATI Catalyst Control Centre
  • The instructions for the sound are the same as under “Using the default Graphics Drivers”

There appears to be no settings specific to HDMI or a category noting the “default graphics drivers”. Im not sure what the wiki was referring to :confused:

Okay, to recap you mentioned that you have had HDMI sound working with the caveat below

Sound randomly works when configuring through Yast but stops if I actually I apply the changes

You have pavucontrol configured with the correct output device

  1. According to Yast I have set hdmi as the default but still no sound
  2. I have installed pavucontrol as per according to the audio troubleshooting wiki page

Check if the following HDMI/Pulse Audio information helps

https://wiki.archlinux.org/index.php/PulseAudio/Examples#HDMI_output_configuration

I believe the wiki noted there was some HDMI setting control in the ‘Catalyst Control Center’. Do you have that installed ? I had thought it shipped with the fglrx driver. I no longer have an AMD device so I can not give more specifics there.