-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deep colour support (10-bit colour) #909
Comments
Neither Xvfb nor Xdummy support bpp higher than 24/32 at present.
And in the code we see:
So this driver would require some work (not sure how much) to support anything other than 24 / 32. Until then, we could support such modes by running against a real X11 server instead of a virtual one, but this would limit us to one session per GPU at best... As for the xpra code itself, the pixel compression would not be too much of a problem (I think vp9 supports 10bpp and even alpha channels) - though the client would require some work to take advantage of the extra colours depth. |
Maybe we can add support for this using desktop mode (#1247), this would at least ensure that we can handle those pixels formats in both server and client code before we add support for it in Xvfb or the dummy driver. AFAICT, even though png supports 48-bit colour, there is no support for it in pillow, see: Creating a 48-bit TIFF file in Python with PIL, so we will need another encoder even the simplest case.. |
2016-07-12 15:41:18: lapsio commented
|
See #1260 and Anandtech: NVidia Pascal - Display Matters: New Display Controller, HDR, & HEVC: For Pascal, NVIDIA is opening things up a bit more, but they are still going to keep the most important aspect of that feature differentiation in place. 10bit color is being enabled for fullscreen exclusive OpenGL applications – so your typical OpenGL game would be able to tap into deeper colors and HDR – however 10bit OpenGL windowed support is still limited to the Quadro cards. So professional users will still need Quadro cards for 10bit support in their common applications. For enabling 30-bit output: How to Enable 30-bit color on Linux |
Initial support for "r210" added in r13741, tested with a shadow server. Still TODO:
Later:
|
2016-09-16 07:37:06: antoine uploaded file
|
2016-09-16 07:37:32: antoine uploaded file
|
Still TODO:
|
2016-09-16 10:34:55: antoine uploaded file
|
Running in 30-bit mode now only requires changing the @lapsio / rektide: does that work for you? (will continue improving this in future releases, see ticket links from comment:7) |
The patch in comment:8 was incomplete, updated version in r13785 also sent to the mailing list. |
See also: #56#comment:22 |
Relevant talk: Linux and high dynamic range displays |
Relevant X11 discussion: RFC: Visual Class for On-Screen HDR Drawables |
As of r15028, the display's bit depth will be shown in the server output (here with 30-bit):
The client bit depth is now also displayed, see #1309#comment:1 |
r15072 makes it possible to use jpeg and png by downsampling the original 30-bit image. That's only used if we have no other choice. |
New wiki page and command line option to switch bit depth, see Image Depth |
The dummy patch has been merged: PATCH: support for 30 bit depth in dummy driver |
Issue migrated from trac ticket # 909
component: encodings | priority: trivial | resolution: fixed | keywords: color, 10bpc, 30bit, deep color
2015-07-07 15:57:31: lapsio created the issue
The text was updated successfully, but these errors were encountered: