Ger*_*ull 5 ati graphics drivers
嗨,我刚刚为我的 HP pavilion dv6 安装了 AMD 专有驱动程序,带有可切换图形的 Xubuntu 12.10。
一切似乎都正常,但游戏加载不佳,如果我使用以下命令:
LIBGL_DEBUG=详细 fglrxinfo
我收到此错误:
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i965_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/i965_dri.so failed (/usr/lib/i386-linux-gnu/dri/i965_dri.so: wrong ELF class: ELFCLASS32)
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/gerard/.drirc: No such file or directory.
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/usr/lib/i386-linux-gnu/dri/swrast_dri.so: wrong ELF class: ELFCLASS32)
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL error: failed to load driver: swrast
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 6700M Series
OpenGL version string: 1.4 (2.1 (4.2.12173 Compatibility Profile Context 12.10.17))
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助。
编辑1:也许这会有所帮助:
locate i965_dri.so
/usr/lib/i386-linux-gnu/dri/i965_dri.so
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so
Run Code Online (Sandbox Code Playgroud)
我不明白我的问题中的“-1”我只提出问题作为我的最后选择。
编辑 2:我尝试重新安装驱动程序,现在我在以下步骤之一中收到此错误:
gerard@gerard-HP-Pavilion-dv6:~$ sudo apt-get -y install fglrx-updates fglrx-amdcccle-updates
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python-keybinder
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
fglrx-amdcccle-updates fglrx-updates
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/93.0 MB of archives.
After this operation, 279 MB of additional disk space will be used.
(Reading database ... 184985 files and directories currently installed.)
Unpacking fglrx-updates (from .../fglrx-updates_2%3a12.100.3-0~andrik1_amd64.deb) ...
One or more files have been altered since installation.
Uninstall will not be completed. See /etc/ati/fglrx-uninstall.log for details.
dpkg: error processing /var/cache/apt/archives/fglrx-updates_2%3a12.100.3-0~andrik1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Selecting previously unselected package fglrx-amdcccle-updates.
Unpacking fglrx-amdcccle-updates (from .../fglrx-amdcccle-updates_2%3a12.100.3-0~andrik1_amd64.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/fglrx-updates_2%3a12.100.3-0~andrik1_amd64.deb
E: Sub-proces /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
解决方案
我尝试解决它的安装问题ia32-libs
,但出现以下错误:
sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: fglrx-amdcccle-updates : Depends: fglrx-updates E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
然后我尝试apt-get -f install
但仍然出现缓存错误,所以我删除了缓存文件,然后我可以安装依赖项但安装失败。日志显示 ATI 文件夹中缺少文件,因此我尝试再次重新安装它。现在我使用了一种force
方法:
sudo /usr/share/ati/amd-uninstall.sh --force
最后我可以使用这种方法再次重新安装,现在fglrxinfo
说一切都是正确的(我认为至少:P):
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6700M Series
OpenGL version string: 4.2.12171 Compatibility Profile Context 12.10.17
感谢 Rinzwind 的帮助!
归档时间: |
|
查看次数: |
28179 次 |
最近记录: |