自从升级到 21.04 版后,我的双显示器就出现了问题
附加驱动程序选项卡上未显示任何内容。
我已安装正确的 NVIDIA 驱动程序。
sudo lshw -c video
[sudo] password for mark:
*-display UNCLAIMED
description: VGA compatible controller
product: G84GLM [Quadro FX 1600M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: latency=0
resources: memory:f5000000-f5ffffff memory:e0000000-efffffff memory:f2000000-f3ffffff ioport:ef00(size=128) memory:c0000-dffff
hwinfo --gfxcard
17: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: VCu0.ZsCrSDGwGdA
Parent ID: vSkL.K4GjMdJvpVB
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia Quadro FX 1600M"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x040d "Quadro FX 1600M"
SubVendor: pci 0x1028 "Dell"
SubDevice: pci 0x019b
Revision: 0xa1
Memory Range: 0xf5000000-0xf5ffffff (rw,non-prefetchable)
Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
Memory Range: 0xf2000000-0xf3ffffff (rw,non-prefetchable)
I/O Ports: 0xef00-0xef7f (rw)
Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
IRQ: 5 (no events)
I/O Port: 0x00 (rw)
Module Alias: "pci:v000010DEd0000040Dsv00001028sd0000019Bbc03sc00i00"
Driver Info #0:
XFree86 v4 Server Module: nv
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #14 (PCI bridge)
Primary display adapter: #17
有任何想法吗?
标记
感谢您的输入
我按照你的帮助做了,结果如下:
$ dkms status nvidia
nvidia, 390.143, 5.11.0-18-generic, x86_64: installed
$ uname -r
5.11.0-18-generic
然后日志文件有以下几行:
[ 102.764] (II) LoadModule: "nvidia"
[ 102.806] (WW) Warning, couldn't open module nvidia
[ 102.806] (EE) Failed to load module "nvidia" (module does not exist, 0)
更新
我已经修复了它——只是不知道该怎么做!
答案1
'UNCLAIMED' 表示尚未为该卡加载驱动程序。如果您查看此行:
configuration: latency=0
如果它已加载 nvidia 驱动程序,它将看起来像这样:
configuration: driver=nvidia latency=0
你是怎么安装驱动程序的?你确定安装成功了吗?
首先,检查 dkms 以确保模块声明installed
并且与您当前的内核匹配;您的数字可能与此示例不同:
$ dkms status nvidia
nvidia, 465.19.01, 5.4.0-74-generic, x86_64: installed
$ uname -r
5.4.0-74-generic
如果正确,请检查日志文件/var/log/Xorg.0.log
并通读它,查找任何包含NVIDIA
或的行(EE)
,以查看驱动程序是否遇到任何错误,这些错误可能会提供有关出现问题原因的线索。