This project creates a customized Bazzite GNOME image with a downgraded kernel (6.13.7-107) to support ROCm on AMD hardware.
recipes/recipe.yml: The BlueBuild recipe to create the customized image
The image can be built using BlueBuild:
bluebuild buildThis will create a local container image localhost/bazzite-gnome-rocm:latest that includes:
- Downgraded kernel to 6.13.7-107 (ROCm compatible)
- Build tools needed for kernel modules
To install the image, use the following command:
sudo rpm-ostree rebase ostree-unverified-registry:ghcr.io/btekv4/bazzite-gnome-rocm:latestAfter reboot, you'll have a version of Bazzite with the ROCm-compatible kernel.
To verify the system is using the correct kernel:
uname -rYou should see 6.13.7-107.bazzite.fc42.x86_64.
To verify that ROCm works correctly:
/opt/rocm/bin/rocminfoThis project solves the compatibility issue between ROCm and newer Linux kernel versions. ROCm requires specific kernel versions (in this case, 6.13.7) to work properly on AMD hardware, while Bazzite by default uses newer kernels.
To enable full ROCm compatibility, the following adjustments were made:
Several stock kernel modules and third-party drivers were removed to simplify the image:
- Kernel components:
kernelkernel-corekernel-moduleskernel-modules-extrakernel-develkernel-modules-core
- Device modules:
bmi260,kmod-bmi260broadcom-wlgpd-fan,kmod-gpd-fankmod-ayaneo-platform,ayaneo-platformkmod-ayn-platform,ayn-platformkmod-framework-laptop,framework-laptop-kmod-commonkmod-gcadapter_oc,gcadapter_ockmod-openrazer,openrazer-kmod-commonkmod-v4l2loopback,v4l2loopbackkmod-wlkvmfr,kmod-kvmfrnct6687d,kmod-nct6687dryzen-smu,kmod-ryzen-smukmod-vhba,vhbakmod-xone,xone-kmod-commonkmod-zenergy,zenergy
A custom Bazzite kernel and its modules were installed to replace the removed stock Bazzite components:
kernel-6.13.7-107.bazzite.fc42.x86_64.rpmkernel-core-6.13.7-107.bazzite.fc42.x86_64.rpmkernel-modules-6.13.7-107.bazzite.fc42.x86_64.rpmkernel-modules-core-6.13.7-107.bazzite.fc42.x86_64.rpmkernel-modules-extra-6.13.7-107.bazzite.fc42.x86_64.rpmkernel-devel-6.13.7-107.bazzite.fc42.x86_64.rpm
This ensures maximum compatibility with AMD GPUs using the ROCm stack.
- Added Obs Studio
If you are building this on Fedora Atomic, you can generate an offline ISO following these instructions.
Note: Due to size constraints, ISOs cannot be freely hosted on GitHub; alternative hosting must be used for public distribution.
sudo bluebuild generate-iso --iso-name bazzite-gnome-rocm.iso image ghcr.io/btekv4/bazzite-gnome-rocm:latestThis project is based on Bazzite OS.
Special thanks to the Bazzite team for their original image.
Feel free to contribute to this project by forking, making pull requests, or providing feedback!