@@ -20,7 +20,114 @@ This project uses the meson build system:
2020 $ cd build
2121 $ ninja install
2222
23+ How to use
24+ ----------
2325
26+ .. code-block :: sh
27+
28+ $ virgl_test_server --venus --no-fork --multi-clients \
29+ --use-egl-surfaceless --use-gles \
30+ --socket-path=/data/share/tmp/.virgl_test
31+
32+ Performance
33+ -----------
34+
35+ LLVM host:
36+
37+ .. code-block :: sh
38+
39+ $ glxgears -info
40+ GL_RENDERER = llvmpipe (LLVM 21.1.8, 128 bits)
41+ GL_VERSION = 4.5 (Compatibility Profile) Mesa 25.3.2
42+ GL_VENDOR = Mesa
43+ GL_EXTENSIONS = ...
44+ VisualID 979, 0x3d3
45+ 958 frames in 5.0 seconds = 191.490 FPS
46+ 983 frames in 5.0 seconds = 196.580 FPS
47+
48+ ZINK host:
49+
50+ .. code-block :: sh
51+
52+ $ glxgears -info
53+ GL_RENDERER = zink Vulkan 1.1(Mali-G76 (Driver Unknown))
54+ GL_VERSION = 2.1 Mesa 24.3.0-devel (git-c1567e9609)
55+ GL_VENDOR = Mesa
56+ GL_EXTENSIONS = ...
57+ VisualID 979, 0x3d3
58+ 1263 frames in 5.0 seconds = 252.593 FPS
59+ 1163 frames in 5.0 seconds = 232.317 FPS
60+
61+ virgl host:
62+
63+ .. code-block :: sh
64+
65+ $ glxgears -info
66+ GL_RENDERER = virgl (Mali-G76)
67+ GL_VERSION = 4.5 (Compatibility Profile) Mesa 25.3.2
68+ GL_VENDOR = Mesa
69+ GL_EXTENSIONS = ...
70+ VisualID 979, 0x3d3
71+ 780 frames in 5.0 seconds = 155.832 FPS
72+ 732 frames in 5.0 seconds = 146.298 FPS
73+
74+ virgl guest(lxc):
75+
76+ .. code-block :: sh
77+
78+ $ glxgears -info
79+ GL_RENDERER = virgl (Mali-G76)
80+ GL_VERSION = 3.2 (Compatibility Profile) Mesa 25.0.7-0ubuntu0.25.04.2
81+ GL_VENDOR = Mesa
82+ GL_EXTENSIONS = ...
83+ VisualID 979, 0x3d3
84+ 629 frames in 5.0 seconds = 125.653 FPS
85+ 604 frames in 5.0 seconds = 120.691 FPS
86+
87+ Venus
88+ -----
89+ .. code-block :: sh
90+
91+ $ vulkaninfo --summary
92+ Devices:
93+ ========
94+ GPU0:
95+ apiVersion = 1.1.82
96+ driverVersion = 104857607
97+ vendorID = 0x13b5
98+ deviceID = 0x72110000
99+ deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
100+ deviceName = Virtio-GPU Venus (Mali-G76)
101+
102+ fastfetch
103+ ---------
104+
105+ .. code-block :: sh
106+
107+ root@ubuntu:~ # fastfetch
108+ .... root@ubuntu
109+ .' ,:clooo: .:looooo:. -----------
110+ .;looooooooc .oooooooooo' OS: Ubuntu 25.04 aarch64
111+ . ; looooool:,' ' . :ooooooooooc Host: kirin980
112+ ; looool; . ' oooooooooo, Kernel: Linux 4.9.148-DreamConnected-All-in-One+
113+ ;clool' .cooooooc. ,, Uptime: 1 day, 16 hours, 38 mins
114+ ... ...... .:oo, Packages: 2384 (dpkg)
115+ . ; clol:,. .loooo' Shell: bash 5.2.37
116+ :ooooooooo, ' ooool Display (builtin): 1080x2310 @ 60 Hz
117+ ' ooooooooooo. loooo. Theme: Breeze [GTK2/3]
118+ ' ooooooooool coooo. Icons: breeze [GTK2/3/4]
119+ ,loooooooc. .loooo. Font: Noto Sans (10pt) [GTK2/3/4]
120+ .,;;; ' . ;ooooc Cursor: breeze (24px)
121+ ... ,ooool. Terminal: vt220
122+ .cooooc. ..' ,,' . .cooo. CPU: kirin980 (8) @ 2.60 GHz
123+ ;ooooo:. ;oooooooc. :l. GPU: Virtio-GPU Venus (Mali-G76) [Integrated]
124+ .coooooc,.. coooooooooo. Memory: 3.82 GiB / 5.53 GiB (69%)
125+ .:ooooooolc:. .ooooooooooo' Swap: 53.91 MiB / 6.00 GiB (1%)
126+ .' :loooooo; ,oooooooooc Disk (/): 39.44 GiB / 108.22 GiB (36%) - f2fs
127+ ..' ; ::c' .;loooo:' Local IP (eth0): 10.0.3.11/24
128+ Battery: 95% [Charging, AC Connected]
129+ Locale: en_US.UTF-8
130+
24131 Support
25132-------
26133
0 commit comments