Running KLBF Lab on Linux (Proton / umu) – working setup + one small fix needed (Ryzen 5800X3D, RX7900XTX, 32GB DDR4 RAM) #195

Open
opened 2026-11-28 19:27:39 +00:00 by Floh2802 · 11 comments
Floh2802 commented 2026-11-28 19:27:39 +00:00 (Migrated from github.com)
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by Floh2802 on 2026-11-28T19:27:39Z.


KLBF Lab v26.11.6 can run on Linux through Proton, launcher window included, with the steps below. One crash in the launcher needs a small change (see "Suggested fix"); everything else is setup on the user's side.

Tested on

  • Bazzite (Fedora-based), kernel 7.3, Mesa RADV
  • Ryzen 7 5800X3D, Radeon RX 7900 XTX (RDNA 3), 32 GB RAM
  • GE-Proton 11-14 via umu-launcher 1.4.4

Problems and fixes

1. The launcher crashes at start: WMI is missing under Wine

The window shows:

The type initializer for 'Microsoft.Management.Infrastructure.Native.ApplicationMethods' threw an exception.

Get-CimInstance (Win32_OperatingSystem in Show-KlbfMenu, also Win32_VideoController, Win32_PhysicalMemory/ComputerSystem, Win32_Process) throws a type-initializer exception under Wine. -ErrorAction SilentlyContinue doesn't catch that, so the launcher stops.

Workaround (works): put this at the top of launcher-menu.ps1. It tells KLBF Lab your hardware by hand, since it can't ask Windows for it. Change the graphics card name and memory to your own card:

function Get-CimInstance {
    param([Parameter(Position = 0)][string]$ClassName, [Parameter(ValueFromRemainingArguments = $true)]$Rest)
    switch ($ClassName) {
        'Win32_VideoController' { [pscustomobject]@{ Name = 'AMD Radeon RX 7900 XTX'; AdapterRAM = 24GB } }
        'Win32_OperatingSystem' { [pscustomobject]@{ Caption = 'Linux (Proton)'; BuildNumber = '0' } }
        'Win32_ComputerSystem'  { [pscustomobject]@{ TotalPhysicalMemory = [GC]::GetGCMemoryInfo().TotalAvailableMemoryBytes } }
        'Win32_Process' { Get-Process | ForEach-Object { [pscustomobject]@{ ProcessId = $_.Id; ParentProcessId = $(try { $_.Parent.Id } catch { 0 }) } } }
        default { $null }
    }
}

2. PowerShell isn't part of Proton

Install PowerShell 7 into the prefix with winetricks powershell.

3. Black 3D scenes: the shader compiler is too old

victory.exe compiles some helper shaders with D3DCompile. Wine's built-in d3dcompiler fails on them (E5005: Method 'InterlockedOr' is not defined, Function "isnan" is not defined). The d3dcompiler_47 from winetricks is version 6.3.9600 (Windows 8.1), which fails with X3506: unrecognized compiler target 'cs_5_1'. Either way, indirect execution dropped follows, the ambient stand-in fails, and 3D scenes stay black while 2D and subtitles work.

Fix: put a 64-bit d3dcompiler_47.dll of version 10.0.x (Windows 10 or newer; 10.0.15063 works) next to victory.exe, and start with WINEDLLOVERRIDES="d3dcompiler_47=n,b".

4. The default UMU-Proton crashes in the driver

With UMU-Proton 11.0, vkd3d-proton gets vkCreateComputePipelines Exception 0xc0000005 at start. GE-Proton works.

Setup steps

Pick two folders first: where KLBF Lab is unpacked, and where its Proton prefix goes. Change these two lines to your own folders:

KLBF_DIR="$HOME/Games/klbf-lab"
PREFIX="$HOME/.local/share/klbf/prefix"

Then:

