Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Code Branches Pull requestsIssuesInsights
main
Home Code PRsIssues

#284 Separate vocals and accompaniment failed

closed

Opened by Rebuilding127 · 2 weeks ago

Rebuilding127opened this issueAuthor· 2 weeks ago
devcommented· last week

@Rebuilding127 Hi sorry for the late reply, being doing many changes in architecture, can you please give the latest version a try and see If it's resolved?

github.com/thedavidweng/…/v0.11.0

Rebuilding127commented· last week
Rebuilding127commented· last week
devcommented· last week

@thedavidweng More than 12 hours have passed since yesterday's test, and when I checked just now, the same situation was still occurring.

Hi, thanks for reporting this and sorry for keeping you waiting.

The info you provided helped me narrowed the problem down to the Windows Runtime logic. OpenKara defaults to use Windows DirectML for runtime preloading during installation, but your Window Server environment in PVE likely lacks support for that and have, which is why it's failing. I will release 0.12.0 in the next few hours which should patch this and let you use CPU mode for separation. Thanks again for your patience and feedback.

devcommented· last week

0.12.0

Rebuilding127commented· last week
Rebuilding127commented· last week
devcommented· last week

Thanks for retesting 0.12.1 and sorry to hear the problem persist.

Just shipped a hardening fix, would you please try 0.13.0 and see if it works for you/=?

If it still fails, please send the following so we can see the real root cause:

1) Copy debug info

  1. Open Settings → About
  2. Click Copy debug info
  3. Paste it into a reply here Regarding your environment
  • Does the VM have a GPU / display adapter assigned?
  • App language in Settings → Language (what is selected?)
  1. check whether this folder exists and list its files: %AppData%\com.openkara.desktop\runtimes\ Also attach the latest log file path shown in About (if the file is large, zip the newest openkara.*.log only).

Thank you again.

Rebuilding127commented· last week
devcommented· 5 days ago

Hi @Rebuilding127, thanks for the detailed debug info — the root cause is now identified and fixed.

Root cause: Your PVE Windows Server VM exposes a virtual display adapter that passes the DirectML (D3D12) capability probe, but DirectML.dll deadlocks inside DllMain during runtime load. Releases up to 0.13.0 only carried the DirectML Windows runtime in the catalog, so when the load timed out there was no CPU-only runtime to fall back to — hence the loop.

Fixed in 0.13.1 (just released): github.com/thedavidweng/…/v0.13.1

Two changes shipped:

  1. The catalog now includes a CPU-only Windows ONNX Runtime. When DirectML load times out, OpenKara records it and selects the CPU runtime on the next launch.
  2. Runtime selection is now execution-provider aware (it disambiguates the two Windows runtimes by provider).

