We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5544

Summary: Weird color tinting in Wayland
Product: SDL Reporter: gabriel.holodak <gabriel.holodak>
Component: videoAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.14   
Hardware: x86_64   
OS: Linux   
Attachments: reproduction code
expected result (x11)
actual result (wayland)

Description gabriel.holodak@gmail.com 2021-02-10 00:00:47 UTC
Created attachment 4785 [details]
reproduction code

When trying to render some grayscale values, I noticed this weird tinting/banding effect. The problem disappears when using XWayland/the "x11" video driver. Results are exactly the same with the software renderer.

Additional info:
I'm using Arch Linux with the Sway WM. GPU is a Radeon RX 5700 XT.
Comment 1 gabriel.holodak@gmail.com 2021-02-10 00:01:29 UTC
Created attachment 4786 [details]
expected result (x11)
Comment 2 gabriel.holodak@gmail.com 2021-02-10 00:01:51 UTC
Created attachment 4787 [details]
actual result (wayland)