Install non free firmware on PVE 8 without removing meta-package proxmox-ve

Oct 2, 2022
39
3
13
Hi i have bought an Minisforum HM90 where I installed PVE 8.

During boot, several firmware related issues are shown which I want to solve by installing the related firmware.

So I changed the repositories to non-free-firmware and tried to install several firmware packages but always get the warning that I would than remove the meta package proxmox-ve.

How can I install the necessary drivers without removing the meta package?

Thanks and kind regards
 
Optional amdgpu drivers:
If you have an AMD processor with an iGPU you will have to install the drivers by hand because the pve-firmware package does not contain them.

1) check the version of the "firmware-XXXXX" package available at the bookworm repositorie:
http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/

2) Firmware download, extract and copy
AMDGPU
Bash:
wget http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-amd-graphics_20230515-3_all.deb
dpkg -x firmware-amd-graphics_20230515-3_all.deb firmware-amd-graphics
cp -r firmware-amd-graphics/lib/firmware/* /lib/firmware/

3) Update "initramfs"
Bash:
update-initramfs -k all -u

4) Reboot
Bash:
reboot



Optional bluetooth, wifi card and other drivers:

if your bluetooth, wifi card or other are not recognized despite the installation of the "pve-firmware" package, you will have to do it manually.

1) check the version of the "firmware-XXXXX" package available at the bookworm repositorie:
http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/

2) Firmware download, extract and copy
INTEL WIFI and BLUETOOTH
Bash:
wget http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-iwlwifi_20230515-3_all.deb
dpkg -x firmware-iwlwifi_20230515-3_all.deb firmware-iwlwifi
cp -r firmware-iwlwifi/lib/firmware/* /lib/firmware/

REALTEK WIFI and BLUETOOTH
Bash:
wget http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-realtek_20230515-3_all.deb
dpkg -x firmware-realtek_20230515-3_all.deb firmware-realtek
cp -r firmware-realtek/lib/firmware/* /lib/firmware/

OTHER, MEDIATEK, ...
Bash:
wget http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-misc-nonfree_20230515-3_all.deb
dpkg -x firmware-misc-nonfree_20230515-3_all.deb firmware-misc-nonfree
cp -r firmware-misc-nonfree/lib/firmware/* /lib/firmware/

ALL in one shot (danger)
Bash:
wget http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-nonfree_20230515.orig.tar.xz
tar -xf firmware-nonfree_20230515.orig.tar.xz
cp -r firmware-nonfree_20230515/* /lib/firmware/

3) Update "initramfs"
Bash:
update-initramfs -k all -u

4) Reboot
Bash:
reboot
 
What did you do exactly? Normally you only add the firmware and do not change anything else.
added non-free-firmware to the repository sources. I installed firmware-sof-signed (because this was missing on my Lenovo when upgrading to PVE8 but seems to be another driver missing on the HM90.
 
Ok I tried but no luck. I Installed the and graphics firmware and also the intel sound firmware but still I get the following errors during boot:

snd_hda_intel 0000:06:00.6: no codecs found!
amdgpu 0000:06:00.0: amdgpu: Secure display: Generic Failure.
amdgpu 0000:06:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0

Any further ideas?

Update: I checked with apt and the firmware-amd-graphics is not installed. How can I make sure that the above described installation process has worked?


Code:
apt policy firmware-amd-graphics
firmware-amd-graphics:
  Installiert:           (keine)
  Installationskandidat: 20230210-5
  Versionstabelle:
     20230210-5 500
        500 http://ftp.de.debian.org/debian bookworm/non-free-firmware amd64 Packages
 
Last edited:
Update: I tried PVE 7.4.1 installer and it works fine. I only have the no codecs found error but not the other ones.

So it seams that PVE 8 is currently not working properly with the amd setup of the HM90.
 
Update 2: I installed a fresh PVE 7.4 did all the config to make it work. Everything is smooth. Than I upgraded to Pve 8 according to the documentation, everything works fine. pve7to8 shows only two warnings because of missing reboot.

Than I reboot and see this:

snd_hda_intel no codecs found
amdgpu 0000:06:00.0 amdgpu Secure Display: generic Failure
amdgpu 0000:06:00.0 amdgpu:; SECUREDISPLAY: query secure display T
A failed, ret 0x0


any hints? As said the Manu lainstallation of firmware-amd-graphics has not worked or no effect. Not sure so fare
 
Ok i nailed it down, the problem is not the amdgpu message but something which comes after. One of the following packages causes the problem.

- bzip2
- dnsutils
- ethtool
- htop
- iotop
- iputils-ping
- less
- lsof
- iptraf-ng
- bsd-mailx
- mc
- net-tools
- ntp
- ntpdate
- pciutils
- postfix
- psmisc
- rsync
- screen
- sudo
- sysstat
- tcpdump
- traceroute
- unzip
- ncdu
- nano
- python3-pip
- ncdu
- pwgen
- gnome-packagekit
- curl
- git
- bash-completion
- gnupg

I deinstalled all of them which would not cause uninstall of PVE components and than I can boot correctly.

Anyone has an idea which of the tools is the problem?
 
Optional amdgpu drivers:
If you have an AMD processor with an iGPU you will have to install the drivers by hand because the pve-firmware package does not contain them.

1) check the version of the "firmware-XXXXX" package available at the bookworm repositorie:
http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/

2) Firmware download, extract and copy
AMDGPU
Bash:
wget http://ftp.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-amd-graphics_20230515-3_all.deb
dpkg -x firmware-amd-graphics_20230515-3_all.deb firmware-amd-graphics
cp -r firmware-amd-graphics/lib/firmware/* /lib/firmware/

3) Update "initramfs"
Bash:
update-initramfs -k all -u

4) Reboot
Bash:
reboot

Thanks - just curious any reason why you need to extract the contents of the .deb-file instead of installing it with dpkg -i? Unfortunatly it did not work after reboot: firmware-amd-graphics

root@pve:/lib/firmware/amdgpu# apt policy firmware-amd-graphics
firmware-amd-graphics:
Installed: (none)
Candidate: (none)
Version table:
 
Last edited:
Thanks - just curious any reason why you need to extract the contents of the .deb-file instead of installing it with dpkg -i? Unfortunatly it did not work after reboot: firmware-amd-graphics

root@pve:/lib/firmware/amdgpu# apt policy firmware-amd-graphics
firmware-amd-graphics:
Installed: (none)
Candidate: (none)
Version table:
If you use "dpkg -i", that remove proxmox-ve package.