LinuxCommandLibrary

prime-run

Run a program using an alternative Nvidia graphics card.

TLDR

Run a program using a dedicated Nvidia GPU

$ prime-run [command]
copy


Validate whether the Nvidia card is being used
$ prime-run glxinfo | grep "OpenGL renderer"
copy

Copied to clipboard