Hi everyone,
I’ve been having issues with the nvidia gpu in my laptop and I was wondering if anyone had some idea how to get it working again:
I have an HP spectre x360 15 laptop with integrated MX150 gpu. I used to run Antergos + Windows 10 dual boot and everything worked great.
I’ve switched to Manjaro + Windows 10 and I’ve been having issues with the integrated gpu since. In Manjaro, I have the video-hybrid-intel-nvidia-455xx-prime installed.
After an initial boot, running inxi -G gives me the following:
~ >>> inxi -G
Graphics:
Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Device-2: Cheng Uei Precision Industry (Foxlink) HP Wide Vision FHD Camera
type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.10 driver: modesetting unloaded: intel
resolution: 3840x2160~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.3
The gpu is not detected. If I put the laptop to sleep and resume, and then try the command again I get:
~ >>> inxi -G
Graphics:
Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A
Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision FHD Camera
type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.10 driver: modesetting unloaded: intel
resolution: 3840x2160~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.3
Now the gpu is detected but the drivers are not available. When I try mhwd -l -d, I see that the drivers are installed though:
~ >>> mhwd -l -d [1]
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0 (0302:10de:1d10)
Display controller nVidia Corporation GP108M [GeForce MX150]
--------------------------------------------------------------------------------
> INSTALLED:
NAME: video-hybrid-intel-nvidia-455xx-prime
ATTACHED: PCI
VERSION: 2020.10.04
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
PRIORITY: 18
FREEDRIVER: false
DEPENDS: video-modesetting
CONFLICTS: video*nvidia-*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 8086
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
Now if I try to use nvidia-smi, I get the following:
~ >>> sudo nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Similarly, primus-run does not run:
~ >>> prime-run glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0x1f3 (8/8/8/0)
Visual ID of window: 0x5b2
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 27
Current serial number in output stream: 28
Windows 10, crashes at startup because the gpu is not detected there either and gives me either code 45 (device is not connected) or code 28 (drivers not installed). However, if I re-install the bios and do a hard reset, windows will eventually start fine, detect the gpu and install the drivers.
The gpu works fine in windows after rebooting and shutting down + starting again unless I boot-up Manjaro… When I boot Manjaro, the gpu is not detected again, neither in Manjaro nor windows, and I have the issues I described above.
There is no discrete gpu option in the bios menus so I could not locate an issue there.
Thanks!