2013-12-21 130 views
5

今天我下載了新的AMD Catalyst驅動,當安裝過程中出現錯誤信息「安裝過程中出現錯誤」這裏是安裝我的步驟: ** sudo更新& & sudo升級完成,重啓。Error安裝amd_catalyst-13.12驅動

  • 卸載AMD催化劑老司機(AMD_Catalyst-13.4):

    $ sudo sh /usr/share/ati/amd-uninstall.sh 
    

    系統環境的恢復完成 做

    (沒有錯誤)

  • 重啓

  • 安裝

    新的驅動程序

    $ 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 
  • 重啓,那麼我不能登錄到STA RTX

  • ,所以我卸載新的驅動程序,會出現一個消息錯誤:

    $ 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)沒有任何反應,安裝過程成功,驅動程序運行良好。任何人都有像我一樣的問題?任何建議傢伙?

回答

3

你申請補丁錯誤的文件。需要修補catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c代替catalyst/ati-installer.sh

這裏是萬里張的環節完整過程:

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
最簡單的方法是刪除catalyst文件夾裏面,然後提取amd-catalyst-13.12-linux-x86.x86_64.run存檔。

+0

感謝男人,它的工作原理,我已經成功地修補了文件,我認爲我犯了一個錯誤選擇一個錯誤的文件:) – metaphor

+0

我已經提取文件,然後如何使一個檔案.run文件,我不'知道:( – metaphor

+0

ju不必,只需運行'catalyst/ati-installer.sh'。它與運行原始'.run'文件相同 –

1
+0

謝謝@Miles Zhang,但仍然不適合我。我按照這個指南http://phoronix.com/forums/showthread.php?91885-AMD-Catalyst-13-12-GPU-Driver-For-Linux-Released&p=381957#post381957這裏是我的結果: http://pastebin.com/swNAbPmw – metaphor

+0

我應用了補丁手冊。這對我工作https://gist.github.com/moldcraft/8116528 – moldcraft

+0

這個驅動程序是不穩定的。幾分鐘後,我的電腦崩潰,黑屏,有時顯示我登錄屏幕,有時只是凍結在黑屏。我回到了最新的測試版。 – moldcraft