Mesaの再インストール後、OpenGLアプリケーションがひどいエラーメッセージを表示する

Mesaの再インストール後、OpenGLアプリケーションがひどいエラーメッセージを表示する

Lenovo IdeapadのLinux Mint 17.3 KDEでMesaドライバをアップグレードするためにいくつかのPPAを試した後、すべてが再び正常に動作するようです。ただし、OpenGLプログラムを実行しようとするたびに、次のような結果が表示されます。

$ glxgears
libGL error: pci id for fd 4: 8086:1916, driver (null)   
i965_dri.so does not support the 0x1916 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965

終了後、次のようなことが起こります(または自分のアレグで関連プロジェクトで珍しいセグフォルト)。

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
  after 13936 requests (13934 known processed) with 0 events remaining.

そしてそのプログラムは明らかにうまくいくようです。 (これに加えて、glxgearsはもはや以前のように60fpsに制限されていないようです)。

以下は、関連性があると予想される出力です。

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)
$ dpkg -l | grep mesa
ii  libegl1-mesa:amd64                          10.1.3-0ubuntu0.6                                 amd64        free implementation of the EGL API -- runtime  
ii  libegl1-mesa-dev                            10.1.3-0ubuntu0.6                                 amd64        free implementation of the EGL API -- development files
ii  libegl1-mesa-drivers:amd64                  10.1.3-0ubuntu0.6                                 amd64        free implementation of the EGL API -- hardware drivers
rc  libegl1-mesa-lts-vivid:amd64                10.5.9-2ubuntu1~trusty2                           amd64        free implementation of the EGL API -- runtime
ii  libgl1-mesa-dev                             10.1.3-0ubuntu0.6                                 amd64        free implementation of the OpenGL API -- GLX development files
ii  libgl1-mesa-dri:amd64                       10.1.3-0ubuntu0.6                                 amd64        free implementation of the OpenGL API -- DRI modules
rc  libgl1-mesa-dri-lts-vivid:amd64             10.5.9-2ubuntu1~trusty2                           amd64        free implementation of the OpenGL API -- DRI modules
rc  libgl1-mesa-dri-lts-vivid:i386              10.5.9-2ubuntu1~trusty2                           i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                       10.1.3-0ubuntu0.6                                 amd64        free implementation of the OpenGL API -- GLX runtime
ii  libgl1-mesa-glx:i386                        10.1.3-0ubuntu0.6                                 i386         free implementation of the OpenGL API -- GLX runtime
rc  libgl1-mesa-glx-lts-vivid:amd64             10.5.9-2ubuntu1~trusty2                           amd64        free implementation of the OpenGL API -- GLX runtime
rc  libgl1-mesa-glx-lts-vivid:i386              10.5.9-2ubuntu1~trusty2                           i386         free implementation of the OpenGL API -- GLX runtime
ii  libglapi-mesa:amd64                         10.1.3-0ubuntu0.6                                 amd64        free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                          10.1.3-0ubuntu0.6                                 i386         free implementation of the GL API -- shared library
rc  libglapi-mesa-lts-vivid:amd64               10.5.9-2ubuntu1~trusty2                           amd64        free implementation of the GL API -- shared library
rc  libglapi-mesa-lts-vivid:i386                10.5.9-2ubuntu1~trusty2                           i386         free implementation of the GL API -- shared library
rc  libgles1-mesa-lts-vivid:amd64               10.5.9-2ubuntu1~trusty2                           amd64        free implementation of the OpenGL|ES 1.x API -- runtime
ii  libgles2-mesa:amd64                         10.1.3-0ubuntu0.6                                 amd64        free implementation of the OpenGL|ES 2.x API -- runtime
ii  libgles2-mesa-dev                           10.1.3-0ubuntu0.6                                 amd64        free implementation of the OpenGL|ES 2.x API -- development files
rc  libgles2-mesa-lts-vivid:amd64               10.5.9-2ubuntu1~trusty2                           amd64        free implementation of the OpenGL|ES 2.x API -- runtime
ii  libglu1-mesa:amd64                          9.0.0-2                                           amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa:i386                           9.0.0-2                                           i386         Mesa OpenGL utility library (GLU)
ii  libglu1-mesa-dev                            9.0.0-2                                           amd64        Mesa OpenGL utility library -- development files
ii  libmirclientplatform-mesa:amd64             0.1.8+14.04.20140411-0ubuntu1                     amd64        Display server for Ubuntu - client platform library for Mesa
ii  libopenvg1-mesa:amd64                       10.1.3-0ubuntu0.6                                 amd64        free implementation of the OpenVG API -- runtime
ii  libwayland-egl1-mesa:amd64                  10.1.3-0ubuntu0.6                                 amd64        implementation of the Wayland EGL platform -- runtime
rc  libwayland-egl1-mesa-lts-vivid:amd64        10.5.9-2ubuntu1~trusty2                           amd64        implementation of the Wayland EGL platform -- runtime
ii  mesa-common-dev                             10.1.3-0ubuntu0.6                                 amd64        Developer documentation for Mesa
ii  mesa-utils                                  8.1.0-2                                           amd64        Miscellaneous Mesa GL utilities

編集:lspci -vは、「使用しているカーネルドライバ」が「i915_bpo」であることを示しています。これはi965になっていますか?

編集:以下はいくつかのクリーンアップされたglxinfo出力です。

name of display: :0
libGL error: pci id for fd 4: 8086:1916, driver (null)
i965_dri.so does not support the 0x1916 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
...
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
...
GLX version: 1.4
GLX extensions: 
...
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
OpenGL version string: 2.1 Mesa 10.1.3
OpenGL shading language version string: 1.30
OpenGL extensions:
...

編集:以下はフォーマットされたinxi出力です。

$ inxi -Gi
Graphics:  
Card: Intel Sky Lake Integrated Graphics
Display Server: X.Org 1.15.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: [email protected]
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) 
GLX Version: 2.1 Mesa 10.1.3

編集:より関連性の高い出力

$ lsmod | grep 'i9' 
i915_bpo             1138688  3 
intel_ips              20480  1 i915_bpo
i2c_algo_bit           16384  1 i915_bpo
drm_kms_helper        126976  1 i915_bpo
drm                   344064  4 i915_bpo,drm_kms_helper
video                  20480  1 i915_bpo

$ modinfo i915_bpo
filename:       /lib/modules/3.19.0-32-generic/kernel/ubuntu/i915/i915_bpo.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/skl_dmc_ver1.bin
srcversion:     55E14C24236445DE1BF5F67

編集:実際には、すべてのGL関連アプリケーションは特にGIMPで誤動作します。これは確かに私の古いドライバではありません。 ppaファイルを手動で削除しましたが、ppa-purgeも役に立ちませんでした。

ベストアンサー1

おすすめ記事