openSUSE / SUSEPrime

Provide nvidia-prime like package for openSUSE
65 stars 11 forks source link

Add `prime-run` command #96

Closed 00sapo closed 10 months ago

00sapo commented 10 months ago

When the mode is set to offload, it would be useful having a script for selecting secondary GPU for specific commands.

Arch provides prime-run (a one line bash script). I tested it in my installation and it works. It would be great having it installed together with this package...

https://gitlab.archlinux.org/archlinux/packaging/packages/nvidia-prime/-/blob/main/prime-run

sndirsch commented 10 months ago

Good idea! Added now.