mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4072] [Engine] Linux Mint RX 6800 (gfx1030): no ROCm-capable device is detected #1768
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1768
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @killkrazed on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4072
Did the setup using scripts.sh, and it goes up to the point where it begins tuning, then throws out the below error:
"The engine stopped while it was loading the model (exit code 1): strat generate: native embedding: cannot pin 260MiB: no-ROCM-capable device is detected"This is weird because this same system on Windows 11 wen through the same setup without any errors, and it did correctly detect my GPU and launches without errors. I would prefer to use on Linux to squeeze out a bit more performance though.
@oerkel47 commented on GitHub (Oct 25, 2026):
I have the same problem with a RX9070, installed via script/tool though.
@veikk0 commented on GitHub (Oct 26, 2026):
Same issue here. Linux Mint 22.3 Cinnamon with an RX 9060 XT 16GB.
Kernel version: 7.0.0-38-generic.
I'm also running more up-to-date GPU drivers from the kisak-mesa PPA.
Here's the error (full log also attached, but it's just a bunch of similar stuff on repeat since I tried different settings):
strata-coder-iq1_m.log
Possibly related:
@oerkel47 commented on GitHub (Oct 27, 2026):
Appears to be fixed with todays release :)
@veikk0 commented on GitHub (Oct 28, 2026):
Not for me. The updater doesn't even successfully run the latest engine, so it reverted to the older one (which also doesn't work):
Lack of VRAM/RAM can't be the actual issue, since VRAM use is only 512M / 16244M and RAM use is also minimal since everything else is closed.
@veikk0 commented on GitHub (Oct 29, 2026):
#4512 might be the possible root cause? Will test later today with AMD_LOG_LEVEL=3.
@l33tm4st3r commented on GitHub (Oct 29, 2026):
Summary
On my system, Strata's bundled ROCm runtime segfaults when running on Linux kernel 7.3 with an AMD Radeon AI PRO R9700 (gfx1201, RDNA 4).
I found a workaround that makes Strata use the ROCm/HIP libraries installed on the host system instead of relying on the runtime libraries bundled with the Strata engine. It does not require patching Strata's source code.
The principle is not tied to my particular GPU, operating system release, or ROCm version. Those details determine which engine build and system library paths are correct on each machine; the goal is to make Strata load the user's own compatible system ROCm libraries. This is a workaround observed on my machine, not a confirmed root-cause analysis or an official fix.
Environment where I reproduced it
/opt/rocmPlease report your own GPU model/architecture, operating system and kernel version, Strata/engine version, and installed ROCm version when testing. Reports from other configurations are useful too; this issue is not intended to be limited to the exact environment above.
Workaround
The important part is the run-profile JSON:
exeto the absolute path of the engine executable, instead ofcomponent:strata-engine.lib_dirsto the system ROCm library directories.backendtohip.strata serve --profile.In this setup,
strata launchrewrites the profile, resettingexeto a component reference andlib_dirsto an empty list. Usingstrata serve --profilepreserves the custom values.The following paths are examples from my installation only, not values to copy blindly:
Make the configuration fit your system (not a fixed recipe)
Before applying this workaround, inspect your own installation and select the matching values:
rx9070or another GPU name is appropriate for your card./opt/rocmis common on Linux but is not guaranteed; distributions, packages, containers, and custom installations may use different locations.hipconfig --pathcan help identify the ROCm installation ifhipconfigis installed. Verify the actual library directories before adding them tolib_dirs.The general idea is to configure
exeto the correct absolute engine executable, setlib_dirsto the system ROCm library directories that exist on your machine, keepbackendset tohipwhere appropriate, and launch withstrata serve --profile. In my setup,strata launchrewrites the profile (exebecomes a component reference andlib_dirsbecomes empty), whilestrata serve --profilepreserves the custom values. Check whether this behavior applies to your Strata version.Model-specific paths in my script
The included script is a concrete example for two profiles on my machine, not a universal installer or auto-detection tool. It contains model-specific paths, ports, flags, and ROCm library directories. If your GPU, operating system, ROCm version, Strata installation, or model differs, adapt those values to your system before running it; do not copy the script unchanged and assume it will work.
Qwen3.8-Flash-Next IQ3_XXS
~/.local/state/strata/launch/iq3_xxs-128k.json~/.local/share/strata/components/engine/0.1.52-linux-x86_64-hip-rx9070/strata8080DeepSeek-V4.1-Flash IST-DAS 2.25bpw
~/.local/state/strata/launch/ist-das-2-25bpw-8k.json~/.local/share/strata/install/engine-dsv41/0.1.52-linux-x86_64-hip-rx9070/strata-dsv418081The script also applies model-specific arguments for each profile. Those tuning arguments are based on my setup and should not be copied to other models without checking that the target engine supports them.
The two models are intended to run separately on my machine because of their memory requirements.
Usage
Save the script below as
~/strata-start.sh, make it executable, and run one of:Back up the profile JSON files before testing: the script modifies them in place.
A more detailed guide for adapting the workaround to other models is attached here:
strata-rocm-workaround-community.md
Full workaround script (POSIX shell)
Caveats
/opt/rocmlibrary directories in the script are installation-specific examples, not universal settings.stopcommand on a different installation.What would be a better fix?
Ideally, Strata should offer a supported way to select or prefer host-system ROCm/HIP libraries over bundled libraries, or detect a compatible system runtime, without users having to edit model profiles after launch. The implementation should account for different GPUs, operating systems, ROCm versions, and engine builds rather than hard-coding one machine's paths.
Hopefully this helps other users investigate the issue while the developers work on a robust solution. Please include your GPU, operating system/kernel, Strata engine version, and ROCm version in reports, and share whether using the system libraries changes the behavior on your setup.
@mohitNarang commented on GitHub (Nov 5, 2026):
I had the same issue after upgrading my linux machine. In my case it was the issue with the version change for the rocm/hip libraries on the host.
What worked was this command to allow the user that runs strata to be added to the correct group:
sudo usermod -aG render,video "$USER"replace $USER with the user that runs the strata launcher.
Not sure if this might fix your issue as well, but for me this was just a random trial as I used to run into the same issue after each rocm update from the linux distro updates.