Ubuntu 16.04 Optimus 笔记本电脑未检测到英特尔 GPU

Ubuntu 16.04 Optimus 笔记本电脑未检测到英特尔 GPU

我无法让集成的 Intel GPU 在 Ubuntu 16.04 中可见,唯一可用的 GPU 是独立 nvidia GPU。这个问题发生在 2 台笔记本电脑上:一台新的 Alienware 15 R3 和一台带有 GTX670m 的旧东芝。我在网上找到了几种解决方案,但都没有奏效,通常会导致重启时出现黑屏,所以我发布了我的问题,希望有人能帮忙。我不得不承认我不太擅长使用命令行,所以请耐心等待,如果解决方案需要编辑配置文件,请写出非常详细的说明。一些信息和我尝试过的方法:

  • 'sudo lspci | grep VGA' only shows the nvidia GPU: 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be0 (rev a1)

  • 我检查了 BIOS,两台笔记本电脑都无法选择 GPU

  • 'sudo prime-select intel'只会创建一个名为“intel”的重复 nvidia 配置文件

  • nvidia-settings 中没有“prime”条目

  • 尝试使用英特尔图形安装工具https://01.org/linuxgraphics(实际上现在已经过时了):它成功完成,但是没有改变任何事情。

一切都表明英特尔 GPU 在 Linux 下实际上是不可见的,坦率地说,这很荒谬,因为两个 GPU 都在 Windows 下工作:硬件没问题,只是配置问题。任何帮助都值得赞赏。

编辑于2018年4月26日,

忘掉 Alienware 吧,我发现这款机型 (Alienware 15 R3) 有 G-sync 显示屏,所以戴尔已将其硬连线到 Nvidia GPU,而 G-sync 是 Nvidia 独有的技术。因此,从物理上讲,无法使用 Intel GPU 作为显示 GPU。

我的问题仍然悬而未决,但仅针对东芝笔记本电脑,即 Qosmio X870-119

编辑于 2018 年 4 月 24 日,回复评论:

@凡妮莎·迪根:nvidia 驱动程序已安装'sudo apt-get install nvidia-390'
是的,我重新启动了。以下是命令和输出:
$sudo prime-select intel Info: the current GL alternatives in use are: ['nvidia-390', 'nvidia-390'] Info: the current EGL alternatives in use are: ['nvidia-390', 'nvidia-390'] Info: selecting nvidia-390-prime for the intel profile update-alternatives: using /usr/lib/nvidia-390-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 update-alternatives: using /usr/lib/nvidia-390-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-390-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-390-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 $sudo prime-select query intel
重新启动后:
$sudo prime-select query nvidia

@菲利普·德尔泰$ nvidia-smi Tue Apr 24 15:17:48 2018
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 390.48 Driver Version: 390.48 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 108... Off | 00000000:01:00.0 On | N/A | | N/A 54C P0 39W / N/A | 225MiB / 8114MiB | 0% Default | +-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1089 G /usr/lib/xorg/Xorg 152MiB | | 0 2219 G compiz 70MiB | +-----------------------------------------------------------------------------+

对 NVIDIA 进行 grepping 返回的结果与对 VGA 进行 grepping 返回的结果完全相同:
$ sudo lspci | grep NVIDIA 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be0 (rev a1)

相关内容