Amd renoir linux driver

Arch Linux

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.

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)

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

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

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

did you install sof-firmware?

Читайте также:  Линукс дистрибутив из коробки

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

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.

**** 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
[ 0.278584] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 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

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

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)

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

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

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)

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

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.

Читайте также:  Linux socket bind connect

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

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

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

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

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.

Источник

How to Install Amd Renoir Apu Driver on GNU/Linux Distros

GNU/Linux Drivers AMD Ryzen Radeon Renoir APU Setup Guide

Hi! The linked Tutorials shows you Visually and Step-by-step How to Install AMD Ryzen Radeon Renoir APU Model Graphics Desktop/Mobile GPU Drivers on GNU/Linux Desktops.

And the Amd Renoir APU Driver for Linux comes in 2 available flavors:

So, the guides includes detailed instructions about How to Install AMD Renoir APU Graphics Driver for Linux.

How to Install Amd Renoir Apu Driver on GNU/Linux Distros

GNU/Linux Amd Renoir APU Drivers Installation Guide

Showing Ads here is the best solution I found for not embarassing somebody about participating in a #%$Foundation^.

«When the Last Tree has been cut down, the Last Fish caught, the Last River poisoned, only then will we realize that One Cannot Eat Money.»

«No usable Computer exists today with completely Open Software and Hardware (as much as some companies want to Market themselves as such).»

Follow Us

The GNU/Linux Free Software Phylosophy

GNU/Linux Logo

Steve Jobs’ Last Words

Steve Jobs Last Words in the Darkness

«Being a Winner in a Free Computing OS Mission means to adopt a Commercial like Strategy. Transcending Duality in Oneness and so dispensing both Free and Non Free Software. Cause evangelizing Freedom in a Non Free World is like keeping a Trojan Horse. Hallelujah!»

«Using the Money just for buying Stuff and Not Supporting the Free Gift Philosophy is a sign of a Selfish and Narrow Mind.»

What can Save the World from a Blind and Quick Self-destruction.
The Immediate and Humble Mass Conversion to the Spiritual Way!
Because Earth & Nature has been Ravaged without Pity by the Wild and Selfish mass Competition to Win and Shown that U’re someone Better because you got a Lot of fla$hY Power$$$.

Читайте также:  Лучшие темы линукс минт

«Taking care if somebody is liking, following, or buying is just a serious hidrance on the priceless Way of Creative Freedom.»

Credits

Ganesha

Everlasting Glory to God, Jesus Christ, The Holy Spirit, Ganesha, Shiva, Vishnu, Krisna, Laozi, Buddha, Bodhidharma, Ma Gcig, Hakuin, Ikkyu, Nagarjuna, Tilopa, Naropa, Milarepa, Suhrawardi, St Dismas, St Francesco, St Teresa, St John, St Filippo, Eckehart. All The Holy Divinities, Avatars, Saints, Mystics, and True Spiritual Masters. Because they are in the Eternal Light of Truth & Delight Enlightening a World of Darkness, Nescience, Blindness, Uneasiness and Falsehood!

Источник

Нет звука на MateBook D16 AMD с Ubuntu 22.04

На новый ноутбук установил свежую версию Ubuntu 22.04 с нуля:

$ inxi -SMA System: Host: ubuntu-matebook Kernel: 5.15.0-43-generic x86_64 bits: 64 Desktop: GNOME 42.2 Distro: Ubuntu 22.04 LTS (Jammy Jellyfish) Machine: Type: Laptop System: HUAWEI product: HVY-WXX9 v: M1020 serial: Mobo: HUAWEI model: HVY-WXX9-PCB-B2 v: M1020 serial: UEFI: HUAWEI v: 2.11 date: 11/19/2021 Audio: Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: snd_rn_pci_acp3x Sound Server-1: ALSA v: k5.15.0-43-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes 

В списке аудио устройств в GUI есть только Dummy output. Звук нормально выводится только на внешние устройства при подключении по HDMI.

$ lspci | grep Audio 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller 03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01) 
$ 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 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 

Поиск в англоязычном секторе интернета привел меня к неутешительному выводу, что звуковая карта в моем ноутбуке не поддерживается в ядре Linux. Но это не точно.

Подскажите, есть ли какая-то возможность реанимировать пациента здесь и сейчас, а не ждать неизвестно сколько времени до обновления ядра?

Источник

Оцените статью
Adblock
detector