[BUG] M1 MacBook Pro,macOS Sequoia 15.7.7,Claude Desktop 1.5354.0,启动报错 "GPU access not allowed",--disable-gpu 和 --use-gl=swiftshader 都无效。
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
M1 MacBook Pro,macOS Sequoia 15.7.7,Claude Desktop 1.5354.0,启动报错 "GPU access not allowed",--disable-gpu 和 --use-gl=swiftshader 都无效。
What Should Happen?
M1 MacBook Pro,macOS Sequoia 15.7.7,Claude Desktop 1.5354.0,启动报错 "GPU access not allowed",--disable-gpu 和 --use-gl=swiftshader 都无效。
Error Messages/Logs
/Applications/Claude.app/Contents/MacOS/Claude --disable-gpu --no-sandbox
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: GPU access not allowed. Reason: GPU access is disabled through commandline switch --disable-gpu and --disable-software-rasterizer.
at Object.processEvent (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.pre.js:28:15104)
at Pg.Object.assign.id (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.pre.js:13:16416)
at IB (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.pre.js:27:891)
at runNextTicks (node:internal/process/task_queues:65:5)
at process.processImmediate (node:internal/timers:472:9)
at async Immediate.<anonymous> (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.pre.js:28:1356)
Steps to Reproduce
第一步:完全卸载
bash
sudo rm -rf /Applications/Claude.app
rm -rf ~/Library/Application\ Support/Claude
rm -rf ~/Library/Caches/com.anthropic.claudefordesktop
rm -rf ~/Library/Preferences/com.anthropic.claudefordesktop.plist
rm -rf ~/Library/Logs/Claude
第二步:重新下载安装
去 claude.ai/download 下载最新版,安装好之后先不要双击打开。
第三步:从终端启动,看有没有新的报错:
bash
/Applications/Claude.app/Contents/MacOS/Claude
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Desktop 1.5354.0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