Enabling Mail, Calendar and Feeds triples CPU usage
-
I set up my email in Vivaldi a few weeks ago, after the latest update (
6.0.2979.15 (Stable channel) stable (64-bit)
). What I noticed was that enabling this feature significantly increases Vivaldi's CPU usage, causing the fan to run continuously, with intervals of increased speed (which is annoying to say the least).It is pretty clear this issue lies with Mail, Calendar and Feeds. I've tried enabling and disabling the feature, and the change in CPU usage is consistent:
- Enable Mail, Calendar and Feeds, and the CPU usage goes up to ~10%.
- Disable Mail, Calendar and Feeds again, and the CPU usage drops again to ~5%.
(Reportedly, this issue was first registered with the February 2023 update 5.7.2921.3.)
A 5% increase in CPU usage, just for emails and calendar (I haven´t used feeds) is for me unacceptable. (In comparison, my standalone third-party email client (Evolution, v. 3.48.1) increases CPU usage by 1%.)
Has anyone else experienced the same issue and know of a potential fix other than disabling Mail, Calendar and Feeds? Otherwise, this issue should probably be reported as a bug.
A proposed solution has been to reindex the emails. However, I did not find this to help.
Vivaldi: 6.0.2979.18 (Stable channel) stable (64-bit) OS: Arch Linux x86_64 Host: 82JY Legion 5 17ACH6H CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz [54.2°C] GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series CPU Usage: 10% / 5% # (Email, Calendar and Feeds activated / deactivated, respectively) Memory: 7.13GiB / 29.23GiB Disk (/): 824G / 954G (87%) Resolution: 1920x1080 @ 144.00Hz, 3840x2160 @ 59.94Hz Kernel: Linux 6.3.1-arch1-1 GPU Driver: NVIDIA 525.116.03 DE: GNOME 44.1
(This issue have been posted before in the Vivaldi for Windows forums (here and here). I use Arch Linux, however, so this issue is apparently not platform-specific and rather a feature-specific one. I therefore feel it belongs here.)
-
On my Debian 11 KDE (on a VM) i get 2-6% when Mail is running. I guess the 6% is too high.
-
@palbjartan
Hi, do you use feeds?
I have 0% CPU with 5 mail accounts, I don´t even understand 5% usage.
For a test a few weeks ago I added one feed and get 20% CPU, removing and adding it again gives me 0% again.Opensuse Linux, KDE, system specs in my signature.
Cheers, mib
@DoctorG Hi, I know there was a bug report about this issue but I cant find it. Is this closed as fixed? -
@mib2berlin May be this: VB-95369
-
@mib2berlin
No, I don't use feeds. Just two accounts: one email and one calendar.The 5% usage is probably because I have a lot of tabs open. The 5% jump to 10% when activating Mail, Calendar and Feeds makes no sense, however.
-
@DoctorG
Ah thanks, there is a confirmed open master bug: VB-95363
@palbjartan
Maybe this is a regression in Vivaldi 6.0 but there are a lot of fixes for mail and calendar in 6.1 already.
You can check it again when 6.1 stable is ready.Cheers, mib
-
@mib2berlin Aha, ok. I will eagerly await 6.1 then.
-
I confirm this is more like quadrupling the usage + general interface stutter and heavy lag when enabling the feature on Windows 11.
-
Same here, very high CPU usage as soon as i enable the mail/calendar/feeds module. I have no mail, simply added a calendar account or two, no feeds, and CPU usage becomes so high I can't use the browser.
-
This is a problem for me too. I went through the various troubleshooting actions before I realised what the issue was. Using Windows 10 on a 4gb ram i5 laptop (6 years old) CPU usage jumps from 2-5% on idle to 48-55% when mail is enabled. It shoots up immediately and stays there. Fans run constantly. Disabling mail, calendar and feeds doesn't stop it either, a restart of the browser is needed.
-
Hi,
I setup Vivaldi Mail client with gMail the first time today (using oAuth option). I confirmed:
- All my mail showed in the inbox.
- All expected folders showing.
- New e-mails are being received.
I have not chosen the offline option.
The problem I am running into is the two following processes continue to take up high cpu when Vivaldi Mail Module is enabled in the settings:
Vivaldi-Extens = 25% CPU
vivaldi-bin = 18% CPUThere is little to no network activity, and I have waited over an hour and the process seems to be stuck doing something.
Environment Details:
OS: EndeavourOS Linux x86_64
Kernel: 6.6.10-1-lts
Desktop: GNOME 45.3 with Wayland Session
Windows Manager: MutterVivaldi Information:
Vivaldi 6.5.3206.53 (Stable channel) stable (64-bit)
Revision 45aaa54826bd8a4784a47def46569ae67b3716fa
OS Linux
JavaScript V8 12.0.267.14
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Command Line /usr/bin/vivaldi-stable --flag-switches-begin --enable-zero-copy --ignore-gpu-blocklist --ozone-platform-hint=wayland --enable-features=Vulkan,WebRTCPipeWireCapturer --flag-switches-end --ozone-platform=wayland --desktop-startup-id=gnome-shell/Vivaldi/1491-2-mani_TIME1283182 --origin-trial-disabled-features=WebGPU --save-page-as-mhtml
Executable Path /opt/vivaldi/vivaldi
Profile Path /home/rsruser/.config/vivaldi/Default
Variations Seed Type SafeTroubleshooting:
- Confirmed no issues when Vivaldi is used with Web Browser only (mail disabled in settings).
- Disabled all Extensions in Settings.
- Launched Vivaldi from terminal and seeing the following while running the Vivaldi troubleshooting:
❯ vivaldi Reading profile /etc/firejail/vivaldi.profile Reading profile /etc/firejail/chromium-common.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-run-common.inc Reading profile /etc/firejail/whitelist-runuser-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 7485, child pid 7486 Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Child process initialized in 193.11 ms [4:4:0111/112551.511602:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Cannot access contents of url "chrome://inspect/#apps". Extension manifest must request permission to access this host.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/window.html (0)
Vivaldi Troubleshooting:
https://help.vivaldi.com/mail/mail-advanced/troubleshooting-and-debugging-vivaldi-mail/Choose "chrome-extension://mpognobbkildjkofajifpdfhcoklimli/components/mail/mail.html":
I'm not seeing any errors in the console:
I don't see a mail status button:
-
So do we have an open bug open to investigate the issue?
-
@kagetora13
Hi, we had some reports in the past but no tester and/or developer could reproduce it, me neither.
Hard to fix such issues.
I have 4 mail accounts and 2 calendars running but CPU is 0-1% Vivaldi is idle.
Some user report removing the account and add it again solve it, no problem for IMAP users.
I had this adding one feed but removing and add it again solve it.Cheers, mib
-
Usually if we see high cpu usage ... should we not have a tracing option to see what it is trying to do?
So for example ... maybe it is trying to index the e-mails or something. That is where we need to start (dig in behind the scenes).
-
@kagetora13
Hm, indexing is shown in the status bar, user with 10 thousands mails report it can take hours to index them but this run only once.
The internal task manager show exactly what cause the high CPU usage, open it with Shift+Esc.The 0.0 shows the CPU usage.
Your system monitor show Vivaldi-Extens, this can be any extension.Maybe Vivaldi stuck running the database, you can delete it without issues to rebuild it. At next Vivaldi start it create a new database.
It is located in\Default\Storage\ext\mpognobbkildjkofajifpdfhcoklimli
This is a Windows path but you will find it in .config/vivaldi. Delete the folder
mpognobbkildjkofajifpdfhcoklimli
EDIT: You have to run the search database rebuild or search is not working correctly with the new mail database.
-
@mib2berlin
The high CPU usage is now gone after I re-built the index.The Fix:
- Renamed "~/.config/vivaldi/Default/Storage/ext/mpognobbkildjkofajifpdfhcoklimli" to "~/.config/vivaldi/Default/Storage/ext/mpognobbkildjkofajifpdfhcoklimli.org".
- Original Index was under 13.2 mb
-
Started Vivaldi with the mail screen open.
-
I could clearly see messages that indexes were re-building (which completed for me in 5 minutes).
- New Index is now 12.4 mb
Question, if I switch to offline mode, where does the data get stored?
-
@kagetora13
They stay where they are in .config/vivaldi/Default/Mail.Cheers, mib
-
@mib2berlin Thank you for your feedback.
Based on what we found here (process behavior + high cpu) ... has anyone written a technote with the fix I mentioned?
This scenario demonstrates how looking at processes can be misleading when trying to diagnose a reported problem. I only guessed at the indexes because there was little to no network activity (plus disabled all extension prior to filing the post).
How can I see all the bugs filed for Vivaldi and its components (E.g. mail)? I'd like to review them so I can see what to expect.
-
@kagetora13
Hi, the bug tracker is not public, you can only ask about the status of a bug this following thread:https://forum.vivaldi.net/topic/27450/what-is-the-status-of-vb-already-reported-bug-issue/
Removing the database folder was in the troubleshooting mail issues page some time ago but got removed.
If a user use POP3 this is not working if I remember correctly and data loss can happen. -
I had this issue with just 1 email! Resetting the database as suggested above fixed it. (See https://forum.vivaldi.net/post/725439)