Implement virtio-gpu 3D
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- backend, embedded-iot
調査の方向性
Start with the existing 2D implementation in virtio-gpu-sw.c and the backing memory and reset entry points in virtio-gpu-sw.c and virtio-gpu.c cited in the issue. Then trace how the VirtIO GPU backend, renderer, and display handle resources and completion. Done means guest Linux applications such as glxgears and glmark2 use VirGL successfully, with resource lifetimes and shutdown covered by smoke tests and usage instructions.
索引モデルが issue の本文から書いたものです。
説明
Implement virtio-gpu 3D
We previously implemented vgpu 2d. To make better use of virtio-gpu, the next step should be to implement vgpu 3d.
With VirGL and virglrenderer, we want OpenGL applications in guest Linux to submit 3D commands to the host GPU for execution, then display the resulting images in semu's window. This requires connecting the guest's 3D acceleration and image presentation paths so that applications such as glxgears and glmark2 can actually use VirGL.
The main work includes:
- Integrate the VirGL backend and support 3D commands, including capability negotiation, creation and destruction of
contextandresourceobjects, command submission, and data transfer between the guest and the renderer. The capabilities exposed to the guest also need to match what the backend actually supports. - Handle asynchronous completion, including
fence, renderer polling, query results, and guest completion notifications, so that commands that must wait are answered only after the corresponding work is complete. - Manage the lifetimes of backing memory and resources, covering attachment, detachment, unreferencing, reset, and shutdown. When the guest requests that a resource be released, check whether the renderer and display are still using the associated memory before completing the handoff.
- For the existing backing memory access and reset entry points, see virtio-gpu-sw.c:1048-1051 and virtio-gpu.c:827-850.
- Integrate GPU image presentation so that completed frames can be passed to the display, avoiding CPU readback and re-uploading during normal presentation. This also requires synchronization between rendering and display, as well as retaining resources while frames are in use.
- Prepare rebuildable graphics guest images and usage instructions. Start with smoke tests using applications such as
glxgearsandglmark2to confirm that they actually use the VirGL path, and check behavior during continuous rendering, application exit, and guest shutdown.
- 主要言語
- C
- スター
- 316
- フォーク
- 76
- 平均マージ
- 7時間 1分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sysprog21/semu のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
Implement VirtIO PCI transport layer再び着手できるかも @shengwen-tw が 527 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
似ている issue
-
issue: bug report
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
BasedHardware/omi#26486 ·
メンテナーはふだん 1 日以内に返信
-
The LLVM object can build before collection_config.h is generated対応中かも @Vonng が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
aws/pgcollection#51 ·
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
yugabyte/yugabyte-db#39462 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
libreswan/libreswan#3185 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信