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.
SmartTechLabs
SmartTechLabs - Intelligent Solutions for IoT, Edge Computing & AI
Update, November 2026
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:
| Backend | Best For |
|---|---|
| CUDA | NVIDIA GPUs |
| Metal | Apple Silicon |
| Vulkan | AMD GPUs, cross-platform |
| CPU | Fallback, 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:
- Finds a newer
LM-Studio-X.Y.Z-N-x64.AppImagein~/Downloadsand installs it to/opt/lmstudio - Tracks the installed version
- Adds a
lmstudioalias and PATH entry to your shell configuration - Starts LM Studio with
--no-sandboxand cleans up processes on exit
Quick Install
Download the AppImage from lmstudio.ai to ~/Downloads first.
| |
Why Vulkan?
While ROCm provides excellent compute capabilities, LM Studio’s Vulkan backend offers several advantages on Strix Halo:
| Advantage | Description |
|---|---|
| Compatibility | Works without ROCm-specific builds |
| Stability | Mature graphics API with wide support |
| Performance | Runs large models from unified memory |
| Simplicity | No 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:
| |
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:
| |
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 byamd-smiin 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.
SmartTechLabs
Building Intelligent Solutions: IoT, Edge Computing, AI & LLM Integration
Related Articles
Running ComfyUI on AMD Ryzen AI Max 395 (Strix Halo)
Update, November 2026 The situation described below has changed. Official support: AMD’s ROCm …
Read moreFixing ROCm Boot Issues: amdgpu Module Blacklisted
Update, November 2026 The blacklist problem and its fix are unchanged. What has changed around it: …
Read moreReal-Time ROCm GPU Monitoring with Web Dashboard
Update, November 2026 rocm_info collects its data by running rocm-smi, and the README lists Ubuntu …
Read more