Skip to content

[Bug] OpenCode fails to install/open after installing MiniMax Code (GPU process crash loop exit_code=-2147483645) #30479

@Bytes-007

Description

@Bytes-007

Description

The application worked perfectly until MiniMax (MiniMax Code) was installed on the system. Since then, OpenCode stopped opening. After completely uninstalling MiniMax and wiping out residual installation folders (AppData\Local\Programs, AppData\Roaming), the official OpenCode installer still gets stuck in a loop, and the application fails to reinstall or launch.

Debugging through PowerShell (.\OpenCode.exe --enable-logging --v=1) reveals that the Tauri/WebView2 backend is hitting a fatal graphics crash loop, failing 6 times consecutively upon initialization before terminating cleanly.

Logs / Error Output:

[21068:0602/171403.544:ERROR:content\browser\gpu\gpu_process_host.cc:996] GPU process exited unexpectedly: exit_code=-2147483645
[21068:0602/171403.544:WARNING:content\browser\gpu\gpu_process_host.cc:1438] The GPU process has crashed 1 time(s)
...
[21068:0602/171403.765:FATAL:content\browser\gpu\gpu_data_manager_impl_private.cc:417] GPU process isn't usable. Goodbye.

Environment & Context:
OS: Windows 11 Pro (x64)

App Version: 1.15.13 (Tauri / WebView2 framework)

Hardware: AMD GPU / Integrated Graphics

Trigger Event: The issue was triggered exclusively after installing MiniMax Code. It appears MiniMax modified global environment variables (such as Vulkan layer overrides or HSA variables) that Chromium/WebView2 inherits globally, corrupting the graphics context initialization for OpenCode even after MiniMax is uninstalled.

Attempted Fixes: Standard command-line flags like --disable-gpu or --disable-software-rasterizer were ignored by the packaged executable.

Plugins

No response

OpenCode version

1.15.13

Steps to reproduce

Environment Setup: On a Windows machine with an AMD GPU/APU, install MiniMax Code or configure global environment variables for local LLM acceleration (specifically setting OLLAMA_VULKAN=1 and HSA_OVERRIDE_GFX_VERSION=1030).

Trigger the Conflict: Attempt to run the official OpenCode installer or launch an already installed native version of OpenCode (v1.15.13).

Observe the Failure: The installer/application will silently freeze or terminate immediately without showing any user interface.

Clean up Attempt (Fails): Uninstall MiniMax, manually delete all residual folders in %AppData%\Roaming\OpenCode and %LocalAppData%\Programs@opencode-aidesktop, and attempt a clean reinstall using the --silent flag.

Final Result: The application still refuses to launch because the underlying Chromium/WebView2 engine continues to inherit the disrupted GPU state, throwing the fatal exit_code=-2147483645 loop.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions