blob: 99b3aa6cb97a9a1e130c18b6d4a4c16f643c7a4e (
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
|
graphic: 0.911
device: 0.845
instruction: 0.629
network: 0.610
semantic: 0.555
vnc: 0.421
mistranslation: 0.357
socket: 0.352
other: 0.348
boot: 0.326
KVM: 0.243
assembly: 0.155
virtgpu does not return error for misconfigured virgl command
Description of problem:
When ```virgl_renderer_submit_cmd``` reports error, cmd->error should be set. Otherwise driver cannot know if there is error.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/display/virtio-gpu-virgl.c?ref_type=heads#L233
Probably 0x1200 (unspec) or 0x1205 (invalid param) should return as error.
If there is problem in cmd virgl freezes drawing window.
Steps to reproduce:
1. Send misformated command to virgl over vgpu device
2.
3.
Additional information:
Misformated 3d commands stops opengl's drawings. Without returning error we cannot know any error, hence we cannot reset vgpu.
|