Implement virtio-gpu 3D
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c
- Área
- backend, embedded-iot
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 316
- Forks
- 76
- Merge medio
- 7 h 1 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sysprog21/semu
-
Implement multi-core emulationAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Provide a Common Layer for semuAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Implement VirtIO PCI transport layerQuizá libre de nuevo @shengwen-tw la tomó hace 527 días y no hay ningún pull request abierto. Abierto
Todos los issues de sysprog21/semu
Issues similares
-
issue: bug report
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
BasedHardware/omi#26486 ·
Los mantenedores suelen responder en 1 día
-
The LLVM object can build before collection_config.h is generatedPosiblemente ocupada @Vonng la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
aws/pgcollection#51 ·
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
yugabyte/yugabyte-db#39462 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
libreswan/libreswan#3185 · 1 comentario ·
Los mantenedores suelen responder en 1 día