web-dev-qa-db-ja.com

libGLエラー:ドライバーのロードに失敗しました:i965

こんにちは、Xubuntu 12.10で切り替え可能なグラフィックスを備えたHPパビリオンdv6のAMD専用ドライバーをインストールしました。

すべてが正常に動作するように見えますが、ゲームが適切にロードされず、コマンドを使用すると:

LIBGL_DEBUG = verbose 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))

ご協力いただきありがとうございます。

編集1:たぶんこれは助けになるでしょう:

locate i965_dri.so
/usr/lib/i386-linux-gnu/dri/i965_dri.so
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so

質問の「-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)
5
Gerard Brull

解決策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).

次に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に感謝します!

1
Gerard Brull