14.04LTC 安装 HD5750 驱动问题

CPU/显卡/打印机/USB设备等硬件问题
回复
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

14.04LTC 安装 HD5750 驱动问题

#1

帖子 b46130 » 2014-08-02 16:06

:em06 本人去AMD官网下载, 选择 linux 32位的, HD5000驱动 ,按是提示无法打开


我本身也是 14.04LTC -32位


下载的14.14 , 或者14.16都不行。 现在分比率是 1024*769


:em06 求高手解决 , 谢谢,
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTC 安装 HD5750 驱动问题

#2

帖子 poloshiao » 2014-08-02 17:02

下载的14.14 , 或者14.16都不行。 现在分比率是 1024*769
查一查 是不是 雙顯卡
把下面指令 複製 貼進終端機 執行
sudo lshw -numeric -class video
把結果直接複製 貼上來
HD5750
下载的14.14 , 或者14.16都不行
猜測 是 14.4 / 14.6 ?
14.04LTC
猜測是 14.04 LTS ?
linux 32
http://support.amd.com/en-us/kb-article ... river.aspx
AMD Catalyst™ 14.6 Beta for Linux
Ubuntu 14.04 support
安裝方法
http://support.amd.com/en-us/kb-article ... Notes.aspx
https://help.ubuntu.com/community/Binar ... alyst_13.4 # 版本號 修改 一下
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#3

帖子 b46130 » 2014-08-04 7:56

最后的最后 , 我已经在帖子
https://help.ubuntu.com/community/Binar ... alyst_13.4

:em11 直接从“3.1. Manually installing Catalyst 13.4” 开始安装


在3.1 sh amd-driver-installer-catalyst-13-4-x86.x86_64.run --buildpkg Ubuntu/trusty

我下载的 linux-amd-catalyst-14.6-beta-v1.0-jul11.zip
提取后是fglrx-14.20文件夹的 “amd-driver-installer-14.20-x86.x86_64”

替换为
sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty


:~$ sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
sh: 0: Can't open amd-driver-installer-14.20-x86.x86_64.run



不知道是否应该从, 1.1开始做起, 教导我们不应该偷懒 ,走捷径
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#4

帖子 b46130 » 2014-08-08 7:48

在 1步 
lspci -vvnn | grep VGA

就已经提示错误了 
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-


2. Installation via the Ubuntu repositories
Ubuntu offers the following fglrx drivers from the repositories:
fglrx-installer

就开始一直错误提示,  照猫画虎的走完所有流程,最后安装错误

呵呵
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#5

帖子 b46130 » 2014-08-08 7:53

如果直接从3.1开始安装
sudo apt-get install libqtgui4

出现

Some index files failed to download. They have been ignored, or old ones used instead.
luochun@luochun-H55M-S2:~$ sudo apt-get install libqtgui4
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libqtgui4 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 32 个软件包未被升级。


出现这个提示
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTC 安装 HD5750 驱动问题

#6

帖子 poloshiao » 2014-08-08 13:20

:~$ sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
sh: 0: Can't open amd-driver-installer-14.20-x86.x86_64.run
在 Ubuntu 要安裝/更新/移除 驅動或程式套件 記得加 sudo 以取得 root 權限
sudo sh ./amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
在 1步 
lspci -vvnn | grep VGA
試試
sudo lspci -vvnn | grep VGA
udo apt-get install libqtgui4
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libqtgui4 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 32 个软件包未被升级。
出现这个提示
只是告訴你
libqtgui4 已经是最新的版本了。
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#7

帖子 b46130 » 2014-08-16 21:08

sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty


照猫画虎后 ,换成自己下载好的驱动,

sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
Created directory fglrx-install.GqmkEk
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.20........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Ubuntu/trusty
[sudo] password for luna:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
build-essential fakeroot g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot
libstdc++-4.8-dev
Suggested packages:
debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
libstdc++-4.8-doc
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot
libstdc++-4.8-dev
0 upgraded, 10 newly installed, 0 to remove and 114 not upgraded.
Need to get 8970 kB of archives.
After this operation, 30.7 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev i386 4.8.2-19ubuntu1 [1058 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 i386 4.8.2-19ubuntu1 [7023 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu/ trusty/main g++ i386 4:4.8.2-1ubuntu6 [1500 B]
Get:4 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.3 [726 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu/ trusty/main build-essential i386 11.6ubuntu6 [4824 B]
Get:6 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot i386 1.20-3ubuntu2 [25.4 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu/ trusty/main fakeroot i386 1.20-3ubuntu2 [55.4 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl i386 0.04-2build4 [13.1 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Fetched 8970 kB in 29s (306 kB/s)
Selecting previously unselected package libstdc++-4.8-dev:i386.
(Reading database ... 171744 files and directories currently installed.)
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_i386.deb ...
Unpacking libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.2-19ubuntu1_i386.deb ...
Unpacking g++-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_i386.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.3_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_i386.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:i386.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_i386.deb ...
Unpacking libfakeroot:i386 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_i386.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_i386.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Setting up g++-4.8 (4.8.2-19ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up dpkg-dev (1.17.5ubuntu5.3) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:i386 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Resolving build dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package (>
E: Unable to locate package 2
Unable to resolve debhelper dh-modaliases xserver-xorg-dev (>= 2. Please manually install and try again.
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:14.200-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.PHtK0s
dpkg-buildpackage: host architecture i386
debian/rules build
#Create important strings
for i in 10fglrx \
dkms.conf \
fglrx.install \
fglrx-dev.install \
fglrx-dev.links \
fglrx-amdcccle.install \
fglrx.grub-gfxpayload \
fglrx.dirs \
fglrx.links \
fglrx.postinst \
fglrx.postrm \
fglrx.preinst \
fglrx.prerm \
overrides/fglrx; do \
sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#LIBDIR#|usr/lib|g" \
-e "s|#LIBDIR32#|usr/lib32|g" \
-e "s|#BINDIR#|usr/bin|g" \
-e "s|#SYSCONFDIR#|etc|g" \
-e "s|#MANDIR#|usr/share/man/man1|g" \
-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
-e "s|#ALTPRIORITY#|1000|g" \
-e "s|#PXALTPRIORITY#|900|g" \
-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
-e "s|#DATADIR#|usr/share|g" \
-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTRA#|usr/lib/i386-linux-gnu/xorg/extra-modules|g" \
-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
-e "s|#DRIVERNAME#|fglrx|g" \
-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
-e "s|#DRIVERSRCNAME#||g" \
-e "s|#INCLUDEDIR#|usr/include|g" \
-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#PXDIR#|usr/lib/pxpress|g" \
-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
-e "s|#PXDIRNAME#|pxpress|g" \
-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
-e "s|#CVERSION#|14.200|g" \
-e "s|#SRCXARCH#|xpic|g" \
-e "s|#SRCARCH#|x86|g" \
-e "s|#SRCOTHERARCH#|x86_64|g" \
-e "s|#SRCLIBDIR#|lib|g" \
-e "s|#DEB_HOST_MULTIARCH#|i386-linux-gnu|g" \
-e "s|#OTHER_ARCH#|x86_64-linux-gnu|g" \
debian/$i.in > debian/$i; \
done
# remove exec bit on everything
find arch \
etc \
lib \
module \
usr \
xpic -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86/usr/sbin \
arch/x86/usr/X11R6/bin \
usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
make: dh: Command not found
make: *** [build-arch] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.GqmkEk
luna@luna:~/123$


这是神码意思 ? 安装好啦 ?
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#8

帖子 b46130 » 2014-08-16 21:14

在3.1.3 Ubuntu 14.04 LTS Trusty:

sh amd-driver-installer-catalyst-13-4-x86.x86_64.run --buildpkg Ubuntu/trusty

改成自己驱动:amd-driver-installer-14.20-x86.x86_64


新命令sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty

后sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
Created directory fglrx-install.GqmkEk
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.20........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================


中间是各种奇怪的天书就略过啦 (我保存为WPS 文件可随时复制出来)
最后几行
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
make: dh: Command not found
make: *** [build-arch] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.GqmkEk



此时终端已经结束啦,跳回到$ 标志
至此是安装完毕啦? 还是又出现错误啦??
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#9

帖子 b46130 » 2014-08-19 15:07

.........没人遇到吗??
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTC 安装 HD5750 驱动问题

#10

帖子 poloshiao » 2014-08-20 8:01

viewtopic.php?p=3098758#p3098758
加 sudo 看看

再強調一次
在 Ubuntu 安裝/升級/移除 套件 通常需要 root 權限 除非是 說明書 特別強調 不必 root 權限
非 root 使用者 需要 root 權限
sudo + 文字指令 (例如 sudo sh .....)
gksudo + 圖形指令 (例如 gksudo gedit ...) 第一次使用 gksudo 以前需要先安裝 gksu 套件
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#11

帖子 b46130 » 2014-08-22 10:27

用sudo 也是一样的结果 ~~

从网上找到
sudo apt-get install fglrx
重启后,彻底黑屏幕了 ~~

在命令行格式下, 有办法恢复吗 ? 
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTC 安装 HD5750 驱动问题

#12

帖子 poloshiao » 2014-08-22 17:30

从网上找到
sudo apt-get install fglrx
重启后,彻底黑屏幕了 ~~
1. 從 Ubuntu 套件庫安裝 請參閱
https://help.ubuntu.com/community/Binar ... positories
2. 直接從 AMD 官網下載 AMD Catalyst™ 14.6 Beta for Linux 請參閱
http://support.amd.com/en-us/kb-article ... Notes.aspx
https://help.ubuntu.com/community/Binar ... alyst_13.4
3. 重點說明
3-1. 在 Ubuntu 安裝套件 一定需要加 sudo
3-2. 要把 所有曾經安裝的 閉源驅動 全部先移除
3-3. 要把 開源驅動 Radeon 列入阻擋載入黑名單
3-4. 需要使用
sudo aticonfig --initial
初始化啟用
3-5. 詳細依照
https://help.ubuntu.com/community/Binar ... alyst_13.4
3-6. 有錯誤訊息 複製 貼上來
彻底黑屏幕了 ~~
在還沒有安裝/設定/啟用 完成前 加一些核心參數 幫助你開機登入桌面
http://apexu.com/apexu/tw/modules/publi ... ?itemid=14
https://help.ubuntu.com/community/BootO ... el_Options
安裝/設定/啟用 完成後 重開機 就不必 加這些 核心參數
b46130
帖子: 27
注册时间: 2014-08-02 15:59
系统: ubuntu14.04LTS

Re: 14.04LTC 安装 HD5750 驱动问题

#13

帖子 b46130 » 2014-08-23 23:48

已经屈服了, 在启动菜单里,加入

或者 輸入 "acpi_osi=linux xforcevesa" 或 "acpi_osi=linux radeon.modeset=0 xforcevesa" 注意 中間一個空格 (amd 顯卡)

也依然黑屏, 索性, 推倒重来

重新安ubuntu了~~
回复