mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lehjr
Level 1
Level 1
Posts: 20
Joined: Thu Nov 24, 2011 1:03 pm

mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by lehjr »

Anyone else have really high cpu usage (mdmwebkit 40-45% + Xorg 50-53%) on the default login screen? I don't know why this is happening, but I assume this is connected to the stability issue I've had, where the longer I leave the machine on the login screen, the more unstable it is after I log in, and if I leave it long enough (maybe 45 minutes or so) on the login screen, the machine won't respond at all.

Assuming this isn't normal (which is hard to believe it is), can someone at least point me in the right direction as to which logs may hold a clue or have some ideas as far as troubleshooting goes?

Machine specs:
ECS IC780M-A2 (V1.0A)
AMD Athlon(tm) II X3 445
8GB RAM
Some low end Radeon X2400 PRO 256MBpcie video card
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
lehjr
Level 1
Level 1
Posts: 20
Joined: Thu Nov 24, 2011 1:03 pm

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by lehjr »

I've decided to use one of the GDK style login screens until this can be resolved. And for anyone interested, I did try the resolution in the "Greeter application appears to be crashing" thread [url]http://forums.linuxmint.com/viewtopic.php?f=208&t=135417[/url], but ended up with no noticeable difference, right before an update rendered cinnamon useless. As long as I have another login option, I won't make much of a fuss over the broken one.
Baumann

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by Baumann »

because of overheating I downgraded to earlier AMD Catalyst driver and Mint13. Look, if your GPU is supported by the newest kernel.
lehjr
Level 1
Level 1
Posts: 20
Joined: Thu Nov 24, 2011 1:03 pm

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by lehjr »

I stopped using the fglrx driver when they dropped support for devices they're still selling as new, that and having to be stuck using older kernels and even Xorg because of the inability to keep the driver updated even for the newest devices.

Currently, I'm using kernel 3.11.1-031101-generic from the Ubuntu mainline ppa (and this does perform quite well), but I've had this issue since installing Mint right out of the box. A heating issue might be a side effect that I haven't really investigated much, as I have the BIOS set to shutdown on overheating, but obviously there are other components aside from the CPU that can overheat and affect stability.
lehjr
Level 1
Level 1
Posts: 20
Joined: Thu Nov 24, 2011 1:03 pm

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by lehjr »

I tried one of the GDM style login screens, and it does resolve the high CPU + xorg usage, but there is still the lingering stability issue from leaving the machine at the login screen for any period of time. I did try watching the memory usage, and it doesn't look like there is a memory leak, so I don't know what is wrong.
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by jmss »

I observe the same issue in Linux Mint 16 Petra (Mate): mdmwebkit ~50 % CPU and Xorg ~30 % CPU.

I'm using a laptop with Pentium M and Intel graphics card.

Should this be reported as a bug?
hightowe

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by hightowe »

I am seeing the exact same issue on Mint 16 and an Intel i5 with HD4x00 graphics. This should almost certainly be reported as a bug.

In the mean time, could someone report a XDM that they have used that does remedy this -- a specific alternative package? Thanks.
unprinted
Level 2
Level 2
Posts: 71
Joined: Wed Jun 09, 2010 6:38 am

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by unprinted »

Hmm, since I had the screensaver lock the screen, it's happening for me to, using Petra 16 MATE edition.

It's not good, is it?
unprinted
Level 2
Level 2
Posts: 71
Joined: Wed Jun 09, 2010 6:38 am

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by unprinted »

This was while both users were logged in, BTW, so mdmwebkit and Xorg were busy talking to themselves.

Rebooting has stopped it, for now, even though I've used the login screen three times (me, switching to second user, and back to me).

I'm using the binary ATI/AMD drivers on a A6 CPU's GPU, so 'reasonably recent'.
unprinted
Level 2
Level 2
Posts: 71
Joined: Wed Jun 09, 2010 6:38 am

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by unprinted »

My solution has been to switch the login screen to be the GTK one.

I'm sure there are people who need (or even want) to have fancy HTML5-enabled login screens, but I am not one of them.
petermarrick

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by petermarrick »

