no [AMD/ATI] Raven/Raven2/Fenghuang sound in 15.1 or 15.2

This is an already installed on HD system from a dead 5 year old AMD motherboard/CPU/APU migrating to new parts form AMD, Asus, Corsair and EVGA. Booting 15.1 and 15.2 and reconfiguring for the changed MAC address was no problem. Even 42.3 and 13.1 boot with no (required) changes other than 70-persistent-net.rules. Getting X to work was handled in another thread. YaST sound module accomplished nothing. https://en.opensuse.org/SDB:Audio_troubleshooting looks so out of date it’s almost scary, much like 5 years ago.

> inxi -SAxx
System:    Host: Easystreet Kernel: 5.3.18-lp152.3-default x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: KDE 3 wm: kwin
           dm: N/A Distro: openSUSE Leap 15.1
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel
           bus ID: 08:00.1 chip ID: 1002:15de
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus ID: 08:00.6 chip ID: 1022:15e3
           Sound Server: ALSA v: k5.3.18-lp152.3-default

alsa-info.txt is at 15.1 and 15.2.
Links to: lspci and lspci -vv

I know there’s a cmdline initialization command I want to try, but its name is apparently in a memory black hole, as is the name of the SLE dev who got me through a similar ordeal several years ago. Neither alsactl nor aplay seem to be the right one. I know it’s in a bug report I at least commented several years ago, but B.O.O. is behaving horribly slowly whenever I try to search it (unless it’s a saved search).

It really would be nice to get (HDMI only) audio working without another 20 hours of searching and experimenting. :stuck_out_tongue:

https://bugzilla.opensuse.org/show_bug.cgi?id=1163046
no AMD Raven/Raven2/Fenghuang (HDMI) sound in Leap 15.2 Alpha chip IDs: 1002:15de 1002:15e3

I indicated in the bug this may not be about the Fenghuang device, but likely a general problem with getting HDMI to work at all. Of the 6 multiboot (Intel) and 1 single boot (AMD) PCs I tested for sound in recent hours, only on one was I able to get HDMI sound, and that was Debian 10. Most of my tests made in the period were of 15.1, thus 7 15.1 failures, plus a few 15.2, plus a few TW. These are in addition to the AMD about which this thread was started.

Try


alsamixer

or maybe


alsaconfig

On Bob’s HD in my gx78b, running 15.2 logged in as root, aplay -vv makes expected sound, but only through the tiny internal PC speaker, whose volume I can’t get reasonably high. pavucontrol opens a window that displays

Establishing connection to PulseAudio. Please wait…
in perpetuity. After closing that, alsamixer shows everything relevant turned all the way up.

# **alsaconfig**
If 'alsaconfig' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf alsaconfig
# **cnf alsaconfig**
alsaconfig: command not found
# **aplay -l**
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984A Analog [AD1984A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984A Alt Analog [AD1984A Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Easystreet:~ # **hwinfo --sound**
14: PCI 1b.0: 0403 Audio device
  [Created at pci.386]
  Unique ID: u1Nb.dH6p_cKR519
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel 82801JD/DO (ICH10 Family) HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3a6e "82801JD/DO (ICH10 Family) HD Audio Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0420
  Revision: 0x02
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xf7adc000-0xf7adffff (rw,non-prefetchable)
  IRQ: 35 (2082 events)
  Module Alias: "pci:v00008086d00003A6Esv00001028sd00000420bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Logged in as user, alsamixer initially showed card PulseAudio instead, with only a Master @75. F6 switched to HDA Intel Analog Devices AD1984A, with same high levels as with root login. It appears this PC has no provision for sound via its DisplayPort, so I’m abandoning trying to lend him this PC until I can make his Fenghuang work.

Switching to host ab250, here is alsa-info.txt, and aplay -l output](http://fm.no-ip.com/Tmp/Linux/Sound/aplayl-ab250-s151-fail.txt), showing 5 total devices, compared to Debian 10 on same host, with 7 devices, all automagically configured without any help from me, and on which aplay -vv plays sound.

If I can make HDMI sound work in 15.1 or 15.2 on ab250 work, which isn’t happening now,
http://fm.no-ip.com/SS/Suse/forumthread2002071200.png
http://fm.no-ip.com/SS/Suse/forumthread2002071245.png
http://fm.no-ip.com/SS/Suse/forumthread2002071247.png
and it turns out Fenghuang is too new for 15.1, but not too new for 15.2, I can put him on 15.2, which is already installed. If broken in 15.2, I may be able to trade him his AMD hardware for my ab250 hardware, on which I won’t care about sound, and can triage the bug report I filed until it does work.

I updated the bug to enhancement request after finding nothing anywhere on opensuse.org suggesting how to solve this, but finding sketchy clues to the use of pavucontrol. With it I disabled analog audio out, which enabled HDMI audio out on 15.2 and 15.1. NAICT, this method means headphone jack can’t work. I have yet to find suitable headphones to attempt to find out with.

I still want to know how to make it work as admin, which means without requiring use of pavucontrol, which is disabled for the so-called superuser root.

I managed to get sound from HDMI + phones with Leap 15.1 with a near hardware, but it was really hard.
More info in next days.

Here it is.

# alsactl init

seems to be the answer from the black hole.