You are not logged in.

#1 2022-01-23 19:23:00

Kepis
Member
Registered: 2021-12-15
Posts: 70

no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

I have an IdeaPad 5 Pro (wifi Mediatek version) and am experiencing a ton of weird bugs (such as laptop randomly freezing on suspend, restarting sometimes reuslts in kernel panic, opened firefox window won't have sound after suspend until firefox get's restarted...).

Fortunately, sound is working quite fine for me, but I have noticed that I have an audio device that is not being given any driver, despite on linux-hardware they say the drivers exist for quite some time.

inxi -Axxx:

Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Lenovo driver: N/A bus-ID: 05:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.2-arch1-1 running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no

I have tried /etc/modules-load.d/audio.conf without success:

snd_rn_pci_acp3x
snd_pci_acp3x
snd_pci_acp5x

although it shows as successful under journalctl -a:

led 23 19:47:57 IP5Pro kernel: snd_pci_acp3x: unknown parameter 'index' ignored
led 23 19:47:57 IP5Pro kernel: snd_rn_pci_acp3x: unknown parameter 'index' ignored
led 23 19:47:57 IP5Pro kernel: snd_rn_pci_acp3x 0000:05:00.5: enabling device (0000 -> 0002)
led 23 19:47:57 IP5Pro kernel: snd_pci_acp5x: unknown parameter 'index' ignored
led 23 19:56:35 IP5Pro kernel: snd_rn_pci_acp3x 0000:05:00.5: enabling device (0000 -> 0002)
led 23 19:56:35 IP5Pro systemd-modules-load[366]: Inserted module 'snd_pci_acp3x'
led 23 19:56:35 IP5Pro systemd-modules-load[366]: Inserted module 'snd_pci_acp5x'
led 23 19:56:35 IP5Pro systemd-modules-load[366]: Inserted module 'snd_rn_pci_acp3x'
led 23 19:57:18 IP5Pro kernel: snd_rn_pci_acp3x 0000:05:00.5: enabling device (0000 -> 0002)
led 23 19:57:18 IP5Pro systemd-modules-load[360]: Inserted module 'snd_pci_acp3x'
led 23 19:57:18 IP5Pro systemd-modules-load[360]: Inserted module 'snd_pci_acp5x'
led 23 19:57:18 IP5Pro systemd-modules-load[360]: Inserted module 'snd_rn_pci_acp3x'

Last edited by Kepis (2022-01-23 19:36:08)

Offline

#2 2022-01-23 21:58:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,764

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

What's your

aplay -l
dmesg | grep -iE 'snd|sof'

did you install sof-firmware?

Online

#3 2022-01-24 08:19:35

Kepis
Member
Registered: 2021-12-15
Posts: 70

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

I have just installed the package sof-firmware, unfortunately doesn't seem to have made an impact.

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

dmesg | grep -iE 'snd|sof'

[    0.278584] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.403720] software IO TLB: tearing down default memory pool
[    2.816306] snd_rn_pci_acp3x 0000:05:00.5: enabling device (0000 -> 0002)
[    3.020010] snd_hda_intel 0000:05:00.1: enabling device (0000 -> 0002)
[    3.020343] snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
[    3.020682] snd_hda_intel 0000:05:00.6: enabling device (0000 -> 0002)
[    3.055834] snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    3.142336] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.142343] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.142345] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.142347] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.142348] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.142350] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    3.142351] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12

Offline

#4 2022-01-24 08:41:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,764

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

Nothing inherently wrong here, if you say audio works what do you hope to get by having a device assigned to this? It could also be just a supporting driver that eventually leads to an actual working device for one of the other two, i.e. if I'm reading this correctly this needs to work so that you can have the HDMI device assigned which does seem to happen.

You also seem to have some modprobe options, do you use snd_intel_dspcfg to bend things off of the sof path? If you do then none of this would be surprising

Last edited by V1del (2022-01-24 08:46:12)

Online

#5 2022-01-24 09:19:33

Kepis
Member
Registered: 2021-12-15
Posts: 70

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

I only have

blacklist pcspkr

But lsmod | grep snd_intel gives me this:

snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg

I haven't configured anything manually, but I can try disabling it, if you could guide me how to do so.

Last edited by Kepis (2022-01-24 09:34:16)

Offline

#6 2022-01-24 09:36:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,764

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

No don't blacklist things, if you don't set modprobe options for it it will do what it should. From what it looks like to me these modules are the base support tooling for enabling SoC support. Seeing as your specific device seems to have a distinct other card anyway it's likely that that's just "cruft" with no actual relevance on your particular system and/or the support glue for actually enabling the HDMI card.

Just some general googling also mentions the mic/is it just for mic support?

arecord -l

?

Online

#7 2022-01-24 10:17:28

Kepis
Member
Registered: 2021-12-15
Posts: 70

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

As far as I have tested, mic works, but I don't understand the kernel much.

**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#8 2022-01-24 10:36:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,764

Re: no driver for AMD Raven/Raven2/FireFlight/Renoir Audio Processor

None of these are SoC based. It's likely just "there" with no functional relevance for your particular device.

Online

Board footer

Powered by FluxBB