为 ATI HD 6970 安装 Catalyst 11.6

为 ATI HD 6970 安装 Catalyst 11.6

在我安装了新的 HD 6970 卡之后,Ubuntu Maverick 10.10 可以正常显示桌面(尽管仅限于 1600x1200),所以我现在尝试安装专有驱动程序(我知道开源驱动程序需要比 Maverick 中更新的内核)。

“附加驱动程序”下的专有驱动程序导致启动时出现黑屏,因此我停用了它,并尝试按照cchtml Ubuntu Maverick 安装指南

当我尝试使用以下命令创建 .deb 包时:

sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg Ubuntu/maverick

我得到:

david@skipper:~/catalyst11.6$ sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg Ubuntu/maverick
Created directory fglrx-install.oLN3ux
Verifying archive integrity... All good.
Uncompressing ATI Catalyst(TM) Proprietary Driver-8.861.........................
=====================================================================
 ATI Technologies Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Ubuntu/maverick
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 396: debclean: not found
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.861-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.64Vzxk
dpkg-buildpackage: host architecture amd64
 debian/rules build
Can't exec "debian/rules": Permission denied at /usr/bin/dpkg-buildpackage line 507.
dpkg-buildpackage: error: debian/rules build failed with unknown exit code -1
Cleaning in directory .
/usr/bin/fakeroot: line 176: debian/rules: Permission denied
debuild: fatal error at line 1319:
couldn't exec fakeroot debian/rules:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.861-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.QEmIld
dpkg-buildpackage: host architecture amd64
 debian/rules build
Can't exec "debian/rules": Permission denied at /usr/bin/dpkg-buildpackage line 507.
dpkg-buildpackage: error: debian/rules build failed with unknown exit code -1
Cleaning in directory .
Can't exec "debian/rules": Permission denied at /usr/bin/debuild line 1314.
debuild: fatal error at line 1313:
couldn't exec debian/rules: Permission denied
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.861-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.xtY6vC
dpkg-buildpackage: host architecture amd64
 debian/rules build
Can't exec "debian/rules": Permission denied at /usr/bin/dpkg-buildpackage line 507.
dpkg-buildpackage: error: debian/rules build failed with unknown exit code -1
Cleaning in directory .
/usr/bin/fakeroot: line 176: debian/rules: Permission denied
debuild: fatal error at line 1319:
couldn't exec fakeroot debian/rules:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.861-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.oYWICI
dpkg-buildpackage: host architecture amd64
 debian/rules build
Can't exec "debian/rules": Permission denied at /usr/bin/dpkg-buildpackage line 507.
dpkg-buildpackage: error: debian/rules build failed with unknown exit code -1
Removing temporary directory: fglrx-install.oLN3ux

我已经安装了其中devscripts的内容debclean

我尝试过使用和不使用 来运行该命令sudo

我没有从下载/源安装的经验,但似乎文件debian/source在需要时未设置为可执行文件。如果我只提取而不使用包生成器命令,debian/rules 是 744。

至于下一步该做什么,我很困惑。

非常感谢。

答案1

我从来没有用 ATI 的安装程序成功生成过 .deb 包。显然,如果你在安装开源驱动程序的同时安装 fglrx(ATI 的驱动程序),你可能会遇到一些非常奇怪的问题 - 虽然我只读过,但不确定这些问题到底是什么。

您可能需要确保没有加载开源 ATI 驱动程序 - 您需要将“radeon”添加到 /etc/modules/ 中的某个黑名单文件中,重新启动并使用“lsmod | grep radeon”来确认它没有被加载。然后我会重新尝试驱动程序安装程序,但我会将其直接安装到您的系统中,因为就像我说的那样,我从来没有设法让 .deb 生成工作(虽然这也许很容易,只是可能需要一些包,等等?)。

有一些非常棒的指南可以帮助您在 Linux 上应对 ATI 受害者,如果您仍然遇到困难,我建议您查找它们。(我以前很喜欢 ATI,但最近他们的显卡似乎很难在 Linux 上运行良好。希望 AMD 能尽快改变这一现状!)

相关内容