From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108917] gamma adjustments cause stuttering with amdgpu.dc=1, especially problematic with RedShift etc. Date: Sat, 01 Dec 2018 23:43:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1181892926==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 69C796E0F6 for ; Sat, 1 Dec 2018 23:43:27 +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 --===============1181892926== Content-Type: multipart/alternative; boundary="15437078070.aBf6Ef6.30994" Content-Transfer-Encoding: 7bit --15437078070.aBf6Ef6.30994 Date: Sat, 1 Dec 2018 23:43:27 +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=3D108917 Bug ID: 108917 Summary: gamma adjustments cause stuttering with amdgpu.dc=3D1, especially problematic with RedShift etc. Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: tempel.julian@gmail.com Created attachment 142685 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142685&action=3Dedit xorg log With amdgpu.dc=3D1, there is stuttering in the moment when gamma adjustment= s are getting applied. This is not the case with amdgpu.dc=3D0, it is entirely fr= ee of stutter. Both RedShift and Gnome night light in Xorg session show the very same behavior: When "nightmode" is getting turned on with a transition effect, there is se= vere stuttering going on. The same is the case in the opposite direction when turning nightmode off again. It's also very problematic that the stutter is ongoing, as tools like RedSh= ift in dynamic mode constantly adjust color temperature as the night progresses. There is stutter happening every few seconds because of that. To reproduce, simply start e.g. RedShift in dynamic mode with "redshift -t 4500:4500 -l 1:1". The stutter can be easily observed when looking at the animation of www.vsynctester.com in Chromium, which should be absolutely free of stutter without gamma adjustment (perhaps set CPU clock governor to performance). B= ut you should already notice that even moving windows etc. is stuttery, especi= ally during transition effect. As a workaround, one might want to use "oneshot" mode of RedShift, e.g. "redshift -O 4500". This applies a gamma adjustment just once and thus prev= ents further stuttering. But that's not how the usage of such tools usually is intended. linux-drm-next-4.21-wip-6b456d7e60007022d91c701c00c76cdfa8774eaf xorg-server 1.20.3 gnome 3.30.1 both modesetting and xf86-video-amdgpu-git 18.1.0.20 DDX driver --=20 You are receiving this mail because: You are the assignee for the bug.= --15437078070.aBf6Ef6.30994 Date: Sat, 1 Dec 2018 23:43:27 +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 108917
Summary gamma adjustments cause stuttering with amdgpu.dc=3D1, especi= ally problematic with RedShift etc.
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter tempel.julian@gmail.com

Created attachment 142685 [detai=
ls]
xorg log

With amdgpu.dc=3D1, there is stuttering in the moment when gamma adjustment=
s are
getting applied. This is not the case with amdgpu.dc=3D0, it is entirely fr=
ee of
stutter.

Both RedShift and Gnome night light in Xorg session show the very same
behavior:
When "nightmode" is getting turned on with a transition effect, t=
here is severe
stuttering going on. The same is the case in the opposite direction when
turning nightmode off again.

It's also very problematic that the stutter is ongoing, as tools like RedSh=
ift
in dynamic mode constantly adjust color temperature as the night progresses.
There is stutter happening every few seconds because of that.

To reproduce, simply start e.g. RedShift in dynamic mode with "redshif=
t -t
4500:4500 -l 1:1".
The stutter can be easily observed when looking at the animation of
www.vsynctester.com in Chromium, which should be absolutely free of stutter
without gamma adjustment (perhaps set CPU clock governor to performance). B=
ut
you should already notice that even moving windows etc. is stuttery, especi=
ally
during transition effect.

As a workaround, one might want to use "oneshot" mode of RedShift=
, e.g.
"redshift -O 4500". This applies a gamma adjustment just once and=
 thus prevents
further stuttering. But that's not how the usage of such tools usually is
intended.

linux-drm-next-4.21-wip-6b456d7e60007022d91c701c00c76cdfa8774eaf
xorg-server 1.20.3
gnome 3.30.1
both modesetting and xf86-video-amdgpu-git 18.1.0.20 DDX driver


You are receiving this mail because:
  • You are the assignee for the bug.
= --15437078070.aBf6Ef6.30994-- --===============1181892926== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1181892926==--