[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-07 Thread Daniel van Vugt
Please repeat:

  ps -eo pid,pcpu,comm --sort -pcpu | head

several times to confirm which processes are the busiest.

** Summary changed:

- High power consumption of gnome-shell 
+ High power consumption

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067830

Title:
  High power consumption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2067830/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-07 Thread pinus
Sorry I wanted to send you the apport from my tuser account but failed
due to email-verification and stuff which annoyed me enough to give up.

With a new user tuser, just created for this purpose I can reproduce the
issue. I reboot, login screen, ~80W, login tusr ~130W. I removed this
Welcome Ubuntu thingy.

And yes first I suspected plugins and stuff, disabled them. But even
with a fresh, newly created user it happens.

It doesn't seem to be the load, it seems to be the frequency. Using cpu
util of the kernel I can hinder the cpu to boost setting it to
powersave. The power draw is significantly lower. Something seems to run
very frequent keeping cpu from going to sleep.

Currently typing this message in Firefox and having a console with htop
running. The cores should be mostly at 2200MHz. But the aren't. Htops
top scorers are htop 3-5%, gnome-shell 1-2% and /usr/bin/vxc-init 1-2%.

Without htop running:

cat /proc/cpuinfo | grep MHz
cpu MHz : 3659.957
cpu MHz : 3651.652
cpu MHz : 4574.981
cpu MHz : 3668.731
cpu MHz : 3748.627
cpu MHz : 3659.617
cpu MHz : 3651.320
cpu MHz : 2200.000
cpu MHz : 3657.285
cpu MHz : 4554.655
cpu MHz : 2200.000
cpu MHz : 4160.337
cpu MHz : 3700.000
cpu MHz : 4587.006
cpu MHz : 3700.000
cpu MHz : 3700.000
cpu MHz : 2200.000
cpu MHz : 3710.992
cpu MHz : 3632.179
cpu MHz : 3644.581
cpu MHz : 3629.941
cpu MHz : 3620.373
cpu MHz : 3606.826
cpu MHz : 4411.667

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067830

Title:
  High power consumption of gnome-shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2067830/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-03 Thread Daniel van Vugt
The most CPU is used by:

  /usr/libexec/epiphany-search-provider

so try closing Epiphany.

The second-most CPU is used by:

  /usr/bin/gnome-shell

so try disabling the thing that is keeping gnome-shell redrawing all the
time:

  gnome-extensions disable 'system-monitor-
n...@paradoxxx.zero.gmail.com'

** Package changed: gnome-shell (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067830

Title:
  High power consumption of gnome-shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2067830/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-03 Thread pinus
USER PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root   1  0.8  0.0  24492 14176 ?Ss   18:30   0:01 /sbin/init 
splash
root   2  0.0  0.0  0 0 ?S18:30   0:00 [kthreadd]
root   3  0.0  0.0  0 0 ?S18:30   0:00 
[pool_workqueue_release]
root   4  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/R-rcu_g]
root   5  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/R-rcu_p]
root   6  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/R-slub_]
root   7  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/R-netns]
root   8  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/0:0-events]
root   9  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/0:1-rcu_gp]
root  10  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/0:0H-events_highpri]
root  11  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/u64:0-gfx_0.0.0]
root  12  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/R-mm_pe]
root  13  0.0  0.0  0 0 ?I18:30   0:00 
[rcu_tasks_kthread]
root  14  0.0  0.0  0 0 ?I18:30   0:00 
[rcu_tasks_rude_kthread]
root  15  0.0  0.0  0 0 ?I18:30   0:00 
[rcu_tasks_trace_kthread]
root  16  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/0]
root  17  0.0  0.0  0 0 ?I18:30   0:00 [rcu_preempt]
root  18  0.0  0.0  0 0 ?S18:30   0:00 [migration/0]
root  19  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/0]
root  20  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/0]
root  21  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/1]
root  22  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/1]
root  23  0.1  0.0  0 0 ?S18:30   0:00 [migration/1]
root  24  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/1]
root  25  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/1:0-cgwb_release]
root  26  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/1:0H-events_highpri]
root  27  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/2]
root  28  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/2]
root  29  0.1  0.0  0 0 ?S18:30   0:00 [migration/2]
root  30  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/2]
root  31  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/2:0-events]
root  32  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/2:0H-events_highpri]
root  33  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/3]
root  34  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/3]
root  35  0.1  0.0  0 0 ?S18:30   0:00 [migration/3]
root  36  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/3]
root  37  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/3:0-rcu_par_gp]
root  38  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/3:0H-events_highpri]
root  39  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/4]
root  40  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/4]
root  41  0.1  0.0  0 0 ?S18:30   0:00 [migration/4]
root  42  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/4]
root  43  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/4:0-events]
root  44  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/4:0H-events_highpri]
root  45  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/5]
root  46  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/5]
root  47  0.1  0.0  0 0 ?S18:30   0:00 [migration/5]
root  48  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/5]
root  49  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/5:0-mm_percpu_wq]
root  50  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/5:0H-events_highpri]
root  51  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/6]
root  52  0.0  0.0  0 0 ?S18:30   0:00 
[idle_inject/6]
root  53  0.1  0.0  0 0 ?S18:30   0:00 [migration/6]
root  54  0.0  0.0  0 0 ?S18:30   0:00 [ksoftirqd/6]
root  55  0.0  0.0  0 0 ?I18:30   0:00 
[kworker/6:0-events]
root  56  0.0  0.0  0 0 ?I<   18:30   0:00 
[kworker/6:0H-events_highpri]
root  57  0.0  0.0  0 0 ?S18:30   0:00 [cpuhp/7]
root  58  0.0  0.0  0  

[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-03 Thread pinus
apport information

** Tags added: apport-collected

** Description changed:

  After fresh install of 24.04 the power consumption raised about 40W
  being idle. Previously running Ubuntu 22.04.
  
  Analysis found that the the step from login screen to Ubuntu/gnome
  desktop consumes ~40W. Doing the same with KDE doesn't do that. The KDE
  desktop is near login screen power consumption. The Ubuntu/gnome behaves
  the same as the gnome/gnome package. CPU usage/load is near zero.
  
  Setting the CPU governor to powersave reduces the power consumption
  significantly. The default schedutil governor is a pretty bad choice. It
  seems that gnome shell does something that prevents the CPU from going
  to sleep, without creating lots of CPU load. The governor conservative
  produces much better power consumption. Not sure what gnome does to keep
  the CPU in boost mode but it waists a lot of energy.
  
- I use a desktop PC with AMD Ryzen 5900x, using 65W eco mode in BIOS.
- Connected via power meter.
+ I use a desktop PC with AMD Ryzen 5900x, using 65W eco mode in BIOS. 
Connected via power meter.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.28.1-0ubuntu3
+ Architecture: amd64
+ CasperMD5CheckResult: pass
+ CurrentDesktop: ubuntu:GNOME
+ DisplayManager: gdm3
+ DistroRelease: Ubuntu 24.04
+ InstallationDate: Installed on 2024-05-01 (33 days ago)
+ InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
+ Package: gnome-shell 46.0-0ubuntu5.1
+ PackageArchitecture: amd64
+ ProcEnviron:
+  LANG=de_DE.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=
+ ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
+ RelatedPackageVersions: mutter-common 46.0-1ubuntu9
+ Tags: noble
+ Uname: Linux 6.8.0-35-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip docker libvirt lpadmin plugdev sudo users
+ _MarkForUpload: True

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/2067830/+attachment/5785565/+files/Dependencies.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067830

Title:
  High power consumption of gnome-shell

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-03 Thread Daniel van Vugt
Please:

1. Run:

   ps auxw > ps.txt

   and attach the resulting text file here.

2. Run:

   apport-collect 2067830

   to automatically send more information and the machine.


** Tags added: noble

** Changed in: gnome-shell (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067830

Title:
  High power consumption of gnome-shell

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2067830] Re: High power consumption of gnome-shell

2024-06-02 Thread Chris Guiver
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:

apport-collect 2067830

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

To resolve the issue, a Support site maybe more appropriate, eg.
https://answers.launchpad.net/ubuntu. You can also find help with your
problem in the support forum of your local Ubuntu community
http://loco.ubuntu.com/ or asking at https://askubuntu.com or
https://ubuntuforums.org, or for more support options please look at
https://discourse.ubuntu.com/t/community-support/709.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067830

Title:
  High power consumption of gnome-shell

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs