Bug 104540

Summary: Corrupted colors in OBS-Studio window capture
Product: Mesa Reporter: network723
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: lemody
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Corrupted colors

Description network723 2018-01-08 15:27:55 UTC
Created attachment 136614 [details]
Corrupted colors

I see corrupted colors when using obs-studio to record a video of a window. It used to work fine a week or two ago.

HW: Radeon HD7950
Kernel: 4.14.12
Mesa: git master commit 87efa71001d9a597304a2e8d7d63aaf1fa519056
LLVM: svn r321960
Comment 1 network723 2018-01-12 19:26:41 UTC

*** This bug has been marked as a duplicate of bug 104597 ***
Comment 2 Mario Kleiner 2018-01-17 02:44:40 UTC
Just to add a bit to this: Testing this also on Kubuntu 16.04.3 LTS in X default color depth 24 bit and running apitrace on obs showed nothing suspicious to me wrt. selection of fbconfigs and visuals, creation of framebuffers etc. Just regular 8 bpc fbconfigs. The color corruption did happen with the x-composite input plugin, but not with the xshm input plugin.

So the corruption seems to stem from the x-composite based grabbing/input side, not from the output/rendering/display side.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.