我在一台配备英特尔集成 GPU 和 NVIDIA 专用 GPU 的笔记本电脑上安装了全新的 ubuntu。我花了一天时间弄清楚如何安装 NVIDIA 驱动程序并使其运行,现在我终于可以看到 nvidia-settings 中的所有条目,并且 linux 据称完全在 Nvidia GPU 上运行。
现在我应该可以随时选择主要配置文件“Intel”以切换回集成显卡并节省一些电量。但是,出于某种原因,用于选择英特尔配置文件的“按钮”呈灰色,无法选择。
有什么想法吗?我搜索了几个小时,但没有找到完全相同的问题。
$ lspci -k | grep -EA3 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
Subsystem: ASUSTeK Computer Inc. HD Graphics 530
Kernel driver in use: i915
Kernel modules: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
Subsystem: ASUSTeK Computer Inc. GM107M [GeForce GTX 950M]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_375_drm, nvidia_375
$ prime-select query
nvidia
$ LANG=C sudo prime-select intel
Info: the current GL alternatives in use are: ['nvidia-375', 'nvidia-375']
Info: the current EGL alternatives in use are: ['nvidia-375', 'nvidia-375']
Info: selecting nvidia-375-prime for the intel profile
update-alternatives: using /usr/lib/nvidia-375-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link
update-alternatives: using /usr/lib/nvidia-375-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in manual mode
update-alternatives: using /usr/lib/nvidia-375-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in manual mode
update-alternatives: using /usr/lib/nvidia-375-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in manual mode
答案1
运行以下命令并重新启动
sudo prime-select intel