I am having this problem, cpu bounces around 15% until I actually do something then both cpu are on 99% 98% and doesnt matter what processes I kill, I have to reboot and monitor for 15mins or so.

Not sure why xorg and cinnamon use 35% and 55% of the cpu when I am only running miniscule midori??

peter@peter-Latitude-E6400 ~ $ htop
peter@peter-Latitude-E6400 ~ $ inxi -F
System: Host: peter-Latitude-E6400 Kernel: 3.8.0-19-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 15 Olivia
Machine: System: Dell product: Latitude E6400
Mobo: Dell model: 0U692R Bios: Dell version: A12 date: 02/13/2009
CPU: Dual core Intel Core2 Duo CPU P8700 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx)
Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz
Graphics: Card: Intel Mobile 4 Series Chipset Integrated Graphics Controller
X.Org: 1.13.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x800@60.0hz
GLX Renderer: Mesa DRI Mobile Intel GM45 Express Chipset GLX Version: 2.1 Mesa 9.1.7
Audio: Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel Sound: ALSA ver: k3.8.0-19-generic
Network: Card-1: Intel Ultimate N WiFi Link 5300 driver: iwlwifi
IF: wlan0 state: up mac: 00:21:6a:89:e4:2c
Card-2: Intel 82567LM Gigabit Network Connection driver: e1000e
IF: eth0 state: down mac: 00:24:e8:e1:74:df
Drives: HDD Total Size: 80.0GB (88.6% used) 1: id: /dev/sda model: WDC_WD800BEVT size: 80.0GB
Partition: ID: / size: 72G used: 67G (98%) fs: ext4 ID: swap-1 size: 2.10GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 48.5C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 160 Uptime: 2:54 Memory: 541.3/1955.4MB Client: Shell inxi: 1.8.4


top - 13:32:38 up 3:09, 2 users, load average: 2.56, 2.86, 2.04
Tasks: 157 total, 4 running, 153 sleeping, 0 stopped, 0 zombie
%Cpu(s): 62.7 us, 19.6 sy, 0.0 ni, 17.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 2002308 total, 1668756 used, 333552 free, 80172 buffers
KiB Swap: 2046972 total, 0 used, 2046972 free, 1024532 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2199 peter 20 0 1729m 105m 26m R 55.8 5.4 26:08.20 cinnamon
1566 root 20 0 306m 53m 41m S 35.2 2.8 17:12.51 Xorg
7232 peter 20 0 624m 20m 13m R 30.3 1.0 2:22.42 gnome-terminal
2698 peter 20 0 2942m 212m 53m R 23.3 10.9 21:35.05 midori
2247 root 20 0 416m 5852 3548 S 5.2 0.3 3:25.27 udisksd
7935 peter 20 0 24832 1584 1104 R 4.2 0.1 0:01.02 top
7843 root 20 0 0 0 0 S 1.5 0.0 0:09.45 kworker/1:1
6569 root 20 0 0 0 0 S 1.2 0.0 0:44.77 kworker/0:2
1057 messageb 20 0 24552 1904 924 S 0.6 0.1 0:18.84 dbus-daemon
2759 peter 20 0 2591m 4404 3464 S 0.6 0.2 0:14.21 winedevice.exe
2820 peter 20 0 138m 33m 20m S 0.6 1.7 2:04.51 acroread
3 root 20 0 0 0 0 S 0.3 0.0 0:03.41 ksoftirqd/0
375 root 20 0 0 0 0 S 0.3 0.0 0:02.45 jbd2/sda1-8
1117 root 20 0 249m 6128 4656 S 0.3 0.3 0:27.87 NetworkManager
1986 peter 20 0 664m 18m 12m S 0.3 1.0 0:07.69 gnome-settings-
2200 peter 20 0 20260 960 788 S 0.3 0.0 0:33.38 syndaemon
2215 peter 20 0 857m 41m 23m S 0.3 2.1 1:56.66 nemo
7361 root 20 0 0 0 0 S 0.3 0.0 0:04.80 kworker/u:3
7397 root 20 0 0 0 0 S 0.3 0.0 0:03.87 kworker/u:0
1 root 20 0 26932 2700 1448 S 0.0 0.1 0:01.43 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/u:0H
8 root rt 0 0 0 0 S 0.0 0.0 0:00.64 migration/0
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root 20 0 0 0 0 S 0.0 0.0 0:53.17 rcu_sched
11 root rt 0 0 0 0 S 0.0 0.0 0:00.62 watchdog/0
12 root rt 0 0 0 0 S 0.0 0.0 0:00.68 watchdog/1
13 root 20 0 0 0 0 S 0.0 0.0 0:04.14 ksoftirqd/1
14 root rt 0 0 0 0 S 0.0 0.0 0:00.70 migration/1
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset
18 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
20 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns


