Xpra: Ticket #1577: add 10 bit formats to virtualgl

Follow up from #1309.

Without this, it is quite difficult to use the 10 bpc mode. You get with glxgears:

Error: couldn't get an RGB, Double-buffered visual

AFAICT, this shouldn't be too hard: we don't want anything fancy, no compression support.



Thu, 20 Jul 2017 17:06:25 GMT - Antoine Martin: status, milestone changed

Worth a try, may not be too hard.


Fri, 28 Jul 2017 09:34:07 GMT - Antoine Martin: attachment set

patch with debug which adds 30bpc to the X11 transport


Fri, 28 Jul 2017 09:34:22 GMT - Antoine Martin: attachment set

minimal patch


Fri, 28 Jul 2017 09:40:40 GMT - Antoine Martin:

The patch above applies cleanly to current virtualgl 2.5.3 and allows us to forward "r210" pixel data as GL_RGB10_A2 / GL_UNSIGNED_INT_2_10_10_10_REV.

Tested with #1553 and the commands:

The changes in banding are very noticeable when going from 10 down to 8.

Edit: made a pull request for upstream.


Tue, 24 Oct 2017 16:11:13 GMT - Antoine Martin:

Latest comment: This unfortunately required more in-depth modifications to VirtualGL, which led me down the rabbit hole of overhauling all of the horribly outdated pixel format and conversion stuff. I should have it checked in by the end of this week.


Thu, 26 Oct 2017 04:36:42 GMT - Antoine Martin: status changed; resolution set

Merged: This has been implemented in the dev branch.


Sat, 23 Jan 2021 05:28:11 GMT - migration script:

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