Linux setup bug: step 2 stops with "umu could not make the prefix" although the prefix is made (umu-run "" exits 1 with GE-Proton11-15) #340
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from PastiiJay/klbf-lab. Originally posted by I-I-IT on 2026-11-30T13:59:33Z.
Title: Linux setup: step 2 stops with "umu could not make the prefix" although the prefix is made (
umu-run ""exits 1 with GE-Proton11-15)Made by Claude, with some cosmetic changes by me.
KLBF Lab version: v26.11.18 (already in the folder, kept by the script)
Setup script:
docs/linux/klbf-proton-setup.shfrommain(commit37c34d4, identical to the current raw file onmain)Graphics card: RX 7900 XT (RDNA 3)
System
umu-launcher-1.4.4-1.20260725.cf3d1b1.fc44, Python 3.14.10)PROTONPATH=GE-Proton)What I did
First run of the setup on a PC with no GE-Proton and no prefix:
What happened
umu downloads GE-Proton11-15 and steamrt4, and Proton makes the prefix. Then, umu exits with
1and the script stops at step 2:The prefix was complete anyway:
system.reg,user.reg,drive_c/windows/system32(842 files), andversion=11.0-100.Running the script a second time works: step 2 says "already made, reused", and steps 3 to 6 finish ("Done", exit 0).
pwsh.exeis in the prefix, andd3dcompiler_47.dllmatches its SHA-256 (1da540a0…480790).Cause
In
make_prefix(), the prefix is made with"$UMU" "". Proton makes the prefix, then tries to start the empty program, which fails (ShellExecuteEx failed: File not found). The|| dieon that line stops the script before thesystem.regcheck on the next line runs.I checked it in throwaway prefixes, same umu and GE-Proton:
umu-run ""(new prefix)umu-run ""(existing prefix)umu-run cmd /c exit 0(existing prefix)umu-run wineboot -u(new prefix)So the exit code of 1 comes from the empty program, not from making the prefix.
Possible fix
Make the prefix with
wineboot -urather than an empty program (exit 0, prefix made, in my test above):Or keep
"", and only rely on thesystem.regcheck that comes after it.Not tested
umu-run ""exited 0 with it.Report zip
Not relevant, since the problem is in the setup script, before the lauincher does.
Side note (cosmetic)
On the second run, step 2 lists GE-Proton twice:
GE-Proton on this PC: GE-Proton11-15-x86_64 GE-Proton11-15-x86_64. Here~/.steam/rootis a symlink to~/.local/share/Steam, so the loop over thecompatibilitytools.dfolders finds the same folder twice. Resolving each folder (e.g.realpath) and skipping duplicates would fix it.Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-30T14:31:48Z.
Fixed on main thanks to @HandshakeHackin (#343): please download the setup script again and run step 2. Tell us if the prefix is made now.