Created attachment 124109 [details] dmesg On recent drm-intel-nightly kernels, my mouse pointer flickers during mouse movements and keypresses. I don't have the problem on 4.4 kernels. There is a warning in the dmesg which might be relevant: [ 64.075305] [drm:drm_atomic_commit] commiting ffff880467b6d000 [ 64.075309] ------------[ cut here ]------------ [ 64.075331] WARNING: CPU: 2 PID: 922 at drivers/gpu/drm/i915/i915_gem.c:4278 i915_gem_object_do_pin+0x6a3/0xa60 [i915] [ 64.075332] WARN_ON(vma->pin_count == 0xf) [ 64.075333] Modules linked in: [ 64.075334] rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_con ntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bn ep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd _soc_sst_match snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine dw_dmac_core nls_iso8859_1 snd_hda_intel dcdbas i2c_designware_platform i2c_designware_cor e snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi intel_rapl snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_rawmidi kvm irqbypass crct10dif_pclmul [ 64.075356] crc32_pclmul snd_seq brcmfmac snd_seq_device snd_timer ghash_clmulni_intel brcmutil aesni_intel cfg80211 snd aes_x86_64 lrw gf128mul glue_helper ablk_helper soundcore rtsx_pci_ms cryptd memstick serio_raw shpchp joydev uvcvideo videobuf2_vmalloc videobuf2_memops hid_multitouch videobuf2_v4l2 videobuf2_core input_leds videodev btusb btrtl media idma64 mei_me virt_dma mei processor_thermal_device intel_soc_dts_iosf intel_lpss_pci intel_pch_thermal hci_uart btbcm btqca btintel bluetooth intel_lpss_acpi intel_lpss acpi_als int3400_thermal int3403_thermal acpi_thermal_rel int340x_thermal_zone mac_hid kfifo_buf industrialio acpi_pad parport_pc ppdev lp parport autofs4 hid_logitech_hidpp hid_logitech_dj hid_microsoft usbhid rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect [ 64.075380] sysimgblt fb_sys_fops nvme nvme_core drm ahci rtsx_pci libahci i2c_hid wmi hid pinctrl_sunrisepoint video pinctrl_intel fjes [ 64.075386] CPU: 2 PID: 922 Comm: Xorg Not tainted 4.6.0-custom #3 [ 64.075387] Hardware name: Dell Inc. XPS 13 9350/09JHRY, BIOS 1.3.3 03/01/2016 [ 64.075388] 0000000000000286 000000007ad2023e ffff880469327840 ffffffff813e83e3 [ 64.075390] ffff880469327890 0000000000000000 ffff880469327880 ffffffff8108149b [ 64.075391] 000010b67ad2023e 0000000000000005 ffff8804651b8a60 ffff88046b188900 [ 64.075393] Call Trace: [ 64.075397] [<ffffffff813e83e3>] dump_stack+0x63/0x90 [ 64.075400] [<ffffffff8108149b>] __warn+0xcb/0xf0 [ 64.075401] [<ffffffff8108151f>] warn_slowpath_fmt+0x5f/0x80 [ 64.075416] [<ffffffffc01b53c3>] i915_gem_object_do_pin+0x6a3/0xa60 [i915] [ 64.075427] [<ffffffffc01b57de>] i915_gem_object_ggtt_pin+0x2e/0x40 [i915] [ 64.075438] [<ffffffffc01b5863>] i915_gem_object_pin_to_display_plane+0x73/0x110 [i915] [ 64.075452] [<ffffffffc01f10c8>] intel_pin_and_fence_fb_obj+0xa8/0x160 [i915] [ 64.075467] [<ffffffffc01fc2df>] intel_prepare_plane_fb+0x10f/0x390 [i915] [ 64.075473] [<ffffffffc0143c73>] drm_atomic_helper_prepare_planes+0x53/0xc0 [drm_kms_helper] [ 64.075487] [<ffffffffc01fb397>] intel_atomic_commit+0x3d7/0x1160 [i915] [ 64.075502] [<ffffffffc00b51bc>] ? drm_ut_debug_printk+0x6c/0x90 [drm] [ 64.075514] [<ffffffffc00ccea7>] drm_atomic_commit+0x37/0x60 [drm] [ 64.075522] [<ffffffffc014477c>] drm_atomic_helper_update_plane+0xec/0x130 [drm_kms_helper] [ 64.075530] [<ffffffffc00bbe47>] __setplane_internal+0x217/0x260 [drm] [ 64.075537] [<ffffffffc00bbfcb>] drm_mode_cursor_universal+0x13b/0x230 [drm] [ 64.075544] [<ffffffffc00bc141>] drm_mode_cursor_common+0x81/0x180 [drm] [ 64.075552] [<ffffffffc00c04a0>] drm_mode_cursor_ioctl+0x50/0x70 [drm] [ 64.075558] [<ffffffffc00b1962>] drm_ioctl+0x152/0x540 [drm] [ 64.075565] [<ffffffffc00c0450>] ? drm_mode_setcrtc+0x560/0x560 [drm] [ 64.075567] [<ffffffff81219ed7>] ? __vfs_read+0x37/0x100 [ 64.075569] [<ffffffff8122f0d1>] do_vfs_ioctl+0xa1/0x5b0 [ 64.075572] [<ffffffff8108f411>] ? __set_task_blocked+0x41/0xa0 [ 64.075574] [<ffffffff81091d96>] ? __set_current_blocked+0x36/0x60 [ 64.075575] [<ffffffff8122f659>] SyS_ioctl+0x79/0x90 [ 64.075577] [<ffffffff8109205e>] ? SyS_rt_sigprocmask+0x8e/0xc0 [ 64.075579] [<ffffffff81830a76>] entry_SYSCALL_64_fastpath+0x1e/0xa8 [ 64.075580] ---[ end trace f64f4caecc2446fe ]--- [ 64.075583] [drm:intel_atomic_commit] Preparing state failed with -16 Environment details: x86_64 Ubuntu 16.04 Dell XPS13 9350 laptop with Intel Iris HD Graphics 540
The flickering is a bug in swcursor vs dri2 vs Tearfree, but the lack of hwcursor is a failure from drm-intel-nightly over the weekend. The broken patch has been reverted: commit 5a21b6650a239ebc020912968a44047701104159 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue May 24 17:13:53 2016 +0200 drm/i915: Revert async unpin and nonblocking atomic commit
Thanks for the quick reply, and sorry not to have tried an (even) more recent drm-intel-nightly.
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.