过去一天,我一直在尝试让 Nvidia 驱动程序在我运行 Lubuntu 16.04.6 LTS 的 10 年老电脑上运行,正如推荐的那样这里自动安装的驱动程序不起作用,所以我输入了glxinfo
,结果得到的是
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
我在网上搜索了一下,参考了以下指南:这个还有很多非常相似的命令,大多建议我安装nvidia-304
而不是nvidia-304-updates
,我能看到两者之间唯一的两个区别是,该nvidia-304-updates
包以 800x600 分辨率运行,而该nvidia-304
包以(我认为)1280x800 分辨率运行。我的显示器分辨率是 1280x1024。更重要的是,当运行该序列中的最后一个命令时,sudo nvidia-xconfig
我得到以下内容:
Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
但这不是重点。为什么显卡驱动程序安装不正确,以及如何正确安装它们?
仅供参考,这是我的系统规格复制粘贴我链接的问题,忽略操作系统、内核等:
System information report, generated by Sysinfo: 27/05/2019 17:18:20
http://sourceforge.net/projects/gsysinfo
SYSTEM INFORMATION
Running LinuxMint Linux, the LinuxMint 19.1 (tessa) release.
GNOME: 3.28.2 (Ubuntu)
Kernel version: 4.15.0-20-generic (#21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018)
GCC: 7 (x86_64-linux-gnu)
Xorg: 1.19.6 (25 October 2018 04:11:27PM) (25 October 2018 04:11:27PM)
Hostname: jeremy-ixtreme-M3720
Uptime: 0 days 0 h 49 min
CPU INFORMATION
GenuineIntel, Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz
Number of CPUs: 4
CPU clock currently at 2000.092 MHz with 2048 KB cache
Numbering: family(6) model(23) stepping(10)
Bogomips: 4999.94
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm pti tpr_shadow vnmi flexpriority dtherm
MEMORY INFORMATION
Total memory: 7724 MB
Total swap: 2047 MB
STORAGE INFORMATION
SCSI device - scsi3
Vendor: ATAPI
Model: DVD A DH16AASH
SCSI device - scsi4
Vendor: ATA
Model: ADATA SU650
SCSI device - scsi6
Vendor: Generic
Model: USB SD Reader
SCSI device - scsi6
Vendor: Generic
Model: USB CF Reader
HARDWARE INFORMATION
MOTHERBOARD
Host bridge
NVIDIA Corporation MCP73 Host Bridge (rev a2)
Subsystem: Acer Incorporated [ALI] MCP73 Host Bridge
PCI bridge(s)
NVIDIA Corporation MCP73 PCI Express bridge (rev a1) (prog-if 01 [Subtractive decode])
NVIDIA Corporation MCP73 PCI Express bridge (rev a1) (prog-if 00 [Normal decode])
NVIDIA Corporation MCP73 PCI Express bridge (rev a1) (prog-if 00 [Normal decode])
NVIDIA Corporation MCP73 PCI Express bridge (rev a1) (prog-if 00 [Normal decode])
ISA bridge
NVIDIA Corporation MCP73 LPC Bridge (rev a2)
Subsystem: Acer Incorporated [ALI] MCP73 LPC Bridge
IDE interface
NVIDIA Corporation MCP73 IDE Controller (rev a1) (prog-if 8a [Master SecP PriP])
Subsystem: Acer Incorporated [ALI] MCP73 IDE Controller
GRAPHIC CARD
VGA controller
NVIDIA Corporation C73 [GeForce 7100 / nForce 630i] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] C73 [GeForce 7100 / nForce 630i]
SOUND CARD
Multimedia controller
NVIDIA Corporation MCP73 High Definition Audio (rev a1)
Subsystem: Acer Incorporated [ALI] MCP73 High Definition Audio
NETWORK
Ethernet controller
Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 01)
Subsystem: Acer Incorporated [ALI] RTL810xE PCI Express Fast Ethernet controller
编辑 1:图形安装程序出现相同的错误。
输出lsb_release -a
:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial