It was long time ago but IIRC after upgrading from Ubuntu 17.10 to 18.04 GDM would try to start on Wayland. With proprietary Nvidia driver it would then fallback to software rendering haence the CPU usage.
Disabling Wayland in /etc/gdm/custom.conf or doing clean install fixes the issue. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1764137 Title: [bionic][beta][nvidia] gnome-shell high CPU utilization when using Nvidia driver Status in Mutter: Confirmed Status in gnome-shell package in Ubuntu: Incomplete Status in mutter package in Ubuntu: Incomplete Bug description: I am experiencing 60% - 200% CPU utilization after an upgrade from ubuntu artful to bionic. Pretty much any drawing results in a sluggish behavior due to high CPU utilization. The same combination of kernel/drivers did not result in the issue on 17.10 so gnome-shell seems a good candidate to blame. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gnome-shell 3.28.0-0ubuntu5 Uname: Linux 4.16.0-041600-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu4 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Apr 15 16:53:34 2018 DisplayManager: gdm3 InstallationDate: Installed on 2017-02-27 (412 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170227) SourcePackage: gnome-shell UpgradeStatus: Upgraded to bionic on 2018-04-15 (0 days ago) --- ApportVersion: 2.20.9-0ubuntu4 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2017-02-27 (412 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170227) NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia Package: linux-image-4.16.0-041600-generic 4.16.0-041600.201804012230 [origin: unknown] PackageArchitecture: amd64 Tags: third-party-packages bionic Uname: Linux 4.16.0-041600-generic x86_64 UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again. UpgradeStatus: Upgraded to bionic on 2018-04-15 (0 days ago) UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo systemd-journal ubridge _MarkForUpload: True ➜ ~ dpkg -l | grep -P 'ii.*?nvidia' ii nvidia-390 390.48-0ubuntu0~gpu17.10.2 amd64 NVIDIA binary driver - version 390.48 ii nvidia-opencl-icd-390 390.48-0ubuntu0~gpu17.10.2 amd64 NVIDIA OpenCL ICD ii nvidia-prime 0.8.7 all Tools to enable NVIDIA's Prime ii nvidia-settings 396.18-0ubuntu0~gpu17.10.1 amd64 Tool for configuring the NVIDIA graphics driver To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/1764137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

