one more idea - 
I tried to look under the hood of the gnome-shell process and I see lot of 
EAGAIN
is it kind of expected?

eg:

sudo strace -p 4154
strace: Process 4154 attached
poll([{fd=20, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=20, 
revents=POLLIN|POLLOUT}])
recvmsg(20, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\34\00000\10\0`\2\216\1\0\0\313y\1\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 128
writev(20, [{iov_base="+\0\1\0", iov_len=4}, {iov_base=NULL, iov_len=0}, 
{iov_base="", iov_len=0}], 3) = 4
poll([{fd=20, events=POLLIN}], 1, -1)   = 1 ([{fd=20, revents=POLLIN}])
recvmsg(20, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\00210\0\0\0\0\10\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(20, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=20, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=20, revents=POLLOUT}])
writev(20, [{iov_base="\217\3\4\0\304z\200\0\0\0\0\0\0\0\0\0+\0\1\0", 
iov_len=20}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 20
poll([{fd=20, events=POLLIN}], 1, -1)   = 1 ([{fd=20, revents=POLLIN}])
recvmsg(20, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\00230\0\0\0\0\10\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(20, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(20, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
getpid()                                = 4154
getpid()                                = 4154
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="T\1s\276\17\0 
\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\313y\1\22\0\0\0\0"..., iov_len=4096}], 
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 136
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
getpid()                                = 4154
getpid()                                = 4154
poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{iov_base="+\t\1\0", iov_len=4}, {iov_base=NULL, iov_len=0}, 
{iov_base="", iov_len=0}], 3) = 4
poll([{fd=6, events=POLLIN}], 1, -1)    = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\2t\276\0\0\0\0\10\0`\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
ioctl(13, DRM_IOCTL_SYNCOBJ_WAIT, 0x7ffc3fa254f0) = 0
ioctl(13, DRM_IOCTL_SYNCOBJ_WAIT, 0x7ffc3fa254f0) = 0
ioctl(13, DRM_IOCTL_SYNCOBJ_WAIT, 0x7ffc3fa254f0) = 0
ioctl(13, DRM_IOCTL_SYNCOBJ_WAIT, 0x7ffc3fa254f0) = 0
..........


if not - what might lead to that and how to track id down further?

Thanks!

-- 
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/2106293

Title:
  Gnome shell easts 100% of the CPU

Status in gnome-shell package in Ubuntu:
  Incomplete

Bug description:
  Gnome shell eats 100% of the CPU
  this starts to happen after some days of the laptop up & running

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-134.145-generic 5.15.173
  Uname: Linux 5.15.0-134-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: unknown
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Apr  5 13:16:43 2025
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  DpkgLog:

  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA 
controller])
     Subsystem: Lenovo HD Graphics 530 [17aa:5050]
     Subsystem: Lenovo GM108M [GeForce 940MX] [17aa:5050]
  InstallationDate: Installed on 2020-02-04 (1887 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: LENOVO 20FWS0A600
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-134-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/25/2022
  dmi.bios.release: 2.37
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R07ET97W (2.37 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20FWS0A600
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.4
  dmi.modalias: 
dmi:bvnLENOVO:bvrR07ET97W(2.37):bd11/25/2022:br2.37:efr1.4:svnLENOVO:pn20FWS0A600:pvrThinkPadT460p:rvnLENOVO:rn20FWS0A600:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20FW_BU_Think_FM_ThinkPadT460p:
  dmi.product.family: ThinkPad T460p
  dmi.product.name: 20FWS0A600
  dmi.product.sku: LENOVO_MT_20FW_BU_Think_FM_ThinkPad T460p
  dmi.product.version: ThinkPad T460p
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.3
  version.libgl1-mesa-glx: libgl1-mesa-glx 23.0.4-0ubuntu1~22.04.1
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.13
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2106293/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to