我的图形驱动程序不见了

Lyn*_*nob 7 xubuntu xorg ati graphics drivers

我在 Xubuntu 13.10 64 位。这个问题会告诉您有关我的图形卡的所有信息

昨天我遇到了一个问题,我的显卡驱动失败了,现在如果我登录到 xubuntu 默认桌面,我看到的只是黑屏但是我可以登录到 xfce 会话

的输出inxi -G

Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller 
           Card-2: Advanced Micro Devices [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] 
           X.Org: 1.14.5 drivers: fglrx,intel Resolution: 1366x768@60.0hz 
           GLX Renderer: AMD Radeon HD 6400M Series GLX Version: 4.2.12337 - CPC 13.101
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

在此处输入图片说明

xsession-errors

Script for cjkv started at run_im.
Script for default started at run_im.
openConnection: connect: No such file or directory
cannot connect to brltty at :0
Xsession: X session started for elie at Mon Mar 10 10:16:26 EET 2014
localuser:elie being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
Script for cjkv started at run_im.
Script for default started at run_im.
Script for cjkv started at run_im.
Script for default started at run_im.
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
gnome-session-is-accelerated: llvmpipe detected.
x-session-manager[2113]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Xsession: X session started for elie at Mon Mar 10 10:17:23 EET 2014
localuser:elie being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
Script for cjkv started at run_im.
Script for default started at run_im.
Script for cjkv started at run_im.
Script for default started at run_im.
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
gnome-session-is-accelerated: llvmpipe detected.
x-session-manager[2466]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Run Code Online (Sandbox Code Playgroud)

/var/log/Xorg.0.log.old/etc/X11/xorg.conf。请注意,我不再有 xorg.conf,因为我遵循了下面的答案,但是即使我生成了新文件,它也会看起来像上面的文件,我试过了。

ter*_*don 3

xorg.conf有两个设备部分:

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "intel"
    Driver      "intel"
    Option      "AccelMethod" "uxa"
EndSection
Run Code Online (Sandbox Code Playgroud)

这会导致您的计算机尝试加载fglrxintel驱动程序。虽然实际上可以在 Linux 上使用多个显卡,但我怀疑您是否可以使用集成(intel)和专用(ATI)显卡来做到这一点。删除该部分很可能intel会使一切恢复正常(假设fglrx驱动程序在您的系统上工作,但据我了解它过去是这样,所以它可能会)。因此,注释掉该intel部分并仅保留fglrx

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
EndSection

#Section "Device"
#    Identifier  "intel"
#    Driver      "intel"
#    Option      "AccelMethod" "uxa"
#EndSection
Run Code Online (Sandbox Code Playgroud)

然后重新启动 X,假设没有其他问题,一切都应该没问题。

如果没有,您可以尝试xorg.conf使用 ATI 的配置工具创建一个新的aticonfig

sudo aticonfig --initial
Run Code Online (Sandbox Code Playgroud)

如果您确实走这条路,我还建议您仔细阅读该程序的选项,它们非常广泛:

aticonfig --help | less
Run Code Online (Sandbox Code Playgroud)

最后,有关 ATI/AMD 卡的Arch wiki 页面是此类信息的重要来源。


Kaz*_*lfe 1

尝试清除 GC 驱动程序并重新安装:

sudo apt-get purge fglrx fglrx-pxpress

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install fglrx fglrx-pxpress
Run Code Online (Sandbox Code Playgroud)

如果这不能解决问题,那么就需要编辑 XConfigs 了!

  • 清除后,您必须手动删除 /etc/X11/xorg.conf 文件。它不会自动删除...这解决了我返回开源驱动程序时的问题。 (3认同)