Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Beginners Questions • [Installation] firmware vs floss amdgpu

$
0
0
Hello,
My previous experience was on ubuntu. Switched to debian last year after getting a new laptop.
description: Notebook
product: 82R4 (LENOVO_MT_82R4_BU_idea_FM_IdeaPad 1 15ALC7)
vendor: LENOVO
version: IdeaPad 1 15ALC7

I moved extract of error logs to the end of my msg.

I have followed howto wiki https://wiki.debian.org/AtiHowTo
It looks complicated, a bunch of package to install. Not sure about firmware if are needed or not.
0- Is it ossible to upgrade/ update the how to to make it clearer?
Example for some packages;` dpkg -L firmware-amd-graphics ` contains files related to specific drivers, in the how to there are more than 3 or 4 different packages , may be a table with video graphic card and each package it exactly requires can be more helpful in the wiki.

1- xserver-xorg-video-amdgpu looks like xorg in it, gnome is using wayland right? still needed ? or may be the name was not updated to not break dependencies?

2- while looking for pkg via

Code:

 apt search amd xserver-xorg-video-amdgpu/stable,now 23.0.0-1 amd64 [installed]  X.Org X server -- AMDGPU display driverxserver-xorg-video-ati/stable,now 1:19.1.0-3 amd64 [installed,automatic]  X.Org X server -- AMD/ATI display driver wrapperxserver-xorg-video-radeonxserver-xorg-video-radeon/stable,now 1:19.1.0-3 amd64 [installed,automatic]  X.Org X server -- AMD/ATI Radeon display driver
There was no mention of xserver-xorg-video-radeon on the debian wiki?
from wiki::List_of_AMD_Ryzen_processors, looks like Ryzen and Lucienne are branding names, Radeon is the GPU ; so i guess that was the right package for my amdgpu driver?

3- Can i check my driver version and if still up-to-date?
I recall i read that once you install a driver (manually/ e.g. via dpkg -i ), then it happens after a kernel upgrade, you need to upgrade the driver as well.
May be i fallen in that categoty?

Code:

> inxi -GGraphics:  Device-1: AMD Lucienne driver: amdgpu v: kernel  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo  Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9    compositor: gnome-shell v: 43.9 driver: X: loaded: amdgpu    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu    resolution: 1920x1080~60Hz  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM    15.0.6 DRM 3.49 6.1.0-28-amd64)> inxi -NNetwork:  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter    driver: mt7921e> lspci -nnk | grep -i -EA3 "3d|display|vga|mt7921"02:00.0 Network controller [0280]: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter [14c3:7961]Subsystem: Lenovo MT7921 802.11ax PCI Express Wireless Network Adapter [17aa:e0bc]Kernel driver in use: mt7921eKernel modules: mt7921e03:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc 2450 NVMe SSD [HendrixV] (DRAM-less) [1344:5411] (rev 01)Subsystem: Micron Technology Inc 2450 NVMe SSD [HendrixV] (DRAM-less) [1344:0100]Kernel driver in use: nvme--04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne [1002:164c] (rev c2)Subsystem: Lenovo Lucienne [17aa:3f94]Kernel driver in use: amdgpuKernel modules: amdgpu
Hardware link: Hardwareinfo


4- Can i safely remove these packages or deactivate before removal? I am afraid it may break the wifi/ display and need to reinstall the whole system.
I was not sure about which driver to install? I found in forums that support for graphics/ networks can be limited, so i am not proud of this result but not sure if needed:

Code:

> vrms             Non-free packages installed on lenovo-nabamd64-microcode                     Platform firmware and microcode for AMD CPUs and SoCsatmel-firmware                      Firmware for Atmel at76c50x wireless networking chips.bluez-firmware                      Firmware for Bluetooth devicesdahdi-firmware-nonfree              DAHDI non-free firmwarefirmware-amd-graphics               Binary firmware for AMD/ATI graphics chipsfirmware-ast                        Binary firmware for ASpeed Technologies graphics chipsfirmware-atheros                    Binary firmware for Qualcomm Atheros wireless cardsfirmware-bnx2                       Binary firmware for Broadcom NetXtremeIIfirmware-bnx2x                      Binary firmware for Broadcom NetXtreme II 10Gbfirmware-brcm80211                  Binary firmware for Broadcom/Cypress 802.11 wireless cfirmware-cavium                     Binary firmware for Cavium Ethernet adaptersfirmware-intel-sound                Binary firmware for Intel sound DSPsfirmware-ipw2x00                    Binary firmware for Intel Pro Wireless 2100, 2200 andfirmware-ivtv                       Binary firmware for iTVC15-family MPEG codecs (ivtv anfirmware-iwlwifi                    Binary firmware for Intel Wireless cardsfirmware-libertas                   Binary firmware for Marvell wireless cardsfirmware-linux                      Binary firmware for various drivers in the Linux kernefirmware-linux-nonfree              Binary firmware for various drivers in the Linux kernefirmware-misc-nonfree               Binary firmware for various drivers in the Linux kernefirmware-myricom                    Binary firmware for Myri-10G Ethernet adaptersfirmware-netronome                  Binary firmware for Netronome network adaptersfirmware-netxen                     Binary firmware for QLogic Intelligent Ethernet (3000firmware-qlogic                     Binary firmware for QLogic HBAsfirmware-realtek                    Binary firmware for Realtek wired/wifi/BT adaptersfirmware-realtek-rtl8723cs-bt       Bluetooth firmware for Realtek RTL8723CSfirmware-siano                      Binary firmware for Siano MDTV receiversfirmware-sof-signed                 Intel SOF firmware - signedfirmware-zd1211                     binary firmware for the zd1211rw wireless driverintel-microcode                     Processor microcode firmware for Intel CPUs
Error logs:

I had seen some errors on dmesg and journalctl; as well gui freezes when closing lid / suspend mode:
I suspect either my hardware driver are not up to date or not the correct one installed but these gui and other network errors may be opened in a separate thread.

Code:

  > dmesg -H  // log : example of persistent error with amdgpu in red about securedisplay failing. // I have stack traces as well but happens only when i suspend then resume [  +0.702705] [drm] reserve 0x400000 from 0xf47f800000 for PSP TMR[  +0.086702] amdgpu 0000:04:00.0: amdgpu: RAS: optional ras ta ucode is not available[  +0.011320] amdgpu 0000:04:00.0: amdgpu: RAP: optional rap ta ucode is not available[  +0.006154] [drm] psp gfx command LOAD_TA(0x1) failed and response status is (0x7)[  +0.000226] [drm] psp gfx command INVOKE_CMD(0x3) failed and response status is (0x4)*redcolor*[  +0.000006] amdgpu 0000:04:00.0: amdgpu: Secure display: Generic Failure.*redcolor*[  +0.000005] amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0[  +0.000634] amdgpu 0000:04:00.0: amdgpu: SMU is initialized successfully![  +0.000383] [drm] Display Core initialized with v3.2.207!
Thanks for reading and reply

Statistics: Posted by Nabla — 2025-01-26 21:35 — Replies 0 — Views 16



Viewing all articles
Browse latest Browse all 3567

Trending Articles