Linux new AMD motherboard, no sound through HDMI
#1
ubuntu 16.04LTS minimal. PULSE IS NOT INSTALLED

aplay -l:

Code:
**** 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: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L

Code:
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    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
dmix:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample mixing device
dmix:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Direct sample mixing device
dmix:CARD=HDMI,DEV=8
    HDA ATI HDMI, HDMI 2
    Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample snooping device
dsnoop:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Direct sample snooping device
dsnoop:CARD=HDMI,DEV=8
    HDA ATI HDMI, HDMI 2
    Direct sample snooping device
hw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct hardware device without any conversions
hw:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Direct hardware device without any conversions
hw:CARD=HDMI,DEV=8
    HDA ATI HDMI, HDMI 2
    Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Hardware device with all software conversions
plughw:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Hardware device with all software conversions
plughw:CARD=HDMI,DEV=8
    HDA ATI HDMI, HDMI 2
    Hardware device with all software conversions
default:CARD=Generic
    HD-Audio Generic, Generic Analog
    Default Audio Device
sysdefault:CARD=Generic
    HD-Audio Generic, Generic Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    Front speakers
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    Direct sample mixing device
dmix:CARD=Generic,DEV=1
    HD-Audio Generic, Generic Digital
    Direct sample mixing device
dsnoop:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    Direct sample snooping device
dsnoop:CARD=Generic,DEV=1
    HD-Audio Generic, Generic Digital
    Direct sample snooping device
hw:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    Direct hardware device without any conversions
hw:CARD=Generic,DEV=1
    HD-Audio Generic, Generic Digital
    Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Analog
    Hardware device with all software conversions
plughw:CARD=Generic,DEV=1
    HD-Audio Generic, Generic Digital
    Hardware device with all software conversions

uname -a

Code:
Linux kodi 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

using:

speaker-test -c2 -r 48000 -D plughw:0,3
speaker-test -c2 -r 48000 -D plughw:0,7
speaker-test -c2 -r 48000 -D plughw:0,8

the tests work in that they don't error out, but I don't hear anything.

Kodi shows five audio choices:

HDA ATI, @@@ #0
HDA ATI, HDMI #1
HDA ATI, HDMI #2
HD-Audio Generic (@:CARD=Generic,DEV=0), Generic Analog
HD-Audio Generic (surround21:CARD=Generic,DEV=0), Generic Analog
HD-Audio Generic, Generic Digital S/PDIF

this is the motherboard: https://www.newegg.com/Product/Product.a...6813157780
and this is the CPU: https://www.newegg.com/Product/Product.a...6819113450

apt-list installed: http://paste.ubuntu.com/25611648/

(yes, xfce is installed, I use this box as headless VNC also)

enabled debug logging, here is a full log trying to play some old anime file with all three of the HDMI choices under system preferences:

http://paste.ubuntu.com/25611673/

Happy to provide any other information needed. TIA!
Reply
#2
I should note that if I select "HD-Audio Generic (@:CARD=Generic,DEV=0), Generic Analog" and plug in powered PC speakers with a 1/8 jack I get sound just fine Smile
Reply
#3
bump?
Reply
#4
(2017-09-27, 19:59)blm14 Wrote: bump?

bugs.freedesktop.org your kernel is much too old, upgrade. Use alsamixer to unmute everything.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
It's the standard kernel with ubuntu 16.04LTS. Is that no longer the preferred flavour?
Reply
#6
(2017-09-27, 21:41)blm14 Wrote: It's the standard kernel with ubuntu 16.04LTS. Is that no longer the preferred flavour?

It's not on us. We write Kodi, not the driver support for your hardware.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
16.04 ended life officially last year sometime. Move to 20.04 for the latest supported LTS. You will find Kodi working flawlessly assuming you use the PPA and not the Ubuntu repository version. If the HDMI still doesn't work then you may be facing a hardware problem.

Save yourself some headaches with the upgrade. Backup data and clean install would be the quickest method I'd think unless you did a boatload of customzing. Also the new 22.04 will be out next month so that will be the next LTS release.
Reply

Logout Mark Read Team Forum Stats Members Help
new AMD motherboard, no sound through HDMI0