Use NVIDIA in place of Intel in lenovo laptop

Hi, I don’t know where to put this request, so I put it in “general”.

I have a laptop Lenovo Legion Y530-151CH.

Inside there is an intel chip and a nvidia graphics card.

When installing Endeavour I chose as driver “nouveau”.

When I do lspci -k | grep -A 2 -E "(VGA|3D)" I have my two “options”, with NVIDIA on “nouveau”:

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
	Subsystem: Lenovo CoffeeLake-H GT2 [UHD Graphics 630]
	Kernel driver in use: i915
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
	Subsystem: Lenovo GP107M [GeForce GTX 1050 Ti Mobile]
	Kernel driver in use: nouveau

But when I go to “About this System” I see that I use Intel and not Nvidia. How can I change this?

Thanks in advance, and no worries about providing more logs or details if needed.

If possible, I’d like to avoid reinstalling everything, but if it’s mandatory, no worries.

Edit : I’m ok with switching to NVIDIA in place of nouveau.

First of all, welcome to the forum! :smile:

Depending on what you want to do with the machine, Intel GPU can be a very reasonable choice for anything that does not require much from the GPU.

If you want to play heavy games or use otherwise more demanding graphics properties, then you probably want to install Nvidia proprietary drivers.
Then you’d also likely need to be able to switch GPU with software (unless you are OK with the power hungry Nvidia card).
There are many alternatives for the switching software, like optimus manager, envycontrol, prime, and more. See the Arch wiki and EndeavourOS wiki for more details.

You can use nvidia-inst for installing the Nvidia driver. Use the --help option for more info about its options, and our wiki of course. But note that nvidia-inst supports only official GPU switching packages, so you may need to install them (envycontrol, optimus manager) manually from the AUR using e.g. yay. Our wiki has more info about that too.

1 Like

I have a legion 5, I have to boot into BIOS and change from iGPU to dGPU (intergrated/discrete), discrete is the nVidia.


Hi, thanks for the clarification, but I’m a little bit lost.

I don’t have nvidia-inst and the arch wiki doesn’t talk about it.

So I follow the procedure but in the step 3 I don’t have a mkinitcpio file neither. Only an ostree-mkinitcpio wihtout kms in it. Same if I want to regenerate it, no mkinitcpio command.

I have installed nvidia and nvidia-settings with pacman and reboot, but the driver is still nouveau and the used gpu is still intel.

Sorry for all the question, I just found that the graphic card installation seem a giant rabbit hole ! And I want to understand all this fully :slight_smile:

Hi, I don’t have this screen, just the “default” old looking BIOS in grey and blue.

Did you try this?

And also to post some basic system infos to get better help.

Welcome to eos btw! :grin:

Is this a recent system install by any chance? If so - maybe you have default dracut instead of mkinitcpio.
Does man dracut command output something?

If that’s the case:

  1. install nvidia-hook package: sudo pacman -Syu nvidia-hook
  2. run sudo dracut-rebuild
  3. Reboot and you should be good to go
1 Like

I test that soon.

Actually, that made me realize something. The nvidia-hook
package come from endeavouros/, same for nvidia-inst.

Since the arch website did not list it, I just considered that the packet did not exist …

I feel really dumb now, haha.

Is there a way to have a list of all the package include in endeavouros/ like in the arch website or via a command ?

pacman -Sl endeavouros will give a list of all the packages in EnOS’ repo.

For those installed on your system:

pacman -Sl endeavouros | grep installed

1 Like

Here is GitHub repo listing all EOS packages, if you prefer to browse through it

1 Like

Ok, thanks to all of you, everything works :slight_smile:

If another EOS adventurer found this topic, I have done the following :

  • understood very lately that some packages exist on another repo than arch :melting_face:
  • installed nvidia-inst via sudo pacman -S nvidia-inst and run nvidia-inst
  • installed nvidia-hook via the same way and run it, but, in fact, nvidia-inst seem to have already done the stuff to rebuild
  • reboot
  • installed envycontrol via yay -S envycontrol (this is a personal choice, optimus manager work too)
  • setup this stuff to use only my nvidia GPU with sudo envycontrol -s nvidia (personal choice, as well)
  • and voilà

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.