Switching the GPU

When I fore a query in the cursor with sonet 4
i see the GPU Dedicated momory going up,
How ever i want cursor to use my NVIDIA GPU rather than the Radeon GUP( the Embeded GPU)

it would be nice if i can switch them

Look at the Image, the Readon GPU is full while the NVIDIA is just laying around,
NVIDIA got 10x more dedicated memory than Radeon

This would be a great feature. I have a 32GB VRAM GPU sitting idle, while the one driving my display is getting maxed out. I did try setting HIP_VISIBLE_DEVICES to use the other GPU, but it had no impact. HIP_VISIBLE_DEVICES does move ollama to the specified GPU.

e.g. GPU0 is powerful and doing nothing, while GPU1 gets hammered by Cursor

Assuming Cursor is using webGPU, it does look like it should be possible.

I tried listing the devices like this:

MESA_VK_DEVICE_SELECT=list vulkaninfo
[nix-shell:~/]$ MESA_VK_DEVICE_SELECT=list vulkaninfo
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -9 from call to vkCreateInstance in ICD /nix/store/ar4bcmfhns6gilp0jhnkyna4figqj2jy-mesa-25.3.1/lib/libvulkan_dzn.so. Skipping this driver.
selectable devices:
GPU 0: 1002:66a1 "AMD Radeon Graphics (RADV VEGA20)" discrete GPU 0000:43:00.0
GPU 1: 1002:7312 "AMD Radeon Pro W5700 (RADV NAVI10)" discrete GPU 0000:63:00.0
GPU 2: 10005:0 "llvmpipe (LLVM 21.1.2, 256 bits)" CPU 0000:00:00.0

And then starting cursor with the environment variable set “MESA_VK_DEVICE_SELECT”, but it doesn’t seem to have any effect

MESA_VK_DEVICE_SELECT=1002:66a1 cursor .

Ah. Cursor actually has WebGPU disabled.

You can see this is you go to the “Help” → “Toggle Developer Tools”

workbench.desktop.main.js:55   ERR This browser supports WebGPU but it appears to be disabled: Error: This browser supports WebGPU but it appears to be disabled
    at Object.e [as requestDevice] (vscode-file://vscode-app/nix/store/5js0mc5405k90iv6f3n03l60ja2zszrp-cursor-2.1.42/lib/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:101:6378) Error: This browser supports WebGPU but it appears to be disabled
    at Object.e [as requestDevice] (workbench.desktop.main.js:101:6378)