Bug 1723167 - Screen flickers on Dell XPS 13 9380
Summary: Screen flickers on Dell XPS 13 9380
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 36
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-23 12:51 UTC by Ben Bromley
Modified: 2023-05-25 17:00 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-25 17:00:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kernel log (92.45 KB, text/plain)
2019-06-23 12:51 UTC, Ben Bromley
no flags Details
Photo of the screen corruption (2.88 MB, image/jpeg)
2019-08-14 22:35 UTC, Ben Bromley
no flags Details
dmesg output (89.37 KB, text/plain)
2019-08-14 22:36 UTC, Ben Bromley
no flags Details
Screen flicker picture for reference (871.61 KB, image/png)
2020-11-25 05:39 UTC, kevin
no flags Details
Screen flicker video for reference (10.70 MB, video/mp4)
2020-11-25 05:40 UTC, kevin
no flags Details

Description Ben Bromley 2019-06-23 12:51:56 UTC
Created attachment 1583694 [details]
kernel log

1. Please describe the problem: I have a new Dell XPS 13 9380 with Intel integrated graphics. Occasionally, and (to me) at random, the screen will briefly flicker. Running dmesg doesn't bring anything up that I can recognize as being relevant, but if you all want it I can post some dmesg logs as well.


2. What is the Version-Release number of the kernel: This has been present in every 5.1 series kernel so far on F30 as well as 5.0 series kernels on F29.


3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

I just installed kernel 4.20.0-1.fc30.x86_64 from Koji and so far there have been no screen flickers.


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

I can't force it to happen, but it does happen with regularity.


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

I have not yet tried, but will after I submit this.


6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.


7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

I saw this bug at freedesktop.org and wonder if it might be related
https://bugs.freedesktop.org/show_bug.cgi?id=110511

Thanks, and let me know what else I can do to help!

Comment 1 Ben Bromley 2019-06-23 13:00:58 UTC
Oh, and I have an HD panel, not a 4K panel.

Comment 2 Ben Bromley 2019-06-24 23:03:47 UTC
24 hours in on kernel 4.20 and I have not yet noticed a flicker

Comment 3 Ben Bromley 2019-06-30 17:27:15 UTC
Still present in 5.1.15-300.fc30.x86_64

Comment 4 Ben Bromley 2019-07-17 00:58:39 UTC
Still present in 5.1.17-300.fc30.x86_64

Comment 5 Ben Bromley 2019-08-06 22:42:33 UTC
Still happens, and might be worse, on kernel 5.2.5.

Comment 6 Ben Bromley 2019-08-14 22:35:10 UTC
Created attachment 1603925 [details]
Photo of the screen corruption

Here is a photo of the screen corruption; when I take screen shots or try to do a screen recording, the corruption does not show up.

Comment 7 Ben Bromley 2019-08-14 22:36:45 UTC
Created attachment 1603926 [details]
dmesg output

I don't know if this is the relevant error, but I found this in the dmesg after my worst screen corruption issue

[  147.423093] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

Full log also attached

Comment 8 Timor Gruber 2019-09-07 20:06:36 UTC
Hi, I have the same laptop model and I've experienced similar issues, although in my case IT DOES WORK ON 5.1 KERNELS!
Problems began when I've switched to 5.2 - Every single version of it had the issue.

The OS is totally unusable in these kernels, and that's a harsh shame...

Comment 9 Ben Bromley 2019-09-16 00:30:18 UTC
Today I tested Fedora Workstation 30, Fedora Workstation 31 branched, Fedora Mate-Compiz 30, and Fedora KDE 30. All of them still had the same screen flickering issue, though KDE and Mate seem to have a little less than Gnome (but that could just be my opinion).

Comment 10 Ben Bromley 2019-09-19 15:00:14 UTC
So it looks, so far, like the solution was to turn off panel self-refresh in my kernel parameters. I put "i915.enable_psr=0" in my /etc/grub/default on the GRUB_CMDLINE_LINUX line, did a grub2-mkconfig, and rebooted. I have not seen any flickering or screen corruption since I did that (about 1.5 hours ago), but I will keep you all up-to-date if anything does happen.

