#is there a way to change my default gpu?

13 messages · Page 1 of 1 (latest)

timid scarab
#

Here's a list of packages my MSI laptop needs in order to be using nvidia for gaming.

nvidia-dkms
nvidia-settings
nvidia-utils
opencl-nvidia
lib32-nvidia-utils
lib32-opencl-nvidia
mesa
mesa-utils
lib32-mesa
vulkan-mesa-layers
vulkan-intel
vulkan-headers
vulkan-icd-loader
vulkan-tools
lib32-vulkan-icd-loader
lib32-vulkan-intel```

If after installing all this your game or application still defaults to intel GPU we'll look further. @wooden tendon
#

You can launch the gpu intensive application or game of your choice and check with nvidia-smi in terminal if the GPU is utilized

fast badger
#

oh also you can send
hwinfo | grep -A 20 "(VGA)"
glxinfo | grep OpenGL
and
nvidia-xconfig --query-gpu-info output.
These are more than enough to be 100% sure about drivers.

fast badger
#

Oh... and i find my .sh i stole from someone dots and turn it into driver installer. Perfect starting point, where all drivers are working.

wooden tendon
#

i already have nvidia optimus

#

i wanted to switch permanently to nvidia

wooden tendon
#

how do i get nvidia optimus on hypland?

timid scarab
#

The thing is Im sure you could simply install the Nvidia related packages and not need to configure anything. You may want to stick to X11 for the time being. It tends to "just work" with Nvidia GPUs, its old, but it works. If you really want your machine to exclusively use Nvidia, read the wiki section and change your config in /etc/ like it suggested.

wooden tendon
#

i have got it working now