Fedora 27 [GeForce GTX 750 Ti] (rev a2)[Driver 390.25] High CPU usage

During login gnome-shell dominates the CPU usage, with following errors in dmesg.
It used to work before the upgrade to the latest 390.25-4 from 390.25-1

[  151.063855] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:32:crtc-0] flip_done timed out
[  161.303543] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:30:plane-0] flip_done timed out
[ 5778.888966] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:31:plane-1] flip_done timed out
[ 5792.200777] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:47:HDMI-A-1] flip_done timed out
[ 5889.778675] WARNING: CPU: 0 PID: 685 at drivers/gpu/drm/drm_atomic_helper.c:1950 drm_atomic_helper_commit_hw_done+0xd5/0xe0 [drm_kms_helper]
[ 5889.778677] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables snd_hda_codec_hdmi coretemp kvm_intel nvidia_drm(POE) nvidia_modeset(POE) kvm nvidia(POE) iTCO_wdt gpio_ich iTCO_vendor_support snd_hda_codec_realtek ppdev snd_hda_codec_generic snd_usb_audio irqbypass snd_hda_intel snd_usbmidi_lib snd_rawmidi snd_hda_codec drm_kms_helper
[ 5889.778717]  snd_hda_core uvcvideo snd_hwdep videobuf2_vmalloc snd_seq videobuf2_memops videobuf2_v4l2 videobuf2_core snd_seq_device videodev drm snd_pcm i2c_i801 media lpc_ich snd_timer snd ipmi_devintf ipmi_msghandler soundcore parport_pc shpchp parport acpi_cpufreq nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_logitech_hidpp hid_logitech_dj serio_raw r8169 ata_generic pata_acpi mii pata_jmicron
[ 5889.778748] CPU: 0 PID: 685 Comm: systemd-logind Tainted: P        W  OE    4.15.3-300.fc27.x86_64 #1
[ 5889.778749] Hardware name: Gigabyte Technology Co., Ltd. P35-DS3/P35-DS3, BIOS F14 06/18/2009
[ 5889.778757] RIP: 0010:drm_atomic_helper_commit_hw_done+0xd5/0xe0 [drm_kms_helper]
[ 5889.778758] RSP: 0000:ffffb47ec1023bf0 EFLAGS: 00010286
[ 5889.778760] RAX: ffff9902df2d33c0 RBX: ffff9902df2d3e40 RCX: 0000000000000001
[ 5889.778761] RDX: ffff99032255d000 RSI: ffff99032ffd1f60 RDI: ffff9902df2d33c8
[ 5889.778762] RBP: 0000000000000000 R08: ffff99032ffd1f60 R09: 0000000000130000
[ 5889.778763] R10: 0000000000230000 R11: 0000000000000001 R12: ffff990300834428
[ 5889.778764] R13: ffff9902d4869800 R14: ffff9902d486b800 R15: 0000000000000000
[ 5889.778766] FS:  00007f0c10394980(0000) GS:ffff99032fc00000(0000) knlGS:0000000000000000
[ 5889.778768] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5889.778769] CR2: 00007f21bb3bbc00 CR3: 000000021fdb4000 CR4: 00000000000006f0
[ 5889.778770] Call Trace:
[ 5889.778782]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 5889.778789]  drm_atomic_helper_commit+0xfc/0x110 [drm_kms_helper]
[ 5889.778796]  drm_atomic_helper_disable_all+0x158/0x1b0 [drm_kms_helper]
[ 5889.778801]  nv_drm_master_drop+0x8b/0x1e0 [nvidia_drm]
[ 5889.778838]  ? drm_setmaster_ioctl+0xb0/0xb0 [drm]
[ 5889.778848]  drm_drop_master+0x1e/0x40 [drm]
[ 5889.778858]  drm_dropmaster_ioctl+0x3e/0x60 [drm]
[ 5889.778869]  drm_ioctl_kernel+0x5b/0xb0 [drm]
[ 5889.778881]  drm_ioctl+0x2d5/0x370 [drm]
[ 5889.778891]  ? drm_setmaster_ioctl+0xb0/0xb0 [drm]
[ 5889.778896]  ? __seccomp_filter+0x43/0x560
[ 5889.778900]  ? __tty_fasync+0x55/0xd0
[ 5889.778903]  do_vfs_ioctl+0xa4/0x620
[ 5889.778907]  ? syscall_trace_enter+0x145/0x2e0
[ 5889.778909]  SyS_ioctl+0x74/0x80
[ 5889.778911]  do_syscall_64+0x75/0x180
[ 5889.778914]  entry_SYSCALL_64_after_hwframe+0x21/0x86
[ 5889.778917] RIP: 0033:0x7f0c0fcbd8e7
[ 5889.778918] RSP: 002b:00007ffdfc7138c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 5889.778920] RAX: ffffffffffffffda RBX: 000055a280ea6080 RCX: 00007f0c0fcbd8e7
[ 5889.778921] RDX: 0000000000000000 RSI: 000000000000641f RDI: 0000000000000018
[ 5889.778922] RBP: 00007ffdfc713900 R08: 0000000000000000 R09: 000000000000001e
[ 5889.778924] R10: 00007f0c0fba8a60 R11: 0000000000000246 R12: 00007ffdfc7138f8
[ 5889.778925] R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
[ 5889.778926] Code: ff 74 1f 48 83 c7 30 e8 ea 18 98 eb 49 8b 7c 24 50 5b 5d 41 5c 41 5d 41 5e 48 83 c7 10 e9 d4 18 98 eb 5b 5d 41 5c 41 5d 41 5e c3 <0f> ff eb b1 0f 1f 80 00 00 00 00 66 66 66 66 90 55 53 48 89 fe 
[ 5889.778960] ---[ end trace da0304e93ba654e0 ]---
[ 5889.780814] WARNING: CPU: 0 PID: 548 at /tmp/akmodsbuild.wDdw24rk/BUILD/nvidia-kmod-390.25/_kmod_build_4.15.3-300.fc27.x86_64/nvidia-drm/nvidia-drm-modeset.c:241 nv_drm_handle_flip_occurred+0xe5/0x110 [nvidia_drm]
[ 5889.780815] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables snd_hda_codec_hdmi coretemp kvm_intel nvidia_drm(POE) nvidia_modeset(POE) kvm nvidia(POE) iTCO_wdt gpio_ich iTCO_vendor_support snd_hda_codec_realtek ppdev snd_hda_codec_generic snd_usb_audio irqbypass snd_hda_intel snd_usbmidi_lib snd_rawmidi snd_hda_codec drm_kms_helper
[ 5889.780849]  snd_hda_core uvcvideo snd_hwdep videobuf2_vmalloc snd_seq videobuf2_memops videobuf2_v4l2 videobuf2_core snd_seq_device videodev drm snd_pcm i2c_i801 media lpc_ich snd_timer snd ipmi_devintf ipmi_msghandler soundcore parport_pc shpchp parport acpi_cpufreq nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_logitech_hidpp hid_logitech_dj serio_raw r8169 ata_generic pata_acpi mii pata_jmicron
[ 5889.780871] CPU: 0 PID: 548 Comm: nvidia-modeset Tainted: P        W  OE    4.15.3-300.fc27.x86_64 #1
[ 5889.780872] Hardware name: Gigabyte Technology Co., Ltd. P35-DS3/P35-DS3, BIOS F14 06/18/2009
[ 5889.780875] RIP: 0010:nv_drm_handle_flip_occurred+0xe5/0x110 [nvidia_drm]
[ 5889.780877] RSP: 0000:ffffb47ec1083e20 EFLAGS: 00010246
[ 5889.780878] RAX: ffff990324448008 RBX: ffff990324448000 RCX: ffff990324448030
[ 5889.780879] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff990324448018
[ 5889.780881] RBP: ffff990324448008 R08: 0000000000000000 R09: ffffffffc1ad54f5
[ 5889.780882] R10: 0000000000000001 R11: 0000000000000001 R12: ffff99032255d000
[ 5889.780883] R13: 0000000000000000 R14: ffffb47ec1083e98 R15: ffffffffc0860d70
[ 5889.780885] FS:  0000000000000000(0000) GS:ffff99032fc00000(0000) knlGS:0000000000000000
[ 5889.780886] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5889.780887] CR2: 00007f21bb3bbc00 CR3: 000000021fdb4000 CR4: 00000000000006f0
[ 5889.780888] Call Trace:
[ 5889.780893]  nv_drm_event_callback+0x40/0x80 [nvidia_drm]
[ 5889.780929]  nvKmsKapiHandleEventQueueChange+0xd1/0x100 [nvidia_modeset]
[ 5889.781334]  ? _main_loop+0x84/0x150 [nvidia]
[ 5889.781340]  ? kthread+0x113/0x130
[ 5889.781343]  ? kthread_create_worker_on_cpu+0x70/0x70
[ 5889.781345]  ? ret_from_fork+0x35/0x40
[ 5889.781346] Code: 75 f8 48 85 f6 74 09 48 8d 7b 20 e8 26 a2 04 ff 41 c6 84 24 b0 01 00 00 00 5b 4c 89 ef 5d 41 5c 41 5d e9 df 07 00 00 c6 43 18 00 <0f> ff 5b 5d 41 5c 41 5d c3 48 8b 55 00 48 8b 45 08 48 89 42 08 
[ 5889.781381] ---[ end trace da0304e93ba654e1 ]---
[ 5900.231265] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:32:crtc-0] flip_done timed out
[ 5910.471125] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:30:plane-0] flip_done timed out

nvidia-bug-report.log.gz (76 KB)

It’s a gdm/mutter issue, switching to a working DM like lightdm with slick-greeter will fix the issue.

https://rpmfusion.org/Howto/NVIDIA?highlight=%28CategoryHowto%29#Wayland

https://forums.fedoraforum.org/showthread.php?317403-dnf-update-24-Feb-18-causes-very-slow-system

Thanks for the detailed answer!