我的 Ubuntu 18.04 在安装 nouveau 时不稳定(速度慢且当我打开系统设置时崩溃)。
因此,我安装了 Nvidia 专有驱动程序(我尝试了从 nvidia-driver-390 到 nvidia-driver-470 的每一个驱动程序),但在重启时,我只得到了640x480 分辨率而无法改变它(并且 Nvidia 控制面板是空的)。
我尝试清除所有 nvidia 内容(sudo apt purge *nvidia*
),我删除了xorg.conf
它,然后尝试手动强制所需的分辨率……但没有任何效果。
它曾经可以工作(使用 nvidia-driver-460),然后我将我的 Ubuntu 安装移到具有集成英特尔显卡的机器上,当我移回之前使用 Nvidia GPU 的机器时出现了这个问题。
这是有关我的设置的一些信息:
$ sudo lshw -C display
*-display
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 6GB]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:3b:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:68 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:f000(size=128) memory:c0000-dfff
$ sudo inxi -F -x
Graphics: Card: NVIDIA GP106 [GeForce GTX 1060 6GB] bus-ID: 3b:00.0
Display Server: X.Org 1.20.8 drivers: fbdev,nouveau (unloaded: modesetting,vesa)
Resolution: [email protected]
OpenGL: renderer: llvmpipe (LLVM 10.0.0, 128 bits) version: 3.3 Mesa 20.0.8 Direct Render: Yes
$ ubuntu-drivers devices
WARNING:root:_pkg_get_support nvidia-driver-390: package has invalid Support Legacyheader, cannot determine support level
== /sys/devices/pci0000:00/0000:00:03.1/0000:3b:00.0 ==
modalias : pci:v000010DEd00001C03sv00001043sd0000863Ebc03sc00i00
vendor : NVIDIA Corporation
model : GP106 [GeForce GTX 1060 6GB]
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-460-server - distro non-free
driver : nvidia-driver-460 - distro non-free
driver : nvidia-driver-470 - distro non-free recommended
driver : nvidia-driver-418-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
编辑:我发现由于某种原因,我的系统正在使用与 VMware 相关的 llvmpipe(我已经安装了,但现在不再安装)。
$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 10.0.0, 128 bits) (0xffffffff)
Version: 20.0.8
Accelerated: no
Video memory: 32084MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 10.0.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 20.0.8
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
任何想法?