xpra icon
Bug tracker and wiki

Opened 4 weeks ago

Closed 8 days ago

Last modified 7 days ago

#1553 closed enhancement (fixed)

high bit depth test application

Reported by: Antoine Martin Owned by: J. Max Mena
Priority: major Milestone: 2.1
Component: encodings Version: trunk
Keywords: Cc:


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)


Attachments (1)

color-gradient-3bpc.png (26.6 KB) - added by Antoine Martin 7 days ago.
tool shown with clipping at 3bpc

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 days ago by Antoine Martin

Status: newassigned

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.

comment:2 Changed 8 days ago by Antoine Martin

Milestone: 2.22.1
Owner: changed from Antoine Martin to J. Max Mena
Status: assignednew

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.

Last edited 8 days ago by Antoine Martin (previous) (diff)

comment:3 Changed 8 days ago by J. Max Mena

Resolution: fixed
Status: newclosed


Test app looks neat.

Changed 7 days ago by Antoine Martin

Attachment: color-gradient-3bpc.png added

tool shown with clipping at 3bpc

comment:4 Changed 7 days ago by 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.

tool shown with clipping at 3bpc

Note: See TracTickets for help on using tickets.