diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2018-02-05 11:20:41 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-02-12 14:53:52 -0500 |
commit | 56547b196660e246e37132960723819972b99c8c (patch) | |
tree | 1c1c6351ced0c8c37358d5b8ba47dae4c1beaea1 /hw | |
parent | e96bd477395af3c2c3157ebda0f55ea4b672a114 (diff) |
glx: Only assign 8 bpc fbconfigs for composite visuals.
Commit 91c42093b248 ("glx: Duplicate relevant fbconfigs for
compositing visuals") adds many new depth 32 fbconfigs as
composite visuals. On a X-Screen running at depth 24, this
also adds bgra 10-10-10-2 fbconigs, as they also have
config.rgbBits == 32, but these are not displayable on a
depth 24 screen, leading to visually corrupted desktops
under some compositors, e.g., fdo bug 104597 "Compton
weird colors" when running compton with
"compton --backend glx".
Be more conservative for now and only select fbconfigs with
8 bpc red, green, blue components for composite visuals.
Fixes: 91c42093b248 ("glx: Duplicate relevant fbconfigs for
compositing visuals")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104597
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit bebcc8477c8070ade9dd4be7299c718baeab3d7a)
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions