From 4ab79e41ae36df504fd97dc9b3dfa231c7654a24 Mon Sep 17 00:00:00 2001 From: Michal Antkiewicz Date: Thu, 5 Feb 2026 12:48:04 -0500 Subject: [PATCH 1/5] update kernel information and add ROCm 7.2 status --- docs/ai-ml-packages.md | 43 +++++++++++++++++++++++++++++++++++++++++- docs/kernel-support.md | 9 +++++---- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/docs/ai-ml-packages.md b/docs/ai-ml-packages.md index b8d4147..8abe1b2 100644 --- a/docs/ai-ml-packages.md +++ b/docs/ai-ml-packages.md @@ -1,3 +1,44 @@ +# GZ302 AI/ML Package Support - February 2026 + +ROSm 7.2 has been released with direct support for `gfx1151` - no need for the `HSA_OVERRIDE_GFX_VERSION` anymore. +Follow [Linux How to guide - Use ROCm on Ryzen](https://rocm.docs.amd.com/projects/radeon-ryzen/en/latest/docs/install/installryz/native_linux/howto_native_linux.html). + +However, `ROCm 7.2` requires + +1. `kernel >= 6.18.4` +2. `linux-firmware >= 2026010` + +[Explainer video](https://www.youtube.com/watch?v=Hdg7zL3pcIs). + +## Tested setup on Ubuntu 24.04 + +### Linux kernel + +1. Install a mainline kernel (tested with 6.18.7) +2. For secure boot, sign the kernel using [Ubuntu UEFI Secure Boot with Mainline/Custom Kernels](https://github.com/berglh/ubuntu-sb-kernel-signing) + +### Linux firmware + +1. Download the `.deb` file from [linux-firmware 20260108 for Ubuntu 26.04](https://launchpad.net/ubuntu/resolute/amd64/linux-firmware/20260108.gitd86b47f7-0ubuntu1) or later +2. Install using `sudo apt-get install ./linux-firmware_20260108.gitd86b47f7-0ubuntu1_all.deb` + +### ROCm 7.2 + +The dkms module fails with the mainline kernel, so we must use the `--no-dkms` parameter, for example +```bash +sudo amdgpu-install -y --usecase=graphics,rocm --no-dkms --vulkan=radv +``` + +### Ollama + +Ollama does not yet work with ROCm 7.2. +See [Add ROCm 7 support#13000](https://github.com/ollama/ollama/pull/13000). +You will see the following error +``` +Error: 500 Internal Server Error: llama runner process has terminated: exit status 2 +``` + + # GZ302 AI/ML Package Support - January 2025 **Date**: January 2025 @@ -17,7 +58,7 @@ This document details the current state of AI/ML package support for the ASUS RO - **MIOpen**: AMD's deep learning primitives library - **bitsandbytes**: 8-bit quantization for efficient LLM inference - **Transformers & Accelerate**: Hugging Face ecosystem tools - + --- ## gfx1151 (Strix Halo) Optimizations diff --git a/docs/kernel-support.md b/docs/kernel-support.md index c2c8823..42b62ed 100644 --- a/docs/kernel-support.md +++ b/docs/kernel-support.md @@ -1,6 +1,6 @@ # GZ302 Kernel Support Guide -**Target Hardware:** ASUS ROG Flow Z13 (GZ302EA-XS99/XS64/XS32) with AMD Ryzen AI MAX+ 395 +**Target Hardware:** ASUS ROG Flow Z13 (GZ302EA-XS99/XS98/XS96) with AMD Ryzen AI MAX+ 395 **Last Updated:** January 2026 **Kernel Range:** 6.14 - 6.18+ @@ -54,12 +54,13 @@ uname -r # Example: 6.17.7-arch1-1 | **CachyOS** | 6.18+ | ✅ Excellent | | **Fedora 43** | 6.17+ | ✅ Excellent | | **OpenSUSE TW** | 6.17+ | ✅ Excellent | -| **Ubuntu 25.10** | 6.11 | ⚠️ Upgrade to HWE | +| **Ubuntu 24.04** | 6.14 | ⚠️ Upgrade to HWE | +| **Ubuntu 25.10** | 6.17 | ✅ Excellent | ### Ubuntu Kernel Upgrade ```bash -sudo apt update -sudo apt install linux-generic-hwe-25.10 # Gets 6.14+ +sudo apt-get update +sudo apt-get install linux-generic-hwe-24.04 # Gets 6.17+ ``` --- From 49ec2c49f3c47b1861485434f45c898449c5059f Mon Sep 17 00:00:00 2001 From: Michal Antkiewicz Date: Thu, 5 Feb 2026 12:52:20 -0500 Subject: [PATCH 2/5] fix typo and last updated date --- docs/ai-ml-packages.md | 2 +- docs/kernel-support.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ai-ml-packages.md b/docs/ai-ml-packages.md index 8abe1b2..0fd93e7 100644 --- a/docs/ai-ml-packages.md +++ b/docs/ai-ml-packages.md @@ -1,6 +1,6 @@ # GZ302 AI/ML Package Support - February 2026 -ROSm 7.2 has been released with direct support for `gfx1151` - no need for the `HSA_OVERRIDE_GFX_VERSION` anymore. +ROCm 7.2 has been released with direct support for `gfx1151` - no need for the `HSA_OVERRIDE_GFX_VERSION` anymore. Follow [Linux How to guide - Use ROCm on Ryzen](https://rocm.docs.amd.com/projects/radeon-ryzen/en/latest/docs/install/installryz/native_linux/howto_native_linux.html). However, `ROCm 7.2` requires diff --git a/docs/kernel-support.md b/docs/kernel-support.md index 42b62ed..d418644 100644 --- a/docs/kernel-support.md +++ b/docs/kernel-support.md @@ -1,7 +1,7 @@ # GZ302 Kernel Support Guide **Target Hardware:** ASUS ROG Flow Z13 (GZ302EA-XS99/XS98/XS96) with AMD Ryzen AI MAX+ 395 -**Last Updated:** January 2026 +**Last Updated:** February 2026 **Kernel Range:** 6.14 - 6.18+ --- From 8ec824343a0606510ebd3eeb711d3c693f0d2c48 Mon Sep 17 00:00:00 2001 From: Michal Antkiewicz Date: Sat, 14 Feb 2026 20:20:37 -0500 Subject: [PATCH 3/5] resolve the missing conflict (accept incoming) --- docs/kernel-support.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/kernel-support.md b/docs/kernel-support.md index 6c7f519..8550290 100644 --- a/docs/kernel-support.md +++ b/docs/kernel-support.md @@ -55,15 +55,9 @@ uname -r # Example: 6.19.0-2-cachyos | **Arch Linux** | 6.18+ | ✅ Excellent | | **CachyOS** | 6.19+ | ✅ Excellent | | **Fedora 43** | 6.17+ | ✅ Excellent | -<<<<<<< HEAD -| **OpenSUSE TW** | 6.17+ | ✅ Excellent | -| **Ubuntu 24.04** | 6.14 | ⚠️ Upgrade to HWE | -| **Ubuntu 25.10** | 6.17 | ✅ Excellent | -======= | **OpenSUSE TW** | 6.18+ | ✅ Excellent | | **Ubuntu 24.04.4** | 6.17 (HWE) | ✅ Excellent | | **Ubuntu 26.04** | 7.0+ | ✅ Excellent | ->>>>>>> main ### Ubuntu Kernel Upgrade ```bash From 09f5c132edb7b093b0c0bfcb550865d025b4bd19 Mon Sep 17 00:00:00 2001 From: Michal Antkiewicz Date: Sat, 14 Feb 2026 21:02:52 -0500 Subject: [PATCH 4/5] list environments and check for gdctl (mutter>=47) --- gz302-lib/display-manager.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gz302-lib/display-manager.sh b/gz302-lib/display-manager.sh index a7664e7..04f7a6f 100644 --- a/gz302-lib/display-manager.sh +++ b/gz302-lib/display-manager.sh @@ -91,6 +91,12 @@ display_has_wlr_randr() { command -v wlr-randr >/dev/null 2>&1 } +# Check if gdctl is available (mutter >= 47) +# Returns: 0 if available, 1 otherwise +display_has_gdctl() { + command -v gdctl >/dev/null 2>&1 +} + # Check if KDE kscreen tools are available # Returns: 0 if available, 1 otherwise display_has_kscreen() { @@ -462,7 +468,7 @@ display_print_status() { primary=$(display_get_primary) echo "Display Status:" - echo " Environment: $(display_is_x11 && echo "X11" || echo "Wayland")" + echo " Environments: $(display_is_x11 && echo "X11") $(display_is_wayland && echo "Wayland")" echo " Primary Display: $primary" echo " Current Refresh: $(display_get_current_refresh "$primary")Hz" echo " Current Profile: $(display_get_current_profile)" @@ -488,6 +494,7 @@ display_print_status() { echo "Available Tools:" display_is_x11 && command -v xrandr >/dev/null && echo " ✓ xrandr (X11)" display_has_wlr_randr && echo " ✓ wlr-randr (Wayland)" + display_has_gdctl && echo " ✓ gdctl (Mutter/Wayland)" display_has_kscreen && echo " ✓ kscreen-doctor (KDE)" } From 3ddb86a3663c5195dec003351712a3983ab00a9f Mon Sep 17 00:00:00 2001 From: Michal Antkiewicz Date: Sat, 14 Feb 2026 21:16:13 -0500 Subject: [PATCH 5/5] gdctl actually works for both X11 and Wayland. Part of GNOME since 48 --- gz302-lib/display-manager.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gz302-lib/display-manager.sh b/gz302-lib/display-manager.sh index 04f7a6f..a988980 100644 --- a/gz302-lib/display-manager.sh +++ b/gz302-lib/display-manager.sh @@ -91,7 +91,8 @@ display_has_wlr_randr() { command -v wlr-randr >/dev/null 2>&1 } -# Check if gdctl is available (mutter >= 47) +# Check if gdctl is available (GNOME >= 48, X11/Wayland) +# https://gitlab.gnome.org/GNOME/mutter/-/blob/main/doc/man/gdctl.rst # Returns: 0 if available, 1 otherwise display_has_gdctl() { command -v gdctl >/dev/null 2>&1 @@ -494,7 +495,7 @@ display_print_status() { echo "Available Tools:" display_is_x11 && command -v xrandr >/dev/null && echo " ✓ xrandr (X11)" display_has_wlr_randr && echo " ✓ wlr-randr (Wayland)" - display_has_gdctl && echo " ✓ gdctl (Mutter/Wayland)" + display_has_gdctl && echo " ✓ gdctl (GNOME >= 48, X11/Wayland)" display_has_kscreen && echo " ✓ kscreen-doctor (KDE)" }