今天我已经下载了新的AMD Catalyst驱动程序,在安装过程中出现错误消息“安装过程中出现错误”这里是安装我的步骤:
** sudo update&&完成sudo升级,重启.
>卸载AMD Catalyst旧驱动程序(AMD_Catalyst-13.4):
$sudo sh /usr/share/ati/amd-uninstall.sh
恢复系统环境完成
DONE
(没有错误)
>重启
>安装新驱动程序
$sudo sh amd-catalyst-13.12-linux-x86.x86_64.run
安装过程错误:http://postimg.org/image/675x7cio9/
这是fglrx-install.log:
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any prevIoUsly installed drivers.
Creating symlink /var/lib/dkms/fglrx/13.251/source ->
/usr/src/fglrx-13.251
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/13.251/build; sh make.sh --nohints --uname_r=3.2.0-4-686-pae --norootcheck.......(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-13.251 with DKMS
[Error] Kernel Module : Removing fglrx-13.251 from DKMS
Deleting module version: 13.251
completely from the DKMS tree.
Done.
[Reboot] Kernel Module : update-initramfs
>重启,然后我无法登录startx
>所以我卸载新的驱动程序,出现一条消息错误:
$sudo sh /usr/share/ati/amd-uninstall.sh
恢复系统环境完成
错误!没有模块实例:fglrx
13.251位于DKMS树中
删除DKMS模块时出错
卸载fglrx驱动程序完成
有关卸载的详细日志,请参阅/etc/ati/fglrx-uninstall.log
必须重新启动系统以避免系统不稳定和潜在的数据丢失.
这是fglrx-uninstall.log:
*** AMD Catalyst(TM) Proprietary Driver Uninstall Log 2013-12-20 13:34:43 ***
Removed /usr/share/applications/amdcccle.desktop
Removed /usr/share/applications/amdccclesu.desktop
Removed /usr/share/icons/ccc_large.xpm
Removed /usr/share/ati/amdcccle/amdcccle_cs.qm
Removed /usr/share/ati/amdcccle/amdcccle_da_DK.qm
Removed /usr/share/ati/amdcccle/amdcccle_de.qm
Removed /usr/share/ati/amdcccle/amdcccle_el_GR.qm
Removed /usr/share/ati/amdcccle/amdcccle_es_ES.qm
Removed /usr/share/ati/amdcccle/amdcccle_fi_FI.qm
Removed /usr/share/ati/amdcccle/amdcccle_fr_FR.qm
Removed /usr/share/ati/amdcccle/amdcccle_hu_HU.qm
Removed /usr/share/ati/amdcccle/amdcccle_it_IT.qm
Removed /usr/share/ati/amdcccle/amdcccle_ja.qm
Removed /usr/share/ati/amdcccle/amdcccle_ko_KR.qm
Removed /usr/share/ati/amdcccle/amdcccle_nl_NL.qm
Removed /usr/share/ati/amdcccle/amdcccle_no.qm
Removed /usr/share/ati/amdcccle/amdcccle_pl.qm
Removed /usr/share/ati/amdcccle/amdcccle_pt_BR.qm
Removed /usr/share/ati/amdcccle/amdcccle_ru_RU.qm
Removed /usr/share/ati/amdcccle/amdcccle_sv_SE.qm
Removed /usr/share/ati/amdcccle/amdcccle_th.qm
Removed /usr/share/ati/amdcccle/amdcccle_tr_TR.qm
Removed /usr/share/ati/amdcccle/amdcccle_zh_CN.qm
Removed /usr/share/ati/amdcccle/amdcccle_zh_TW.qm
Removed /usr/share/ati/amdcccle/qt_cs.qm
Removed /usr/share/ati/amdcccle/qt_da.qm
Removed /usr/share/ati/amdcccle/qt_de.qm
Removed /usr/share/ati/amdcccle/qt_es.qm
Removed /usr/share/ati/amdcccle/qt_fr.qm
Removed /usr/share/ati/amdcccle/qt_hu.qm
Removed /usr/share/ati/amdcccle/qt_ja.qm
Removed /usr/share/ati/amdcccle/qt_ja_JP.qm
Removed /usr/share/ati/amdcccle/qt_ko.qm
Removed /usr/share/ati/amdcccle/qt_pl.qm
Removed /usr/share/ati/amdcccle/qt_pt.qm
Removed /usr/share/ati/amdcccle/qt_ru.qm
Removed /usr/share/ati/amdcccle/qt_sv.qm
Removed /usr/share/ati/amdcccle/qt_zh_CN.qm
Removed /usr/share/ati/amdcccle/qt_zh_TW.qm
Removed /usr/bin/amdcccle
Removed /usr/bin/amdxdg-su
Removed /usr/bin/amdupdaterandrconfig
Removed /usr/share/doc/ati/ccc_copyrights.txt
Removed /etc/security/console.apps/amdcccle-su
Removed /usr/share/ati/lib/libQtCore.so.4
Removed /usr/share/ati/lib/libQtGui.so.4
Removed /usr/share/doc/ati/LICENSE.TXT
Removed /usr/share/doc/ati/user-manual/AMD_Linux_Driver_Specification.pdf
Removed /usr/share/doc/ati/user-manual/index.html
Removed /usr/share/doc/ati/examples/etc/acpi/ati-powermode.sh
Removed /usr/share/doc/ati/examples/etc/acpi/events/a-ac-aticonfig
Removed /usr/share/doc/ati/examples/etc/acpi/events/a-lid-aticonfig
Removed /usr/share/doc/ati/examples/etc/init.d/atieventsd.sh
Removed /usr/share/doc/ati/articles/1gbhang.html
Removed /usr/share/doc/ati/articles/4461.html
Removed /usr/share/doc/ati/articles/4462.html
Removed /usr/share/doc/ati/articles/4463.html
Removed /usr/share/doc/ati/articles/4464.html
Removed /usr/share/doc/ati/articles/4469.html
Removed /usr/share/doc/ati/articles/4470.html
Removed /usr/share/doc/ati/articles/4475.html
Removed /usr/share/doc/ati/articles/4478.html
Removed /usr/share/doc/ati/articles/4479.html
Removed /usr/share/doc/ati/articles/4480.html
Removed /usr/share/doc/ati/articles/4481.html
Removed /usr/share/doc/ati/articles/4482.html
Removed /usr/share/doc/ati/articles/4483.html
Removed /usr/share/doc/ati/articles/4484.html
Removed /usr/share/doc/ati/articles/4485.html
Removed /usr/share/doc/ati/articles/corruptstereo.html
Removed /usr/share/doc/ati/articles/corruptvtswitch.html
Removed /usr/share/doc/ati/articles/devshm.html
Removed /usr/share/doc/ati/articles/dga3dhang.html
Removed /usr/share/doc/ati/articles/doom3corrupt.html
Removed /usr/share/doc/ati/articles/dualheadvideo.html
Removed /usr/share/doc/ati/articles/laptopsuspend.html
Removed /usr/share/doc/ati/articles/missingdrmheaders.html
Removed /usr/share/doc/ati/articles/mousecursorhang.html
Removed /usr/share/doc/ati/articles/no3d-aiw8500dv.html
Removed /usr/share/doc/ati/articles/no3d-kt400.html
Removed /usr/share/doc/ati/articles/nomembercount.html
Removed /usr/share/doc/ati/articles/pcie3dmemoryleak.html
Removed /usr/share/doc/ati/articles/r420blankdisplay.html
Removed /usr/share/doc/ati/articles/rv280dviblankdisplay.html
Removed /usr/share/doc/ati/articles/rv350springdale.html
Removed /usr/share/doc/ati/articles/secondheadcorruption.html
Removed /usr/share/doc/ati/articles/xf86_enodev.html
Removed /usr/share/doc/ati/articles/xrestartpcie.html
Removed /usr/share/doc/ati/articles/xvsatshift.html
Removed /usr/share/doc/ati/configure.html
Removed /usr/share/doc/ati/driverfaq.html
Removed /usr/share/doc/ati/index.html
Removed /usr/share/doc/ati/installer.html
Removed /usr/share/doc/ati/issues.html
Removed /usr/share/doc/ati/linuxfaq.html
Removed /usr/share/doc/ati/tips-linux.html
Removed /usr/share/man/man8/atieventsd.8
Removed /usr/lib/xorg/modules/linux/libfglrxdrm.so
Removed /usr/lib/xorg/modules/drivers/fglrx_drv.so
Removed /usr/lib/xorg/modules/glesx.so
Removed /usr/lib/xorg/modules/amdxmm.so
Removed /usr/lib/libAMDXvBA.cap
Removed /usr/lib/libAMDXvBA.so.1.0
Removed /usr/lib/libOpenCL.so.1
Removed /usr/lib/libXvBAW.so.1.0
Removed /usr/lib/libamdocl32.so
Removed /usr/lib/libatiadlxx.so
Removed /usr/lib/libaticalcl.so
Removed /usr/lib/libaticaldd.so
Removed /usr/lib/libaticalrt.so
Removed /usr/lib/libatiuki.so.1.0
Removed /usr/lib/libfglrx_dm.a
Removed /usr/lib/libfglrx_dm.so.1.0
Removed /usr/lib/fglrx/fglrx-libGL.so.1.2
Removed /usr/lib/fglrx/switchlibGL
Removed /usr/lib/fglrx/switchlibglx
Removed /usr/lib/i386-linux-gnu/dri/fglrx_dri.so
Removed /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so
Removed /usr/include/GL/glATI.h
Removed /usr/include/GL/glxATI.h
Removed /usr/include/ATI/GL/glx.h
Removed /usr/include/ATI/GL/glxext.h
Removed /usr/bin/fgl_glxgears
Removed /usr/bin/fglrxinfo
Removed /usr/bin/aticonfig
Removed /usr/bin/atiodcli
Removed /usr/bin/atiode
Removed /usr/bin/clinfo
Removed /usr/src/ati/fglrx_sample_source.tgz
Removed /usr/sbin/amdnotifyui
Removed /usr/sbin/atieventsd
Removed /usr/sbin/atigetsysteminfo.sh
Removed /etc/ati/amdpcsdb.default
Removed /etc/ati/atiapfxx
Removed /etc/ati/atiapfxx.blb
Removed /etc/ati/atiapfxx.log
Removed /etc/ati/atiogl.xml
Removed /etc/ati/authatieventsd.sh
Removed /etc/ati/control
Removed /etc/ati/logo.xbm.example
Removed /etc/ati/logo_mask.xbm.example
Removed /etc/ati/signature
Removed /etc/OpenCL/vendors/amdocl32.icd
/usr/bin/md5sum: /usr/X11R6/lib/modules/dri/fglrx_dri.so: No such file or directory
/usr/bin/md5sum: /usr/bin/amdconfig: No such file or directory
Removed /etc/modprobe.d/blacklist-fglrx.conf
>然后我重新启动,像往常一样登录没有amd驱动程序
我再次尝试安装旧驱动程序(AMD_Catalyst-13.4),没有任何反应,安装过程成功,驱动程序运行良好.有人像我这样得到同样的问题吗有什么建议吗?
最佳答案
您正在将补丁应用于错误的文件.你必须修补catalyst / common / lib / modules / fglrx / build_mod / kcl_acpi.c而不是catalyst / ati-installer.sh
原文链接:https://www.f2er.com/linux/439987.html以下是Miles Zhang链接的完整程序:
1. ./amd-catalyst-13.12-linux-x86.x86_64.run --extract catalyst
cd catalyst
2. Apply the patch: $patch -Np1 -i ../looks_like_amd_forgot_this.patch
File to patch: common/lib/modules/fglrx/build_mod/kcl_acpi.c
3. sudo ./ati-installer.sh 13.251 --buildpkg Ubuntu/saucy
4. install the build packages,placed one directory up
UPDATE
最简单的方法是删除催化剂文件夹并再次提取amd-catalyst-13.12-linux-x86.x86_64.run存档.