To my surprise, it seems that my laptop screen is being driven by my integrated Intel GPU.
lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:591b] (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1) (prog-if 00 [VGA controller])
Both GPUs have the string “VGA Controller”.
Google Chrome “about:gpu” shows that Intel GPU is active
GPU0 VENDOR= 0x10de, DEVICE=0x1c20
GPU1 VENDOR= 0x8086, DEVICE=0x591b ACTIVE
Optimus true
“System Settings About” shows Intel:
Graphics: Mesa Intel HD Graphics 630 (KBL GT2)
nVIDIA X server settings shows nVIDIA:
nVIDIA (Performance Mode)
but presents only the PRIME Profiles section and nothing else
prime-select query
nvidia
lsmod | grep nvidia
nvidia_uvm 1040384 0
nvidia_drm 61440 1
nvidia_modeset 1183744 1 nvidia_drm
nvidia 34910208 62 nvidia_uvm,nvidia_modeset
drm_kms_helper 245760 2 nvidia_drm,i915
drm 552960 22 drm_kms_helper,nvidia_drm,i915
lsmod | grep i915
i915 2371584 31
drm_kms_helper 245760 2 nvidia_drm,i915
cec 53248 2 drm_kms_helper,i915
i2c_algo_bit 16384 1 i915
drm 552960 22 drm_kms_helper,nvidia_drm,i915
video 49152 3 dell_wmi,dell_laptop,i915
glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
Matlab and Mathematica can use CUDA
Jupyter Notebook can use nVIDIA GPU via libcudnn8
If I compare with “Gnome on Xorg” it is clear the nVIDIA is driving the display in Xorg. So I am sure that Intel is driving the display in Wayland Gnome.
How can I force nVIDIA to be used to drive the display?