From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 107459] Atomically set gamma ramps are not applied until TTY
switch
Date: Thu, 02 Aug 2018 18:54:13 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1857543532=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id A4C106E617
for ; Thu, 2 Aug 2018 18:54:13 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1857543532==
Content-Type: multipart/alternative; boundary="15332360530.92D2AaDcb.5367"
Content-Transfer-Encoding: 7bit
--15332360530.92D2AaDcb.5367
Date: Thu, 2 Aug 2018 18:54:13 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D107459
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=3D1 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
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15332360530.92D2AaDcb.5367
Date: Thu, 2 Aug 2018 18:54:13 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| 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/wlr=
oots
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=3D1 before starting rootston to use=
the
legacy interface. Our atomic gamma code is here:
https://github.com/swaywm/wlroots/blob/master/backend/drm/ato=
mic.c#L199-L230
You are receiving this mail because:
- You are the assignee for the bug.
=
--15332360530.92D2AaDcb.5367--
--===============1857543532==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1857543532==--