- Home
- Plugins
- UI Enhancements
- dsh-intel-mac-gpu-switch
dsh-intel-mac-gpu-switch
mghtprog/dsh-intel-mac-gpu-switch
Sets the GPU preference for the next DeepSeek Harness launch on dual-GPU Intel Macs via a separate launcher and displays the current WebGL renderer.
Install
dsh plugin --profile web add github:mghtprog/dsh-intel-mac-gpu-switchREADME
DSH-Intel Mac GPU Switch
Choose the GPU preference for the next launcher run of DeepSeek Harness without modifying the app bundle or changing macOS graphics settings. For native macOS on switchable dual-GPU Intel Macs (integrated Intel + discrete AMD), with DeepSeek Harness 0.2.3-alpha.2. Not for Apple silicon, Rosetta, single-GPU systems, or eGPUs.
- Download
DSH-GPU-Launcher-macOS.zipfrom the project’s releases and unzip it to get DSH GPU Launcher.command, or use the executable copy included with this package. Keep it accessible before quitting the app. It launches DeepSeek Harness from/Applications/DeepSeek Harness.appand refuses to proceed if that app is already running. - In the DeepSeek Harness plugin manager, install the release’s
dsh-intel-mac-gpu-switch-0.1.1.tgzby absolute path or release asset URL, then enable the bundle. Open GPU near the upper left, choose Automatic, Integrated (Intel), or Discrete (AMD), then save. If you use the earlier custom DMG, set its separate GPU selector to Automatic first, or use the stock app; do not combine forced preferences. - Fully quit DeepSeek Harness with ⌘Q, then run the launcher. Save does not restart the app or change its current GPU. A normal open does not read this plugin’s preference. Automatic adds no GPU flag; the other options request a GPU via Chromium launch flags, not a guarantee for every task.
- To check the renderer of a new WebGL test context in the running app, choose Check WebGL renderer. This is not a report of the wall scene, video decoder, or CSS blur. Some contexts do not expose a renderer name.
The plugin and launcher use the same one-line file: ${DSH_HOME:-$HOME/.dsh}/plugin-data/dsh-intel-mac-gpu-switch/mode. Choose Automatic to clear the forced launch preference. Prefer the default DSH home; if using an override, the app host and launcher must have the same DSH_HOME environment value. The plugin checks for native Intel macOS and the presence of the gpuswitch setting using read-only commands. It never sets pmset values, stops the app, or launches it.
中文
仅适用于原生运行 DeepSeek Harness 0.2.3-alpha.2 的双显卡 Intel Mac(Intel 集显 + AMD 独显)。不修改应用包或 macOS 图形设置;不支持 Apple 芯片、Rosetta、单显卡或外接显卡。
- 退出前先从项目发布页下载
DSH-GPU-Launcher-macOS.zip,解压得到 DSH GPU Launcher.command;安装包内也包含同一个可执行文件。启动器只打开/Applications/DeepSeek Harness.app,若应用已运行则不启动。 - 在 DeepSeek Harness 插件管理器使用发布包
dsh-intel-mac-gpu-switch-0.1.1.tgz的本地绝对路径或发布附件 URL 安装并启用本插件,打开左上角 GPU,选择 自动、集成显卡(Intel) 或 独立显卡(AMD) 后保存。若使用早前的自定义 DMG,请先将它自带的 GPU 选项设为 自动,或换用原版;不要叠加使用强制偏好。 - 按 ⌘Q 完全退出,再运行启动器。保存不会更改正在运行的应用;按平常方式打开应用不会读取此偏好。自动模式不追加 GPU 参数,其他模式通过 Chromium 启动参数请求对应显卡,不保证每项任务都使用它。
- 检查 WebGL 渲染器 只检查新建的 WebGL 测试上下文,不代表壁纸场景、视频解码或 CSS 模糊实际使用的 GPU。部分上下文不会公开渲染器名称。
偏好保存在 ${DSH_HOME:-$HOME/.dsh}/plugin-data/dsh-intel-mac-gpu-switch/mode。选择 自动 即可取消强制偏好。如果自定义 DSH_HOME,请确保应用 Host 和启动器取得相同的环境变量值。
Development
Run npm test for isolated logic checks, or npm pack --dry-run --ignore-scripts to inspect the package contents. Neither command installs the bundle or runs the launcher.
MIT © 2026 MGHTprog.
Related plugins
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui