Framebuffer capture with VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME does not work
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- c, linux
- 領域
- api, audio-video-rtc
調査の方向性
まず、Intel Iris Xe システムで、VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME を指定した報告済みの ffmpeg kmsgrab コマンドを再現します。報告に記載されている Debian 12、Ubuntu 23.10、およびそれ以前の Ubuntu 環境で、キャプチャされた出力と framebuffer の処理を比較します。キャプチャによって、古いメモリ内容や情報漏えいなしに正しい画像が生成されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem:
Framebuffer capture with VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME does not work. I have tried this with a simple implementation, but ffmpeg is a better way to reproduce the issue.
The captured frames have some parts of the real picture with pixel soup on top and parts of readable text from previous bash sessions and other stuff.
It seems a wrong part of memory is used as the framebuffer, which also leaks information from memory.
I don't know if this is a bug or unsupported usage of libva, but it was working in an older version of Ubuntu.
Command used:
ffmpeg -crtc_id 42 -framerate 60 -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,scale_vaapi=w=1920:h=1080:format=nv12' -c:v h264_vaapi output.mp4 (with replaced crtc_id)
Hardware:
Intel Iris Xe Graphics (TigerLake-LP GT2) laptop
OS versions with different versions of the software stack (including kernel):
Debian 12 bookworm fresh install not working
Ubuntu 23.10 upcoming LTS fresh install not working
An older Ubuntu LTS live dvd (with XOrg instead of Xwayland and the oldest software versions) working
all with intel-media-va-driver-non-free
- 主要言語
- C
- スター
- 793
- フォーク
- 318
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intel/libva のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
registry_packageオープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
似ている issue
-
backlog
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
EchoTools/nevr-runtime#454 ·
メンテナーはふだん 1 日以内に返信
-
initramfs: -type f (#18686) skips the libcurl.so.4 symlink, libcurl no longer copied into initramfsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
common/json_parse: json_to_bitcoin_amount fails to detect overflow and accepts negative/empty inputs対応中かも @bhuvan-somisetty が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ElementsProject/lightning#9617 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
zephyrproject-rtos/zephyr#121795 ·
メンテナーはふだん 2 日以内に返信