dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
Date: Thu, 02 Aug 2018 18:54:13 +0000	[thread overview]
Message-ID: <bug-107459-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1454 bytes --]

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@lists.freedesktop.org
          Reporter: sir@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.

[-- Attachment #1.2: Type: text/html, Size: 2937 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-08-02 18:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-02 18:54 bugzilla-daemon [this message]
2018-08-02 18:55 ` [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
2018-08-03  7:36 ` bugzilla-daemon
2018-08-05 13:58 ` bugzilla-daemon
2018-08-06  9:02 ` bugzilla-daemon
2018-08-06 12:32 ` bugzilla-daemon
2018-08-14 11:14 ` bugzilla-daemon
2019-06-11  5:53 ` bugzilla-daemon
2019-08-16 12:34 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107459-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).