AMD GPU Drivers -> You are attempting to remove the meta-package 'proxmox-ve'!

Bauanga

Member
Feb 23, 2021
8
0
6
37
Dear Community,

I want to install AMD GPU drivers on my Proxmox host to make the AMD GPU usable in a Jellyfin LXC container. However, when installing the drivers, I always receive the following error message:

Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

I followed this guide for the installation:

https://wiki.debian.org/AtiHowTo

Therefore, I changed my /etc/apt/sources.list as follows:

deb http://ftp.de.debian.org/debian bookworm main contrib non-free-firmware

deb http://ftp.de.debian.org/debian bookworm-updates main contrib non-free-firmware
security updates

deb http://security.debian.org bookworm-security main contrib non-free-firmware

deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

Then, I attempted to install the AMD drivers:
apt update
apt-get install firmware-amd-graphics libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers xserver-xorg-video-all

However, I always receive the error message shown above.

I read in a forum post that pve-headers are required to install AMD drivers. That didn't help either. To keep my system "clean," I uninstalled the package with

apt remove pve-headers
apt autoremove

Whether that was the wisest idea, I'm not sure in hindsight.

Can someone help me to properly install the AMD GPU drivers on my system?
 
Last edited:
I want to install AMD GPU drivers on my Proxmox host to make the AMD GPU usable in a Jellyfin LXC container.
Why are the open source AMD GPU drivers that already come with Proxmox and are automatically loaded not good enough? What does Jellyfin specifically need?
 
Why are the open source AMD GPU drivers that already come with Proxmox and are automatically loaded not good enough? What does Jellyfin specifically need?
Thank you for the response. I simply didn't know that Proxmox already includes drivers for the AMD GPU. In guides I've read about hardware acceleration for Jellyfin in an LXC container, it was mentioned that the graphics driver needed to be installed on the host. As far as I understood, parts of the AMD driver are closed source, so I assumed Proxmox doesn't include AMD drivers.

I had no trouble making the graphics card accessible to the LXC container, and hardware acceleration worked flawlessly without "additional" drivers.

Jellyfin LXC configuration:

lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

However, I couldn't activate tone mapping. As far as I understand, Jellyfin needs OPENCL or Mesa drivers for that. So, I thought it would be a good idea to install the AMD drivers on the host.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!