[Bug 107459] Atomically set gamma ramps are not applied until TTY switch

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 2 18:54:13 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107459

            Bug ID: 107459
           Summary: Atomically set gamma ramps are not applied until TTY
                    switch
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: sir at cmpwn.com

When atomically setting gamma ramps on AMDGPU (specifically ), the changes
don't take effect until switching to another TTY and back again. Using the
legacy DRM interface works as expected.

To reproduce, build and run the rootston Wayland compositor:

https://github.com/swaywm/wlroots

We will shortly be merging this patch for a new gamma control protocol
extension, which you will need to apply if we haven't merged it by the time you
attempt it:

https://github.com/swaywm/wlroots/pull/1157

An sample program will be available in the build directory,
./examples/gamma-control, which can adjust gamma. By default this will use the
atomic interface, set WLR_DRM_NO_ATOMIC=1 before starting rootston to use the
legacy interface. Our atomic gamma code is here:

https://github.com/swaywm/wlroots/blob/master/backend/drm/atomic.c#L199-L230

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180802/af687452/attachment.html>


More information about the dri-devel mailing list