High Xorg and gnome-shell CPU usage while Sound Settings opened

Bug #1902094 reported by Дмитрий
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center
New
Unknown
gnome-control-center (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Several days ago I found huge lags over all system on my Ubuntu 20.04.1 LTS. Today I think found the problem, but not the reason. So when I open Settings -> Sound menu, the CPU usage comes to about 100%. If I close Settings window or go to other tab, it becomes OK. Nothing special in my sound configuration - monitor and notebook with built in audio and Bluetooth headset. Same worked just fine on Ubuntu 18.04 LTS.

xorg:
  Installed: 1:7.7+19ubuntu14
  Candidate: 1:7.7+19ubuntu14
  Version table:
 *** 1:7.7+19ubuntu14 500
        500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
Uname: Linux 5.4.0-52-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/capabilities/gpu0'
.proc.driver.nvidia.capabilities.mig: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/capabilities/mig'
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 450.80.02 Wed Sep 23 01:13:39 UTC 2020
 GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 29 18:27:20 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
 nvidia, 450.80.02, 5.4.0-52-generic, x86_64: installed
 virtualbox, 6.1.10, 5.4.0-51-generic, x86_64: installed
 virtualbox, 6.1.10, 5.4.0-52-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller])
   Subsystem: Dell UHD Graphics 630 (Mobile) [1028:0824]
   Subsystem: Dell GP107M [GeForce GTX 1050 Ti Mobile] [1028:0824]
InstallationDate: Installed on 2020-09-12 (47 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. G5 5587
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=ef73abac-57c7-4134-90f3-1f52f41127a8 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/11/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.9.0
dmi.board.name: 03PVDF
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.9.0:bd02/11/2019:svnDellInc.:pnG55587:pvr:rvnDellInc.:rn03PVDF:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: GSeries
dmi.product.name: G5 5587
dmi.product.sku: 0824
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
Дмитрий (dnezamaev) wrote :
affects: xorg (Ubuntu) → gnome-control-center (Ubuntu)
summary: - High CPU usage while Sound Settings opened
+ High Xorg CPU usage while Sound Settings opened
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: High Xorg CPU usage while Sound Settings opened

Oddly, confirmed. Only when in Sound settings...

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
   1841 dan 20 0 1125668 168248 120056 S 12.9 1.0 103:17.70 Xorg
   1984 dan 20 0 5481060 435396 90896 S 8.3 2.7 89:49.05 gnome-shell
 346704 dan 20 0 1611480 120968 90512 S 6.0 0.7 0:06.76 gnome-control-c

summary: - High Xorg CPU usage while Sound Settings opened
+ High Xorg and gnome-shell CPU usage while Sound Settings opened
no longer affects: xorg-server (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Given gnome-shell is also affected it seems the problem is gnome-control-center doing some kind of constant, invisible rendering when in the Sound panel.

Changed in gnome-control-center (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you report it upstream on https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues ?

The issues seems to due to the level indicators which keep refreshing

Changed in gnome-control-center:
status: Unknown → New
Changed in gnome-control-center:
status: New → Fix Released
tags: added: lunar
Changed in gnome-control-center:
status: Fix Released → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.