XLookupColor xtest fails for StaticGray at depth 8 with rgbBits > 8
@aplattner
Submitted by Aaron Plattner Assigned to Aaron Plattner @aplattner
Description
NVIDIA Quadro cards have 10 bits per channel in the colormaps. This causes the XLookupColor test in the xtest suite to fail:
--- Testing with supported visual class StaticGray XLookupColor return RGB values r 19666 g 19666 b 19666 instead of r 19538 g 19538 b 19538.
This problem can be reproduced with the vesa driver by setting pScrn->rgbBits to 10 in VESAPreInit.
Version: git