我有 Kubuntu 19.10,带有 5.3.0-40-generic 内核,
第一个 GPU - NVIDIA GeForce 920MX,
第二个 GPU - Intel HD Graphics 520
当我尝试使用命令启动 Nvidia X 设置时
sudo nvidia-settings
出现错误:
ERROR: Unable to load info from any available system
我跑了一下nvidia-smi
,一切似乎都很好:NVIDIA-SMI 440.33.01 Driver Version: 440.33.01 CUDA Version: 10.2
然后我尝试了一下lspci | grep VGA
,我得到了00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 0a)
sudo prime-select nvidia
给我Info: the nvidia profile is already set
glxinfo|egrep "OpenGL vendor|OpenGL renderer*"
给了我这个:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
当我尝试启动
optirun glxinfo|egrep "OpenGL vendor|OpenGL renderer"
我收到这个错误
[ 1920.703346] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 1920.703398] [ERROR]Aborting because fallback start is disabled.