NVIDIA card not functioning on Optimus-enabled system

During a recent system update, I was having a problem with the installed nvidia-utils-beta preventing the rest of the packages from updated. What I ended up doing was running sudo pacman -Rdd nvidia-utils-beta, then replacing it with the normal nvidia-utils. After this, I was able to run sudo pacman -Syu perfectly fine.

However, I’m now having problems with my laptop’s dedicated GPU. Running inxi -g gives me the following:

Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 510.54
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB
driver: uvcvideo
Display: x11 server: X.Org v: driver: X: loaded: intel
failed: nvidia gpu: i915 resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.3.7

And here are all nvidia-related packages I have installed:

lib32-nvidia-utils 510.60.02-1
lib32-opencl-nvidia 510.60.02-1
linux517-nvidia 510.54-1
mhwd-nvidia 510.60.02-1
mhwd-nvidia-390xx 390.147-2
mhwd-nvidia-470xx 470.103.01-1
nvidia-prime 1.0-4
nvidia-utils 510.60.02-1
opencl-nvidia 510.60.02-1

Additionally, trying to run anything with the prime-run prefix causes errors, but they vary between programs.

I’m not entirely sure how to go about fixing this. I’d like to avoid a full re-install, but am fine with that if need be, and my computer’s working perfectly fine other wise.

have you try

sudo pacman -Syyuu
sudo mhwd -li 
1 Like

sudo pacman -Syyuu worked fine, and this was the output of sudo mhwd -li:

Installed PCI configs:

              NAME               VERSION          FREEDRIVER           TYPE

video-hybrid-intel-nvidia-prime 2021.12.18 false PCI
video-modesetting 2020.01.13 true PCI
video-linux 2018.05.04 true PCI

Warning: No installed USB configs!

I ran prime-run vkcube as a test and it ran like it used to, so I think that fixed it!

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