Nvidia Driver Problems (Nvidia GTX 1650)

Hey, I use a Dell XPS 15 7590 with the following:

inxi -G                                               
Graphics:
  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: N/A 
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  Display: x11 server: X.org 1.20.11 driver: loaded: modesetting 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: llvmpipe (LLVM 11.1.0 256 bits) v: 4.5 Mesa 21.0.3 

and I use the Kernel 5.10.
I tried to install the Nvidia Driver via Manjaro Settings Auto Install Open-Source and Proprietary Driver and none seem to work.

The Driver is not detected Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: N/A.

Here is some more info:

--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0302:10de:1f91)
  Display controller nVidia Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-nvidia
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	4
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   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 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:3e9b)
  Display controller Intel Corporation UHD Graphics 630 (Mobile)
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   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 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


Warning: no configs for USB devices found!

What can I do?

Any help is appreciated.

You need to run stuff you want on the nvidia card with prime-run if you intend to use nvidia’s real prime offloading support.
Example:
prime-run glxinfo -B
prime-run glxgears
prime-run firefox
what do you get if you run that?

1 Like

Thanks, I get the following if I run these commands:

prime-run glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 3906 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 460.73.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 460.73.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 460.73.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

and

prime-run glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
10662 frames in 5.0 seconds = 2130.741 FPS
10633 frames in 5.0 seconds = 2126.486 FPS
10387 frames in 5.0 seconds = 2077.345 FPS
10144 frames in 5.0 seconds = 2026.024 FPS
10221 frames in 5.0 seconds = 2044.071 FPS
10079 frames in 5.0 seconds = 2015.713 FPS
9677 frames in 5.0 seconds = 1935.331 FPS
10090 frames in 5.0 seconds = 2017.739 FPS
10134 frames in 5.0 seconds = 2026.753 FPS
10171 frames in 5.0 seconds = 2034.198 FPS
10371 frames in 5.0 seconds = 2072.837 FPS
9309 frames in 5.0 seconds = 1858.688 FPS
13718 frames in 5.0 seconds = 2743.520 FPS
14649 frames in 5.0 seconds = 2929.694 FPS
15012 frames in 5.0 seconds = 3002.255 FPS
14618 frames in 5.0 seconds = 2920.123 FPS
13911 frames in 5.0 seconds = 2782.194 FPS
12856 frames in 5.0 seconds = 2571.137 FPS
13830 frames in 5.0 seconds = 2765.881 FPS
11910 frames in 5.0 seconds = 2381.964 FPS
13120 frames in 5.0 seconds = 2623.872 FPS
9993 frames in 5.0 seconds = 1998.505 FPS

and Firefox opens when I run prime-run firefox

I also installed GitHub - Askannz/optimus-manager: A Linux program to handle GPU switching on Optimus laptops. and the Gnome Extension Optimus Manager Indicator - GNOME Shell Extensions that allows me to access NVIDIA X Server Settings:

So apparently it seems to detect the GPU and if I select “Switch to NVIDIA” then I guess, it is using the GPU.

I get now:

Graphics:
  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia 
  v: 460.73.01 
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  Display: x11 server: X.org 1.20.11 driver: loaded: modesetting,nvidia 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: llvmpipe (LLVM 11.1.0 256 bits) v: 4.5 Mesa 21.0.3 

and

mhwd -l -d
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0302:10de:1f91)
  Display controller nVidia Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-nvidia
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	4
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   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 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:3e9b)
  Display controller Intel Corporation UHD Graphics 630 (Mobile)
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   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 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


Warning: no configs for USB devices found!

You don’t actually need the switch you can just use the prime-run command like @bogdancovaciu said. Personally I run everything on the intergrated gpu and then use lutris for launching games/steam. In lutris just tick the prime render offload option and then all games will automatically run on the nvidia card

1 Like

Thanks, so I reinstalled Manjaro with booting into proprietary drivers and if I open kdenlive for example with prime-run kdenlive in the terminal, then it seems to work.
Thanks a lot.

1 Like

You can add kdenlive to your desktop and then right click/edit and go into properties. If you edit the launch command there by putting prime-run infront of it everytime you launch it from desktop it will run on nvidia card. Bit nicer than using cli all the time

1 Like

Thanks for that tip! :slight_smile:

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