Re: how to use nvidia gpu instead of intel for openGL
Reply #1 –
This isn't really related to runit, but well...
You'll have to install the prime-run script. Since you have the nvidia proprietary driver installed:
- If you have Arch repos enabled, run pacman -S nvidia-prime.
If you don't, here's manual installation procedure (since our package maintainers haven't ported nvidia-prime yet):
- Download Arch's prime-run script and copy it as root to /usr/local/bin and make it executable. A terminal one-liner for that:
wget https://raw.githubusercontent.com/archlinux/svntogit-packages/master/nvidia-prime/trunk/prime-run && sudo install -Dvm755 {,/usr/local/bin/}prime-run
After that, just run prime-run supertuxkart (or other game, or put prime-run %command% on Steam launch options.