Mesa crocus ドライバは Debian では使用されません

Mesa crocus ドライバは Debian では使用されません

私はIntel Corporation HD Graphics 5500(rev 09)が搭載されたi7-5500Uチップ(第5世代という意味だと思います)を持っています。私は不安定なDebianバージョンを使用しており、libgl1-mesa-driパッケージは数週間前に21.3.8-1から22.1.3-1に更新されました。この時点で/usr/lib/x86_64-linux-gnu/dri/i915_dri.soドライバが消え、GNOME Shellのパフォーマンスが低下しました。libgl1-mesa-dri問題を解決するために、バージョン(およびいくつかの関連パッケージ)を21.3.8-1に修正することにしました。しかし、現在、ますます多くのパッケージがアップグレードに失敗しており、crocusこのチップに合ったドライバであるように見える新しいドライバに切り替えて問題を正しく解決しようとしています。

適切なピン設定を削除し、パッケージのアップグレードが完了したら、crocusドライバ共有オブジェクトが/usr/lib/x86_64-linux-gnu/dri/crocus_dri.so

環境変数を設定し、MESA_LOADER_DRIVER_OVERRIDE=crocusその環境にこの変数があることを/etc/environment確認しました。gnome-shell

$ cat /proc/{pid}/environ | tr '\0' '\n'|grep MESA
MESA_LOADER_DRIVER_OVERRIDE=crocus

しかし、私のGNOME Shellはまだパフォーマンスが低下しており、何でもレンダリングする必要があるたびにCPUスパイクが発生します。

明らかに、まだソフトウェアレンダリングを使用していることがわかります。

$ glxinfo | grep -i opengl
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 14.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.1.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.1.3
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

$ LIBGL_DEBUG=verbose glxgears
libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/user/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/user/.drirc: No such file or directory.

コマンドラインで実行glxinfoまたは設定すると、glxgears同じ結果が表示されます。MESA_LOADER_DRIVER_OVERRIDE=crocus

GNOMEシェルが起動すると、次のログメッセージが表示されます。

gnome-shell[914]: Running GNOME Shell (using mutter 42.2) as a Wayland display server
gnome-shell[914]: Device '/dev/dri/card0' prefers shadow buffer
gnome-shell[914]: Added device '/dev/dri/card0' (i915) using atomic mode setting.
gnome-shell[914]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
gnome-shell[914]: libEGL warning: egl: failed to create dri2 screen
gnome-shell[914]: libEGL warning: egl: failed to create dri2 screen
gnome-shell[914]: Created gbm renderer for '/dev/dri/card0'
gnome-shell[914]: Boot VGA GPU /dev/dri/card0 selected as primary
gnome-shell[914]: Initialized single buffered shadow fb for HDMI-1
gnome-shell[914]: Initialized single buffered shadow fb for eDP-1
gnome-shell[914]: Disabling DMA buffer screen sharing (not hardware accelerated)
gnome-shell[914]: Using public X11 display :0, (using :1 for managed services)
gnome-shell[914]: Using Wayland display name 'wayland-0'

しかし、私はこれが私に何を言っているのかわかりませんでした。

それでは、私のGPUでMesaドライバをどのように使用できますかgnome-shell?それとも、GPUのハードウェアアクセラレーションが再び正しく機能するようにするcrocus別の方法がありますか?gnome-shell

ベストアンサー1

おすすめ記事