NAME
Rex::GPU::AMD::Setup::Debian - AMD driver setup for Debian 12 and 13 (experimental)
VERSION
version 0.006
DESCRIPTION
Experimental. The AMD driver on Debian:
amdgpu-dkms on Debian 12 and 13, per "release_data": from
repo.radeon.com/amdgpu/31.60/ubuntuwithlinux-headers-$(uname -r), on the release's ownamd64kernel only. Without an apt candidate for either -- after an ABI bump the mirror no longer carries the running kernel's headers -- it dies afterapt-get update, before any package is installed, with the repository and its key in place; for the headers the message says to upgrade the kernel and reboot first.inbox on Debian 12 and 13, on the release's own
amd64kernel only -- the same releases and kernels asamdgpu-dkms, per "release_data" ("inbox_unsupported"): Debian 11, testing and sid, and any other kernel die before any change. The kernel's ownamdgpu, plusfirmware-amd-graphicswhen it is not installed (in thenon-free-firmwarecomponent; it dies, before installing anything, if apt has no candidate). No package is known that adds a missingamdgpu.ko(Debian'samd64kernel carries it): it dies then, before any change. The GPUs AMD supports only with the inbox driver (the Ryzen APUs, rows withdriver => 'inbox') are not supported on Debian: "install_driver" in Rex::GPU::AMD dies before any change for them, unless their driver already works, which it answers withpresent(method => 'dkms'dies then too).No Radeon GPU (gfx target rows with
matrix => 'radeon', "targets" in Rex::GPU::AMD::Hardware), with either driver: AMD's matrix lists the Radeon GPUs only on Ubuntu and RHEL ("radeon_unsupported" in Rex::GPU::AMD::Setup, inherited). "install_driver" in Rex::GPU::AMD dies before any change for them, on every Debian release and kernel, unless their driver already works, which it answers withpresent. With the Ryzen APUs refused as well, only the Instinct GPUs -- and GPUs whose row says nomatrix, or that have no row -- getamdgpu-dkmsor the inbox driver here.Not on Proxmox VE ("host_unsupported"): with
pve-firmwareinstalled both driver paths die before any change, also on a Debian kernel. A workingamdgpuof the Proxmox kernel is answered withpresent, as everywhere. ROCm is not refused there: "install_rocm" in Rex::GPU::AMD installs no firmware package, and refuses only what it refuses on any Debian -- the gfx targets of the Radeon GPUs and the Ryzen APUs, which AMD's matrix does not list on Debian.
release_data
The row of this Debian release (VERSION_ID 13 or 12), undef for another one: the amdgpu-dkms suite (noble, jammy), the kernel it is installed on (AMD's 6.12 and 6.1, as the release's own kernel of the flavour amd64: 6.12.N+deb13-amd64, 6.1.0-N-amd64 -- not cloud-amd64, rt-amd64 or a backports kernel), the ROCm repository (debian13, debian12). Read by the amdgpu-dkms path, the inbox path ("inbox_unsupported": the same releases and kernels) and "install_rocm" in Rex::GPU::AMD.
host_unsupported
A reason when pve-firmware is on disk ("package_on_disk" in Rex::GPU::AMD::Setup::Apt: one dpkg-query), else undef: a Proxmox VE host, which reports itself as Debian (ID=debian, VERSION_ID=13). Both driver paths die on it before any change, also with a Debian kernel booted -- the package decides, not the kernel's name. pve-firmware brings the amdgpu firmware itself and conflicts with firmware-amd-graphics; apt would remove proxmox-ve and the Proxmox kernel to install that. "install_rocm" in Rex::GPU::AMD does not ask it: it installs no firmware package, and runs on Proxmox VE too.
inbox_unsupported
Why the inbox driver is not supported here, or undef: as "dkms_unsupported" in Rex::GPU::AMD::Setup does for amdgpu-dkms, only Debian 12 and 13 ("release_data"; not Debian 11, not testing or sid, which have no VERSION_ID) with the release's own amd64 kernel (not cloud-amd64, rt-amd64, a backports or a Proxmox kernel).
SEE ALSO
Rex::GPU::AMD::Setup, Rex::GPU::AMD::Setup::Apt
SUPPORT
Issues
Please report bugs and feature requests at https://github.com/Getty/rex-gpu/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.