summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2490.toml
blob: 1f9a01c0765f3a85cc311b8c6de65e3121d3ad33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
id = 2490
title = "Windows: virtio-vga-gl no longer works with current virglrenderer version"
state = "closed"
created_at = "2024-08-07T17:18:47.267Z"
closed_at = "2024-08-13T00:56:19.245Z"
labels = ["device:graphics", "device:virtio", "hostos: Windows"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2490"
host-os = "Windows 10 22H2"
host-arch = "x86_64"
qemu-version = "8.2.50 (v8.2.0-rc0-1576-g574b64aa67-dirty)"
guest-os = "openSUSE Leap 15.3"
guest-arch = "x86_64"
description = """Error occurs, when executing QEMU with virtio-vga-gl device using current virglrenderer:
First the boot screen is shown as expected.
After a short while the screen shows and keeps showing "virtio-vga-gl: Display output is not active."
Console logs:
```
qemu: GtkGLArea console lacks DMABUF support.
qemu: GtkGLArea console lacks DMABUF support.
qemu: GtkGLArea console lacks DMABUF support.
qemu: GtkGLArea console lacks DMABUF support.
Realize gdk gl context failed: GL-Kontext kann nicht erstellt werden
Realize gdk gl context failed: GL-Kontext kann nicht erstellt werden
virtio_gpu_virgl_process_cmd: ctrl 0x103, error 0x1203
virtio_gpu_virgl_process_cmd: ctrl 0x103, error 0x1203
virtio_gpu_virgl_process_cmd: ctrl 0x103, error 0x1203
```"""
reproduce = """1. Prepare current Msys2/Ucrt64 environment including virglrenderer 1.0.1 by installing QEMU as described in https://www.qemu.org/download/#windows
2. `wget https://download.opensuse.org/distribution/leap/15.3/live/openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso`
3. `qemu-system-x86_64.exe -m 1024 -display gtk,gl=on -device virtio-vga-gl -cdrom openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso`"""
additional = """virglrenderer may use certain D3D features starting with virglrenderer 1.0.0, see https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1103 for details

Given virglrenderer >= 1.0.0, QEMU activates these D3D features since https://gitlab.com/qemu-project/qemu/-/commit/c1600f84ce011a056c9c432c8ad8d77f7f8b9e6f.

But the current QEMU implementation is broken when using these D3D features. 

git bisect finishes with:
```
574b64aa6754ba491f51024c5a823a674d48a658 is the first bad commit
commit 574b64aa6754ba491f51024c5a823a674d48a658
Author: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Date:   Mon Jan 29 10:39:21 2024 +0300

    virtio-gpu: Correct virgl_renderer_resource_get_info() error check

    virgl_renderer_resource_get_info() returns errno and not -1 on error.
    Correct the return-value check.

    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
    Message-Id: <20240129073921.446869-1-dmitry.osipenko@collabora.com>
    Cc: qemu-stable@nongnu.org
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

 contrib/vhost-user-gpu/virgl.c | 6 +++---
 hw/display/virtio-gpu-virgl.c  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
```"""