Skip to content

GetSystemTimePreciseAsFileTime crash win 7 #2671

Backlog

Description

@Theo1996

Before you proceed, please:

  1. Read the Wiki to see if your question is answered - https://github.com/LostRuins/koboldcpp/wiki ,done
  2. Search for past issues if someone else has already found a solution,done
    GetSystemTime crash
    When launching with these parameters:
@echo off
koboldcpp-oldpc.exe --model D:\Models\Qwen3-4B-Instruct-2507-Q4_K_M.gguf --usecublas lowvram --gpulayers 99 --contextsize 16384 --flashattention --quantkv 1 --blasbatchsize 256 --port 5001
pause

it crashes with the following error:

Untitled

The procedure entry point GetSystemTimePreciseAsFileTime could not be located in the dynamic link library KERNEL32.dll.

Welcome to KoboldCpp - Version 1.125.1
Loading Chat Completions Adapter: K:\AppData\Local\Temp\_MEI52242\kcpp_adapters\AutoGuess.json
Chat Completions Adapter Loaded
System: Windows 6.1.7601 AMD64 Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
Detected Available GPU Memory: 2988 MB
Detected Available RAM: 4752 MB
Initializing dynamic library: koboldcpp_cublas.dll
Traceback (most recent call last):
  File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in __init__
  File "ctypes\__init__.py", line 373, in __init__
OSError: [WinError 127] The specified procedure could not be found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "koboldcpp.py", line 16087, in <module>
    main(launch_args=launch_args,default_args=parser.parse_args([]))
  File "koboldcpp.py", line 14437, in main
    kcpp_main_process(args,global_memory,using_gui_launcher)
  File "koboldcpp.py", line 15146, in kcpp_main_process
    init_library() # Note: if blas does not exist and is enabled, program will crash.
  File "koboldcpp.py", line 1129, in init_library
    handle = ctypes.CDLL(os.path.join(dir_path, libname))
  File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in __init__
pyimod03_ctypes.PyInstallerImportError: Failed to load dynlib/dll 'K:\\AppData\\Local\\Temp\\_MEI52242\\koboldcpp_cublas.dll'. Most likely this dynlib/dll
was not found when the application was frozen.
[7980] Failed to execute script 'koboldcpp' due to unhandled exception!

Additional Information:

win7
i5-2400
1060 3gb, latest ver of koboldcpp_oldpc as of creation time. cant find crash logs.

Activity

  1. henk717 commented on Nov 25, 2026

    @henk717
    Collaborator

    Can you confirm your windows 7 has all updates? And can you also confirm this crash happens on non cuda?

  2. LostRuins commented on Nov 25, 2026

    @LostRuins
    Owner

    @henk717 it works for your win7 correct?

  3. Theo1996 commented on Nov 26, 2026

    @Theo1996
    Author

    @henk717 -usevulkan works but from what i understand its worse than cublas because of the context limit , enabling vxkex for koboldcppoldp-pc and disabling it for child processes works for some reason.
    my updates:
    updates.txt

  4. LostRuins commented on Nov 26, 2026

    @LostRuins
    Owner

    Context limit on both are the same

  5. Theo1996 commented on Nov 26, 2026

    @Theo1996
    Author

    @LostRuins doesnt cublass have lowvram option which lets you offload context limit to RAM so it becomes 32K? vulcan doesnt have this. right?

  6. LostRuins commented on Nov 26, 2026

    @LostRuins
    Owner

    Yes, but vulkan has it too

    image
  7. Theo1996 commented on Nov 26, 2026

    @Theo1996
    Author

    @LostRuins thx i didnt notice that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions