[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-08 Thread Daniel van Vugt
The attachment in comment #11 shows very low and often zero CPU usage,
so there's no obvious bug there. Did you attach the wrong top output?

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

Title:
  High CPU usage?

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

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

[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-08 Thread Daniel van Vugt
Also, let's ignore the "CPU increases with mouse movement" issue. That's
normal and not a bug.

** Summary changed:

- High CPU usage just moving the mouse
+ High CPU usage?

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

Title:
  High CPU usage?

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

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

Re: [Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-07 Thread rahul
Hi Danial,

Some more investigation ...

I reverted to Kernel to 5.3.18 ... also installed xserver-xorg-video-intel.
strace for gnome-shell shows no more errors on mouse / touchpad activity
and load remains low ..
rahul@desktophp:~$ sudo strace -c -p 11997
[sudo] password for rahul:
strace: Process 11997 attached
^Cstrace: Process 11997 detached
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 40.360.041780   4  8944  7555 recvmsg
 29.460.030497   8  3392   poll
 10.360.010722   5  2064   write
  9.190.009510   8  1091   ioctl
  6.510.006742   5  1236   writev
  3.060.003163   5   533   getpid
  1.000.001038   1   770   read
  0.020.23   210   munmap
  0.020.18   04834 stat
  0.010.13   066   mprotect
  0.010.13  13 1   restart_syscall
  0.000.00   0 1   close
  0.000.00   0 2   fstat
  0.000.00   0 2   rt_sigprocmask
  0.000.00   0 1   clone
  0.000.00   0 1   fcntl
  0.000.00   0 2   getrusage
  0.000.00   031 2 futex
  0.000.00   0 1   openat
-- --- --- - - 
100.000.103519 18196  7591 total


top command log is attached ..

it appears that the cause may be in broken Kernel drivers for intel chipset
..

Hope this observation helps !


On Sat, 7 Nov 2020 at 19:49, Rahul Sathe  wrote:

> I mean; does 'top' report constant CPU without moving the mouse, or was
> that only with gnome-system-monitor? (bug 1773502)
> -- top reports constant CPU without moving mouse ... and it increases to a
> higher value on Mouse / touchpad activity this is even without Gnome-system
> monitor.
>
> Regards /// Rahul
>
> On Fri, 6 Nov 2020 at 07:40, Daniel van Vugt <1902...@bugs.launchpad.net>
> wrote:
>
>> I mean; does 'top' report constant CPU without moving the mouse, or was
>> that only with gnome-system-monitor? (bug 1773502)
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1902825
>>
>> Title:
>>   High CPU usage just moving the mouse
>>
>> Status in gnome-shell package in Ubuntu:
>>   Incomplete
>>
>> Bug description:
>>   high cpu usage just moving the mouse
>>
>>   removed appindicator extension .. the cpu load is very high.
>>
>>
>>   running strace -c -p  while moving mouse
>>
>>   % time seconds  usecs/call callserrors syscall
>>   -- --- --- - - 
>>36.740.103852 103  1000 8 futex
>>31.300.088469   8 10366  8750 recvmsg
>>15.530.043901  11  3925   poll
>>10.100.028550  10  2776   write
>> 4.330.012232   7  1537   writev
>> 1.600.004533   4   932   read
>> 0.390.001092   3   337   getpid
>> 0.000.01   0 2   getrusage
>> 0.000.01   1 1   restart_syscall
>> 0.000.00   0 4   mprotect
>>   -- --- --- - - 
>>   100.000.282631 20880  8758 total
>>
>>   ProblemType: Bug
>>   DistroRelease: Ubuntu 20.10
>>   Package: gnome-shell 3.38.1-1ubuntu1
>>   ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
>>   Uname: Linux 5.8.0-26-generic x86_64
>>   ApportVersion: 2.20.11-0ubuntu50
>>   Architecture: amd64
>>   CasperMD5CheckResult: skip
>>   CurrentDesktop: GNOME-Classic:GNOME
>>   Date: Wed Nov  4 10:49:20 2020
>>   DisplayManager: gdm3
>>   RelatedPackageVersions: mutter-common 3.38.1-1ubuntu1
>>   SourcePackage: gnome-shell
>>   UpgradeStatus: No upgrade log present (probably fresh install)
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1902825/+subscriptions
>>
>


** Attachment added: "gnome-shell_5.3.18"
   
https://bugs.launchpad.net/bugs/1902825/+attachment/5432296/+files/gnome-shell_5.3.18

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

Title:
  High CPU usage just moving the mouse

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

-- 
ubuntu-bugs mailing list

Re: [Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-07 Thread rahul
I mean; does 'top' report constant CPU without moving the mouse, or was
that only with gnome-system-monitor? (bug 1773502)
-- top reports constant CPU without moving mouse ... and it increases to a
higher value on Mouse / touchpad activity this is even without Gnome-system
monitor.

Regards /// Rahul

On Fri, 6 Nov 2020 at 07:40, Daniel van Vugt <1902...@bugs.launchpad.net>
wrote:

> I mean; does 'top' report constant CPU without moving the mouse, or was
> that only with gnome-system-monitor? (bug 1773502)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1902825
>
> Title:
>   High CPU usage just moving the mouse
>
> Status in gnome-shell package in Ubuntu:
>   Incomplete
>
> Bug description:
>   high cpu usage just moving the mouse
>
>   removed appindicator extension .. the cpu load is very high.
>
>
>   running strace -c -p  while moving mouse
>
>   % time seconds  usecs/call callserrors syscall
>   -- --- --- - - 
>36.740.103852 103  1000 8 futex
>31.300.088469   8 10366  8750 recvmsg
>15.530.043901  11  3925   poll
>10.100.028550  10  2776   write
> 4.330.012232   7  1537   writev
> 1.600.004533   4   932   read
> 0.390.001092   3   337   getpid
> 0.000.01   0 2   getrusage
> 0.000.01   1 1   restart_syscall
> 0.000.00   0 4   mprotect
>   -- --- --- - - 
>   100.000.282631 20880  8758 total
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.10
>   Package: gnome-shell 3.38.1-1ubuntu1
>   ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
>   Uname: Linux 5.8.0-26-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu50
>   Architecture: amd64
>   CasperMD5CheckResult: skip
>   CurrentDesktop: GNOME-Classic:GNOME
>   Date: Wed Nov  4 10:49:20 2020
>   DisplayManager: gdm3
>   RelatedPackageVersions: mutter-common 3.38.1-1ubuntu1
>   SourcePackage: gnome-shell
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1902825/+subscriptions
>

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

Title:
  High CPU usage just moving the mouse

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

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

[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-05 Thread Daniel van Vugt
I mean; does 'top' report constant CPU without moving the mouse, or was
that only with gnome-system-monitor? (bug 1773502)

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

Title:
  High CPU usage just moving the mouse

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

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

Re: [Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-05 Thread rahul
Yes.. it does even without system monitor . It is captured in the first
logs I sent.




On Thu, 5 Nov 2020 at 12:41, Daniel van Vugt <1902...@bugs.launchpad.net>
wrote:

> That's just gnome-system-monitor and GTK-3 rendering inefficiently,
> which is bug 1773502 ...
>
> Does your problem happen if you don't have gnome-system-monitor running?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1902825
>
> Title:
>   High CPU usage just moving the mouse
>
> Status in gnome-shell package in Ubuntu:
>   Incomplete
>
> Bug description:
>   high cpu usage just moving the mouse
>
>   removed appindicator extension .. the cpu load is very high.
>
>
>   running strace -c -p  while moving mouse
>
>   % time seconds  usecs/call callserrors syscall
>   -- --- --- - - 
>36.740.103852 103  1000 8 futex
>31.300.088469   8 10366  8750 recvmsg
>15.530.043901  11  3925   poll
>10.100.028550  10  2776   write
> 4.330.012232   7  1537   writev
> 1.600.004533   4   932   read
> 0.390.001092   3   337   getpid
> 0.000.01   0 2   getrusage
> 0.000.01   1 1   restart_syscall
> 0.000.00   0 4   mprotect
>   -- --- --- - - 
>   100.000.282631 20880  8758 total
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.10
>   Package: gnome-shell 3.38.1-1ubuntu1
>   ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
>   Uname: Linux 5.8.0-26-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu50
>   Architecture: amd64
>   CasperMD5CheckResult: skip
>   CurrentDesktop: GNOME-Classic:GNOME
>   Date: Wed Nov  4 10:49:20 2020
>   DisplayManager: gdm3
>   RelatedPackageVersions: mutter-common 3.38.1-1ubuntu1
>   SourcePackage: gnome-shell
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1902825/+subscriptions
>

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

Title:
  High CPU usage just moving the mouse

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

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

[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-04 Thread Daniel van Vugt
That's just gnome-system-monitor and GTK-3 rendering inefficiently,
which is bug 1773502 ...

Does your problem happen if you don't have gnome-system-monitor running?

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

Title:
  High CPU usage just moving the mouse

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

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

Re: [Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-04 Thread rahul
Yes ..

1. "Mouse " is touchpad on Logitech K400
2. no 'extensions' in the path

rahul@desktophp:~/.local/share/gnome-shell$ ls -al
total 12
drwx--  2 rahul rahul 4096 Nov  4 21:05 .
drwx-- 47 rahul rahul 4096 Nov  5 10:26 ..
-rw-r--r--  1 rahul rahul 1443 Nov  4 21:05 application_state
-rw-r--r--  1 rahul rahul0 Nov 11  2019 gnome-overrides-migrated

3. Attached is the screenshot in GNOME classic.. the CPU load do not change
with mouse / touchpad activity  but is at constant ~ 20 % with all 4 cores
loaded  without any activity!!

Regards /// Rahul

On Thu, 5 Nov 2020 at 07:31, Daniel van Vugt <1902...@bugs.launchpad.net>
wrote:

> Thanks.
>
> 1. When you say "mouse" do you mean the touchpad on the Logitech K400
> Plus?
>
> 2. Please look in ~/.local/share/gnome-shell and make sure you don't
> have an 'extensions' subdirectory in there.
>
> 3. Does the same problem occur in GNOME Shell, or only in GNOME Classic?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1902825
>
> Title:
>   High CPU usage just moving the mouse
>
> Status in gnome-shell package in Ubuntu:
>   Incomplete
>
> Bug description:
>   high cpu usage just moving the mouse
>
>   removed appindicator extension .. the cpu load is very high.
>
>
>   running strace -c -p  while moving mouse
>
>   % time seconds  usecs/call callserrors syscall
>   -- --- --- - - 
>36.740.103852 103  1000 8 futex
>31.300.088469   8 10366  8750 recvmsg
>15.530.043901  11  3925   poll
>10.100.028550  10  2776   write
> 4.330.012232   7  1537   writev
> 1.600.004533   4   932   read
> 0.390.001092   3   337   getpid
> 0.000.01   0 2   getrusage
> 0.000.01   1 1   restart_syscall
> 0.000.00   0 4   mprotect
>   -- --- --- - - 
>   100.000.282631 20880  8758 total
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.10
>   Package: gnome-shell 3.38.1-1ubuntu1
>   ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
>   Uname: Linux 5.8.0-26-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu50
>   Architecture: amd64
>   CasperMD5CheckResult: skip
>   CurrentDesktop: GNOME-Classic:GNOME
>   Date: Wed Nov  4 10:49:20 2020
>   DisplayManager: gdm3
>   RelatedPackageVersions: mutter-common 3.38.1-1ubuntu1
>   SourcePackage: gnome-shell
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1902825/+subscriptions
>


** Attachment added: "Screenshot from 2020-11-05 12-15-01.png"
   
https://bugs.launchpad.net/bugs/1902825/+attachment/5431399/+files/Screenshot%20from%202020-11-05%2012-15-01.png

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

Title:
  High CPU usage just moving the mouse

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

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

[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-04 Thread Daniel van Vugt
Thanks.

1. When you say "mouse" do you mean the touchpad on the Logitech K400
Plus?

2. Please look in ~/.local/share/gnome-shell and make sure you don't
have an 'extensions' subdirectory in there.

3. Does the same problem occur in GNOME Shell, or only in GNOME Classic?

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

Title:
  High CPU usage just moving the mouse

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

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

Re: [Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-04 Thread rahul
Hello Daniel,

Here are the logs.

The top output is in gnome-shell file.

The Load goes up during mouse movement .. No lock screen on this system
!!

The behaviour is erratic, after fresh boot the load is very high initially
and GUI is very sluggish. it becomes usable after ~ 2 min. The load jumps
up and stays up randomly.

Regards /// Rahul

On Wed, 4 Nov 2020 at 12:30, Daniel van Vugt <1902...@bugs.launchpad.net>
wrote:

> Also I am reminded of an issue that was fixed upstream recently... Do
> you find the high CPU only comes *after* the lock screen has been used?
> Does it happen on a fresh boot when no lock screen has ever been used?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1902825
>
> Title:
>   High CPU usage just moving the mouse
>
> Status in gnome-shell package in Ubuntu:
>   Incomplete
>
> Bug description:
>   high cpu usage just moving the mouse
>
>   removed appindicator extension .. the cpu load is very high.
>
>
>   running strace -c -p  while moving mouse
>
>   % time seconds  usecs/call callserrors syscall
>   -- --- --- - - 
>36.740.103852 103  1000 8 futex
>31.300.088469   8 10366  8750 recvmsg
>15.530.043901  11  3925   poll
>10.100.028550  10  2776   write
> 4.330.012232   7  1537   writev
> 1.600.004533   4   932   read
> 0.390.001092   3   337   getpid
> 0.000.01   0 2   getrusage
> 0.000.01   1 1   restart_syscall
> 0.000.00   0 4   mprotect
>   -- --- --- - - 
>   100.000.282631 20880  8758 total
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.10
>   Package: gnome-shell 3.38.1-1ubuntu1
>   ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
>   Uname: Linux 5.8.0-26-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu50
>   Architecture: amd64
>   CasperMD5CheckResult: skip
>   CurrentDesktop: GNOME-Classic:GNOME
>   Date: Wed Nov  4 10:49:20 2020
>   DisplayManager: gdm3
>   RelatedPackageVersions: mutter-common 3.38.1-1ubuntu1
>   SourcePackage: gnome-shell
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1902825/+subscriptions
>


** Attachment added: "xrandr.txt"
   https://bugs.launchpad.net/bugs/1902825/+attachment/5431040/+files/xrandr.txt

** Attachment added: "shellsettings.txt"
   
https://bugs.launchpad.net/bugs/1902825/+attachment/5431041/+files/shellsettings.txt

** Attachment added: "lspci.txt"
   https://bugs.launchpad.net/bugs/1902825/+attachment/5431042/+files/lspci.txt

** Attachment added: "lsusb.txt"
   https://bugs.launchpad.net/bugs/1902825/+attachment/5431043/+files/lsusb.txt

** Attachment added: "journal.txt"
   
https://bugs.launchpad.net/bugs/1902825/+attachment/5431044/+files/journal.txt

** Attachment added: "gnome-shell"
   
https://bugs.launchpad.net/bugs/1902825/+attachment/5431045/+files/gnome-shell

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

Title:
  High CPU usage just moving the mouse

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

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

[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-03 Thread Daniel van Vugt
Also I am reminded of an issue that was fixed upstream recently... Do
you find the high CPU only comes *after* the lock screen has been used?
Does it happen on a fresh boot when no lock screen has ever been used?

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

Title:
  High CPU usage just moving the mouse

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

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

[Bug 1902825] Re: High CPU usage just moving the mouse

2020-11-03 Thread Daniel van Vugt
Please:

* Run 'top' to confirm which process is using the most CPU.

* After the problem happens again run:

  lsusb > lsusb.txt
  lspci -kv > lspci.txt
  journalctl -b0 > journal.txt
  gsettings list-recursively org.gnome.shell > shellsettings.txt
  xrandr --verbose > xrandr.txt

  and attach the resulting text files here.


** 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/1902825

Title:
  High CPU usage just moving the mouse

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

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