Skip to main content

Installing LM Studio with Vulkan Support on AMD Strix Halo

A launcher script for LM Studio on AMD Ryzen AI Max 395, and how to switch to the Vulkan backend when the ROCm backend fails on gfx1151.

S

SmartTechLabs

SmartTechLabs - Intelligent Solutions for IoT, Edge Computing & AI

3 min read

Update, November 2026

LM Studio has changed a lot since January (0.4.x, with 0.4.21 listed in July 2026). The 0.4.17 changelog says “AMD Strix Halo machines are now supported via the llama.cpp 2.22.1 runtime”, fixes a stuck no-GPU state caused by old ROCm versions, and notes that iGPUs under the Vulkan backend are now “visible and disabled by default”. On a current version, check Settings and Runtime first: the ROCm runtime may work on gfx1151 now, and an iGPU may need to be enabled. The Vulkan workaround below applies to the older runtimes that crash on gfx1151. The ROCm side has also changed: AMD now lists gfx1151 as supported in ROCm Core SDK 10.x, and Strix Halo needs a recent kernel (6.17.0-19 HWE or 6.18.4 and later; see the amdgpu post). The runtime version 1.62.0 in the JSON example is from January and will be outdated.

Local LLMs on Strix Halo

AMD’s Ryzen AI Max 395 with its massive unified memory pool is an excellent platform for running local LLMs. LM Studio provides a user-friendly interface for downloading and running models, but getting optimal performance on Strix Halo requires the right backend configuration.


The Challenge

LM Studio supports multiple compute backends:

BackendBest For
CUDANVIDIA GPUs
MetalApple Silicon
VulkanAMD GPUs, cross-platform
CPUFallback, slower

In January 2026 the bundled llama.cpp ROCm runtime did not work on gfx1151: loading any model crashed with “Exit code: null”. The Vulkan runtime worked, so Vulkan was the practical choice on this APU.


Our Solution

We’ve created strix-halo-lmstudio, a launcher script for the LM Studio AppImage on Ubuntu. It does not download LM Studio and does not change the backend; the Vulkan switch is a manual step (see Configuration Details). The script:

  1. Finds a newer LM-Studio-X.Y.Z-N-x64.AppImage in ~/Downloads and installs it to /opt/lmstudio
  2. Tracks the installed version
  3. Adds a lmstudio alias and PATH entry to your shell configuration
  4. Starts LM Studio with --no-sandbox and cleans up processes on exit

Quick Install

Download the AppImage from lmstudio.ai to ~/Downloads first.

1
2
3
4
5
6
sudo mkdir -p /opt/lmstudio
sudo chown $USER:$USER /opt/lmstudio
git clone https://github.com/smarttechlabs-projects/strix-halo-lmstudio.git
cd strix-halo-lmstudio
chmod +x run_lmstudio.sh
./run_lmstudio.sh

Why Vulkan?

While ROCm provides excellent compute capabilities, LM Studio’s Vulkan backend offers several advantages on Strix Halo:

AdvantageDescription
CompatibilityWorks without ROCm-specific builds
StabilityMature graphics API with wide support
PerformanceRuns large models from unified memory
SimplicityNo complex ROCm configuration required

Performance Expectations

Throughput (tokens per second) depends on the model, its quantization and the runtime version, and changes with every new model, so we do not list figures here. Measure with the models you plan to use.

The unified memory architecture allows loading models that wouldn’t fit on discrete GPUs with limited VRAM.


Configuration Details

To select the Vulkan runtime, close LM Studio and edit ~/.lmstudio/.internal/backend-preferences-v1.json:

1
2
3
4
5
6
7
[
  {
    "model_format": "gguf",
    "name": "llama.cpp-linux-x86_64-vulkan-avx2",
    "version": "1.62.0"
  }
]

Then restart LM Studio. You can also choose the runtime in Settings, Runtime, if the application starts. The version must match a runtime you have installed. Offloading all layers to the GPU is set in the model load settings (“GPU Offload”), not in this file.


Troubleshooting

GPU Not Detected

Ensure Vulkan is properly installed:

1
vulkaninfo | grep "GPU id"

Slow Performance

Check that GPU layers are being used:

  • Open LM Studio settings
  • Verify “GPU Layers” is set to maximum
  • Monitor GPU usage with rocm-smi (replaced by amd-smi in recent ROCm releases) or our rocm_info tool

Out of Memory

Reduce model quantization or try a smaller model. The unified memory allows large models but system stability matters.


Get Started

Repository: smarttechlabs-projects/strix-halo-lmstudio

If you try it, tell us what works and what does not.


Want to deploy local LLMs in your organization? Contact us for consulting and integration services.

Share this article
S

SmartTechLabs

Building Intelligent Solutions: IoT, Edge Computing, AI & LLM Integration