Comment 11 Timor Gruber 2019-09-19 19:31:15 UTC
@Ben I've tried your method - It seems to work for me as well, will keep you updated on this.
Thanks for now!

Comment 12 Timor Gruber 2019-09-28 11:15:24 UTC
Almost 10 days of usage ever since disabling the PSR and it's been an absolute joy!
Seems like it did solve the issue for me, on all kernels, including newly-installed ones (5.15+).

I think Fedora/Dell should include this by default for this model's users - Anyone to speak to?

Comment 13 Ben Bromley 2019-10-31 11:25:51 UTC
Did a fresh install of Fedora 31, problem was still present until I disabled PSR.

Comment 14 Justin M. Forbes 2020-03-03 16:19:12 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 31 kernel bugs.

Fedora 31 has now been rebased to 5.5.7-200.fc31.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 32, and are still experiencing this issue, please change the version to Fedora 32.

If you experience different issues, please open a new bug report for those.

Comment 15 Timor Gruber 2020-03-13 13:21:52 UTC
Tested on Fedora 31 5.5.8 with no luck, same behavior.

Comment 16 Ben Bromley 2020-08-29 17:24:32 UTC
Still have the error of Fedora 32

Comment 17 kevin 2020-11-25 05:39:03 UTC
(In reply to Ben Bromley from comment #10)
> So it looks, so far, like the solution was to turn off panel self-refresh in
> my kernel parameters. I put "i915.enable_psr=0" in my /etc/grub/default on
> the GRUB_CMDLINE_LINUX line, did a grub2-mkconfig, and rebooted. I have not
> seen any flickering or screen corruption since I did that (about 1.5 hours
> ago), but I will keep you all up-to-date if anything does happen.

Hi, I just want to thank you because this seems to have solved my problem (ThinkPad X270 flicker on an external Acer monitor through USB-C } VGA adapter). I never had this problem before and got it after upgrading from kernel-5.8.18 to kernel-5.9.9 (both on Fedora 33) and it seems like that was the only potentially related thing that was upgraded before the issue started happening:

Upgraded:
  PackageKit-1.2.2-2.fc33.x86_64             PackageKit-command-not-found-1.2.2-2.fc33.x86_64   PackageKit-glib-1.2.2-2.fc33.x86_64       PackageKit-gstreamer-plugin-1.2.2-2.fc33.x86_64   PackageKit-gtk3-module-1.2.2-2.fc33.x86_64      
  chromium-87.0.4280.66-1.fc33.x86_64        chromium-common-87.0.4280.66-1.fc33.x86_64         fwupd-1.5.1-2.fc33.x86_64                 fwupd-plugin-flashrom-1.5.1-2.fc33.x86_64         fwupd-plugin-modem-manager-1.5.1-2.fc33.x86_64  
  gnome-terminal-3.38.1-2.fc33.x86_64        gnome-terminal-nautilus-3.38.1-2.fc33.x86_64       gnupg2-2.2.24-1.fc33.x86_64               gnupg2-smime-2.2.24-1.fc33.x86_64                 golang-1.15.5-1.fc33.x86_64                     
  golang-bin-1.15.5-1.fc33.x86_64            golang-src-1.15.5-1.fc33.noarch                    kernel-headers-5.9.9-200.fc33.x86_64      kernel-tools-5.9.9-200.fc33.x86_64                kernel-tools-libs-5.9.9-200.fc33.x86_64         
  libbluray-1.2.1-2.fc33.x86_64              libpskc-2.6.4-1.fc33.x86_64                        low-memory-monitor-2.1-1.fc33.x86_64      microcode_ctl-2:2.1-43.fc33.x86_64                mutter-3.38.1-3.fc33.x86_64                     
  openblas-0.3.12-1.fc33.x86_64              openblas-devel-0.3.12-1.fc33.x86_64                openblas-openmp-0.3.12-1.fc33.x86_64      openblas-openmp64-0.3.12-1.fc33.x86_64            openblas-openmp64_-0.3.12-1.fc33.x86_64         
  openblas-serial-0.3.12-1.fc33.x86_64       openblas-serial64-0.3.12-1.fc33.x86_64             openblas-serial64_-0.3.12-1.fc33.x86_64   openblas-threads-0.3.12-1.fc33.x86_64             openblas-threads64-0.3.12-1.fc33.x86_64         
  openblas-threads64_-0.3.12-1.fc33.x86_64   ostree-2020.8-1.fc33.x86_64                        ostree-libs-2020.8-1.fc33.x86_64          perf-5.9.9-200.fc33.x86_64                        python3-perf-5.9.9-200.fc33.x86_64              
  rsync-3.2.3-2.fc33.x86_64                  shadow-utils-2:4.8.1-5.fc33.x86_64                 vim-common-2:8.2.2018-1.fc33.x86_64       vim-enhanced-2:8.2.2018-1.fc33.x86_64             vim-filesystem-2:8.2.2018-1.fc33.noarch         
  vim-minimal-2:8.2.2018-1.fc33.x86_64      

Installed:
  kernel-5.9.9-200.fc33.x86_64            kernel-core-5.9.9-200.fc33.x86_64            kernel-devel-5.9.9-200.fc33.x86_64            kernel-modules-5.9.9-200.fc33.x86_64            kernel-modules-extra-5.9.9-200.fc33.x86_64           

Removed:
  kernel-5.8.18-200.fc32.x86_64           kernel-core-5.8.18-200.fc32.x86_64           kernel-devel-5.8.18-200.fc32.x86_64           kernel-modules-5.8.18-200.fc32.x86_64           kernel-modules-extra-5.8.18-200.fc32.x86_64          

I applied your workaround with:

sudo grubby --update-kernel=ALL --args="i915.enable_psr=0"

And rebooted and it works.

You might want to update the title of the bug to remove "on Dell XPS 13 9380" so that future users can find it more easily.

Comment 18 kevin 2020-11-25 05:39:38 UTC
Created attachment 1733263 [details]
Screen flicker picture for reference

Comment 19 kevin 2020-11-25 05:40:00 UTC
Created attachment 1733264 [details]
Screen flicker video for reference

Comment 20 Nick te Lindert 2021-03-18 11:20:01 UTC
I also have this same problemen with the XPS 13 9380 on fedora 33 and also 34. However a fix has been merged on kernel 5.12. Is it possible to backport the fix to kernel 5.11?
Reference to the fix: https://patchwork.freedesktop.org/patch/358152/

Comment 21 Fedora Program Management 2021-04-29 15:55:54 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 22 Ben Cotton 2021-05-25 15:01:38 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 23 Nick te Lindert 2021-05-25 16:46:27 UTC
The problem is still there on fedora 34, the fix is merged in kernel 5.13.

Comment 24 Ben Bromley 2021-06-12 16:13:26 UTC
(In reply to Nick te Lindert from comment #23)
> The problem is still there on fedora 34, the fix is merged in kernel 5.13.

awesome, thanks Nick!

Comment 25 Nick te Lindert 2021-06-12 17:26:02 UTC
Some additional info: Dell has put out a firmware update which fixes this issue. Version 1.13.1

Comment 26 Ben Bromley 2021-10-25 23:36:35 UTC
Still happens on Fedora 35, Dell BIOS version 1.15, kernel 5.14.10-300

Comment 27 Ben Bromley 2022-03-31 21:00:10 UTC
Still present in F36 with kernel 5.17

Comment 28 Ben Cotton 2023-04-25 16:39:00 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 29 Ludek Smid 2023-05-25 17:00:10 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.