can't launch kelvaroq: ouverture du journal Windows: Access is denied. (0x80070005) when launching engine #2
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 stellarr-studio/kelvaroq. Originally posted by propmok on 2026-11-26T05:54:04Z.
Describe the bug
When attempting to launch a title through Kelvaroq, the engine immediately fails to start and exits with code 1, throwing an Access Denied (
0x80070005) error when opening the Windows Event Log (ouverture du journal Windows).Error Output
System & Hardware Configuration
32.0.15.8129) — Multi-GPU systemTroubleshooting Already Attempted
D:\KelvaroqandD:\Games\GTA\Kelvaroq) withnative\kelvaroq-engine.exeandkelvaroq_simd.dllpresent.Kelvaroq.exeandnative\kelvaroq-engine.exeas Administrator and as a standard user.takeown/icacls) and confirmed the target executable (game_scarlett_master.exe) is unencrypted and readable on disk.kelvaroqApplication Event Log source via PowerShell (New-EventLog -LogName Application -Source "kelvaroq"), which still resulted in the same0x80070005error.kelvaroq: ouverture du journal Windows: Access is denied. (0x80070005) au lancement du moteur
Description du bug
Lors d'une tentative de lancement d'un jeu via Kelvaroq, le moteur échoue immédiatement au démarrage avec le code de sortie 1 et affiche une erreur d'accès refusé (
0x80070005) lors de l'ouverture du journal Windows (ouverture du journal Windows).Message d'erreur
Configuration matérielle et système
32.0.15.8129) — Système multi-GPUÉtapes de dépannage déjà effectuées
D:\KelvaroqetD:\Games\GTA\Kelvaroq) avecnative\kelvaroq-engine.exeetkelvaroq_simd.dllbien présents.Kelvaroq.exeetnative\kelvaroq-engine.exeen tant qu'administrateur ainsi qu'en tant qu'utilisateur standard.takeown/icacls) et confirmation que l'exécutable cible (game_scarlett_master.exe) est non chiffré et lisible sur le disque.kelvaroqdans le journal Application via PowerShell (New-EventLog -LogName Application -Source "kelvaroq"), ce qui produit toujours la même erreur0x80070005.Imported from stellarr-studio/kelvaroq. Originally posted by cuckoozzz on 2026-11-26T07:22:34Z.
I'm also 0x80070005
Imported from stellarr-studio/kelvaroq. Originally posted by Okatsumo on 2026-11-26T11:01:19Z.
I'm experiencing the same exception
Imported from stellarr-studio/kelvaroq. Originally posted by Pascy00 on 2026-11-26T11:48:09Z.
same here
Imported from stellarr-studio/kelvaroq. Originally posted by WyxZer42 on 2026-11-26T13:13:17Z.
Launch powershell in admin, go to kelvaroq directory with
cd "Directory"then type this command.\kelvaroq-cli.exe play "<Your gta .exe file path>"Imported from stellarr-studio/kelvaroq. Originally posted by phantom54 on 2026-11-26T13:34:07Z.
claude code:
v0.2.0: launching from the desktop workspace fails with ouverture du journal Windows (0x80070005). App.cs starts the CLI with CreateNoWindow = true, so it already has a console and AllocConsole() in native.rs returns access denied. Possible fix: call FreeConsole() before AllocConsole().
Imported from stellarr-studio/kelvaroq. Originally posted by fablinoo on 2026-11-26T14:54:46Z.
Thanks for the detailed report! The engine should never refuse to start because it cannot open the Windows event log. We have noted it, and the next build will no longer let a missing permission there stop the launch.
Heads-up: this public repository is intentionally behind our internal engine. For more than 18 hours straight we have been working on the new unified memory layer with a large fleet of AI agents, and we are keeping that work private until the build is stable and clean, so it cannot simply be copied by projects that iterate on other people's code with AI.
For live updates, test builds and faster help, join our Discord: https://discord.gg/5Hvk5RFB3D
The next launcher adds Export diagnostics: one click builds a ZIP with your hardware details and crash logs, ready to attach here.
Thanks for your patience, and thanks for testing! 🙏
Imported from stellarr-studio/kelvaroq. Originally posted by Praisser on 2026-11-26T16:06:42Z.
I couldn't open a pull request (PRs are limited to collaborators), so here is the fix for this issue as a commit you can pick up:
github.com/Praisser/kelvaroq@e915c971c8(branchfix/console-before-logon Praisser/kelvaroq)Cause:
kelvaroq-desktop.exestartskelvaroq-cli.exewithCreateNoWindow = true(Product.Commandinsrc/launcher/App.cs), so the CLI already owns a hidden console. WhenKELVAROQ_DESKTOP_LOGis set,native::runcallsAllocConsole(), which returnsERROR_ACCESS_DENIEDfor a process that already has a console, and the engine never starts.Fix: call
FreeConsole()beforeAllocConsole()insrc/native.rs, as phantom54 suggested above:Tested on Windows 11 build 26200, RTX 3070 Laptop GPU 8 GB, Ryzen 7 6800H, built from
1270c42and arranged as the release ZIP lays it out:The engine exited with code 1/Access is denied. (0x80070005), and nokelvaroq-engine.exeprocess starts.kelvaroq-engine.exe, and the game runs.cargo test --locked --bin kelvaroqpasses (15 tests). The commit doesn't carry theCo-authored-by: Moon AItrailer thatchecks.ymlasks for, since Moon AI wasn't involved in writing it; please add your own trailer when you apply it.Until a new build ships, anyone hitting this can apply the two lines above and rebuild with
cargo build --release --locked.Imported from stellarr-studio/kelvaroq. Originally posted by cood1n on 2026-11-26T19:49:03Z.
after attempting this fix, it launches, but instantly crashes
Ryzen 7 4800H w/ Radeon Graphics
RTX 3060 (6 GB, Laptop)
32GB DDR4 @ 3200 MHz
Log:
Imported from stellarr-studio/kelvaroq. Originally posted by Praisser on 2026-11-27T01:47:32Z.
@cood1n Your log shows the engine is running on your integrated Radeon GPU, not the RTX 3060:
amdxc64.dllis AMD's D3D12 driver, which belongs to the Radeon graphics built into the Ryzen 4800H. The memory line agrees:the card's own: budget 15815 MBmatches the iGPU borrowing system RAM. A 6 GB 3060 would show about 5,800 MB there.Why: the engine creates its device on Windows' default adapter (
D3D12CreateDevice(None, ...)invictory-gpu/src/host.rs). On many laptops that default is the iGPU. The launcher's GPU list asks for high-performance order, but the engine doesn't use it.Workaround: make Windows hand the engine the NVIDIA GPU.
native\kelvaroq-engine.exe(in the Kelvaroq folder) → Options → High performance (it should name the RTX 3060) → Save.kelvaroq-engine.exe→ High-performance NVIDIA processor.Then run
kelvaroq-cli.exe play ...again. The memory line should now show about 5,800 MB, andamdxc64.dllshouldn't appear any more.Fair warning: 6 GB of VRAM is tight. On my 8 GB RTX 3070 laptop, runs on these builds tend to end in out-of-memory errors after a few minutes, so a crash further in wouldn't surprise me. But this one is the wrong-GPU problem.
For the maintainers: the engine could pick its adapter with
EnumAdapterByGpuPreference(.., DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE), likesrc/adapters.rsin the launcher already does. Then hybrid laptops would work without this step. (Not tested on a hybrid AMD+NVIDIA machine; my laptop's setup is different.)Imported from stellarr-studio/kelvaroq. Originally posted by lifeinexe on 2026-11-27T11:55:02Z.
Run it as an administrator; that helped me.