This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:rocm [2026/02/04 09:04] โ [1\. Kernel and Firmware] sscipioni | tips:rocm [2026/02/15 08:33] (current) โ [1\. Kernel and Firmware] sscipioni | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| References: | References: | ||
| - https:// | - https:// | ||
| + | - https:// | ||
| + | - https:// | ||
| This report outlines the deployment of the **Ollama LLM runtime** on **Arch Linux** specifically tailored for the **AMD Ryzen AI Max+ 395 APU**. The primary focus is optimizing performance by leveraging the integrated **Radeon 8060S iGPU** through the **Vulkan** backend, and considering the potential of the **XDNA 2 NPU** for heterogeneous acceleration. | This report outlines the deployment of the **Ollama LLM runtime** on **Arch Linux** specifically tailored for the **AMD Ryzen AI Max+ 395 APU**. The primary focus is optimizing performance by leveraging the integrated **Radeon 8060S iGPU** through the **Vulkan** backend, and considering the potential of the **XDNA 2 NPU** for heterogeneous acceleration. | ||
| Line 31: | Line 32: | ||
| # disable suspension | # disable suspension | ||
| sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
| - | `` | + | ``` |
| - | add to kernel parameters | + | add to kernel parameters |
| ``` | ``` | ||
| - | amd_iommu=off amdgpu.gttsize=117760 | + | iommu=pt amdgpu.gttsize=126976 ttm.pages_limit=32505856 |
| ``` | ``` | ||
| - | ` | + | |
| ### 2\. Graphics and Compute Drivers (Vulkan) | ### 2\. Graphics and Compute Drivers (Vulkan) | ||
| Line 46: | Line 47: | ||
| sudo pacman -S mesa vulkan-radeon lib32-vulkan-radeon vulkan-headers | sudo pacman -S mesa vulkan-radeon lib32-vulkan-radeon vulkan-headers | ||
| ``` | ``` | ||
| + | ` | ||
| ### 3\. ROCm (Optional but Recommended) | ### 3\. ROCm (Optional but Recommended) | ||