xpra icon
Bug tracker and wiki

Version 3 (modified by Antoine Martin, 5 months ago) (diff)

--

Image Depth


Usage

Starting with version 2.0, you can simply specify which pixel bit depth you want to use when starting a session:

xpra start --pixel-depth=30

The "start" command supports bit depths 16,24 and 30. The "start-desktop" command supports 8,16,24 and 30.

Note: transparency is supported in 24-bit mode, which is in effect a 32-bit mode.

Limitations

  • 30-bit rendering is only supported in the opengl enabled client (the operating system and display must be configured for deep colour support), with opengl disabled the data will always be downsampled
  • only the "rgb" encoding will preserve high bit depth at present
  • the other encodings will downsample 30-bit to 24-bit before compression
  • 16-bit mode has no native encoders and so the pixels are upsampled to 24-bit before compression which is wasteful
  • 8-bit mode is not optimized

Links

  • #1445: 8-bit server support
  • #1315: 16-bit server support
  • #909: 30-bit server support
  • #1309: 30-bit client support
  • #1441: EXR codec with 30-bit
  • #1310: vpx support for 30-bit
  • #1308: nvenc support for 30-bit