Skip to content

BTekV4/bazzite-gnome-rocm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bazzite GNOME ROCm

This project creates a customized Bazzite GNOME image with a longterm kernel (6.12) to support ROCm on AMD hardware.

Contents

  • recipes/recipe.yml: The BlueBuild recipe to create the customized image

Image Preparation

The image can be built using BlueBuild:

bluebuild build

This will create a local container image localhost/bazzite-gnome-rocm:latest that includes:

  • Longterm kernel 6.12 (ROCm compatible)
  • Kernel modules from the longterm kernel repository

Installation

Verified Image (Recommended)

To install the verified image, use the following command:

sudo rpm-ostree rebase ostree-image-signed:docker://ghcr.io/btekv4/bazzite-gnome-rocm:latest

Unverified Image

To install the unverified image, use the following command:

sudo rpm-ostree rebase ostree-unverified-registry:ghcr.io/btekv4/bazzite-gnome-rocm:latest

After reboot, you'll have a version of Bazzite with the ROCm-compatible kernel.

Verifying it works

Kernel verification

To verify the system is using the correct kernel:

uname -r

You should see a kernel version starting with 6.12 (longterm kernel).

ROCm verification

To verify that ROCm works correctly:

rocminfo

Specific Problem Solved

This project solves the compatibility issue between ROCm and newer Linux kernel versions. ROCm requires specific kernel versions (in this case, 6.12 longterm) to work properly on AMD hardware, while Bazzite by default uses newer kernels.

Changes Made

To enable full ROCm compatibility, the following adjustments were made:

Repository Configuration

A COPR repository is added to provide the longterm kernel:

  • https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-6.12/repo/fedora-43/kwizart-kernel-longterm-6.12-fedora-43.repo

Installed Packages

The longterm kernel and its modules are installed to replace the default kernel:

  • kernel-longterm
  • kernel-longterm-core
  • kernel-longterm-devel
  • kernel-longterm-modules
  • kernel-longterm-modules-extra

This ensures maximum compatibility with AMD GPUs using the ROCm stack.

ISO Creation

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:latest

Credits

This 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!

About

Template for making your own OS image using BlueBuild of Bazzite GNOME with ROCm support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%