Skip to content

Conversation

@endermeme
Copy link

@endermeme endermeme commented Dec 23, 2025

Describe Your Changes

Fix 2 critical Linux startup errors:

  1. MCP config error on fresh installs
    Error: Failed to run mcp commands: Failed to read config file: No such file or directory (os error 2)
    Fix: Create default mcp_config.json if missing, refactor with load_or_create_mcp_config helper

  2. NVIDIA Wayland graphics crash
    Error: Failed to create GBM buffer of size 1024x800: Invalid argument
    Fix: Disable DMABUF renderer, add wayland,x11 fallback, set NVIDIA env vars

Changes:

  • src-tauri/src/core/mcp/helpers.rs: Add config file creation logic
  • src-tauri/src/lib.rs: Add Linux graphics compatibility env vars

(My first PR ever! Please excuse any rookie mistakes. Thanks for your patience and review! :D)

@endermeme endermeme changed the title Fix/mcp failed+wayland nvidia fallback on Linux fix: mcp failed+wayland nvidia fallback on Linux Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant