Implement virtio-gpu 3D
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- backend, embedded-iot
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 316
- Fork
- 76
- Merge trung bình
- 7 giờ 1 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sysprog21/semu
-
Implement multi-core emulationĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Provide a Common Layer for semuĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Implement VirtIO PCI transport layerCó thể làm lại được @shengwen-tw đã nhận 527 ngày trước và không có pull request nào đang mở. Đang mở
Tất cả issue của sysprog21/semu
Issue tương tự
-
issue: bug report
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
BasedHardware/omi#26486 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The LLVM object can build before collection_config.h is generatedCó thể đã có người làm @Vonng đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
aws/pgcollection#51 ·
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
yugabyte/yugabyte-db#39462 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
libreswan/libreswan#3185 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày