How to make the system use the NVIDIA GPU for Slicer (not the integrated Intel graphics)

Hi, I have a different problem.

My setup: Intel Core i9-13980HX, 64 GB RAM DDR5, GeForce RTX 4090 - 16GB GDDR6

Windows 11

MetaQuest 3 128

I tried 5.8.1, 5.9. and 5.6.2 Slicer versions.

I keep getting “incorrect graphic card” error message when trying to use the VR module.

Seems like the Slicer3D works with an internal graphic card of my laptop, but the SteamVR only uses my RTX 4090. I am not able to make it work. When I force the laptop to use just one graphic card in the Device Manager, it does not help either.

I had the VR module working on my older laptop with slower both CPU and graphic card {nvidia rtx 4080, amd ryzen 7900 9}, but this one somehow can not make it work. What should I do? Thanks

You should use the GPU setting in Windows to force it to 4090. By default it favors built-in GPU for power optimization.

So far I have tried the following:

installing the latest version of Cuda

uninstalling and installing Slicer3D 5.8, 5.9, and 5.10

disabling integrated GPU in Device manager

forcing NVDIA GPU for 3D in NVDIA control panel / both globally and specifically for Slicer3D

Nothing works. My old laptop can use RTX 4070 and it uses it all the time instead of the integrated card for both Slicer 3D and VR, while my new { much more powerful} laptop can not use the RTX 4090 for anything related to Slicer 3D.

Any new ideas?

Windows 11 settings:

On Windows 11 you can force 3D Slicer (or any other program) to use the dedicated NVIDIA GPU:

  1. Open Settings → System → Display → Graphics.
  2. At the top, make sure Hardware-accelerated GPU scheduling is On.
  3. In the Custom settings for applications section, click Add an app → Add a desktop app, then browse to your Slicer installation folder and select Slicer.exe (for example:
    C:\Program Files\slicer.org\3D Slicer 5.10.0\Slicer.exe).
  4. After Slicer appears in the list, click it to expand the entry and choose GPU preference.
  5. In the drop-down menu, change it from Let Windows decide to High performance (NVIDIA GeForce RTX 50xx/40xx).
  6. Click Save if Windows shows a confirmation.

After this, Windows will always try to launch Slicer with the high-performance NVIDIA GPU instead of the integrated Intel graphics.

My MSI Titan Gt77 seems to be stubborn and does not like those changes. On the bright side, Slicer 5.11 uses both my GPUs, so the 4090 does not idle anymore at last.

Sticking with the 5.11 appears to be the easiest way to fix this issue.

1 Like

I don’t use windows often, so this may be wrong, but you may also need to set SlicerApp-real.exe to use the discrete GPU.