# 1. unpack KLBF Lab into $KLBF_DIR, and put the 10.0.x d3dcompiler_47.dll next to victory.exe
# 2. create the prefix with PowerShell 7
mkdir -p "$PREFIX"
WINEPREFIX="$PREFIX" GAMEID=umu-default PROTONPATH=GE-Proton umu-run winetricks -q powershell
# 3. add the Get-CimInstance workaround to launcher-menu.ps1 (above)
# 4. start the launcher through a .bat (KLBF Lab.exe starts powershell.exe hidden, so errors aren't visible).
#    Create klbf-debug.bat in $KLBF_DIR with this line:
#    "C:\Program Files\PowerShell\7\pwsh.exe" -NoProfile -ExecutionPolicy Bypass -File "%~dp0play.ps1" -Victory "%~dp0victory.exe" -Setup > "%~dp0klbf-debug.txt" 2>&1
WINEPREFIX="$PREFIX" GAMEID=umu-default PROTONPATH=GE-Proton WINEDLLOVERRIDES="d3dcompiler_47=n,b" umu-run "$KLBF_DIR/klbf-debug.bat"

Suggested fix

Wrap the Get-CimInstance calls in try { } catch { } (or one helper that does) and fall back to empty values. Then the launcher starts under Wine with no edits, and steps 1–4 above are only user-side setup.

Also noticed (not KLBF-specific)

With other VIctory builds that turn on VICTORY_PORT_CONSTANTS, vkd3d-proton can't import the 185 MB graphics-memory region (vkd3d_import_host_memory: Failed to import host memory, hr 0x8007000e), and the picture is black. KLBF already leaves that switch off, which is why it isn't a problem here.

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:6670172093 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195). Originally posted by [Floh2802](https://github.com/Floh2802) on 2026-11-28T19:27:39Z. --- KLBF Lab v26.11.6 can run on Linux through Proton, launcher window included, with the steps below. One crash in the launcher needs a small change (see "Suggested fix"); everything else is setup on the user's side. ## Tested on - Bazzite (Fedora-based), kernel 7.3, Mesa RADV - Ryzen 7 5800X3D, Radeon RX 7900 XTX (RDNA 3), 32 GB RAM - GE-Proton 11-14 via umu-launcher 1.4.4 ## Problems and fixes **1. The launcher crashes at start: WMI is missing under Wine** The window shows: > The type initializer for 'Microsoft.Management.Infrastructure.Native.ApplicationMethods' threw an exception. `Get-CimInstance` (Win32_OperatingSystem in `Show-KlbfMenu`, also Win32_VideoController, Win32_PhysicalMemory/ComputerSystem, Win32_Process) throws a type-initializer exception under Wine. `-ErrorAction SilentlyContinue` doesn't catch that, so the launcher stops. Workaround (works): put this at the top of `launcher-menu.ps1`. It tells KLBF Lab your hardware by hand, since it can't ask Windows for it. Change the graphics card name and memory to your own card: function Get-CimInstance { param([Parameter(Position = 0)][string]$ClassName, [Parameter(ValueFromRemainingArguments = $true)]$Rest) switch ($ClassName) { 'Win32_VideoController' { [pscustomobject]@{ Name = 'AMD Radeon RX 7900 XTX'; AdapterRAM = 24GB } } 'Win32_OperatingSystem' { [pscustomobject]@{ Caption = 'Linux (Proton)'; BuildNumber = '0' } } 'Win32_ComputerSystem' { [pscustomobject]@{ TotalPhysicalMemory = [GC]::GetGCMemoryInfo().TotalAvailableMemoryBytes } } 'Win32_Process' { Get-Process | ForEach-Object { [pscustomobject]@{ ProcessId = $_.Id; ParentProcessId = $(try { $_.Parent.Id } catch { 0 }) } } } default { $null } } } **2. PowerShell isn't part of Proton** Install PowerShell 7 into the prefix with `winetricks powershell`. **3. Black 3D scenes: the shader compiler is too old** victory.exe compiles some helper shaders with `D3DCompile`. Wine's built-in d3dcompiler fails on them (`E5005: Method 'InterlockedOr' is not defined`, `Function "isnan" is not defined`). The `d3dcompiler_47` from winetricks is version 6.3.9600 (Windows 8.1), which fails with `X3506: unrecognized compiler target 'cs_5_1'`. Either way, `indirect execution dropped` follows, the ambient stand-in fails, and 3D scenes stay black while 2D and subtitles work. Fix: put a 64-bit `d3dcompiler_47.dll` of version **10.0.x** (Windows 10 or newer; 10.0.15063 works) next to victory.exe, and start with `WINEDLLOVERRIDES="d3dcompiler_47=n,b"`. **4. The default UMU-Proton crashes in the driver** With UMU-Proton 11.0, vkd3d-proton gets `vkCreateComputePipelines Exception 0xc0000005` at start. GE-Proton works. ## Setup steps Pick two folders first: where KLBF Lab is unpacked, and where its Proton prefix goes. Change these two lines to your own folders: KLBF_DIR="$HOME/Games/klbf-lab" PREFIX="$HOME/.local/share/klbf/prefix" Then: # 1. unpack KLBF Lab into $KLBF_DIR, and put the 10.0.x d3dcompiler_47.dll next to victory.exe # 2. create the prefix with PowerShell 7 mkdir -p "$PREFIX" WINEPREFIX="$PREFIX" GAMEID=umu-default PROTONPATH=GE-Proton umu-run winetricks -q powershell # 3. add the Get-CimInstance workaround to launcher-menu.ps1 (above) # 4. start the launcher through a .bat (KLBF Lab.exe starts powershell.exe hidden, so errors aren't visible). # Create klbf-debug.bat in $KLBF_DIR with this line: # "C:\Program Files\PowerShell\7\pwsh.exe" -NoProfile -ExecutionPolicy Bypass -File "%~dp0play.ps1" -Victory "%~dp0victory.exe" -Setup > "%~dp0klbf-debug.txt" 2>&1 WINEPREFIX="$PREFIX" GAMEID=umu-default PROTONPATH=GE-Proton WINEDLLOVERRIDES="d3dcompiler_47=n,b" umu-run "$KLBF_DIR/klbf-debug.bat" ## Suggested fix Wrap the `Get-CimInstance` calls in `try { } catch { }` (or one helper that does) and fall back to empty values. Then the launcher starts under Wine with no edits, and steps 1–4 above are only user-side setup. ## Also noticed (not KLBF-specific) With other VIctory builds that turn on `VICTORY_PORT_CONSTANTS`, vkd3d-proton can't import the 185 MB graphics-memory region (`vkd3d_import_host_memory: Failed to import host memory, hr 0x8007000e`), and the picture is black. KLBF already leaves that switch off, which is why it isn't a problem here.
HandshakeHackin commented 2026-11-28 19:40:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-28T19:40:09Z.


I reproduced the launcher failure on v26.11.6 by making Get-CimInstance throw the ApplicationMethods type-initializer exception in your report. Both Windows PowerShell 5.1 and PowerShell 7 stopped before building Settings.

I published a fix and regression test on the release head. The launcher can now construct Settings with unavailable OS and hardware fields. If CIM is healthy it still selects the larger adapter and reads installed RAM. Shader preparation can also use PowerShell’s parent-process information for cancellation if the CIM process query fails.

Windows verification in both shells built the actual Settings form, exercised both RAM fallbacks and checked cancellation against a simulated process tree. A launch in your GE-Proton 11-14 prefix with the patched launcher and without the local CIM shim would verify the remaining platform-specific step.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7244716807 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7244716807). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-28T19:40:09Z. --- I reproduced the launcher failure on v26.11.6 by making `Get-CimInstance` throw the `ApplicationMethods` type-initializer exception in your report. Both Windows PowerShell 5.1 and PowerShell 7 stopped before building Settings. I published a [fix and regression test on the release head](https://github.com/HandshakeHackin/klbf-lab/commit/e2dd0f12cb6f07886d7ccb5e4f04a23b24a6916c). The launcher can now construct Settings with unavailable OS and hardware fields. If CIM is healthy it still selects the larger adapter and reads installed RAM. Shader preparation can also use PowerShell’s parent-process information for cancellation if the CIM process query fails. [Windows verification in both shells](https://github.com/HandshakeHackin/klbf-lab/actions/runs/46182185360/job/141093999810) built the actual Settings form, exercised both RAM fallbacks and checked cancellation against a simulated process tree. A launch in your GE-Proton 11-14 prefix with the patched launcher and without the local CIM shim would verify the remaining platform-specific step.
PastiiJay commented 2026-11-28 19:40:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-28T19:40:43Z.


great write-up, thank you! the WMI crash under Wine is a real catch: the launcher should fall back on its own when Get-CimInstance throws, instead of asking for a manual edit. we're putting that fix in the next build and will credit you. once you're in game, could you post the run log of a session (Saved Games\KLBF Lab\logs\run-*.log)? it shows how RADV handles the rest

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7244723900 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7244723900). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-28T19:40:43Z. --- great write-up, thank you! the WMI crash under Wine is a real catch: the launcher should fall back on its own when Get-CimInstance throws, instead of asking for a manual edit. we're putting that fix in the next build and will credit you. once you're in game, could you post the run log of a session (Saved Games\KLBF Lab\logs\run-*.log)? it shows how RADV handles the rest
HandshakeHackin commented 2026-11-29 01:36:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-29T01:36:13Z.


