Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
Project 'drm/intel' was moved to 'drm/i915/kernel'. Please update any links and bookmarks that may still have the old path.
Brand new XPS 13 9380 arrived a couple of days ago from Dell with Ubuntu 18.04 preinstalled.
Flickering started immediatelly post boot and it was constant.
I updated BIOS from 1.1.1 to 1.2.1, tried i915.fastboot and i915.enable_rc6 combinations to no avail.
Updated to Ubuntu 19.04 and kernel-5 to no avail. However flickering changed from constant to only if there's a screen refresh.
Created attachment 144319 [details]
rc5+ kernel with enable_psr=0
The log was cut off so couldn't see that PSR was in fact disabled. You can fix that by passing eg. log_buf_len=2M to the kernel cmdline.
Anyways, after a second glance at the logs I see the sink does sometimes indicate that the receiver port was not synchronized. Not sure why the failure manifests at that level with the link otherwise being reported as stable. Looks like we could try to reduce the link rate a bit and still have enough bandwidth for the 4k@60 mode. I'll attach something to that effect.
Hmm, yes 4.32 is what the BIOS uses, so this might even help:
[ 1.391106] [drm:intel_dump_pipe_config [i915]] port clock: 432000, pipe src size: 3840x2160, pixel rate 533299
Hmm. That probably means this is a victim of commit f11cb1c19ad0 ("drm/i915/dp: revert back to max link rate and lane count on eDP"), which I think would have picked the lower link rate for us.
Yes, eDP revision seems to be 1.4a:
[ 1.385017] [drm:intel_dp_init_connector [i915]] eDP DPCD: 04 92 a5
so I believe that is indeed what would have happened.
I can confirm that with Timo's kernel, with Ville's patch it all works smoothly.
Great job guys! Thanks so much for the support. I will keep using this kernel until upstream is fixed. Can you please update this bug once a proper fix hits upstream?
I have been following this bug report for a while - I just wanted to check in on status. Will the fix be rolled out now that Paulo has confirmed the working kernel version?
I'm using Dell XPS 13 7390 (Developer Edition 2019). The display flickering with vanilla kernel is terrible and renders the internal display totally useless. A patched 5.4.8 kernel with a version of your "Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure" that was adapted to recent i915 refactorings (0001-drm-i915-Try-to-use-fast-narrow-link-on-eDP-again-an_5.4.x.patch) reduces flickering to a reasonable level. I don't know if the patch fixes the issue for original reporter's XPS 13 9380, though. I'd be willing to test kernel patches on XPS 13 7390, if that helps resolve the issue.
I have the 9380 and I'm using Manjaro if you can get me the latest manjaro lts kernel patched I'd be willing to test it asap. I would love to learn to patch my own kernel but right now I don't have the knowledge to do it.
If you are not wiling to or yo cant is okay, just point me to a good tutorial.
Thanks.
Similar problems here. The screen on my Dell XPS 13 9360 started flickering badly and intermittently several months ago. It has a 4k touch display and is running Ubuntu (19.10).
The built-in display diagnostics complete without error. I have not observed screen flicker on BIOS screens, so I have no reason to believe a pure hardware issue (e.g., cable or memory). I don't have windows, so can't speak to whether the issue occurs there. (However, plenty of users are complaining about screen flicker in windows in other threads.)
The problem is intermittent. It seems to happen most frequently after booting and after resuming. The problem goes away after a while (10-30 minutes, I guess).
I've had the laptop for 3 years and have always run linux on it. The issue showed up shortly have a firmware upgrade, but that might be just correlation. I upgraded to Ubuntu 19.10 was around the same time, I think.
Happy to try patched kernels if that's still useful.
I have this same issue. Brand new dell xps 7390 and it screen flickers to the point of it just stopping and not rendering any graphical changes anymore. Thanks for looking into this and helping us out. :)
Hi! As sown in this post on the manjaro forums, I am having the same issues on my 9380, before it was fine but now in manjaro i have to stay in 4.19 because kernels newer than 5.2 have this problems.
Using a Dell XPS 15 9570 (2019) that exhibits similar i915 flickering with anything above kernel 5.x with a few distros, the Ubuntu mainline or Manjaro AUR kernels with newer drm-tip resolves for me. Any anticipation that the upstream Ubuntu or Arch/Manjaro kernels will get this built-in or resolved - be nice to have this working again properly for the upcoming Ububu 20.04 and Manjaro 19 cycles. Most users are either staying on 4.x kernels or using custom compiles to workaround.
On Manjaro I've experienced no issues using distro provided 5.6rc kernels, on Ubuntu I will test with the drm-tip mainline kernel that gets built later today or tomorrow.
Observing this display glitch in BIOS setup makes me question whether this is an OS issue at all.
Although this issue occurs at least daily for a year or so, I've been unable to infer factors that trigger it. It does seem to go away after several minutes. Also, it occurs only on the built-in display, so I focus my work on an external monitor.
Would someone please summarize why we think the issue is with Linux video drivers and not underlying hardware or firmware defects?
@genbushi: Is the flicker you see constant or intermittent? Is the banding similar to that shown in the video and images I posted?
The flicker I see is infrequent. I have tried several kernel flags over the past few months, sometimes thinking that they worked, only to find that I just didn't wait long enough.
The banding area is always the same. It always goes away after ~1-5 minutes. I have not associated with battery level, power supply, activity (e.g., music playing), or uptime.
Because it's infrequent and apparently random, and because I reboot relatively rarely, it was fortunate that I caught it during a BIOS setup. That strongly indicates, I think, that the OS (of any flavor) is not implicated. I don't have or run Windows, so I have no data on that.
If your flicker is qualitatively different, the underlying causes are likely different.