Hi
I’m trying local llm capabilities of my FW16 laptop.
.-------------------------: martin@cachyos-fw16
.+=========================. -------------------
:++===++==================- :++- OS: CachyOS x86_64
:*++====+++++=============- .==: Host: Laptop 16 (AMD Ryzen 7040 Series) (AG)
-*+++=====+***++==========: Kernel: Linux 7.0.11-1-cachyos
=*++++========------------: Uptime: 6 mins
=*+++++=====- ... Packages: 1502 (pacman)
.+*+++++=-===: .=+++=: Shell: fish 4.7.1
:++++=====-==: -*****+ Display (BOE0BC9): 2560x1600 @ 1.15x in 16", 60 Hz [Built-in]
:++========-=. .=+**+. DE: KDE Plasma 6.6.5
.+==========-. . WM: KWin (Wayland)
:+++++++====- .--==-. WM Theme: Breeze
:++==========. :+++++++: Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
.-===========. =*****+*+ Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
.-===========: .+*****+: Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
-=======++++:::::::::::::::::::::::::-: .---: Cursor: breeze (24px)
:======++++====+++******************=. Terminal: konsole 26.4.2
:=====+++==========++++++++++++++*- CPU: AMD Ryzen 7 7840HS (16) @ 5.14 GHz
.====++==============++++++++++*- GPU: AMD Radeon 780M Graphics [Integrated]
.===+==================+++++++: Memory: 3.67 GiB / 27.21 GiB (13%)
.-=======================+++: Swap: 521.86 MiB / 59.21 GiB (1%)
.......................... Disk (/): 679.72 GiB / 898.51 GiB (76%) - btrfs
Local IP (eth0): 192.168.2.27/24
Battery (FRANDBA): 80% [AC Connected]
Locale: cs_CZ.UTF-8
i installed lm studio. I’m trying to load Qwen3 Coder 30B A3B Instruct Q4_K_M. Because memory is shared it should be able to run the whole thing on GPU. But it fails on
2026-06-07 18:11:27 [DEBUG]
LlamaV4::load called with model path: /home/martin/.lmstudio/models/lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf
LlamaV4::load config: n_parallel=4 n_ctx=4096 kv_unified=true
2026-06-07 18:11:27 [DEBUG]
0.00.045.076 I srv load_model: loading model '/home/martin/.lmstudio/models/lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf'
2026-06-07 18:11:27 [DEBUG]
0.00.152.483 W load: control-looking token: 128247 '</s>' was not control-type; this is probably a bug in the model. its type will be overridden
2026-06-07 18:11:33 [DEBUG]
0.06.535.421 W warning: failed to mlock 436264960-byte buffer (after previously locking 0 bytes): Cannot allocate memory
Try increasing RLIMIT_MEMLOCK ('ulimit -l' as root).
2026-06-07 18:12:28 [DEBUG]
radv/amdgpu: Not enough memory for command submission.
2026-06-07 18:12:28 [DEBUG]
1.01.496.792 E llama_model_load: error loading model: vk::Queue::submit: ErrorDeviceLost
1.01.496.804 E llama_model_load_from_file_impl: failed to load model
1.01.496.841 E common_init_from_params: failed to load model '/home/martin/.lmstudio/models/lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf'
1.01.496.858 E srv load_model: failed to load model, '/home/martin/.lmstudio/models/lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf': error loading model: vk::Queue::submit: ErrorDeviceLost
2026-06-07 18:12:28 [DEBUG]
[LLMProcess] Failed to load model _0x41fe3f [Error]: Failed to load model.
at _0x446b3e.loadModel (/opt/LM-Studio/resources/app/.webpack/lib/llmworker.js:1:613074)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async _0x446b3e.handleMessage (/opt/LM-Studio/resources/app/.webpack/lib/llmworker.js:1:605001) {
cause: 'Failed to load model',
suggestion: undefined,
errorData: undefined,
data: undefined,
displayData: undefined,
title: 'Failed to load model.'
}
failed to mlock 436264960-byte buffer that is 436MB. i first thought that it needs that much dedicated memory so i switched in bios from auto (512MB) to gaming (3GB?) but i have the same error.
ulimit -l reports 8192, but I’m not sure it is the problem, because I’m able to load this model on my PC with 7900 XT (20GB).
Is there anybody who also experimented with local llms on framework laptops an can explain to me this issue and limitations of my hw?