您的位置:首页 > 产品设计 > UI/UE

ubuntu 12.10 显卡问题和解决 Failed to build fglrx-8.961 with DKMS

2013-04-22 14:06 218 查看
引用:
显示芯片: AMD Radeon HD (6470M+ 6380G)双显卡切换

显卡描述: 独立显卡

显卡厂商: AMD

默认安装是好的可以unity-3d。

后来我安装了个显卡驱动反而只能进unity-2d了,驱动安装出现问题日志如下:

代码:
$cat /usr/share/ati/fglrx-install.log

代码:
Detected a previous installation, /usr/share/ati/amd-uninstall.sh

Dryrun uninstall succeeded continuing with installation.

Uninstalling any previously installed drivers.

Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.

No integrity verification is done.

restore of system environment completed

Errors during DKMS module removal

Uninstall fglrx driver complete.

For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log

System must be rebooted to avoid system instability and potential data loss.

/usr/share/ati/amd-uninstall.sh completed with 0

Creating symlink /var/lib/dkms/fglrx/8.961/source ->

/usr/src/fglrx-8.961

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:

cleaning build area....

cd /var/lib/dkms/fglrx/8.961/build; sh make.sh --nohints --uname_r=3.4.0-3-generic --norootcheck......(bad exit status: 1)

[Error] Kernel Module : Failed to build fglrx-8.961 with DKMS

[Error] Kernel Module : Removing fglrx-8.961 from DKMS

------------------------------

Deleting module version: 8.961

completely from the DKMS tree.

------------------------------

Done.

[Reboot] Kernel Module : update-initramfs

谷歌到一个解决办法~~
http://askubuntu.com/questions/129597/h ... -12-04-lts

这里的方法果然好使我现在又回到默认(也就是木装显卡驱动之前)uniy-3d的界面了

我是amd64的(32的看上面链接里面提供的方法)

代码:

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

$ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

$ sudo rm /etc/X11/xorg.conf

$ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core

$ sudo dpkg-reconfigure xserver-xorg

$ sudo reboot

以上回复桌面方式对12.04同样有效

(转自 http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=375930&p=2749312)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2014-02-08今天升级12.04 到13.10,但是升级失败,然后回退,但是需要重新安装显卡驱动。但是遇到重装之后只能现实命令行模式,无法进入图形界面,卸载显卡驱动可以进入。

在不选择冲撞系统的前提下,反复折腾,最后在附加驱动里安装了一个,然后在更新管理器中更新了一个相应的补丁。ok,重启,进入系统。虽然这个驱动略显粗糙,但是开发完全够,避免了重装系统的代价。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: