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: Wed, 11 Sep 2019 13:36:51 +0000	[thread overview]
Message-ID: <bug-108917-502-W4YDGvHBST@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-108917-502@http.bugs.freedesktop.org/>


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

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

--- Comment #15 from tempel.julian@gmail.com ---
To clarify: There is no connection to any compositor. You can also reproduce
the issue with any desktop environment where you can disable the compositor.
Instead of using a compositor then, simply enable TearFree and run "redshift -t
4500:4500 -l 1:1".
-> It still makes everything stutter. And not just with cursor input, it
affects the whole screen content without further doing. Just look at your
browser window content of www.vsnctester.com, scroll on any webpage or play a
video: The stutter should always be noticeable.
The commit "drm/amd/display: Allow cursor async updates for framebuffer swaps"
has not changed the situation.

I can't explain why this issue was less distinct with some 5.1 kernel versions.
Anyway: It's back to "really stuttery" since 5.2.

---

Is this perhaps because userspace uses legacy gamma adjustment instead of new
atomic infrastructure? In that case, it would seem unrealistic to expect it to
adopt to the new infrastructure if not even Gnome Nightlight on Wayland uses
it. So a performance fix for legacy gamma adjustments would be highly welcome
(if my assumptions apply ;) ).

I also wonder why there has to be stutter at all. Only the initial setting of
new gamma adjustments cause the stutter. When you run redshift in "oneshot"
mode via "redshift -O 4500", there is no more stutter once the initial
adjustment is done and the gamma stays adjusted.
Perhaps it would help to make the kernel delay the adjustments until they can
happen without causing performance issues with vsync + pageflipping?

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

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

  parent reply	other threads:[~2019-09-11 13:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-01 23:43 [Bug 108917] gamma adjustments cause stuttering with amdgpu.dc=1, especially problematic with RedShift etc bugzilla-daemon
2018-12-01 23:44 ` 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 [this message]
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-W4YDGvHBST@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).