The new adapter picker in v26.11.9 causes two cherry-pick conflicts with the earlier CIM fix. I resolved both against the release commit and added coverage for the picker. With a working CIM provider it filters out retired adapters. If CIM throws, it still lists the cards available in the registry.

Stock v26.11.9 stopped before Settings with the simulated Wine type-initializer exception. The patched build constructed the actual Settings form, used both RAM fallbacks and passed the process-tree cancellation checks on Windows PowerShell 5.1 and PowerShell 7. The release-based commit can be picked directly. Patch · Baseline and both PowerShell runs.

I also repeated this in a fresh GE-Proton 11-14 prefix on Ubuntu 24.04 with umu 1.4.4 and Windows PowerShell 7.4.11. The real CimCmdlets provider threw the reported ApplicationMethods exception. Stock v26.11.9 stopped there. With the patch, the actual KLBF Lab Settings window appeared on the virtual display at 537 × 775 client pixels and closed normally. Both launches used the same prefix with no CIM shim. This verifies launcher startup; the requested in-game RADV capture still needs the physical machine. Proton stock and patched run.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7248892044 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7248892044). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-29T01:36:13Z. --- The new adapter picker in v26.11.9 causes two cherry-pick conflicts with the earlier CIM fix. I resolved both against the release commit and added coverage for the picker. With a working CIM provider it filters out retired adapters. If CIM throws, it still lists the cards available in the registry. Stock v26.11.9 stopped before Settings with the simulated Wine type-initializer exception. The patched build constructed the actual Settings form, used both RAM fallbacks and passed the process-tree cancellation checks on Windows PowerShell 5.1 and PowerShell 7. The release-based commit can be picked directly. [Patch](https://github.com/HandshakeHackin/klbf-lab/commit/795ac8915200889e7b15d8cff1e57347f7b08053) · [Baseline and both PowerShell runs](https://github.com/HandshakeHackin/klbf-lab/actions/runs/46211738761/job/141186758565). I also repeated this in a fresh GE-Proton 11-14 prefix on Ubuntu 24.04 with umu 1.4.4 and Windows PowerShell 7.4.11. The real CimCmdlets provider threw the reported `ApplicationMethods` exception. Stock v26.11.9 stopped there. With the patch, the actual **KLBF Lab Settings** window appeared on the virtual display at 537 × 775 client pixels and closed normally. Both launches used the same prefix with no CIM shim. This verifies launcher startup; the requested in-game RADV capture still needs the physical machine. [Proton stock and patched run](https://github.com/HandshakeHackin/klbf-lab/actions/runs/46215966116/job/141200056914).
PastiiJay commented 2026-11-29 08:24:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-29T08:24:52Z.


the CIM fix is in the v26.11.10 pre-release (patch by @HandshakeHackin, thanks for redoing it on top of the adapter picker), so the launcher should reach Settings under Proton with no Get-CimInstance edit. the README has a new Linux section too.

@Floh2802 could you try the pre-release in your GE-Proton prefix without the shim, and post the run log of a session in game?

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7253089359 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7253089359). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-29T08:24:52Z. --- the CIM fix is in the v26.11.10 pre-release (patch by @HandshakeHackin, thanks for redoing it on top of the adapter picker), so the launcher should reach Settings under Proton with no Get-CimInstance edit. the README has a new Linux section too. @Floh2802 could you try the pre-release in your GE-Proton prefix without the shim, and post the run log of a session in game?
Floh2802 commented 2026-11-29 11:13:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by Floh2802 on 2026-11-29T11:13:52Z.


Tried v26.11.10 in the same GE-Proton 11-14 prefix (PowerShell 7 via winetricks), without the Get-CimInstance shim: the launcher reached Settings and the game ran fine. Run log of a ~22 min in-game session attached (gzipped, the plain log is over GitHub's limit).

From the log: no ERRORs; KLBF_EARLY_LIST works under Proton: 2492 pipelines started early, all loaded from the library, slow_this_run=0. Median ~11 fps (max 30) at 3840x2160, Native AA, FSR 3.1 + frame generation, on a 5800X3D / RX 7900 XTX.

Still needed on my side: a 10.0.x d3dcompiler_47.dll next to victory.exe with WINEDLLOVERRIDES="d3dcompiler_47=n,b". Without it, D3DCompile fails (X3506: unrecognized compiler target 'cs_5_1' with winetricks' 6.3.9600 copy) and 3D scenes stay black.

klbf-run-log.txt.gz

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7254969283 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7254969283). Originally posted by [Floh2802](https://github.com/Floh2802) on 2026-11-29T11:13:52Z. --- Tried v26.11.10 in the same GE-Proton 11-14 prefix (PowerShell 7 via winetricks), without the Get-CimInstance shim: the launcher reached Settings and the game ran fine. Run log of a ~22 min in-game session attached (gzipped, the plain log is over GitHub's limit). From the log: no ERRORs; KLBF_EARLY_LIST works under Proton: 2492 pipelines started early, all loaded from the library, slow_this_run=0. Median ~11 fps (max 30) at 3840x2160, Native AA, FSR 3.1 + frame generation, on a 5800X3D / RX 7900 XTX. Still needed on my side: a 10.0.x d3dcompiler_47.dll next to victory.exe with WINEDLLOVERRIDES="d3dcompiler_47=n,b". Without it, D3DCompile fails (X3506: unrecognized compiler target 'cs_5_1' with winetricks' 6.3.9600 copy) and 3D scenes stay black. [klbf-run-log.txt.gz](https://github.com/user-attachments/files/35569507/klbf-run-log.txt.gz)
PastiiJay commented 2026-11-29 11:16:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-29T11:16:28Z.


great news @Floh2802, thanks for the full run: launcher straight to Settings under GE-Proton with no shim, and the early pipeline list working under Proton too. noted for d3dcompiler_47: a 10.0.x copy next to victory.exe with WINEDLLOVERRIDES="d3dcompiler_47=n,b" goes into the Linux section of the README, and we're looking at having the launcher fetch it like the other components. which source did you take your 10.0.x copy from?

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7254999068 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7254999068). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-29T11:16:28Z. --- great news @Floh2802, thanks for the full run: launcher straight to Settings under GE-Proton with no shim, and the early pipeline list working under Proton too. noted for d3dcompiler_47: a 10.0.x copy next to victory.exe with WINEDLLOVERRIDES="d3dcompiler_47=n,b" goes into the Linux section of the README, and we're looking at having the launcher fetch it like the other components. which source did you take your 10.0.x copy from?
Floh2802 commented 2026-11-29 11:20:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by Floh2802 on 2026-11-29T11:20:23Z.


@PastiiJay I took it from Bottles' d3dx9 dependency: its package ships a 64-bit d3dcompiler_47.dll 10.0.15063.674 (in bottles/temp/d3dx9.tar/d3dx9/win64/). Other 10.0.x copies on my PC came bundled with apps (Edge WebView2: 10.0.26100.4654), but I only tested the 15063 one. Anything 10.0.x should do. The 6.3.9600 copy from winetricks is the one that fails with cs_5_1.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7255043615 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7255043615). Originally posted by [Floh2802](https://github.com/Floh2802) on 2026-11-29T11:20:23Z. --- @PastiiJay I took it from Bottles' d3dx9 dependency: its package ships a 64-bit d3dcompiler_47.dll 10.0.15063.674 (in bottles/temp/d3dx9.tar/d3dx9/win64/). Other 10.0.x copies on my PC came bundled with apps (Edge WebView2: 10.0.26100.4654), but I only tested the 15063 one. Anything 10.0.x should do. The 6.3.9600 copy from winetricks is the one that fails with cs_5_1.
PastiiJay commented 2026-11-29 11:36:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-29T11:36:24Z.


perfect, thanks @Floh2802: the Linux section of the README now has it, with your name on it. good to know any 10.0.x copy should do.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7255226218 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7255226218). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-29T11:36:24Z. --- perfect, thanks @Floh2802: the Linux section of the README now has it, with your name on it. good to know any 10.0.x copy should do.
Floh2802 commented 2026-11-29 18:49:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by Floh2802 on 2026-11-29T18:49:39Z.


@PastiiJay
Update on Linux with v26.11.15: runs well now, through a .bat instead of the official starters.

KLBF Lab.exe / KLBF Lab.cmd don't start under Proton

Both go through powershell.exe, and winetricks' wrapper (forwarding to PowerShell 7) passes -File and everything after it as one string:

The argument 'X:\...\play.ps1 -Victory X:\...\victory.exe -Setup' is not recognized as the name of a script file.
exit code 64

So the window flashes up and closes. Calling pwsh.exe directly with the same arguments works. Maybe the starter could use C:\Program Files\PowerShell\7\pwsh.exe when it exists, and fall back to powershell.exe?

My workaround: a .bat kept outside the KLBF folder (so updates don't remove it), started from a desktop shortcut:

@echo off
"C:\Program Files\PowerShell\7\pwsh.exe" -NoProfile -ExecutionPolicy Bypass -File "Z:\<path to>\klbf-lab\play.ps1" -Victory "Z:\<path to>\klbf-lab\victory.exe" -Setup > "Z:\<path to>\klbf-debug.txt" 2>&1

WINEPREFIX="<prefix>" GAMEID=umu-default PROTONPATH=GE-Proton WINEDLLOVERRIDES="d3dcompiler_47=n,b" umu-run "<path to>/start-klbf.bat"

The update from v26.11.10 to v26.11.15 went through the launcher fine with this setup.

Performance

GE-Proton 11-15, 5800X3D / RX 7900 XTX: Profile X, FSR 3.1 Quality (1440p → 4K), FSR frame gen x2: 22 fps (base 11), VRAM 9.6/24 GB, CPU 42%.

Visual glitches

There are still visual glitches. The most glaring one is physics on faces not running correctly, the just hang off the head weirdly and look like weird monsters. There are more bugs, like items having black textures and, at night reflections and lights going absolutely crazy, like you're in a rave. Are any of those also still present on Windows or am I experiencing these because of Proton? I'd assume the latter.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7260790099 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7260790099). Originally posted by [Floh2802](https://github.com/Floh2802) on 2026-11-29T18:49:39Z. --- @PastiiJay Update on Linux with v26.11.15: runs well now, through a .bat instead of the official starters. ## KLBF Lab.exe / KLBF Lab.cmd don't start under Proton Both go through `powershell.exe`, and winetricks' wrapper (forwarding to PowerShell 7) passes `-File` and everything after it as one string: The argument 'X:\...\play.ps1 -Victory X:\...\victory.exe -Setup' is not recognized as the name of a script file. exit code 64 So the window flashes up and closes. Calling `pwsh.exe` directly with the same arguments works. Maybe the starter could use `C:\Program Files\PowerShell\7\pwsh.exe` when it exists, and fall back to `powershell.exe`? My workaround: a .bat kept **outside** the KLBF folder (so updates don't remove it), started from a desktop shortcut: @echo off "C:\Program Files\PowerShell\7\pwsh.exe" -NoProfile -ExecutionPolicy Bypass -File "Z:\<path to>\klbf-lab\play.ps1" -Victory "Z:\<path to>\klbf-lab\victory.exe" -Setup > "Z:\<path to>\klbf-debug.txt" 2>&1 WINEPREFIX="<prefix>" GAMEID=umu-default PROTONPATH=GE-Proton WINEDLLOVERRIDES="d3dcompiler_47=n,b" umu-run "<path to>/start-klbf.bat" The update from v26.11.10 to v26.11.15 went through the launcher fine with this setup. ## Performance GE-Proton 11-15, 5800X3D / RX 7900 XTX: Profile X, FSR 3.1 Quality (1440p → 4K), FSR frame gen x2: **22 fps (base 11)**, VRAM 9.6/24 GB, CPU 42%. ## Visual glitches There are still visual glitches. The most glaring one is physics on faces not running correctly, the just hang off the head weirdly and look like weird monsters. There are more bugs, like items having black textures and, at night reflections and lights going absolutely crazy, like you're in a rave. Are any of those also still present on Windows or am I experiencing these because of Proton? I'd assume the latter.
PastiiJay commented 2026-11-30 10:04:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-30T10:04:10Z.


Thanks @Floh2802, your diagnosis is right: under Wine/Proton the wrapper passes -File and the rest as one string. The fix being looked at only touches Wine/Proton: use pwsh.exe (PowerShell 7) when it's installed, and fall back to powershell.exe otherwise; nothing changes on Windows. Until then, your .bat kept outside the folder is the right workaround.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7275072330 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7275072330). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-30T10:04:10Z. --- Thanks @Floh2802, your diagnosis is right: under Wine/Proton the wrapper passes `-File` and the rest as one string. The fix being looked at only touches Wine/Proton: use `pwsh.exe` (PowerShell 7) when it's installed, and fall back to `powershell.exe` otherwise; nothing changes on Windows. Until then, your .bat kept outside the folder is the right workaround.
Floh2802 commented 2026-11-30 10:09:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by Floh2802 on 2026-11-30T10:09:23Z.


Thanks for the reply again @PastiiJay. I'll try KLBF Lab v26.11.17 after work and report back on whether KLBF_FACE_FIX=1 and KLBF_TREE_FLICKER_FIX=1 fix the issues I've had on Proton. I'll @ you here agan with the results

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7275204947 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/195#issuecomment-7275204947). Originally posted by [Floh2802](https://github.com/Floh2802) on 2026-11-30T10:09:23Z. --- Thanks for the reply again @PastiiJay. I'll try KLBF Lab v26.11.17 after work and report back on whether KLBF_FACE_FIX=1 and KLBF_TREE_FLICKER_FIX=1 fix the issues I've had on Proton. I'll @ you here agan with the results
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
PastiiJay/klbf-lab#195
No description provided.