vainfo can't initialize any display in Ubuntu 24.04 with version 2.22.0 over SSH
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- c, linux, ubuntu
- 領域
- cli, operating-systems
調査の方向性
まず、Ubuntu 24.04 上でバージョン 2.22.0 と 2.12.0 を使用し、必要に応じてリンク先のテスト用 PPA を使って、記載されている vainfo の呼び出しを SSH 経由で再現します。ディスプレイ初期化の結果を比較し、2.22.0 の動作がリグレッションかどうかを判断します。完了とは、原因と期待される動作が確立され、修正がある場合は適切なテストでカバーされていることを意味します。
索引モデルが issue の本文から書いたものです。
説明
Hello! I'm currently trying to bump the media stack for LNL and BMG support in Ubuntu 24.04, and I'm running into some issues after updating vainfo
### Install version 2.22.0 ###
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ vainfo
Trying display: wayland
Trying display: x11
error: can't connect to X server!
error: failed to initialize display
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Trying display: x11
error: can't connect to X server!
error: failed to initialize display
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo --display drm
error: failed to initialize display 'drm'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo --display wayland
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: failed to initialize display 'wayland'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ vainfo --display wayland
Trying display: wayland
error: failed to initialize display 'wayland'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ vainfo --display drm
error: failed to initialize display 'drm'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ DISPLAY=:0 vainfo --display drm
error: failed to initialize display 'drm'
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ DISPLAY=:0 sudo vainfo --display wayland
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: failed to initialize display 'wayland'
### Install version 2.12.0 (24.04 current latest) ###
ubuntu@hp-elitebook-830-g8-notebook-pc-c29207:~/checkbox-media$ sudo vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.3.4 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointEncSlice
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointEncSlice
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain422_12 : VAEntrypointEncSlice
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
Is this working as expected in 2.22.0, or is this a regression?
For your convenience, here is my test PPA for updating the graphics stack in 24.04:
https://launchpad.net/~mckeesh/+archive/ubuntu/testing
To use it, you can run the following:
sudo add-apt-repository ppa:mckeesh/testing
sudo apt update
sudo apt upgrade -y intel-media-va-driver-non-free libva2 libigdgmm12 vainfo
- 主要言語
- C
- スター
- 244
- フォーク
- 175
- 平均マージ
- 9日 7時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intel/libva-utils のほかの issue
-
av1encode: reference_frames[2..7] left as surface 0 (memset only covers 8 bytes)対応中かも @0z5a が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
intel/libva-utils#390 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
intel/libva-utils#387 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
intel/libva-utils#378 · コメント 6 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
intel/libva-utils#376 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
intel/libva-utils#366 · コメント 3 件 ·
intel/libva-utils の issue をすべて見る
似ている issue
-
ecs_ptr_from_json does not free the buffer of a string longer than 256 bytes on two error pathsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SanderMertens/flecs#2444 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Cisco-Talos/clamav#1941 ·
メンテナーはふだん 2 日以内に返信
-
Status: Opened
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
espressif/esp-eth-drivers#201 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
libsdl-org/SDL#16788 ·
メンテナーはふだん 1 日以内に返信