Background Page causing high CPU usage
-
@DoctorG
(1) the problem is always reproducible on my working copy of Vivaldi.(2) there is no problem on the testing (fresh) copy of Vivaldi.
-
@ambroz09 Removing the subscribed feed, restart Vivaldi and add gain does not help?
-
@DoctorG
On my Vivaldi configuration if I remove the feed and restart Vivaldi, Background Page process is back to 0% CPU.If I then subscribe to the feed back again, Background page within seconds jumps to at least 94% CPU and stays there.
-
@ambroz09 Do you run Wayland or X11?
I will test now on Ubuntu 22 LTS.
-
@DoctorG
wayland -
But there must be some problem in the configuration of "my" Vivaldi as the testing (new) version of Vivaldi was working without problems.
Background Page stayed at 0% after adding a RSS feed. -
@ambroz09 I see same results with Ubuntu 22.04 LTS Wayland as on Debian 12 KDE X11.
-
@ambroz09 I agree, as the test profile runs fast theer must have been happend something strange with your original profile.
-
@ambroz09 I suggest a hard workaround:
Backup your profile ~/.config/Vivaldi/
Start Vivaldi
New Tab (not the feeds or mail!)
Menu File → Export → Feeds
Save OPML file on desktop
After you have exported, delete all feeds in Settings → Feeds
Restart VivaldiCheck CPU usage now
If it is low, try a re-import of feeds
Menu File → Import from files and apps → Select Feeds (OPML) file
Select the previously saved OPML file and importDoes that help?
-
@ambroz09 If you use extensions, for a test, try to start Vivaldi as
vivaldi --disable-extensions &
-
@DoctorG I did as requested.
Deleted all feeds.
Restarted Vivaldi without extensions.Result:
As soon as I enter a feed (any feed - this time I tried BBC News feed) Background Page process shoots from 0 to 100% CPU.I guess I'll have to do without feeds on Vivaldi.
Thanks for your time and effort, much appreciated.
-
@ambroz09 And if you try X11?
Do you use Vivaldi deb-package or Flatpak? -
@DoctorG Vivaldi .deb.
-
@ambroz09 I have no idea where such comes from.
Perhaps mail search database.
Can you please click in statusbar on Envelope → Cogwheel → Rebuild Mail Search Database and wait?
Do you have Settings → Webpages → Use of Hardware Acceleration active?
Can you post content of section Graphics Feature Status of pagevivaldi://gpu
here? -
(1) about mail search database: I don't have any mail configured in Vivaldi
(2) about Use of Hardware Acceleration active: Yes, it is active
(3) about
vivaldi://gpu
Graphics Feature Status- Canvas: Hardware accelerated
- Canvas out-of-process rasterization: Enabled
- Direct Rendering Display Compositor: Disabled
- Compositing: Hardware accelerated
- Multiple Raster Threads: Enabled
- OpenGL: Enabled
- Rasterization: Hardware accelerated
- Raw Draw: Disabled
- Skia Graphite: Disabled
- Video Decode: Hardware accelerated
- Video Encode: Software only. Hardware acceleration disabled
- Vulkan: Disabled
- WebGL: Hardware accelerated
- WebGL2: Hardware accelerated
- WebGPU: Disabled
- WebNN: Disabled
-
I'm encountering this issue on Manjaro as well. Usage is around 180-260%.
I have an AMD Ryzen 3900x and Radeon 6800XT on Wayland (X11 seems to behave the same). 32 GB RAM
KDE Plasma 6.0.5
KDE Framework 6.4.0
Qt 6.7.2
Kernel 6.9.12-1-MANJARODisabling Mail, Calendar, and Feeds made no difference. Rebuilding Mail database did nothing to the usage after it was complete.
I have hardware acceleration disabled because for some reason that flag syncs (which is insane because not all systems are the same and that should absolutely be profile/hardware specific, not a syncable flag). But I'll try switching that on to see if it makes a difference.
Pre-hardware acceleration enabled report:
Graphics Feature Status
- Canvas: Software only, hardware acceleration unavailable
- Canvas out-of-process rasterization: Disabled
- Direct Rendering Display Compositor: Disabled
- Compositing: Software only. Hardware acceleration disabled
- Multiple Raster Threads: Enabled
- OpenGL: Disabled
- Rasterization: Software only. Hardware acceleration disabled
- Raw Draw: Disabled
- Skia Graphite: Disabled
- Video Decode: Software only. Hardware acceleration disabled
- Video Encode: Software only. Hardware acceleration disabled
- Vulkan: Disabled
- WebGL: Software only, hardware acceleration unavailable
- WebGL2: Software only, hardware acceleration unavailable
- WebGPU: Disabled
- WebNN: Disabled
Problems Detected
-
WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu -
WebGL2 has been disabled via blocklist or the command line.
Disabled Features: webgl2 -
Accelerated rasterization has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: rasterization -
Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: video_encode -
Accelerated video decode has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: video_decode -
WebGL has been disabled via blocklist or the command line.
Disabled Features: webgl -
Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
Disabled Features: gpu_compositing -
Accelerated 2D canvas is unavailable: either disabled via blocklist or the command line.
Disabled Features: 2d_canvas
-
@sdgreene KDE Plasma 6 is a trouble maker with Vivaldi.
I do not know why. -
Surprisingly, hardware acceleration fixed the apparent issue. But usage isn't staying under 100%, it's around 60-120%.
Second report:
Graphics Feature Status
- Canvas: Hardware accelerated
- Canvas out-of-process rasterization: Enabled
- Direct Rendering Display Compositor: Disabled
- Compositing: Hardware accelerated
- Multiple Raster Threads: Enabled
- OpenGL: Enabled
- Rasterization: Hardware accelerated
- Raw Draw: Disabled
- Skia Graphite: Disabled
- Video Decode: Hardware accelerated
- Video Encode: Software only. Hardware acceleration disabled
- Vulkan: Disabled
- WebGL: Hardware accelerated
- WebGL2: Hardware accelerated
- WebGPU: Disabled
- WebNN: Disabled
Driver Bug Workarounds
- clear_pixel_unpack_buffer_before_copyteximage
- disable_post_sub_buffers_for_onscreen_surfaces
- disable_software_to_accelerated_canvas_upgrade
- enable_webgl_timer_query_extensions
- exit_on_context_lost
- force_cube_map_positive_x_allocation
- force_int_or_srgb_cube_texture_complete
- disabled_extension_GL_KHR_blend_equation_advanced
- disabled_extension_GL_KHR_blend_equation_advanced_coherent
- disabled_extension_GL_MESA_framebuffer_flip_y
Problems Detected
-
WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu -
Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: video_encode -
Linux ATI drivers crash on binding incomplete cube map texture to FBO:
(http://crbug.com/518889)
Applied Workarounds: force_cube_map_positive_x_allocation -
Disable partial swaps on Mesa drivers (detected with GL_VERSION):
(http://crbug.com/339493)
Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces -
Disable KHR_blend_equation_advanced until cc shaders are updated:
(http://crbug.com/661715)
Applied Workarounds: disable(GL_KHR_blend_equation_advanced),
disable(GL_KHR_blend_equation_advanced_coherent) -
Software to Accelerated canvas update breaks Linux AMD:
(http://crbug.com/710029)
Applied Workarounds: disable_software_to_accelerated_canvas_upgrade -
Force integer or srgb cube map texture complete on Linux AMD:
(http://crbug.com/712117)
Applied Workarounds: force_int_or_srgb_cube_texture_complete -
Expose WebGL's disjoint_timer_query extensions on platforms with site isolation:
(http://crbug.com/808744), (http://crbug.com/870491)
Applied Workarounds: enable_webgl_timer_query_extensions -
AMD Linux driver crashes when copyTexImage2D is called with PIXEL_UNPACK_BUFFER set to an uninitialized buffer:
(http://crbug.com/859998)
Applied Workarounds: clear_pixel_unpack_buffer_before_copyteximage -
Some drivers can't recover after OUT_OF_MEM and context lost:
(http://crbug.com/893177)
Applied Workarounds: exit_on_context_lost -
Disable GL_MESA_framebuffer_flip_y for desktop GL:
(http://crbug.com/964010)
Applied Workarounds: disable(GL_MESA_framebuffer_flip_y)
-
@DoctorG Hmmm, I've noticed. I wish I could switch, because there's little things that bother me, but it's also got a whole lot more compelling features that I use that others do not, so I am stuck. It's not just Plasma 6 tho, 5 also had its share of quirks.
-
@sdgreene Really a strange issue.
But i can not test KDE 6 as i have no Linux PC running KDE 6, and in my VM the KDE 6 was not stable enuff to test.So be patient and wait for an other usee who can test more with KDE 6.x.