How can I load my microcode instead of default one?

Hi, my Huawei Matebook D 14" with zen+ AMD Ryzen 2500 is not well compatible with linux, there are some freez everiday when browsin or open videos (more than 4 times a day), the reason is Huawei abandon Matebook and no Bios update since the beginning and AMD microcode available on linux kernel is not last one (the last and working I have grab on github and is safe and I use it since years)
So the only working solution is a TRICK, insert the wotking AMD ucode that i found on /BOOT so the system load it instead of the old and problematic microcode. This trick was perfectly working until last month (my good microcode was correctly loaded) but since november my troubles come back again, freez and freez … so I made a
sudo dmesg | grep -i micro
and the result is that now my system is loading the old and problematic amd microdode instead of mine even if mine is placed in the garuda /BOOT folder but is not loaded anymore.
How can I solve?
I try a amd-ucode for zen cpu available on AUR but not solve my issue, the old and problematic microcode is still loaded at startup…

You have been moved to missing garuda-inxi

can you provide your

garuda-inxi

as per the forum template to help us to help you

1 Like
System:
  Kernel: 6.12.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=a281abec-438f-457e-a3e6-f5158d5a8734 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A info: frameworks v: 6.9.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: HUAWEI product: KPL-W0X v: M1D
    serial: <superuser required>
  Mobo: HUAWEI model: KPL-W0X-PCB v: M1D serial: <superuser required>
    part-nu: C100 uuid: <superuser required> UEFI: HUAWEI v: 1.24
    date: 04/11/2022
Battery:
  ID-1: BAT1 charge: 38.2 Wh (70.5%) condition: 54.2/56.3 Wh (96.3%)
    volts: 7.6 min: 7.6 model: DYNAPACK HB4593R1ECW type: Li-ion
    serial: <filter> status: not charging cycles: 117
CPU:
  Info: model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64
    type: MT MCP arch: Zen level: v3 note: check built: 2017-19 process: GF 14nm
    family: 0x17 (23) model-id: 0x11 (17) stepping: 0 microcode: 0x8101007
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB
    desc: 4x512 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 2000 min/max: 1600/2000 boost: enabled scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 2000 2: 2000 3: 2000
    4: 2000 5: 2000 6: 2000 7: 2000 8: 2000 bogomips: 31938
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series
    / Radeon Mobile Series] vendor: Huawei driver: amdgpu v: kernel
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1
    bus-ID: 02:00.0 chip-ID: 1002:15dd class-ID: 0300 temp: 43.0 C
  Device-2: Quanta hm1091_techfront driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0408:1020
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x14d4 built: 2016 res: 1920x1080
    dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: Vulkan v: 1.4.303 layers: 4 device: 0 type: integrated-gpu name: AMD
    Radeon Vega 8 Graphics (RADV RAVEN) driver: N/A device-ID: 1002:15dd
    surfaces: xcb,xlib,wayland device: 1 type: cpu name: llvmpipe (LLVM
    18.1.8 256 bits) driver: N/A device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP
    Audio vendor: Huawei driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 02:00.1 chip-ID: 1002:15de class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Huawei driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 02:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Huawei driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 02:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.4-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:2 chip-ID: 8087:0a2b
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.2 lmp-v: 8
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 238.47 GiB used: 24.49 GiB (10.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: LITE-ON model: CV8-8E256
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 402 scheme: GPT
Partition:
  ID-1: / raw-size: 33.1 GiB size: 33.1 GiB (100.00%) used: 8.36 GiB (25.3%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 33.1 GiB size: 33.1 GiB (100.00%)
    used: 8.36 GiB (25.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 33.1 GiB size: 33.1 GiB (100.00%)
    used: 8.36 GiB (25.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 33.1 GiB size: 33.1 GiB (100.00%)
    used: 8.36 GiB (25.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 6.67 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 8
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 43.9 C mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 6.67 GiB used: 2.82 GiB (42.3%)
  Processes: 303 Power: uptime: 1h 12m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 2.66 GiB services: org_kde_powerdevil,upowerd
    Init: systemd v: 257 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1250 libs: 372 tools: pacseek,paru Compilers:
    gcc: 14.2.1 Shell: garuda-inxi default: Bash v: 5.2.37 running-in: konsole
    inxi: 3.3.36
Garuda (2.6.26-1):
  System install date:     2024-12-13
  Last full system update: 2024-12-20
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected

CPU:
  Info: model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64
    type: MT MCP arch: Zen level: v3 note: check built: 2017-19 process: GF 14nm
    family: 0x17 (23) model-id: 0x11 (17) stepping: 0 **microcode: 0x8101007**

this microcode 0x8101007 is the bad one, I need to install my good one that is 0x08101016 and is perfectly compatible and fine with linux, is in my /BOOT but is not loaded at startup anymore since november

Maybe its just a zen problem?

Did you check

https://wiki.archlinux.org/title/Microcode

?

Or you have to switch to mkinitcpio or ask the kernel developers directly.

Unfortunately, I don’t know much about it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.