无法在 Ubuntu 14.04 LTS 中更新显示驱动程序

无法在 Ubuntu 14.04 LTS 中更新显示驱动程序

我正在尝试更新驱动程序并看到此屏幕。它不允许我更新驱动程序。请注意灰色选项。我该如何修复此问题? 在此处输入图片描述

编辑:恢复为开源图形驱动程序 - 选项变灰 14.04

$ lspci -k | grep VGA -A2
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks GL [FirePro V4900]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 2b06
    Kernel driver in use: fglrx_pci

但当我这样做

$ sudo apt-get remove --purge fglrx_pci
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package fglrx_pci

甚至尝试按照以下步骤操作https://askubuntu.com/a/190187/393311但仍然卡住fglrx_pci并且选项是灰色的。

$ sudo lshw -c video
[sudo] password for siddjain: 
  *-display               
       description: VGA compatible controller
       product: Turks GL [FirePro V4900]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=fglrx_pci latency=0
       resources: irq:27 memory:c0000000-cfffffff memory:d3d20000-d3d3ffff ioport:7000(size=256) memory:d3d00000-d3d1ffff

以下是/usr/share/ati

$ ls /usr/share/ati
fglrx-install.log  LICENSE.TXT

这是日志文件的内容

$ cat /usr/share/ati/fglrx-install.log 
NOTE: If your system has logged the missing packages required for installation, install them in the order as per the log file to resolve package-dependency issues.
Package dh-modaliases is missing from the system. Install it using the command apt-get install dh-modaliases.
Package execstack is missing from the system. Install it using the command apt-get install execstack.
Package dpkg-dev is missing from the system. Install it using the command apt-get install dpkg-dev.
Package debhelper is missing from the system. Install it using the command apt-get install debhelper.
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 295: ./packages/Ubuntu/ati-packager.sh: debclean: not found
./packages/Ubuntu/ati-packager.sh: 301: ./packages/Ubuntu/ati-packager.sh: dpkg-buildpackage: not found
[Error] Generate Package - error generating package : Ubuntu/trusty

内容/etc/X11

$ ls /etc/X11
app-defaults             fonts    xkb       Xresources  Xsession.options
cursors                  rgb.txt  Xreset    Xsession    xsm
default-display-manager  xinit    Xreset.d  Xsession.d  Xwrapper.config

amd-driver-installer-15.201.2401-x86.x86_x64.run从 AMD 网站下载并运行它(还必须先安装其依赖项)。重新启动后,开始遇到此问题:Nvidia 驱动程序安装 v14.04 后无法登录。在恢复模式下启动并尝试了各种方法。最后不知怎么地能够登录(我想我已经清除了fglrx)并进入此阶段:

$ sudo lshw -c video
[sudo] password for siddjain: 
  *-display UNCLAIMED     
       description: VGA compatible controller
       product: Turks GL [FirePro V4900]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:c0000000-cfffffff memory:d3d20000-d3d3ffff ioport:7000(size=256) memory:d3d00000-d3d1ffff

我已经过了灰色选项,但显示全都搞砸了,而且它正在使用软件渲染器。 在此处输入图片描述

碰碰运气,选择了fglrx-updates。注销后,显示屏的分辨率正确。最终设置:

在此处输入图片描述

$ sudo lshw -c video
[sudo] password for siddjain: 
  *-display               
       description: VGA compatible controller
       product: Turks GL [FirePro V4900]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=fglrx_pci latency=0
       resources: irq:60 memory:c0000000-cfffffff memory:d3d20000-d3d3ffff ioport:7000(size=256) memory:d3d00000-d3d1ffff

答案1

您是否尝试过这个:

 sudo apt-get install fglrx*-

这样也许能很好地发挥作用。

相关内容