FS#49371 - [linux] 4.6.x i915 tearfree results in flicker and xf86-video-intel 1:2.99.917+651+g34f
Attached to Project:
Arch Linux
Opened by Stefan de Konink (skinkie) - Tuesday, 17 May 2016, 07:07 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 02 October 2017, 23:14 GMT
Opened by Stefan de Konink (skinkie) - Tuesday, 17 May 2016, 07:07 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 02 October 2017, 23:14 GMT
|
Details
After upgrading to:
testing/xf86-video-intel 1:2.99.917+651+g34f63f2-1 testing/linux 4.6-1 In combination with my existing Xorg option: cat /etc/X11/xorg.conf.d/20-intel.conf Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" EndSection The screen starts to flicker after Xorg is started when moving the mouse. As Window Manager I am using XFCE. Additionally dmesg shows: [ 853.479397] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun [ 853.479420] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun [ 884.983087] [drm:intel_psr_work [i915]] *ERROR* Timed out waiting for PSR Idle for re-enable where the Time out line repeats. Disabling TearFree solves removes the Flicker. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Monday, 02 October 2017, 23:14 GMT
Reason for closing: Upstream
Additional comments about closing: upstream has now disabled PSR by default because they don't want people to use it.
Monday, 02 October 2017, 23:14 GMT
Reason for closing: Upstream
Additional comments about closing: upstream has now disabled PSR by default because they don't want people to use it.
And without wanting to start any flamewars. To solve my issues with suspend, video and audio I gave GalliumOS a go. They currently are running on Linux 4.1 and everything just works. Stil wondering if an AUR package with their kernel should be on my todo list.
I don't thing the kernel config should disable this feature as it can lead to massive power savings from the GPU of 29%-85% (Source: https://www.phoronix.com/scan.php?page=news_item&px=Intel-PSR-Default) and doesn't cause issues in the default configuration, but this bug should definitely be sent to Intel and be mentioned on the Arch Wiki.
If you continue having issues, I'm not 100% sure what could be done as I don't use XFCE, and Wayland isn't supported and can't be used as a fix. However, I found a couple of options online. On the Ubuntu forums, I saw this fix: Enable "Synchronize drawing to the vertical blank" in Settings Manager -> Window Manager Tweaks -> Compositor tab. You need the compton compositor for this. Another fix was using the compton compositor and adding "--vsync opengl" to the compton launch options. You could also use linux-lts, which uses kernel 4.4 and does not have PSR enabled.
Performs better than enabling Tear Free in the Intel graphics driver with a compositor" I don't really see how that is related but Chromium and scrolling is very fluent. I think the vertical blanking is indeed what prevents Chrome from drawing to fast.
4.6.2 still has flickering.
Adding i915.enable_psr=0 to kernel command line solves problem.
drm/i915/psr: Try to program link training times correctly
commit 03b7b5f983091bca17e9c163832fcde56971d7d1 upstream.
The default of 0 is 500us of link training, but that's not enough for
some platforms. Decoding this correctly means we're using 2.5ms of
link training on these platforms, which fixes flickering issues
associated with enabling PSR.
But if it didn’t helped for you, then you should report upstream.
https://patchwork.kernel.org/patch/9507451/
which unfortunately means we don't get that feature.