fix: mcp failed+wayland nvidia fallback on Linux #7278
fix: mcp failed+wayland nvidia fallback on Linux #7278endermeme wants to merge 7 commits intojanhq:mainfrom
Conversation
Code ReviewSummaryTwo fixes: (1) MCP auto-creates Key Findings
Recommendation: fix neededGuard |
Code Review -- PR #7278: fix: mcp failed+wayland nvidia fallback on LinuxSummaryThis PR addresses two Linux startup issues:
Positive
Issues1. src-tauri/.gitignore overwrite (fix needed) 2. Unrelated yarn.lock / dependency changes 3. NVIDIA vendor library name assumption 4. Recommendation: fix neededThe |
PR Review: fix: mcp failed + wayland nvidia fallback on LinuxSummary of ChangesFixes two Linux startup errors:
Additional changes:
Key FindingsCorrectness
Risks
Tests
Recommendation: fix neededThe MCP config auto-creation fix is clean and correct. However:
|
Describe Your Changes
Fix 2 critical Linux startup errors:
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
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:
(My first PR ever! Please excuse any rookie mistakes. Thanks for your patience and review! :D)