dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
@ 2018-08-02 18:54 bugzilla-daemon
  2018-08-02 18:55 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-02 18:54 UTC (permalink / raw)
  To: dri-devel


[-- 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
@ 2018-08-02 18:55 ` bugzilla-daemon
  2018-08-03  7:36 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-02 18:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Drew DeVault <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.

Specifically the RX 550, that is.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1244 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
  2018-08-02 18:55 ` bugzilla-daemon
@ 2018-08-03  7:36 ` bugzilla-daemon
  2018-08-05 13:58 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-03  7:36 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harry.wentland@amd.com

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Please attach the corresponding dmesg output.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1859 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
  2018-08-02 18:55 ` bugzilla-daemon
  2018-08-03  7:36 ` bugzilla-daemon
@ 2018-08-05 13:58 ` bugzilla-daemon
  2018-08-06  9:02 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-05 13:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Drew DeVault <sir@cmpwn.com> ---
Sorry for the delay. I did the following:

dmesg -n debug
# Reproduce problem
dmesg -n info
# Examine dmesg

There was nothing new written to the log.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1143 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-08-05 13:58 ` bugzilla-daemon
@ 2018-08-06  9:02 ` bugzilla-daemon
  2018-08-06 12:32 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-06  9:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
I mean just the output of dmesg without any arguments, to see various
information about the initialization of the driver and the kernel in general.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1148 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-08-06  9:02 ` bugzilla-daemon
@ 2018-08-06 12:32 ` bugzilla-daemon
  2018-08-14 11:14 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-06 12:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Drew DeVault <sir@cmpwn.com> ---
Created attachment 140977
  --> https://bugs.freedesktop.org/attachment.cgi?id=140977&action=edit
dmesg.log

Gotcha. Log attached.

Also, I spoke with a friend using the same GPU, they are able to reproduce the
issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1320 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-08-14 11:14 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #140977|text/x-log                  |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1104 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-08-14 11:14 ` bugzilla-daemon
@ 2019-06-11  5:53 ` bugzilla-daemon
  2019-08-16 12:34 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2019-06-11  5:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from emersion <contact@emersion.fr> ---
sway users have reported this bug has been fixed in the latest kernel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 107459] Atomically set gamma ramps are not applied until TTY switch
  2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
                   ` (6 preceding siblings ...)
  2019-06-11  5:53 ` bugzilla-daemon
@ 2019-08-16 12:34 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2019-08-16 12:34 UTC (permalink / raw)
  To: dri-devel


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

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

emersion <contact@emersion.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-16 12:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-02 18:54 [Bug 107459] Atomically set gamma ramps are not applied until TTY switch bugzilla-daemon
2018-08-02 18:55 ` 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

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).