#Set intel as default with nvidia-hybrid

7 messages · Page 1 of 1 (latest)

minor plaza
#

Hello, my hardware its:

Intel i5-9300H with UHD Graphics 630
Nvidia GTX 1050 3GB (without nvidia-open support)

I installed arch with Gnome and wayland, when I installed the nvidia driver, prime and switcheroo-control my pc only boot using the nvidia card as default 100%

Could someone help me to fix this, I want to use intel as default gpu and use nvidia with switcheroo-control only when its needed.

hoary comet
#

Hey i just started arch linux a week ago, I have an AMD-Nvidia setup

In the wiki it says its best to use one gpu changing thingy, either prime or switcheroo
Nvidia officially supports prime for gpu switching, so I'd recommend sticking to it.

As for the main question, the wiki says "To run a program on the NVIDIA card you can use the prime-run script provided by nvidia-prime"
All settings that you need to configure about are in the wiki
https://wiki.archlinux.org/title/PRIME

minor plaza
#

Its exactly what I said haha @hoary comet , I installed prime and switcheroo and none of both works, the system only start using nvidia as defautl and not intel. How did you fix that?

minor plaza
#

Dont work

#

I reinstalled the system, installed nvidia but the system only uses Nvidia all the time, I want to user intel and nvidia with switcheroo

#

@hoary comet what steps did you follow ? Can you help me? Did you check if in your system is using only nvidia?

hoary comet
# minor plaza <@1313217838865191013> what steps did you follow ? Can you help me? Did you che...

So my system is an ROG, so Asus-Linux provides ROG Control Center which, among other things, notifies me when gpu switches.
but you can check from terminal via "$ cat /sys/class/drm/card*/device/power_state" for nouveau drivers
or "$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status" for proprietary drivers
(both are from the wiki i linked)

"__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia command" is used as an environment variable when launching an app with a specific gpu. The value of which gpu is 1 or 0 depends on your system, so check that