A concise guide for enabling hardware-accelerated local LLM inference on AMD Phoenix APUs (Radeon 760M / RDNA3) under Ubuntu using ROCm overrides and systemd service tuning.
1. Driver & System Dependencies
Ensure standard Mesa drivers, Vulkan components, and direct rendering permissions are configured.
2. Configure Ollama Systemd Override
By default, Ollama ignores integrated graphics to preserve system VRAM and lacks native targets for gfx1103. We override the ROCm architecture and explicitly enable the iGPU.
Open the systemd service override editor:
Paste the following environment variables into the unit configuration:
Apply the changes and restart the daemon:
3. Verification
Confirm that Ollama successfully initializes the GPU without dropping the target device:
Performance Note: Token generation speed on integrated graphics is strictly bound by system DDR5 memory bandwidth (~50–80 GB/s) rather than GPU compute core count.
For optimal VRAM throughput, allocate 4GB to 8GB of UMA Frame Buffer memory in your system BIOS settings.
📺 Video Walkthrough: For a live demonstration and benchmarks of this setup, watch the YouTube video: Offloading Local LLMs to AMD iGPU on a Mini PC.