Created
July 2, 2022 17:41
-
-
Save notquitethereyet/1ccf16aa3fd34010994ee361923898a6 to your computer and use it in GitHub Desktop.
Using Nvidia-Prime to switch to dedicated nvidia GPU instead of integrated intel gpu for high performance tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -Syyu | |
sudo pacman -S nvidia | |
## to see list of video renderers available on system | |
lspci -k | grep -A 2 -E "(VGA|3D)" | |
## installing envycontrol | |
yay -S envycontrol | |
reboot | |
envycontrol --query | |
sudo envycontrol -s integrated/nvidia/hybrid | |
reboot | |
## check on boot which card is being used | |
glxinfo | grep "renderer" | |
## check resources game/software is using on nvidia GPU | |
watch -n 1 nvidia-smi | |
#### the same can also be done via nvidia-prime [ackage and `prime-run applicationname` to run it using nvidia card. Add to steam/lutris for gaymes | |
##### for more info/detailed manual guide see below. | |
https://wiki.denshi.org/hypha/software/nvidia | |
https://wiki.archlinux.org/title/PRIME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment