I am using an Nvidia Optimus card on Ubuntu 20.04.
The integrated GPU (intel) seems to work fine. Drivers for the nvidia card (GeForce GTX 950M) also seem to load.
$ cat /sys/module/nvidia_drm/parameters/modeset
But I can’t get the system in a state to actually use the Nvidia card. (My goal is to use it Nvidia only / performance mode).
Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
Device-2: NVIDIA GM107M [GeForce GTX 950M] driver: nvidia v: 455.45.01
Display: server: X.Org 1.20.8 driver: modesetting
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2)
v: 4.5 Mesa 20.0.8
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x45 cap: 0x0 crtcs: 3 outputs: 3 associated providers: 0 name:modesetting
Provider 1: id: 0xda cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting
xrandr lists two modesetting providers, which seems odd. According to the forum here, a proper output would be on Nvidia-0 provider and one modesetting.
shows one Error:
(EE) Failed to load module “glxservernvidia” (module does not exist, 0)
which again is odd, since the module is called glxserver_nvidia with _
Finally my xorg.conf only works, when I mask the actual nvidia device section.
With nvidia device section, X doesn’t start and I only see a blinking underscore on a black screen.
Here is the full bug report: nvidia-bug-report.log.gz (745.1 KB)