Bug 97208 - [HSW] Screen is flickering under newer linux kernel.
Summary: [HSW] Screen is flickering under newer linux kernel.
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-04 19:22 UTC by Piotr Wieczorek
Modified: 2018-04-23 06:25 UTC (History)
3 users (show)

See Also:
i915 platform: HSW
i915 features: GEM/Other


Attachments
dmesg with drm.debug=1 (6.85 MB, text/plain)
2016-08-04 19:22 UTC, Piotr Wieczorek
no flags Details

Description Piotr Wieczorek 2016-08-04 19:22:30 UTC
Created attachment 125544 [details]
dmesg with drm.debug=1

The computer running Ubuntu is being used as HTPC connected via HDMI to a screen projector.
  After upgrading to 16.04, it's unusable under production kernel.
  The screen starts flickering after a while (it's easily triggered by fast scrolling e.g. terminal's window). The whole screen get's filled with a noise, and then the projector gets disconnected for a while.  The computer runs fine on an older kernel (4.2.0-35), it's still
  broken on the mainline kernel 4.7.0.

Linux version 4.7.0-040700-generic (kernel@tangerine) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1) ) #201608011546 SMP Mon Aug 1 19:48:41 UTC 2016

Attaching dmesg output
Comment 1 Jani Nikula 2016-08-05 08:25:07 UTC
Does i915.enable_psr=0 or i915.enable_fbc=0 fix the issue? Please try them separately.
Comment 2 Piotr Wieczorek 2016-08-05 22:16:22 UTC
None of those options seem to help with the issue.

I've added them as below:
linux	/boot/vmlinuz-4.7.0-040700-generic root=UUID=98e2c9a3-1a1a-4d21-b370-79d0cde7b5f2 ro  quiet splash i915.enable_fbc=0 $vt_handoff
Comment 3 Jani Saarinen 2016-12-09 07:58:58 UTC
What is model and and CPU used?
Comment 4 yann 2016-12-09 08:19:39 UTC
(In reply to Jani Saarinen from comment #3)
> What is model and and CPU used?

from kernel log: 
CPU0: Intel(R) Core(TM) i7-4770T CPU @ 2.50GHz (family: 0x6, model: 0x3c, stepping: 0x3)
Comment 5 Elio 2017-03-06 17:32:40 UTC
(In reply to Piotr Wieczorek from comment #2)
> None of those options seem to help with the issue.
> 
> I've added them as below:
> linux	/boot/vmlinuz-4.7.0-040700-generic
> root=UUID=98e2c9a3-1a1a-4d21-b370-79d0cde7b5f2 ro  quiet splash
> i915.enable_fbc=0 $vt_handoff

Hello Piotr, could you try with latest Kernel version? 4.10, there are a lot of patches merged recently. Please let us know if you still facing the issue.
Comment 6 Piotr Wieczorek 2017-03-08 20:48:27 UTC
I've just tested kernel 4.10.1 and the same problem still occurs.
Comment 7 Behrang Saeedzadeh 2017-03-30 09:26:44 UTC
Just wanted to let you guys know this issue is still happening. On Fedora 25 with kernel 4.10: https://vimeo.com/210734226.
Comment 8 Behrang Saeedzadeh 2017-03-30 09:27:39 UTC
CPU: Core i7 6700.
Comment 9 Jani Nikula 2017-03-30 10:32:41 UTC
(In reply to Behrang Saeedzadeh from comment #7)
> Just wanted to let you guys know this issue is still happening. On Fedora 25
> with kernel 4.10: https://vimeo.com/210734226.

Per the video, doesn't look like a display issue to me at all.
Comment 10 Jani Saarinen 2017-05-24 07:04:17 UTC
To get clarity, can you re-test with latest drm-tip if issue still there?
Comment 11 Piotr Wieczorek 2017-05-24 18:24:53 UTC
I've tested it using kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2017-05-24/ , that is 4.12.0-994_4.12.0-994.201705232315 and the glitches are still there.
You can see the flickering here: 
http://www.youtube.com/watch?v=-u0vmw9mze8&t=0m12s
Comment 12 Victor Lopez 2017-06-05 21:34:50 UTC
The following resolutions fail to display properly (noticeable screen flickering)

Haswell
1920x1080i @ 60Hz / HDMI, display less than 4k + DP with VGA dongle
1920x1080i @ 50Hz / HDMI, display less than 4k + DP with VGA dongle
720x576i @ 50Hz / DP with HDMI dongle display 4k and less than 4k
720x480i @ 60Hz / DP with HDMI dongle display 4k and less than 4k

OS: Linux 4.10.0-19-generic x86_64 Ubuntu 17.04 64 bits
Kernel: 4.12.0-rc3-drm-tip-ww2-commit-187376e+
X-Org: 1.19.99.1
Comment 13 Victor Lopez 2017-06-06 17:16:34 UTC
Disregard the previous, it works at the specified configuration: 

Haswell
1920x1080i @ 60Hz / HDMI, display less than 4k + DP with VGA dongle - works
1920x1080i @ 50Hz / HDMI, display less than 4k + DP with VGA dongle - works
720x576i @ 50Hz / DP with HDMI dongle display 4k and less than 4k - works
720x480i @ 60Hz / DP with HDMI dongle display 4k and less than 4k - works

OS: Linux 4.10.0-19-generic x86_64 Ubuntu 17.04 64 bits
Kernel: 4.12.0-rc3-drm-tip-ww2-commit-187376e+
X-Org: 1.19.99.1
Comment 14 Elizabeth 2017-07-27 19:52:36 UTC
(In reply to Piotr Wieczorek from comment #11)
> I've tested it using kernel from
> http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2017-05-24/ , that is
> 4.12.0-994_4.12.0-994.201705232315 and the glitches are still there.
> You can see the flickering here: 
> http://www.youtube.com/watch?v=-u0vmw9mze8&t=0m12s
Hello Piotr,  
Could you check if the projector has a newer firmware and update it?
Also, what is the resolution and frequency that your projector supports?
Did you have the opportunity to test with other HW configurations (a monitor instead projector, new HDMI, just to be sure a different computer connected to the projector, etc)?
Could you attach new dmesg with drm.debug=0xe with the latest kernel?
And once provided the information, please change as REOPEN :)
Thank you.
Comment 15 Elizabeth 2017-08-31 19:14:58 UTC
Hello Piotr,
Due to the lack of response, I'm closing this bug assuming the problem was fixed because a newer kernel update or a HW change. Could you confirm this information? Otherwise please REOPEN this case. Thank you.
Comment 16 Piotr Wieczorek 2017-09-03 11:47:53 UTC
I've tried connecting using a different HDMI cable - it didn't help.

I think the problem is that the DeepColor mode got turned on in the recent kernels.

The difference in picture mode as reported by the projector between Windows, old Linux kernel and a new recent Linux kernel was DeepColor mode being turned either on and off.

Turning off DeepColor mode on my amplituner seems to help.

So it seems to be the same (or similar issue) as https://bugs.freedesktop.org/show_bug.cgi?id=101166
Comment 17 Elizabeth 2017-09-04 17:01:12 UTC
It seems to be a couple of patches proposed that didn't make it upstream yet related to deep color.
https://patchwork.kernel.org/patch/9156647/
https://patchwork.kernel.org/patch/5124471/
Comment 18 Jani Saarinen 2018-03-29 07:10:02 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 19 Jani Saarinen 2018-04-23 06:25:48 UTC
Closing, please re-open if still occurs.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.