Xpra: Ticket #1553: high bit depth test application

For testing high bit depths. Can probably be done easily enough using opengl.

We'll need to make sure the low bits are used so we can visually see the difference. (running the test application at normal bit depth and high bit depth)


Tue, 11 Jul 2017 12:02:00 GMT - Antoine Martin: status changed

r16286 adds an example based on nvidia's 30-Bit Color Technology for NVIDIA Quadro docs, which does show some color banding using a 24-bit display configuration.

Wed, 12 Jul 2017 11:21:41 GMT - Antoine Martin: owner, status, milestone changed

r16301 adds a plain GTK example, which shows color banding, especially in the darker shades of grey.

It shows less banding on a 30 bit display, and identical results when running through xpra with --pixel-depth=30. Tested OK with Linux clients, but ms windows seems to be unable to render at 30 bit. We use the exact same code to upload the "r210" pixel data, yet the result shows banding. This may be a GTK limitation: running the examples (opengl or not) fails miserably on win32. The type of pixel data being uploaded to the graphics card can also be inspected via logging: with -d opengl client side, or see ticket:1309#comment:8

@maxmylin: feel free to just close.

Wed, 12 Jul 2017 18:28:46 GMT - J. Max Mena: status changed; resolution set


Test app looks neat.

Thu, 13 Jul 2017 15:26:34 GMT - Antoine Martin: attachment set

tool shown with clipping at 3bpc

Thu, 13 Jul 2017 15:26:43 GMT - Antoine Martin:

r16331 adds manual clipping of the bit depth we use for painting: hit any key to change it, it goes from 16 bpc down to 0 and warps. With this change and the improvements in ticket:1309#comment:8, it is now very easy to visually verify what bit depth is being rendered on the display (at least on Linux...) and easy to compare local and remote.

Screenshot: tool shown with clipping at 3bpc

Sat, 23 Jan 2021 05:27:29 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1553