Random blinking display
https://bugs.freedesktop.org/show_bug.cgi?id=105083
Bug ID: 105083
Summary: Random blinking display
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Hi
Upgrading to 4.15.2 with amdgpu dc results in blinking of color temperature when redshift application started. Kernel 4.13.13 worked fine.
See https://github.com/jonls/redshift/issues/221#issuecomment-365376437 for details
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Michel Dänzer <[email protected]> --- Please attach the output of dmesg captured while the problem is occurring, preferably with amdgpu.dc_log=1 .
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #2 from Vavooon <[email protected]> --- (In reply to denisgolovan from comment #0)
Quoted 7 lines
Hi
Upgrading to 4.15.2 with amdgpu dc results in blinking of color temperature when redshift application started. Kernel 4.13.13 worked fine.
See https://github.com/jonls/redshift/issues/221#issuecomment-365376437 for details
Did you enable AMDGPU DC by changing kernel boot parameters?
(In reply to Michel Dänzer from comment #1)
Quoted 2 lines
Please attach the output of dmesg captured while the problem is occurring, preferably with amdgpu.dc_log=1 .
I tried to capture some dmesg log, but booting with suggested kernel line amdgpu.dc_log=1 but no output was produced at flickering. Than I realized that I have to enable amdgpu.dc in order to use it's logging :) and the issue disappeared. So far after a hour I don't see any flickering anymore.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #3 from [email protected] ---
Adding amdgpu.dc=1 amdgpu.dc_log=1 indeed make flickering much less frequent. However, I can still reproduce them when turning redshift on and off.
No logs in dmesg and messages with amdgpu appear though. Any hints?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #4 from Harry Wentland <[email protected]> --- How bad is the flicker? Would you be able to take a video showing the flicker and post it (youtube or anywhere, really)?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #5 from Allen <[email protected]> --- (In reply to Harry Wentland from comment #4)
Quoted 2 lines
How bad is the flicker? Would you be able to take a video showing the flicker and post it (youtube or anywhere, really)?
Video Card: RX 480
As I am suffering as well from this problem, I have uploaded a video to youtube.
the flicker happens periodically as Redshift adjusts the color temperature over time.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #6 from [email protected] ---
(In reply to Allen from comment #5)
Quoted 2 lines
the flicker happens periodically as Redshift adjusts the color temperature over time.
Yes. Seems pretty similar.
However it happens also periodically when redshift is active.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #7 from Ashley Bone <[email protected]> --- (In reply to denisgolovan from comment #6)
Quoted 7 lines
(In reply to Allen from comment #5)
Quoted 2 lines
the flicker happens periodically as Redshift adjusts the color temperature over time.
Yes. Seems pretty similar.
However it happens also periodically when redshift is active.
I agree, this is the flickering I'm seeing, and it does happen occasionally when redshift is running even when it's not adjusting the color temperature. It's much more frequent during the transition times when it is adjusting.
If I disable either redshift or amdgpu DC, I don't see any flickering.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #8 from Harry Wentland <[email protected]> --- Thanks for the video. It helps us understand what you're seeing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #9 from Öyvind Saether <[email protected]> ---
I get random blue color screen flickering perhaps once every few minutes on each monitor with redshift and a RX 580 and a 3x4k 60Hz setup with kernel 4.15.3 and amdgpu.dc=1. My initial response was that amdgpu.dc is broken so I reverted back to 4.14.x and used that until I found this bug and realized it's the redshift that's badly handled / problematic with the amdgpu.dc code.
This isn't really a redshift bug, just the way it behaves with this new code since I've used redshift since forever on numerous configurations and this is a new problem.
The random blue flickering with redshift seems to randomly appear on one of the monitors, not all or two at once. All do not blink the same time. I can't really see any pattern either. Every few minutes one of the monitors will blink blue. Sometimes none of them blink blue for a long time.
Everything seems fine so far without redshift apart from the blue color spectrum now violently smashing my eyes. My eyes, my eyes! I'll test if redshift is OK with transition = 0 later, it could be a workaround if it is the gradual adjustment of gamma/color that causes the flickering.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #10 from Harry Wentland <[email protected]> --- We have some patches that rework our gamma programming in our staging trees. Would you be able to try amd-staging-drm-next or drm-next-4.17-wip from
https://cgit.freedesktop.org/~agd5f/linux/?h=drm-next-4.17-wip ?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #11 from [email protected] ---
(In reply to Harry Wentland from comment #10)
Quoted 3 lines
We have some patches that rework our gamma programming in our staging trees. Would you be able to try amd-staging-drm-next or drm-next-4.17-wip from
https://cgit.freedesktop.org/~agd5f/linux/?h=drm-next-4.17-wip ?
I've just built drm-next-4.17-wip + amdgpu.dc=1.
Well, it does not blink however it has another regression - color temperature/gamma is not applied to all window controls. Some areas just stay not affected as if gamma change specifically disabled for them.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #12 from [email protected] --- Disabling amdgpu.dc under drm-next-4.17-wip works fine though.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #13 from Harry Wentland <[email protected]> --- (In reply to denisgolovan from comment #11)
Quoted 3 lines
(In reply to Harry Wentland from comment #10)
Some areas just
stay not affected as if gamma change specifically disabled for them.
Do you have a picture?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #14 from [email protected] ---
(In reply to Harry Wentland from comment #13)
Quoted 6 lines
(In reply to denisgolovan from comment #11)
Quoted 3 lines
(In reply to Harry Wentland from comment #10)
Some areas just
stay not affected as if gamma change specifically disabled for them.Do you have a picture?
See https://www.youtube.com/watch?v=6MQrgemv-yQ
White color on github page is completely unaffected when I switch Redshift on/off.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #15 from [email protected] ---
Any news on that?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #16 from Harry Wentland <[email protected]> --- The ticket is on our backlog and we'll try to get to it in a week or so.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #17 from Bogomil Vasilev <[email protected]> --- Experiencing this since 4.15 (not sure which minor release). Still happening on 4.16.0. With and without amdgpu=1, using RX480:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev c7)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
Harry Wentland <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #18 from Harry Wentland <[email protected]> --- A fix should be in drm-next-4.17 of Alex's git repo at
https://cgit.freedesktop.org/~agd5f/linux/?h=drm-next-4.17
That fix should also make it into 4.16 stable.
White color fix with redshift/nightshift should also be in that branch.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |------ Comment #19 from [email protected] ---
Cannot confirm your fix.
amdgpu.dc=1 still blinks.
Using old engine (disabling dc) works fine.
Tested under vanilla Linux v4.16.8.
White color regression is fixed in both modes.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
--- Comment #20 from Öyvind Saether <[email protected]> --- Since this bug remains open for some reason I'll report the following: redshift appears to work just fine with both RX 560 & RX 470 and:
- kernel 4.17.0-1 (rx 580) / 4.18.0-0.rc0.git2 (rx 470)
- X.Org 1.19.6
- mesa 18.0.2
- xfce xfwm4 4.12.4
- compton-0.1-0.1.beta3
kernel commmand line has amdgpu.dc=1 for some reason (default now anyway). I assume both kernels would work fine on both cards, that's just what happens to be running right now.
I suspect this bug can be closed but it's probably fair to wait for them russians to confirm.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105083
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED--- Comment #21 from [email protected] ---
Tested under 4.17.2.
Works fine with amdgpu.dc=1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel