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 - Weird color tinting in Wayland
Summary: Weird color tinting in Wayland
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.14
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 00:00 UTC by gabriel.holodak@gmail.com
Modified: 2021-02-10 00:01 UTC (History)
0 users

See Also:


Attachments
reproduction code (1.26 KB, text/x-csrc)
2021-02-10 00:00 UTC, gabriel.holodak@gmail.com
Details
expected result (x11) (2.70 KB, image/png)
2021-02-10 00:01 UTC, gabriel.holodak@gmail.com
Details
actual result (wayland) (2.80 KB, image/png)
2021-02-10 00:01 UTC, gabriel.holodak@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
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)