Hide Forgot
Description of problem: Display issues on the 4.8.* kernels with intel NUC (i5-6260U) that have just appear on Fedora 24. Using a UHD Display Port panel. The display flickers, and seems to get worst after the display goes to sleep. Get this is dmesg: [ 184.444973] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun [ 1317.038378] ------------[ cut here ]------------ [ 1317.038438] WARNING: CPU: 0 PID: 1410 at drivers/gpu/drm/i915/intel_display.c:14178 skl_max_scale.part.120+0x75/0x80 [i915] [ 1317.038439] WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock) [ 1317.038440] Modules linked in: [ 1317.038442] rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_REJECT nf_reject_ipv6 ip6t_rpfilter xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_mangle ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle iptable_security ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep vfat fat arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi coretemp kvm_intel snd_soc_skl kvm snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_hda_codec_realtek snd_soc_sst_match snd_hda_codec_generic [ 1317.038491] snd_soc_core snd_compress snd_pcm_dmaengine iwlmvm ac97_bus snd_hda_intel snd_hda_codec mac80211 iTCO_wdt snd_hda_core iTCO_vendor_support snd_hwdep irqbypass snd_seq crct10dif_pclmul crc32_pclmul snd_seq_device ghash_clmulni_intel intel_cstate snd_pcm intel_uncore hci_uart iwlwifi btusb btqca btrtl intel_rapl_perf joydev btbcm cfg80211 btintel bluetooth snd_timer mei_me mei snd idma64 soundcore i2c_i801 ir_lirc_codec lirc_dev intel_lpss_pci shpchp i2c_smbus intel_pch_thermal rfkill rc_rc6_mce ite_cir pinctrl_sunrisepoint rc_core intel_lpss_acpi pinctrl_intel intel_lpss acpi_pad acpi_als kfifo_buf industrialio tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc 8021q garp stp llc mrp btrfs xor raid6_pq i915 i2c_algo_bit e1000e drm_kms_helper crc32c_intel drm sdhci_pci [ 1317.038575] ptp sdhci pps_core mmc_core nvme nvme_core video i2c_hid fjes [ 1317.038588] CPU: 0 PID: 1410 Comm: Xorg Not tainted 4.8.4-200.fc24.x86_64 #1 [ 1317.038590] Hardware name: /NUC6i5SYB, BIOS SYSKLi35.86A.0052.2016.0910.1456 09/10/2016 [ 1317.038593] 0000000000000286 0000000039322c5c ffff8fd4a9c0b910 ffffffffb33e5d0d [ 1317.038598] ffff8fd4a9c0b960 0000000000000000 ffff8fd4a9c0b950 ffffffffb30a0e4b [ 1317.038601] 00003762000000b0 ffff8fd49caed240 ffff8fd4a7fcc000 ffff8fd4a8836000 [ 1317.038604] Call Trace: [ 1317.038618] [<ffffffffb33e5d0d>] dump_stack+0x63/0x86 [ 1317.038624] [<ffffffffb30a0e4b>] __warn+0xcb/0xf0 [ 1317.038627] [<ffffffffb30a0ecf>] warn_slowpath_fmt+0x5f/0x80 [ 1317.038632] [<ffffffffb33f52a7>] ? sort+0x147/0x220 [ 1317.038651] [<ffffffffc01b4754>] ? drm_atomic_helper_normalize_zpos+0x264/0x300 [drm_kms_helper] [ 1317.038701] [<ffffffffc0290375>] skl_max_scale.part.120+0x75/0x80 [i915] [ 1317.038749] [<ffffffffc0290446>] intel_check_primary_plane+0xc6/0xe0 [i915] [ 1317.038766] [<ffffffffc01b4754>] ? drm_atomic_helper_normalize_zpos+0x264/0x300 [drm_kms_helper] [ 1317.038821] [<ffffffffc0281662>] intel_plane_atomic_check+0x132/0x1f0 [i915] [ 1317.038837] [<ffffffffc01b1524>] drm_atomic_helper_check_planes+0x84/0x200 [drm_kms_helper] [ 1317.038887] [<ffffffffc029bf87>] intel_atomic_check+0x9a7/0x11a0 [i915] [ 1317.038894] [<ffffffffb3229d0b>] ? __kmalloc_track_caller+0x16b/0x210 [ 1317.038919] [<ffffffffc014c0d7>] drm_atomic_check_only+0x187/0x610 [drm] [ 1317.038939] [<ffffffffc014b898>] ? drm_atomic_get_crtc_state+0x88/0x100 [drm] [ 1317.038962] [<ffffffffc014c577>] drm_atomic_commit+0x17/0x60 [drm] [ 1317.038977] [<ffffffffc01b090c>] drm_atomic_helper_update_plane+0xec/0x130 [drm_kms_helper] [ 1317.039001] [<ffffffffc013b21b>] __setplane_internal+0x22b/0x270 [drm] [ 1317.039023] [<ffffffffc013b399>] drm_mode_cursor_universal+0x139/0x240 [drm] [ 1317.039048] [<ffffffffc013b51e>] drm_mode_cursor_common+0x7e/0x180 [drm] [ 1317.039073] [<ffffffffc013fabe>] drm_mode_cursor2_ioctl+0xe/0x10 [drm] [ 1317.039095] [<ffffffffc0131fa0>] drm_ioctl+0x200/0x4f0 [drm] [ 1317.039126] [<ffffffffc013fab0>] ? drm_mode_cursor_ioctl+0x70/0x70 [drm] [ 1317.039137] [<ffffffffb311178d>] ? enqueue_hrtimer+0x3d/0x80 [ 1317.039141] [<ffffffffb3264cf3>] do_vfs_ioctl+0xa3/0x5f0 [ 1317.039145] [<ffffffffb36bd191>] ? __sys_recvmsg+0x51/0x90 [ 1317.039148] [<ffffffffb32652b9>] SyS_ioctl+0x79/0x90 [ 1317.039154] [<ffffffffb3802572>] entry_SYSCALL_64_fastpath+0x1a/0xa4 [ 1317.039226] ---[ end trace d9c8cd460822922a ]--- [ 2325.539860] [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* too many full retries, give up Version-Release number of selected component (if applicable): Up to date system as of writing this bug. How reproducible: Everytime Steps to Reproduce: 1. Boot system 2. Wait for display issue Actual results: Display flicking and other issues like after the kernel message the display seems to not go to sleep on display blank. Expected results: Works. Additional info: On the 4.7.* kernels there was the odd display issue, like a odd flicker but this was not often.
00:02.0 VGA compatible controller: Intel Corporation Iris Graphics 540 (rev 0a) (prog-if 00 [VGA controller]) Subsystem: Intel Corporation Device 2063 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 131 Region 0: Memory at de000000 (64-bit, non-prefetchable) [size=16M] Region 2: Memory at a0000000 (64-bit, prefetchable) [size=512M] Region 4: I/O ports at f000 [size=64] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend- DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee00018 Data: 0000 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Process Address Space ID (PASID) PASIDCap: Exec+ Priv-, Max PASID Width: 14 PASIDCtl: Enable- Exec- Priv- Capabilities: [200 v1] Address Translation Service (ATS) ATSCap: Invalidate Queue Depth: 00 ATSCtl: Enable-, Smallest Translation Unit: 00 Capabilities: [300 v1] Page Request Interface (PRI) PRICtl: Enable- Reset- PRISta: RF- UPRGI- Stopped- Page Request Capacity: 00008000, Page Request Allocation: 00000000 Kernel driver in use: i915 Kernel modules: i915
sys/module/i915/parameters/disable_display N /sys/module/i915/parameters/disable_power_well 1 /sys/module/i915/parameters/edp_vswing 0 /sys/module/i915/parameters/enable_cmd_parser 1 /sys/module/i915/parameters/enable_dc -1 /sys/module/i915/parameters/enable_dpcd_backlight N /sys/module/i915/parameters/enable_dp_mst Y /sys/module/i915/parameters/enable_execlists 1 /sys/module/i915/parameters/enable_fbc 0 /sys/module/i915/parameters/enable_guc_loading 0 /sys/module/i915/parameters/enable_guc_submission 0 /sys/module/i915/parameters/enable_gvt N /sys/module/i915/parameters/enable_hangcheck Y /sys/module/i915/parameters/enable_ips 1 /sys/module/i915/parameters/enable_ppgtt 3 /sys/module/i915/parameters/enable_psr 0 /sys/module/i915/parameters/enable_rc6 1 /sys/module/i915/parameters/fastboot N /sys/module/i915/parameters/guc_log_level -1 /sys/module/i915/parameters/inject_load_failure 0 /sys/module/i915/parameters/invert_brightness 0 /sys/module/i915/parameters/load_detect_test N /sys/module/i915/parameters/lvds_channel_mode 0 /sys/module/i915/parameters/lvds_use_ssc -1 /sys/module/i915/parameters/mmio_debug 0 /sys/module/i915/parameters/modeset -1 /sys/module/i915/parameters/nuclear_pageflip N /sys/module/i915/parameters/panel_ignore_lid 1 /sys/module/i915/parameters/prefault_disable N /sys/module/i915/parameters/preliminary_hw_support 0 /sys/module/i915/parameters/reset Y /sys/module/i915/parameters/semaphores -1 /sys/module/i915/parameters/use_mmio_flip 0 /sys/module/i915/parameters/vbt_sdvo_panel_type -1 /sys/module/i915/parameters/verbose_state_checks Y
There have been a number of skylake gfx regressions in the kernel starting with 4.7, which are fixed in 4.9-rc1 and recently these fixes where backported to 4.8. Try downloading kernel-core-....rpm and kernel-modules-...rpm for your arch (x86_64) from either: 4.8 with backports: http://koji.fedoraproject.org/koji/buildinfo?buildID=814638 4.9: http://koji.fedoraproject.org/koji/buildinfo?buildID=813966 Save both of them in a directory and in this directory do: sudo rpm -ivh kenrel*.rpm Note "-ivh", not "-Uvh", so that you keep your old kernel and can always boot back into the old (mostly working) kernel. Hopefully this will improve things.
OK so I installed and booted to the 4.8.6 kernel and get the same. Also still get the glitching. [ 67.197640] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun [ 1033.051977] ------------[ cut here ]------------ [ 1033.052037] WARNING: CPU: 0 PID: 1392 at drivers/gpu/drm/i915/intel_display.c:14305 skl_max_scale.part.120+0x75/0x80 [i915] [ 1033.052039] WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock) [ 1033.052040] Modules linked in: [ 1033.052042] rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge ebtable_nat ip6table_raw ip6table_mangle ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 iptable_raw iptable_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep arc4 vfat fat snd_hda_codec_hdmi snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc iwlmvm snd_soc_sst_dsp snd_hda_ext_core snd_hda_codec_realtek snd_soc_sst_match snd_hda_codec_generic snd_soc_core mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp [ 1033.052083] coretemp snd_compress snd_pcm_dmaengine ac97_bus kvm_intel snd_hda_intel iwlwifi snd_hda_codec iTCO_wdt kvm iTCO_vendor_support snd_hda_core irqbypass cfg80211 snd_hwdep crct10dif_pclmul crc32_pclmul snd_seq ghash_clmulni_intel snd_seq_device intel_cstate hci_uart btusb joydev snd_pcm intel_uncore btrtl intel_rapl_perf btbcm btqca btintel bluetooth snd_timer snd idma64 i2c_i801 mei_me ir_lirc_codec lirc_dev mei shpchp soundcore i2c_smbus intel_lpss_pci intel_pch_thermal rfkill rc_rc6_mce pinctrl_sunrisepoint ite_cir pinctrl_intel rc_core intel_lpss_acpi intel_lpss acpi_pad acpi_als kfifo_buf industrialio tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc btrfs 8021q garp stp llc mrp xor raid6_pq i915 i2c_algo_bit drm_kms_helper drm e1000e nvme sdhci_pci nvme_core sdhci [ 1033.052144] crc32c_intel ptp mmc_core pps_core video i2c_hid fjes [ 1033.052156] CPU: 0 PID: 1392 Comm: Xorg Not tainted 4.8.6-200.fc24.x86_64 #1 [ 1033.052158] Hardware name: /NUC6i5SYB, BIOS SYSKLi35.86A.0052.2016.0910.1456 09/10/2016 [ 1033.052162] 0000000000000286 00000000d2332dab ffff8b94a920b910 ffffffff953e5ebd [ 1033.052165] ffff8b94a920b960 0000000000000000 ffff8b94a920b950 ffffffff950a0e8b [ 1033.052167] 000037e120f8d010 ffff8b946f572480 ffff8b94a7827c00 ffff8b94aac8b000 [ 1033.052170] Call Trace: [ 1033.052181] [<ffffffff953e5ebd>] dump_stack+0x63/0x86 [ 1033.052186] [<ffffffff950a0e8b>] __warn+0xcb/0xf0 [ 1033.052189] [<ffffffff950a0f0f>] warn_slowpath_fmt+0x5f/0x80 [ 1033.052192] [<ffffffff953f5457>] ? sort+0x147/0x220 [ 1033.052210] [<ffffffffc0369754>] ? drm_atomic_helper_normalize_zpos+0x264/0x300 [drm_kms_helper] [ 1033.052261] [<ffffffffc0407355>] skl_max_scale.part.120+0x75/0x80 [i915] [ 1033.052309] [<ffffffffc0407426>] intel_check_primary_plane+0xc6/0xe0 [i915] [ 1033.052324] [<ffffffffc0369754>] ? drm_atomic_helper_normalize_zpos+0x264/0x300 [drm_kms_helper] [ 1033.052371] [<ffffffffc03f8572>] intel_plane_atomic_check+0x132/0x1f0 [i915] [ 1033.052390] [<ffffffffc0366524>] drm_atomic_helper_check_planes+0x84/0x200 [drm_kms_helper] [ 1033.052442] [<ffffffffc0413197>] intel_atomic_check+0x9a7/0x11a0 [i915] [ 1033.052451] [<ffffffff95229dfa>] ? __kmalloc_track_caller+0x17a/0x210 [ 1033.052477] [<ffffffffc030f0d7>] drm_atomic_check_only+0x187/0x610 [drm] [ 1033.052495] [<ffffffffc030e898>] ? drm_atomic_get_crtc_state+0x88/0x100 [drm] [ 1033.052511] [<ffffffffc030f577>] drm_atomic_commit+0x17/0x60 [drm] [ 1033.052526] [<ffffffffc036590c>] drm_atomic_helper_update_plane+0xec/0x130 [drm_kms_helper] [ 1033.052549] [<ffffffffc02fe21b>] __setplane_internal+0x22b/0x270 [drm] [ 1033.052570] [<ffffffffc02fe399>] drm_mode_cursor_universal+0x139/0x240 [drm] [ 1033.052587] [<ffffffffc02fe51e>] drm_mode_cursor_common+0x7e/0x180 [drm] [ 1033.052615] [<ffffffffc0302abe>] drm_mode_cursor2_ioctl+0xe/0x10 [drm] [ 1033.052639] [<ffffffffc02f4fa0>] drm_ioctl+0x200/0x4f0 [drm] [ 1033.052663] [<ffffffffc0302ab0>] ? drm_mode_cursor_ioctl+0x70/0x70 [drm] [ 1033.052674] [<ffffffff9511180d>] ? enqueue_hrtimer+0x3d/0x80 [ 1033.052679] [<ffffffff95264dd3>] do_vfs_ioctl+0xa3/0x5f0 [ 1033.052705] [<ffffffff956bd191>] ? __sys_recvmsg+0x51/0x90 [ 1033.052707] [<ffffffff95265399>] SyS_ioctl+0x79/0x90 [ 1033.052711] [<ffffffff95802572>] entry_SYSCALL_64_fastpath+0x1a/0xa4 [ 1033.052824] ---[ end trace 94aad836b67d75b0 ]--- [ 2241.675356] [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* too many full retries, give up bart ~ uname -a Linux vulcan.fathom13.com 4.8.6-200.fc24.x86_64 #1 SMP Wed Nov 2 20:03:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
(In reply to Daniel Rowe from comment #4) > OK so I installed and booted to the 4.8.6 kernel and get the same. Also > still get the glitching. Bummer, can you also give the 4.9 one a try ?
Can you add drm.debug=0x6 To your kernel command line, and then post the entire dmesg after the bug happens? As well, what kind of display you're using using (e.g. the brand, model number, etc.)
The display is a Philips UHD 43" Panel From the Xorg log: Manufacturer: PHL Model: 8fa What it says on the box: Philips BDM4350UC 43" 4K UHD The newer 4.8 kernel after using it for a while is glitching less, but is still doing it. But note I did get this on earlier kernels but a lot less. I have not tried the 4.9 kernel yet, so Ill add the debug on the 4.8 and see what it outputs first.
When it glitches it get this in the demesg: 204811.635213] [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* too many full retries, give up [271983.011898] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Created attachment 1218384 [details] journalctl -b --no-pager | grep drm > drm.txt This is boot into 4.8.6-201.fc24.x86_64 Not the kernel messages about clocks has not been triggered this boot.
Also with the 4.9 kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun Which results in a glitch.
Alright, luckily for you I actually discovered one of my coworkers has this exact machine, and I've been able to reproduce the same issue on it remotely. I'll set NEEDINFO again once I've got a working fix
Just an addendum to this I set i915.enable_rc6=0 and it has stopped the gliching.
On Fedora 25 under Wayland it still does it but it much noticeable. Recovers much quicker.
Sorry I haven't said anything here in a while! Figured I'd ask if this is still happening? There's been a boatload more skylake fixes in the kernel since I last checked this.
On Fedora 25 with Wayland it not doing it at all. The [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* failed to enable link training message is still in dmesg but it when it wakes from monitor sleep I think. So seems just fine now.