Skip to content

UnClide/vencord-gpubinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU Binder for Vencord

Automatically binds Discord to your selected GPU preference and re-applies it after updates.

Platform License


📌 Overview

GPU Binder is a Vencord plugin that forces Discord to use a specific GPU preference:

  • 🚀 High Performance (Discrete GPU)
  • 🔋 Power Saving (Integrated GPU)
  • ⚙️ System Default (Let Windows decide)

Discord updates change the installation folder path (e.g., app-1.0.x), causing Windows to treat it as a new application and lose your previously assigned GPU preferences. This plugin automatically detects the new path and re-links your settings.

⚠️ Warning

This plugin modifies the Windows Registry (HKCU). It overrides any GPU preference set manually via:

Windows → System → Display → Graphics → Discord


🖥 Requirements

  • Windows 10 or Windows 11
  • Vencord installed from source (locally built)
  • pnpm installed

Installer builds of Vencord are not supported.


📦 Installation

1️⃣ Navigate to your Vencord source directory

cd path/to/Vencord/src

2️⃣ Create userplugins folder (if missing)

mkdir -p userplugins

3️⃣ Clone this repository

cd userplugins
git clone https://github.com/UnClide/vencord-gpubinder gpuBinder

4️⃣ Build Vencord

cd ../..
pnpm build

5️⃣ Restart Vencord

  • Press Ctrl + R
  • Or use: Vencord → Restart Client

⚙️ Usage

  1. Open User Settings
  2. Navigate to Vencord → Plugins
  3. Find GpuBinder
  4. Select the actual GPU Discord should use
  5. Fully close Discord with Alt + F4 or Quit Discord from the system tray
  6. Reopen Discord so Windows starts the GPU process on the selected adapter

That’s it. Your preference will now persist even after updates.

⚠️ GPU switching requires a full Discord restart

Ctrl + R only reloads the Discord renderer. It does not restart the native GPU process, so Discord can keep using the old adapter until the app is fully closed and reopened.


🔧 How It Works

The plugin:

  • Detects your real Windows GPUs and stores the selected adapter.
  • Detects the current Discord.exe path automatically on every startup.
  • Edits the registry key: HKEY_CURRENT_USER\Software\Microsoft\DirectX\UserGpuPreferences.
  • Writes Windows' SpecificAdapter=... preference when available so multiple discrete GPUs can be distinguished.
  • Automatic Cleanup: Scans for and removes stale registry entries from previous Discord versions (e.g., old app-1.0.xxxx folders) to keep your registry clean.
  • Re-applies your preferred setting if a Discord update changes the executable path.

No background services.
No telemetry.
No scheduled tasks.

🛠 Troubleshooting

  • Settings not applying? Make sure to fully quit Discord with Alt + F4 or Quit Discord from the system tray, then reopen it. A simple Ctrl + R is not enough for native registry changes to take effect.

❗ Important Notes

  • ✅ Works only on Windows
  • ❌ Not compatible with non-source Vencord installs
  • 🔄 Overrides Windows Graphics Settings for Discord
  • 🛠 Registry access is limited to HKCU (current user only)

🤝 Pairs Well With

PowerSync — another Vencord plugin by the same author that automatically switches Windows power plans when a game starts and restores them when it closes. Together, GPU Binder and PowerSync give you full hardware control directly from Discord with zero third-party software.


🛡 License

This project is licensed under the MIT License.

See the LICENSE file for details.


About

Vencord plugin: Force Discord to use specific GPU and keep setting after updates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors