无法完全清除 fglrx

无法完全清除 fglrx

我有 14.04 并使用安装了专有的 AMD Catalyst 14.6生成特定于分发的驱动程序包选项描述于安装程序说明

我现在想改变mesa-vdpau-drivers但无法完全fglrx从我的系统中清除。

到目前为止,我所尝试的是我在一些 HowTos 中找到的方法,基本上可以归结为运行以下命令:

sudo apt-get remove --purge fglrx fglrx-amdcccle fglrx-dev
sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo rm -rf /etc/ati

但是,在我的dmesg输出中仍然会出现以下几行:

[   58.779902] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[   58.779916] Disabling lock debugging due to kernel taint
[   58.798511] fglrx: module verification failed: signature and/or  required key missing - tainting kernel
[   58.822853] <6>[fglrx] Maximum main memory to use for locked dma buffers: 1506 MBytes.
[   58.823307] <6>[fglrx]   vendor: 1002 device: 9804 count: 1
[   58.824514] <6>[fglrx] ioport: bar 1, base 0xf000, size: 0x100
[   58.825520] <6>[fglrx] Kernel PAT support is enabled
[   58.825577] <6>[fglrx] module loaded - fglrx 14.10.2 [May  5 2014] with 1 minors

完整dmesg输出位于这个Pastebin

如能帮助我将非常感激...

答案1

在之前安装 fglrx 专有驱动程序后,我在尝试正确运行 Radeon 开源驱动程序时遇到了同样的问题。

事实上,我对 Radeon 开源驱动程序的需求与 xbmc 论坛上的这个帖子有关:Linux - Radeon OSS 与 vdpau(操作方法)

我删除了fglrx驱动程序并安装了开源驱动程序这个 Ubuntu 维基页面

但我在 XBMC 上仍然遇到视频撕裂问题。(没有硬件加速,XBMC 的 CPU 使用率为 180%)

/var/log/Xorg.0.log我仔细阅读了文件的版本我使用的文章和我系统上的一个。我注意到区别是:

LoadModule: "ati"
Warning, couldn't open module ati
UnloadModule: "ati"
Unloading ati
Failed to load module "ati" (module does not exist, 0)

因此没有使用 ATI 驱动程序,也没有使用 fglrx

LoadModule: "fglrx"
Warning, couldn't open module fglrx
UnloadModule: "fglrx"
Unloading fglrx
Failed to load module "fglrx" (module does not exist, 0)

两个驱动程序“fglrx”(因为已被移除)和“ATI”均未被 Xorg 考虑。原因可能是“fglrx”未被完全移除,“ATI”Radeon 未被完全安装。

所以我再次运行了安装

sudo apt-get install xserver-xorg-video-ati

奇迹出现了!现在在我的/var/log/Xorg.0.log文件中:

[ 37959.945] (II) LoadModule: "glx"
[ 37959.945] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 37959.948] (II) Module glx: vendor="X.Org Foundation"
[ 37959.948]    compiled for 1.15.1, module version = 1.0.0
[ 37959.948]    ABI class: X.Org Server Extension, version 8.0
[ 37959.948] (==) AIGLX enabled
[ 37959.948] Loading extension GLX
[ 37959.948] (==) Matched fglrx as autoconfigured driver 0
[ 37959.948] (==) Matched ati as autoconfigured driver 1
[ 37959.948] (==) Matched fglrx as autoconfigured driver 2
[ 37959.948] (==) Matched ati as autoconfigured driver 3
[ 37959.948] (==) Matched modesetting as autoconfigured driver 4
[ 37959.948] (==) Matched fbdev as autoconfigured driver 5
[ 37959.948] (==) Matched vesa as autoconfigured driver 6
[ 37959.948] (==) Assigned the driver to the xf86ConfigLayout
[ 37959.948] (II) LoadModule: "fglrx"
[ 37959.949] (WW) Warning, couldn't open module fglrx
[ 37959.949] (II) UnloadModule: "fglrx"
[ 37959.949] (II) Unloading fglrx
[ 37959.949] (EE) Failed to load module "fglrx" (module does not exist, 0)
[ 37959.949] (II) LoadModule: "ati"
[ 37959.949] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 37959.949] (II) Module ati: vendor="X.Org Foundation"
[ 37959.949]    compiled for 1.15.1, module version = 7.3.0
[ 37959.949]    Module class: X.Org Video Driver
[ 37959.949]    ABI class: X.Org Video Driver, version 15.0
[ 37959.949] (II) LoadModule: "radeon"
[ 37959.950] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 37959.950] (II) Module radeon: vendor="X.Org Foundation"

在 XBMC 上:不再出现视频撕裂和 5% 的 CPU 占用率:硬件加速正在运行!!!

相关内容