Free | No tracking | Every fact with a source|German and English

Error / Graphics card and drivers

AMD graphics card not being used (ROCm or Vulkan)

With a Radeon card, the model runs only on the CPU or stops with a ROCm error.

The message

ROCm error: invalid device function / PROCESSOR 100% CPU

Affects: Ollama, LM Studio, KoboldCpp, llama.cpp, AMD Software: Adrenalin Edition (with AI Bundle, ROCm/HIP SDK)

Why is this happening?

AMD cards can be accessed through ROCm or Vulkan. Under Windows, ROCm supports only certain newer cards (in Ollama, for example, RX 7600 to 7900 XTX) and requires a current driver. For older cards like the RX 6000 series or for systems with additional integrated Radeon graphics, Vulkan is often the more reliable option.

How to fix it

  1. Update the driver with AMD Software: Adrenalin Edition and restart the PC.
  2. Ollama: Check with ollama ps whether the GPU is being used. Vulkan is enabled by default in current versions and, according to the docs, is the recommended approach for some RX 6000 cards. Make sure OLLAMA_VULKAN is not set to 0, and update Ollama if the version is old.
  3. LM Studio: Open the runtimes with Strg+Umschalt+R and select „Vulkan llama.cpp“. If you get errors with the ROCm runtime (for example, „invalid device function“), Vulkan is the tried-and-true fallback.
  4. KoboldCpp: In the start window, choose the Vulkan preset or start with koboldcpp.exe --usevulkan --gpulayers 99.
  5. If you also have integrated Radeon graphics in the CPU, the program may choose that instead of the graphics card. In Ollama, you can use the environment variable GGML_VK_VISIBLE_DEVICES to set the correct Vulkan card (number according to server.log).
  6. Linux with ROCm: Your user must be in the video and render groups. HSA_OVERRIDE_GFX_VERSION is only an option on Linux for cards that are not officially supported.

Better not: Do not download ROCm files or "patched" DLLs from unofficial sites to force support for an unsupported card: Use Vulkan instead.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.