summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1346.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1346.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1346.toml45
1 files changed, 45 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1346.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1346.toml
new file mode 100644
index 00000000..bb48dab8
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1346.toml
@@ -0,0 +1,45 @@
+id = 1346
+title = "simulate x86_64 virtio-gpu-gl qemu report error"
+state = "opened"
+created_at = "2022-11-29T05:21:33.074Z"
+closed_at = "n/a"
+labels = ["device:graphics", "device:virtio"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1346"
+host-os = "(ubuntu 22.04)"
+host-arch = "(x86)"
+qemu-version = "(7.1.92)"
+guest-os = "(myos)"
+guest-arch = "(x86)"
+description = """when I run the below command, it can run ok, and myos can get the virtio-gpu feature,but it less 3d feature.
+   ```
+   ./qemu-system-x86_64 -nographic -M q35 -m 1024 -cpu Nehalem -smp 8 -kernel myos -device virtio-gpu
+   ```
+so I delete ```-nographic``` and modify the device to :
+```
+-device virtio-gpu-gl -display sdl,gl=on
+```
+but qemu tells me ERROR:
+```
+qemu-system-x86_64: ../ui/console-gl.c:105: surface_gl_update_texture: Assertion `gls' failed.
+```"""
+reproduce = "n/a"
+additional = """I modify the code qemu/ui/sdl2-gl.c function sdl2_gl_switch():
+
+`    
+#if 0
+if (is_placeholder(new_surface) && qemu_console_get_index(dcl->con)) {
+        qemu_gl_fini_shader(scon->gls);
+        scon->gls = NULL;
+        sdl2_window_destroy(scon);
+        return;
+    }
+#endif
+`
+and, qemu can run myos with ```-nographic```, and i can get 3d feature:
+   ```
+   ./qemu-system-x86_64 -nographic -M q35 -m 1024 -cpu Nehalem -smp 8 -kernel myos -device virtio-gpu-gl -display sdl,gl=on
+   ```
+
+I think there is something bug.
+
+thanks"""