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 108917] gamma adjustments cause stuttering with amdgpu.dc=1, especially problematic with RedShift etc.
Date: Sat, 01 Dec 2018 23:43:25 +0000	[thread overview]
Message-ID: <bug-108917-502@http.bugs.freedesktop.org/> (raw)


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

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

            Bug ID: 108917
           Summary: gamma adjustments cause stuttering with amdgpu.dc=1,
                    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=142685&action=edit
xorg log

With amdgpu.dc=1, there is stuttering in the moment when gamma adjustments are
getting applied. This is not the case with amdgpu.dc=0, it is entirely free 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 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 RedShift
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). But
you should already notice that even moving windows etc. is stuttery, especially
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.

[-- Attachment #1.2: Type: text/html, Size: 3718 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-12-01 23:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-01 23:43 bugzilla-daemon [this message]
2018-12-01 23:44 ` [Bug 108917] gamma adjustments cause stuttering with amdgpu.dc=1, especially problematic with RedShift etc bugzilla-daemon
2018-12-03  2:59 ` bugzilla-daemon
2018-12-03  8:42 ` bugzilla-daemon
2018-12-03  9:47 ` bugzilla-daemon
2018-12-03  9:47 ` bugzilla-daemon
2018-12-03 15:33 ` bugzilla-daemon
2018-12-03 20:49 ` bugzilla-daemon
2018-12-17 14:30 ` bugzilla-daemon
2019-01-16 20:57 ` bugzilla-daemon
2019-03-19 16:44 ` bugzilla-daemon
2019-03-19 16:47 ` bugzilla-daemon
2019-03-19 18:16 ` bugzilla-daemon
2019-04-19 14:18 ` bugzilla-daemon
2019-06-27 11:02 ` bugzilla-daemon
2019-06-27 14:01 ` bugzilla-daemon
2019-06-27 19:22 ` bugzilla-daemon
2019-09-11 13:36 ` bugzilla-daemon
2019-11-19  9:06 ` 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-108917-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).