inxi -F
System: Host: peter-Latitude-E6400 Kernel: 3.8.0-19-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 15 Olivia
Machine: System: Dell product: Latitude E6400
Mobo: Dell model: 0U692R Bios: Dell version: A12 date: 02/13/2009
CPU: Dual core Intel Core2 Duo CPU P8700 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx)
Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz
Graphics: Card: Intel Mobile 4 Series Chipset Integrated Graphics Controller
X.Org: 1.13.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x800@60.0hz
GLX Renderer: Mesa DRI Mobile Intel GM45 Express Chipset GLX Version: 2.1 Mesa 9.1.7
Audio: Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel Sound: ALSA ver: k3.8.0-19-generic
Network: Card-1: Intel Ultimate N WiFi Link 5300 driver: iwlwifi
Card-2: Intel 82567LM Gigabit Network Connection driver: e1000e
Drives: HDD Total Size: 80.0GB (88.6% used) 1: id: /dev/sda model: WDC_WD800BEVT size: 80.0GB
Partition: ID: / size: 72G used: 67G (98%) fs: ext4 ID: swap-1 size: 2.10GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 48.5C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 160 Uptime: 2:54 Memory: 541.3/1955.4MB Client: Shell inxi: 1.8.4
meeotch

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by meeotch »

Just a "me too". Linux Petra - Xorg was something like 60-70%, and mdmwebkit 30-40%. Switching to gtk login screen killed it.
phill1978

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by phill1978 »

I posted about this a while ago. I have a power meter connected to my PC

on the HTML login screen idle power is over 100W on full APU load.

this needs resolving, it would be hideous if this were run on a laptop and it would drain the battery.


Here: http://forums.linuxmint.com/viewtopic.p ... 61#p809661
dmaz99

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by dmaz99 »

I just installed Mint yesterday and noticed this, so this message is just another "me too." Is this being worked on? Switching from Windows to Linux shouldn't make my electric bill go up. :)
7enderhead

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by 7enderhead »

Just to confirm, a Mint 17 (XFCE) installation does the very same in my VirtualBox. I simply removed MDM (since I use the system via ssh/XWin), and later changed the boot options to "quiet text", so that plymouthd doesn't take another 4% CPU usage. Now the system is nice and quiet...
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by karlchen »

Hello, 7enderhead.

You will have noticed that this thread is about "mdmwebkit - high cpu usage (Mint 15 Cinnamon)", a very old issue.

2 years after the thread was started, you report the same problem hitting you in a VM that runs Mint 17 XFCE.
Are we sure this has got the same root cause?
It might be caused by the graphics resources which you granted to your VM. Who knows.

The reason why I doubt that it is simply the old bug from Mint 15 times is this statement in the "New features in Linux Mint 17 Cinnamon" webpage - and this will apply to all 4 desktop environments, because MDM is common to all: Section "Login Screen"
The background animation uses less CPU usage
You might also change from the HTML login screen to the GDM login screen which may be less fancy, but which will be less demanding with respect to resources.

Kind regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
Magister

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by Magister »

Well, it's 2016, and my 17.3 install is using 100% CPU in mdmwebkit on the login screen...
simmonsm

Re: mdmwebkit - high cpu usage (Mint 15 Cinnamon)

Post by simmonsm »

just seen the same behaviour. I'd left my login screen untouched after the computer booted this morning and have just connected to it using ssh.
Screenshot shows mdmwebkit eating my cpu.
Linux Mint 17 Qiana (GNU/Linux 3.13.0-24-generic x86_64)

- Mark
Locked

Return to “Cinnamon”