Bug Report Regression: Rocket League capture too dark

ATFx

New Member
After updating from 22.0.2 to 23.0.1 on Manjaro Linux, OBS no longer correctly captures Rocket League correctly. The brightness is too dark (see attached screenshots).
This affects "Window Capture (Xcomposite)". It does not affect "Screen Capture (XSHM)". This also does not appear to affect all games.

This was replicated on 2 different systems (both running the latest Manjaro Linux): one uses Intel + Nvidia Gtx 970, the other uses AMD Threadripper + Nvidia 1080ti.

I did a bit of a deep dive to aid in pinpointing this regression. I performed the following git bisect to discover the first commit in which this issue occurs. Hope this helps!

Known good commit: 62cd0e8759cdd7abb699fdf5fd122884ce0fbe42
Known bad commit: f2d7f5b2e713266138df656121da35ff89407991


b1: b09880bf2d6af2de0dc8959681e26edb69be31be - BAD
b2: 8b936a1575bda91813f8746338319604195b99db - GOOD
b3: 03cca9d95a5b69b30be7947bcdb206831e7ab2b8 - GOOD (ORANGE)
b4: be2b46c43134e992deb23ca44836ff343ed11cf7 - GOOD
b5: 62935bfef9b598a8cad243bb73fd85a988a2a113 - BAD
b6: c9612983e6a3919bfd379260d4db2b10bbd0ebf9 - GOOD
b7: 7246caae0fc25346067d84e9126ded51bf686f18 - GOOD (ORANGE)
b8: e7fcd71715aff787a0a89fb6a9f4a20fe798f585 - BAD
b9: bb42c8dfb608da944875cb6370c3fc03da0f39af - BAD



bb42c8dfb608da944875cb6370c3fc03da0f39af is the first bad commit
commit bb42c8dfb608da944875cb6370c3fc03da0f39af
Author: Philip Haynes <singularity.haynes@gmail.com>
Date: Mon Oct 8 12:18:40 2018 -0500

linux-capture: XCompCap now chooses glXFBConfigs based on window depth

Rather than inheriting the exact visuals from the window,
find whether the color buffer has alpha, find a config with
the necessary attributes for capture, and match its depth to
the depth of the window instead of the color buffer. Also,
cleanup glxpixmap texture binding before destroying the texture.

Update: Style conformancy changes

:040000 040000 32ea382cce5aede817fdc9ba54851e236a779213 d98f71f2d4ce029652f0a5a8cdbfdf30c008ca75 M plugins
 

Attachments

  • BeforeUpdateVersion22.0.png
    BeforeUpdateVersion22.0.png
    556.7 KB · Views: 85
  • AfterUpdateto23.0.png
    AfterUpdateto23.0.png
    505.1 KB · Views: 87
Last edited:

liamdawe

New Member
FYI I had this same issue, it seems to be transparency. If you tick both swap red and blue, as well as use alpha-less texture format it should fix it.
 

ATFx

New Member
FYI I had this same issue, it seems to be transparency. If you tick both swap red and blue, as well as use alpha-less texture format it should fix it.
This surprisingly worked, Just got the New Obs 23.2.0,still not fixed but this workaround works. :) Thank you Liam, I enjoy your Gaming On Linux Articles.
 
Top