我已开始在 Dell Inspiron 7559 上安装 Ubuntu 18.04,但无法启动。经过研究,我发现https://connorkuehl.github.io/dell-inspiron-7559-linux-guide/index.html哪里描述了如何安装 Ubuntu 18.04 和 16.04。一切顺利,现在我正在运行 ubuntu,但只在 Intel HD Graphics 上运行。是否有可能使用 Nvidia GPU?
当我尝试切换到 Nvidia 时sudo prime-select nvidia
,我无法再启动。启动停滞在“检测可用 GPU 并处理任何系统更改”处,并出现“超时”错误。
我的硬件:
$ sudo lshw -c Display
*-display UNCLAIMED
description: 3D controller
product: GM107M [GeForce GTX 960M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: HD Graphics 530
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:128 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
$ glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 19.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
我的 Grub 默认设置:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="acpi_backlight=vendor acpi_osi="
更新:
清除了所有 NVidia 驱动程序。安装了 390 版。Ubuntu 正在运行,但非常滞后。开始查看Joshua Besneatte
发布的内容,但我无法安装版本
Unable to locate package nvidia-graphics-drivers-340
但版本存在于https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa?field.series_filter=bionic
更新 2
我决定安装 XFCE 桌面并仅使用 HD Graphics。效果非常好。性能好得多。我会坚持使用 XFCE,但也想找到一种与 Nvidia 一起运行的解决方案。