Files
reims-vgpu/docs
Anees Iqbal e75c72b731 🐛 Write QMP's PPM screendumps without row padding
A screendump of a display whose width is not a multiple of 4, such as
reims-graphics-pci's window of 3662 x 2039 pixels on a host scaled by 2.1,
read back sheared by 2/3 of a pixel a row, with a dark diagonal seam and
its colours rotating from row to row (grey once scaled down). The display,
its window, VNC and SPICE were right, and so was a PNG screendump: QEMU's
ppm_save wrote each row with its pixman line buffer's stride, which is
rounded up to 4 bytes, where a PPM's rows are width * 3 bytes.

vendor/qemu moves to 23198e4b79, which writes width * 3 bytes a row, with
a qtest that dumps bochs-display at widths of 64, 66 and 67.
2026-11-07 05:19:23 -08:00
..