Problems that affect every system are on the other Troubleshooting pages. This page collects the ones specific to one system.
Windows: antivirus, SmartScreen or Smart App Control
Section titled “Windows: antivirus, SmartScreen or Smart App Control”See Antivirus or Windows blocks or deletes the file.
Windows: a user name or folder with accented letters
Section titled “Windows: a user name or folder with accented letters”Paths with non-ASCII characters (umlauts, accents, other alphabets) can break model loading. Put KoboldCpp and your models in a folder with a plain ASCII path, for example C:\mystuff.
A Windows user name with such characters has been reported to make image models fail with an access violation, because KoboldCpp unpacks itself into the temporary folder inside the user profile. The latest release contains a fix for this that has not been confirmed yet. If image models still fail this way, a Windows user account with a plain ASCII name avoids the problem.
Windows 7: KoboldCpp does not start
Section titled “Windows 7: KoboldCpp does not start”DLL load failed while importing pyexpatOr an error about a missing entry point such as GetSystemTimePreciseAsFileTime. The main builds use functions that exist only in Windows 8 and newer.
- Use
koboldcpp-oldpc.exe. Its libraries skip the Windows 8 functions. - For the
pyexpaterror, install the Windows update KB3063858. - If
msvcp140.dllstill reportsGetSystemTimePreciseAsFileTime, one user fixed it this way: unpack KoboldCpp with Unpack KoboldCpp To Folder on the Extra tab, then replace themsvcp140.dllin that folder with an older version. Do not replace the one in the Windows system folders.
The third-party VxKex compatibility layer can make the main builds run. CUDA on Windows 7 is untested. See Windows 7.
Windows: slow when the window is in the background
Section titled “Windows: slow when the window is in the background”See Slow when the window is in the background.
Linux: "Permission denied"
Section titled “Linux: "Permission denied"”The file is not executable yet.
chmod +x koboldcpp-linux-x64./koboldcpp-linux-x64If the main build still fails on an older system, try koboldcpp-linux-x64-oldpc.
Linux: "Unable to detect VRAM."
Section titled “Linux: "Unable to detect VRAM."”KoboldCpp finds your graphics card and its memory with nvidia-smi (NVIDIA), rocminfo (AMD with ROCm) or vulkaninfo. For Vulkan, install the vulkan-tools package, then restart KoboldCpp. See The graphics card is not used.
Linux: the file picker does nothing
Section titled “Linux: the file picker does nothing”Often on Wayland. The console may show:
Zenity/YAD sanity check failed- Install
yad. KoboldCpp prefers it overzenity. - Or turn on Use Classic FilePicker on the launcher's Extra tab.
Linux: the launcher does not open
Section titled “Linux: the launcher does not open”See "Warning, GUI failed to start". On a server without a display, run KoboldCpp from the command line; see Headless use.
Linux: the browser does not open
Section titled “Linux: the browser does not open”KoboldCpp tries xdg-open first, then Python's browser launcher. If neither works, open http://localhost:5001 yourself.
Linux: AMD graphics card
Section titled “Linux: AMD graphics card”Use Use Vulkan in koboldcpp-linux-x64-nocuda. An experimental official ROCm build also exists; see ROCm build for AMD on Linux.
Linux: a self-built binary does not run on another PC
Section titled “Linux: a self-built binary does not run on another PC”Since v1.122, koboldcpp.sh builds portable binaries only with KCPP_PORTABLE=1. See Build from source.
macOS: nothing happens, or macOS blocks the file
Section titled “macOS: nothing happens, or macOS blocks the file”The file is not executable yet, or Gatekeeper blocks it because it is not signed.
In Terminal, make it executable and run it:
Terminal chmod +x koboldcpp-mac-arm64./koboldcpp-mac-arm64If macOS blocks it, allow it in System Settings → Privacy & Security, then run it again.
See macOS.
macOS: "Unable to detect VRAM."
Section titled “macOS: "Unable to detect VRAM."”This is normal on Apple Silicon. KoboldCpp puts all layers on the GPU (Metal) anyway:
MacOS detected: Auto GPU layers set to maximummacOS: Intel Mac
Section titled “macOS: Intel Mac”There is no ready-made file for Intel Macs, and they are poorly supported. You can build from source.
macOS: run without Metal
Section titled “macOS: run without Metal”--failsafe switches to a CPU-only library that uses Apple's Accelerate framework instead of Metal.
Android: "Illegal instruction"
Section titled “Android: "Illegal instruction"”Some devices crash with Illegal instruction. Compile with make LLAMA_PORTABLE=1, which turns off ARM-specific instructions. See Android (Termux).
Android: packages fail to install
Section titled “Android: packages fail to install”Run termux-change-repo and pick another mirror, then run the setup again.
Docker: very slow
Section titled “Docker: very slow”The Docker image detects processor features only roughly and can fall back to the failsafe libraries, which are extremely slow. Choose the backend yourself, for example --usecuda or --usevulkan in KCPP_ARGS. See Docker.