How to verify: Install 0.13.1 and try separation. The first attempt may still time out on DirectML; restart the app and the next attempt should automatically use the CPU runtime (you'll see a toast: "Using CPU-only ONNX Runtime"). Stem separation works on CPU, just slower.

If it still loops after upgrading: You may have manually selected DirectML in Settings → Execution Provider at some point. An explicit selection takes priority over the automatic fallback. If so, open Settings → Execution Provider → choose CPU, then try separation again.

Thanks again for your patience and for testing each release.

Rebuilding127commented· 5 days ago
devcommented· 3 days ago

Hi @Rebuilding127, thanks for testing v0.13.1. Your log confirmed something important: on your PVE VM the CPU runtime also hangs during LoadLibraryW, not just the DirectML one. That narrowed the cause to the Windows loader environment on the VM, not to DirectML or to ONNX Runtime internals.

The most likely culprit is Windows Defender real-time scanning of the freshly extracted onnxruntime.dll, or a cold and slow virtual disk, stalling the DLL section mapping while the loader lock is held. The load appears to hang because it is waiting on that scan or disk read under the lock.

v0.13.2 is now released with three changes aimed at exactly this: github.com/thedavidweng/…/v0.13.2

  1. Before loading the runtime, OpenKara now reads the DLL bytes into memory first. This lets any antivirus scan and any cold disk read finish before the loader maps the DLL, so the subsequent LoadLibraryW is fast.
  2. The load watchdog timeout was raised from 60s to 120s, giving slow VM disks more headroom.
  3. If the load still times out, the error message now prints the exact Defender commands to run.

Please upgrade and test by downloading OpenKara_0.13.2_x64_setup.exe from the release link above.

If it still fails to load the runtime after upgrading, please run this in an Administrator PowerShell and try again:

Set-MpPreference -DisableRealtimeMonitoring $true

If the runtime then loads successfully, Defender real-time scanning was the cause. Re-enable it and add a permanent exclusion for the runtimes folder:

Set-MpPreference -DisableRealtimeMonitoring $false
Add-MpPreference -ExclusionPath "$env:APPDATA\com.openkara.desktop\runtimes"

Either way, please paste the new About panel and debug log so I can confirm what happened. Thank you.

Rebuilding127commented· 3 days ago
devcommented· yesterday

Update: the root cause is fixed at the artifact level.

Your instant LoadLibraryExW failure after disabling Defender was the decisive clue: the runtime DLLs were built with /MD, so onnxruntime.dll imports the VC++ Redistributable DLLs (VCRUNTIME140.dll, VCRUNTIME140_1.dll, MSVCP140.dll, MSVCP140_1.dll). A stripped Windows Server image without the redistributable fails that load immediately with Win32 error 126 (ERROR_MOD_NOT_FOUND).

What shipped since:

  • The ONNX Runtime artifacts are now built with the static CRT (/MT) upstream (thedavidweng/openkara-models#90). The published DLLs import zero VC++ Redistributable DLLs — verified against their PE import tables at publish time.
  • Runtime catalog generation 13 (release 2026-08-12-001) publishes those rebuilt artifacts, and OpenKara consumes it as of #391 / #392 (tracking issue #363, now closed).

What to do on your machine: nothing manual. Launch OpenKara with network access — the runtime bootstrap discovers the new catalog generation automatically, downloads the rebuilt onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced runtime, and stages it. The new runtime loads without the VC++ Redistributable, so no redistributable install and no app reinstall are needed.

If separation then runs end-to-end on your PVE VM, please tell us here so we can close this issue. If anything still fails, paste the new error text and we will keep digging.


更新:问题根源已在制品层面修复。 此前的运行时 DLL 以 /MD 构建,依赖 VC++ 运行库;你的精简版 Windows Server 镜像没有安装它,所以加载立即失败(错误 126)。现在上游已改用**静态 CRT(/MT)**重新构建(catalog 第 13 代),新 DLL 完全不依赖 VC++ 运行库。你无需手动操作:联网启动 OpenKara,应用会自动发现并下载重建后的运行时。如果分离功能在你的 PVE 虚拟机上跑通了,请在此告知,我们即可关闭本 issue;若仍有报错,请贴出新的错误信息。

devcommented· yesterday
Rebuilding127commented· yesterday
devcommented· yesterday

v0.14.0 stable is out — the fix now ships in the app itself.

Glad the manual reinstall got you unblocked. Stable v0.14.0 is now published with the redist-free (static-CRT) runtime embedded, plus fixes for the three update-path defects that forced those manual steps in the first place:

  • a separation-triggered install now uses the freshly fetched catalog instead of the stale embedded snapshot (#393);
  • a republished runtime with the same id but new bytes now actually installs instead of being skipped as "already installed" (#394);
  • a runtime is only staged for activation after its load probe passes, so a failed probe can no longer poison the next launch (#395).

Updating via the in-app update banner (or reinstalling from the release page) is all that's needed now — no cache cleanup, no manual runtime install. Your current working setup keeps working after the update, and future runtime updates will land automatically.

Again thank you for your patient along the way.


v0.14.0 稳定版已发布——修复已随应用本体提供。

很高兴手动重装让你先恢复了使用。稳定版 v0.14.0 现已发布,内嵌了无需 VC++ 运行库的(静态 CRT)ONNX 运行时,同时修复了迫使你采取手动步骤的三个更新路径缺陷:

  • 由分离触发的安装现在会使用最新拉取的目录,而不是二进制内嵌的旧快照(#393);
  • 同一 id 但字节已更新的运行时现在会真正安装,而不会被当作"已安装"跳过(#394);
  • 运行时只有在加载探测通过后才会被暂存激活,探测失败不会再影响下次启动(#395)。

现在只需通过应用内的更新横幅升级(或从发布页重装)即可——不再需要清理缓存或手动安装运行时。你当前可用的配置在升级后会继续工作,之后的运行时更新也会自动完成。

再次感谢你的耐心。

Sign in to comment.

Linked pull requests

No linked pull requests yet.

I use it on my Windows system, its installation path is C:\Users\Administrator\AppData\Local\OpenKara .

Now it download AI Model file success. However, I didn't see it in the installation folder, nor was its save location shown in the software's settings page.

Then I find the model file in C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\models by Everything.

The htdemucs.onnx.verified.json file:

{
  "filename": "htdemucs.onnx",
  "sha256": "8fa3dab679c59aeb049dd229f57a212c9339b3fc17ebf50541daad9e799364a1",
  "file_size": 354970480,
  "modified_unix_nanos": 1785113803565052000
}

The problem is that it throws an error when I click the song separation button :

模型不可用

ONNX Runtime checksum mismatch: expected 4a0fcf8d9a432726600906e60bd601a0a428a1874d25910e5b7b486e2e581f14, got 939fa0be435d253eadd9e394ee94ad6b6ac1878c83b64118bb4bda669eb0e28c

I don't know what happened, or Why it error.

What puzzles me is that the two SHA256 encodings shown in the error message are inconsistent with those in the htdemucs.onnx.verified.json file.

I tried deleting the model file and downloading it again, but the same error still occurred.


Another suggestion for optimization regarding the separation operation: There is no loading effect after clicking the separation button, which makes it impossible for users to perceive the processing status, and they can only wait silently.

@thedavidweng Of course, no problem.

After the model file is successfully downloaded, when I click the separation operation for a song, the software prompts and automatically starts downloading the runtime files.

After about 10 seconds, the files appear to have finished downloading, but the interface still shows 正在下载运行时...15.0MB/15.0MB, it means "Downloading runtime... 15.0MB/15.0MB" and never indicates that the download is complete.

After that, when I try the separation operation again, an error message appears: 模型不可用 means "Model unavailable" and "ONNX Runtime is still downloading to". This error is understandable.

After waiting for about 10 minutes, it still shows that the runtime is downloading, which seems abnormal?

Then I closed and restarted the software, and clicked the separation operation again. It started downloading the runtime files from scratch once more, and everything seemed to go back to the same loop as above.

Now I'm leaving it alone and letting it run overnight to see if it works normally tomorrow.


Additional note: All of the above operations were performed on a virtual machine running Windows Server 2022 Datacenter installed on a PVE system, including the installation and testing of the software. I'm not sure if this has any impact, so I'm letting you know.

@thedavidweng More than 12 hours have passed since yesterday's test, and when I checked just now, the same situation was still occurring.

0.12.0

I've already tested it, and the problem persists.

It appears the runtime file download is complete, but it's stuck at 100% download progress.

I just tested version 0.12.1 and found that the problem still exists.

Currently, downloading the runtime file is successful, and after the download is complete, it starts checking file compatibility. It waits a few seconds at 正在检查 ONNX 运行时兼容性…, then displays the error: 运行时设置超时。运行时在下载后安装超时。请重试。

I have tested 0.13.0. Here is the debug info:

  1. About
OpenKara · 关于
版本: 0.13.0 (构建 ed3400a)
系统: windows · x86_64
目录: 10 · 2026-07-26-001
模型: htdemucs · ready · model-spectral-v1.0.0 · model-spectral-v1.0.0
运行时: failed · v1.27.1 · — · x86_64-pc-windows-msvc
Runtime path: —
执行提供程序: directml
DirectML available: true
UI language: zh-CN
日志文件: C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs\openkara.<date>.log
  1. Debug log
2026-08-07T02:47:46.322978Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-07T02:48:46.709330Z  WARN openkara_lib::app_runtime: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-reduced\onnxruntime.dll: runtime_post_download_timeout: ONNX Runtime load did not finish within 60 seconds
2026-08-07T02:48:46.719283Z  WARN openkara_lib::app_runtime: no previous ONNX Runtime available after failed activation
2026-08-07T02:49:15.390155Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
  1. My VM info (screenshot)
Image

I usually use it via remote desktop. By Windows RDP. Maybe because I didn't configure the GPU ? I'm not sure.

If this is due to my VM GPU settings, please let me know. I can try fix it.

Both of system language and software language are Chinese.

  1. runtimes files

The files is in path %AppData%\Roaming\com.openkara.desktop\runtimes\ :

2026/08/07  10:49    <DIR>          onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-reduced
2026/08/07  10:49               451 slots.json
2026/08/06  09:20               123 worker-1785979251708309000.progress.json
2026/08/06  09:20            48,154 worker-1785979251708309000.request.json
2026/08/06  09:20                 0 worker-1785979251708309000.stderr.log

In onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-reduced:

2026/08/07  10:49             3,289 build-manifest.json
2026/08/07  10:49        18,527,776 DirectML.dll
2026/08/07  10:49             1,094 LICENSE.onnxruntime
2026/08/07  10:49           331,175 NOTICE.onnxruntime
2026/08/07  10:49        19,783,680 onnxruntime.dll
2026/08/07  10:49             2,265 provenance.json
2026/08/07  10:49             1,928 record.json
2026/08/07  10:49             6,735 sbom.spdx.json

Is there anything else you need?

@thedavidweng Hi, I have test for v0.13.1, it's has some problem.

OpenKara · 关于
版本: 0.13.1 (构建 6346ed6)
系统: windows · x86_64
目录: 12 · 2026-08-07-002
模型: htdemucs · ready · model-spectral-v1.0.0 · model-spectral-v1.0.0
运行时: probing · v1.27.1 · onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced · x86_64-pc-windows-msvc
Runtime path: C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll
执行提供程序: cpu
DirectML available: false
UI language: zh-CN
日志文件: C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs\openkara.<date>.log

The first time I opened the software and ran it, it did report an error. After that, I restarted the software and manually selected "Use CPU only" in the settings.

Before the operation, it showed:

ONNX 运行时
为 AI 音轨分离提供支持的运行时库。

已安装并就绪。
版本 v1.27.1 · x86_64-pc-windows-msvc

However, after the operation, although the interface showed "Separating", the software seemed to re-download the ONNX Runtime files. ** Is this because of a check failure?**

Then it repeatedly failed to download ONNX Runtime, entering an endless loop.

ONNX 运行时下载失败。请检查网络后重试。

版本 v1.27.1 · x86_64-pc-windows-msvc

ONNX 运行时下载失败。请检查网络后重试。

runtime_post_download_timeout: ONNX Runtime load did not finish within 60 seconds

Clicking the Reinstall ONNX Runtime button retries:

ONNX 运行时下载失败。请检查网络后重试。

版本 v1.27.1 · x86_64-pc-windows-msvc

ONNX 运行时下载失败。请检查网络后重试。

runtime_post_download_timeout: runtime onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced did not finish within 60 seconds after download (phase=probing): probing ONNX Runtime at C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll

This is the log file content:

2026-08-09T01:52:31.852092Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T01:53:19.553848Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T01:54:20.962542Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T01:55:29.608521Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T01:56:29.684846Z  WARN openkara_lib::app_runtime: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-reduced\onnxruntime.dll: runtime_post_download_timeout: ONNX Runtime load did not finish within 60 seconds
2026-08-09T01:58:22.664046Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T02:00:00.647708Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T02:01:00.684894Z  WARN openkara_lib::app_runtime: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll: runtime_post_download_timeout: ONNX Runtime load did not finish within 60 seconds
2026-08-09T02:03:27.903948Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T02:08:11.602046Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-09T02:32:10.944854Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs

I am rather puzzled: why did it show that the ONNX Runtime files were already ready before the operation, but then it failed when actually used?

It's also throw error after I run Set-MpPreference -DisableRealtimeMonitoring $true with Administrator PowerShell:

ONNX 运行时下载失败。请检查网络后重试。

版本 v1.27.1 · x86_64-pc-windows-msvc

ONNX 运行时下载失败。请检查网络后重试。

runtime bootstrap worker failed with exit code: 1: probing ONNX Runtime at C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll OpenKara startup command failed: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll: failed to load from `C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll`: LoadLibraryExW failed

Here is the log file:

2026-08-11T04:35:41.092009Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-11T04:35:41.939431Z  WARN openkara_lib::app_runtime: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll: failed to load from `C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll`: LoadLibraryExW failed
2026-08-11T04:36:06.597572Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-11T04:37:35.872754Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs

Then I try run the OpenKara with Administrator, it's also error:

ONNX 运行时下载失败。请检查网络后重试。

版本 v1.27.1 · x86_64-pc-windows-msvc

ONNX 运行时下载失败。请检查网络后重试。

failed to load from `C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll`: LoadLibraryExW failed

Retry:

ONNX 运行时下载失败。请检查网络后重试。

版本 v1.27.1 · x86_64-pc-windows-msvc

ONNX 运行时下载失败。请检查网络后重试。

runtime bootstrap worker failed with exit code: 1: probing ONNX Runtime at C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll OpenKara startup command failed: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll: failed to load from `C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll`: LoadLibraryExW failed

new log:

2026-08-11T04:35:41.092009Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-11T04:35:41.939431Z  WARN openkara_lib::app_runtime: failed to load ONNX Runtime from C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll: failed to load from `C:\Users\Administrator\AppData\Roaming\com.openkara.desktop\runtimes\onnxruntime-1.27.1-openkara-x86_64-pc-windows-msvc-cpu-reduced\onnxruntime.dll`: LoadLibraryExW failed
2026-08-11T04:36:06.597572Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-11T04:37:35.872754Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs
2026-08-11T04:42:19.078060Z  INFO openkara_lib::app_runtime: OpenKara starting; file logging initialized log_dir=C:\Users\Administrator\AppData\Local\com.openkara.desktop\logs

Correction to my previous comment — on 0.13.2 one manual step is still needed.

I re-checked the 0.13.2 code paths against your exact state, and "nothing manual" was an overstatement. Two facts about 0.13.2:

  1. On launch the app does fetch the new catalog generation in the background (about 15 seconds after startup), but with no runtime currently installed it does not download anything by itself.
  2. Retrying via the separation flow does not use the freshly fetched catalog — it reinstalls from the snapshot embedded in the 0.13.2 binary, which still points at the old /MD build. That loop cannot heal on its own.

Only the install button under Settings → ONNX Runtime uses the newly fetched generation-13 catalog. So please do this once:

  1. Quit OpenKara, then delete the folder %AppData%\com.openkara.desktop\runtimes (this clears the broken cached runtime and its staged state).
  2. Launch OpenKara with network access and stay on the main screen for ~30 seconds (the background catalog refresh needs raw.githubusercontent.com to be reachable).
  3. Open Settings → ONNX Runtime and click Install ONNX Runtime. Please do not trigger the download by starting a separation.
  4. If you hit the same LoadLibraryExW failed error, the click came before the refresh finished — restart the app, wait 30 seconds, and click it again.
  5. Keep Settings → Execution Provider = CPU, then run a separation to verify.

The next stable release will embed catalog generation 13, at which point a plain reinstall/retry fixes this with no waiting or manual steps. Sorry for the confusion in my last message, and thanks again for your patience.


更正上一条评论:在 0.13.2 上仍需要一步手动操作。 我按你的具体状态重新核对了 0.13.2 的代码路径,之前说的"无需手动操作"不准确。两点事实:应用启动后确实会在后台(约 15 秒后)获取新一代运行时目录,但在当前没有已安装运行时的情况下不会自动下载任何东西;而且通过"分离"重试走的是安装包内置的旧目录快照,仍会下载旧的 /MD 构建,所以那个循环自己好不了。只有 设置 → ONNX 运行时 里的安装按钮会使用新获取的第 13 代目录。请按以下步骤操作一次:

  1. 退出 OpenKara,删除文件夹 %AppData%\com.openkara.desktop\runtimes(清除损坏的缓存运行时及其暂存状态);
  2. 联网启动 OpenKara,在主界面停留约 30 秒(后台刷新目录需要能访问 raw.githubusercontent.com);
  3. 打开 设置 → ONNX 运行时,点击 安装 ONNX 运行时(不要通过点击分离来触发下载);
  4. 如果仍出现同样的 LoadLibraryExW failed 报错,说明点击时后台刷新还没完成——重启应用、等 30 秒后再点一次;
  5. 保持 设置 → 执行提供程序 = CPU,然后运行分离验证。

下一个正式版本会内置第 13 代目录,届时直接重装/重试即可,无需等待和手动步骤。为上一条消息造成的误导致歉,再次感谢你的耐心。

Good news: the separation operation can now be completed successfully.


Before you sent the correction, I had already started the operation, and as expected, it failed — it kept failing to download the runtime files.

After that, I simply uninstalled the program and deleted all user files at the same time. Then I reinstalled the software.

Next, I manually installed the ONNX runtime files in the settings page and set it to CPU-only mode.

Finally, it was able to separate the audio files successfully.