On a Dell XPS 13 9350 (i7-6560U, Iris Graphics 540), i915.enable_psr=1 causes intermittent randomly spaced screen freezes that last for a couple of seconds. Setting PSR=2 or 0 fixes the problem. Disabling FBC and running wayland both reduce the frequency of theses freezes.
I forgot to mention I'm running 4.12.0-rc4-mainline on arch. Problem has been present in all kernel versions I've tried before that.
In order to provide more assistance please include the logs. For further information please refer to: https://01.org/linuxgraphics/documentation/bugs-and-debugging Once you provide the information needed please change the status of the bug to REOPEN.
I have tried to find relevant log entries but couldn't find anything, so if you don't tell me more precisely what you want, I will not reopen this bug.
(In reply to François Guerraz from comment #1) > I forgot to mention I'm running 4.12.0-rc4-mainline on arch. Problem has > been present in all kernel versions I've tried before that. Could you add your hardware and software information? You mentioned you had tried in others kernels. Could you provide the kernel versions? Also could you attach the dmesg and kern.log, and try with this kernel version https://cgit.freedesktop.org/drm-tip
Created attachment 131908 [details] dmesg with drm-intel-nightly Yes, the issue is present with the latest drm-intel git version. I've had the issue will all kernel version since I use this laptop (kernel 4.7 to now). As mentioned in previous comment, the hardware is a Dell XPS 13 9350 (i7-6560U, Iris Graphics 540) with QHD screen, software is up to date Arch Linux with Gnome under wayland or X11.
Created attachment 131974 [details] xrand output
Created attachment 131975 [details] intel_reg dump --all
Is there any other information you need?
(In reply to François Guerraz from comment #8) > Is there any other information you need? Hello and thanks for adding the information. Adding tag into "Whiteboard" field - ReadyForDev *Status is correct *Platform is included *Feature is included *Priority and Severity correctly set *Logs included
Also, interestingly, the bug doesn't appear immediately, it takes a few minutes of usage to trigger and then it becomes more and more frequent and then unusable (due graphics memory usage increase?).
So what happens if you leave out i915.enable_psr parameter completely, and use defaults?
(In reply to Jani Nikula from comment #11) > So what happens if you leave out i915.enable_psr parameter completely, and > use defaults? Power consumption goes up by 0.5/0.7W but no screen freeze. In general, power usage is quite high on this system (almost twice as high as the model with the FHD panel) so I've tried to enable as many power saving features as I could.
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.
DK, any commments from you on this? Note on CI fi-skl-6600u is the same model. https://intel-gfx-ci.01.org/tree/drm-tip/igt@kms_psr_sink_crc@psr_basic.html
This is a good candidate for retesting, we've had several PSR patches to address screen freezes since 2017-06-30. François, Can you please retest with drm-tip and report back the results?
Lets mark this resolved and if no response in a month then we just closed as works for me.
I certainly will test. I'm still experiencing problems with the latest stable kernel (4.16.3) but I think it only happens with IOMMU enabled and appears more frequently on X than Wayland. I'll give the drm-tip a shot.
Any updates on testing this?
Yes, I think the problem is fixed. However I'm still having issues when IOMMU is enabled, but this is another bug. (getting "*ERROR* uncleared fifo underrun on pipe A" and screen flashes and graphic corruption occurs for a few seconds, randomly)
OK, There are already some mapped to Meta bug for same, can you find yours from these bugs under https://bugs.freedesktop.org/show_bug.cgi?id=105980?
(In reply to François Guerraz from comment #19) > Yes, I think the problem is fixed. > Great. Please feel free to report any new issues you notice with PSR.
Dell 9370 - KBL-R Linux xps 4.17.9-gentoo #7 SMP PREEMPT Wed Jul 25 14:02:26 +06 2018 x86_64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz GenuineIntel GNU/Linux psr=1 periodic screen freezes When the last batch of screen freeze patches landed in kernel? Did they make it to 4.17?
Most of the work is going to land in 4.18. Would you be able to test drm-tip (https://anongit.freedesktop.org/git/drm-tip.git)? Can you also attach dmesg booting the kernel with drm.debug=14? Do you use a compositor? Can you also post the output of /sys/kernel/debug/dri/0/i915_edp_psr_status? How about edid-decode /sys/class/drm/card0-<eDP>/edid ?
FYI, the issue doesn't happen any more for me on recent drm-tip but is still present with mainline kernels.
@(In reply to Dhinakaran Pandiyan from comment #23) > Most of the work is going to land in 4.18. > > Would you be able to test drm-tip > (https://anongit.freedesktop.org/git/drm-tip.git)? > > Can you also attach dmesg booting the kernel with drm.debug=14? > Do you use a compositor? > Can you also post the output of /sys/kernel/debug/dri/0/i915_edp_psr_status? > How about edid-decode /sys/class/drm/card0-<eDP>/edid ? I will test it this weekend
(In reply to Dhinakaran Pandiyan from comment #23) > Most of the work is going to land in 4.18. > > Would you be able to test drm-tip > (https://anongit.freedesktop.org/git/drm-tip.git)? > > Can you also attach dmesg booting the kernel with drm.debug=14? > Do you use a compositor? > Can you also post the output of /sys/kernel/debug/dri/0/i915_edp_psr_status? > How about edid-decode /sys/class/drm/card0-<eDP>/edid ? I confirm, PSR issues are gone on 4.18. Though I had issues booting 4.18 due to unrelated NVME bug.
(In reply to Baybal from comment #26) > (In reply to Dhinakaran Pandiyan from comment #23) > > Most of the work is going to land in 4.18. > > > > Would you be able to test drm-tip > > (https://anongit.freedesktop.org/git/drm-tip.git)? > > > > Can you also attach dmesg booting the kernel with drm.debug=14? > > Do you use a compositor? > > Can you also post the output of /sys/kernel/debug/dri/0/i915_edp_psr_status? > > How about edid-decode /sys/class/drm/card0-<eDP>/edid ? > > I confirm, PSR issues are gone on 4.18. Though I had issues booting 4.18 due > to unrelated NVME bug. Thanks for the update. -DK
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.