[Linux] Major elevation of CPU consumption after update to v31

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
passa
Newbie
Newbie
Posts: 6
Joined: 2021-03-11, 13:43

[Linux] Major elevation of CPU consumption after update to v31

Unread post by passa » 2022-05-15, 21:38

Hi,

I just updated to v31.0.0 (64 bit on debian, stevenpusser repo), and CPU consumption skyrocketed compared to previous versions.
E.g. just editing this simple form one of my 2 cores is on full load mostly taken be palemoon.
Opening several tabs of e.g. online news takes to 100% both of my cores and stays there (is not due to initial load of html pages, but rather ongoing javascript or animated gifs or whatever).

This was not that bad in previous versions and makes the machine harder to use for any other apps and it is more or less showstopper for default browsing.
Is there any way how to make palemoon less demanding via some user preferences?

Thanks!

Installed addons: adblock latitude, mozarchiver, I don't care about cookies

If possible, please include the output of help->troubleshooting information (as text):
Application Basics
------------------

Name: Pale Moon
Version: 31.0.0 (64-bit)
Build ID: 20220512203256
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Goanna/5.1 Firefox/68.0 PaleMoon/31.0.0
OS: Linux 5.10.0-13-amd64
Safe Mode: false

Extensions
----------

Name: Adblock Latitude
Version: 5.0.9
Enabled: true
ID: adblocklatitude@addons.palemoon.org

Name: I don't care about cookies
Version: 3.4.0
Enabled: true
ID: jid1-KKzOGWgsW3Ao4Q@jetpack

Name: MozArchiver
Version: 2.0.1
Enabled: true
ID: mozarchiver@lootyhoof-pm

Graphics
--------

Features
Compositing: Basic
GPU Accelerated Windows: 0/1 Basic (OMTC)
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_swap_control GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
WebGL 1 Driver Renderer: Intel Open Source Technology Center -- Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
WebGL 1 Driver Version: 2.1 Mesa 20.3.5
WebGL 1 Driver Extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_rgb10_a2ui GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_EXT_direct_state_access GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_storage GL_AMD_shader_trinary_minmax GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_clip_control GL_ARB_get_texture_sub_image GL_ARB_texture_barrier GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_ARB_parallel_shader_compile GL_KHR_no_error GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_sRGB_R8 GL_EXT_EGL_sync GL_EXT_demote_to_helper_invocation
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic MOZ_debug_get OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture
WebGL 2 Driver WSI Info: -
WebGL 2 Driver Renderer: WebGL creation failed: * Error during native OpenGL init. * Error during native OpenGL init. * Error during native OpenGL init. * Error during native OpenGL init. * Error during native OpenGL init. * Exhausted GL driver caps. * Exhausted GL driver options.
WebGL 2 Driver Version: -
WebGL 2 Driver Extensions: -
WebGL 2 Extensions: -
Hardware H264 Decoding: No
Audio Backend: alsa
GPU #1
Active: Yes
Description: Intel Open Source Technology Center -- Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
Vendor ID: Intel Open Source Technology Center
Device ID: Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
Driver Version: 2.1 Mesa 20.3.5

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
CairoUseXRender: 1
Decision Log
HW_COMPOSITING:
disabled by user: Disabled by pref
OPENGL_COMPOSITING:
unavailable by default: Hardware compositing is disabled




Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 4
browser.privatebrowsing.autostart: true
browser.search.useDBForOrder: true
browser.startup.homepage_override.buildID: 20220512203256
browser.startup.homepage_override.mstone: 5.1.0
browser.urlbar.clickSelectsAll: false
extensions.lastAppVersion: 31.0.0
font.internaluseonly.changed: true
general.useragent.updates.lastupdated: 1604574218578
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1652343203
places.history.expiration.transient_current_max_pages: 122334
print.print_bgcolor: false
print.print_bgimages: false
print.print_duplex: 0
print.print_evenpages: true
print.print_in_color: true
print.print_margin_bottom: 0.5
print.print_margin_left: 0.5
print.print_margin_right: 0.5
print.print_margin_top: 0.5
print.print_oddpages: true
print.print_orientation: 0
print.print_page_delay: 50
print.print_paper_data: 0
print.print_paper_height: 11.00
print.print_paper_name: na_letter
print.print_paper_size_unit: 0
print.print_paper_width: 8.50
print.print_scaling: 0.18
print.print_shrink_to_fit: false
print.print_to_file: false
print.print_unwriteable_margin_bottom: 56
print.print_unwriteable_margin_left: 25
print.print_unwriteable_margin_right: 25
print.print_unwriteable_margin_top: 25
privacy.GPCheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1652256104

Important Locked Preferences
----------------------------

Places Database
---------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 1

Library Versions
----------------

NSPR
Expected minimum version: 4.25
Version in use: 4.25

NSS
Expected minimum version: 3.52.5
Version in use: 3.52.5

NSSSMIME
Expected minimum version: 3.52.5
Version in use: 3.52.5

NSSSSL
Expected minimum version: 3.52.5
Version in use: 3.52.5

NSSUTIL
Expected minimum version: 3.52.5
Version in use: 3.52.5

**PASTE troubleshooting information here**

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-15, 23:29

Using a new profile fixed it for me.

User avatar
passa
Newbie
Newbie
Posts: 6
Joined: 2021-03-11, 13:43

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by passa » 2022-05-16, 21:21

Unfortunately, that does not help here.
I created new profile, logged into this forum and while I'm writing this message, one of my cores jumps to 100%.
Creating new tab, and going to ampther site with more some active elements (ads, etc, but no videos etc) and both cores are 100%.
No add-ons with the new profile.

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-16, 22:45

passa wrote:
2022-05-16, 21:21
I created new profile, logged into this forum and while I'm writing this message, one of my cores jumps to 100%.
That's not good. Mine had done the same before I created the new profile, but then dropped basically to 0% cpu when idling with the new profile.

Have you tried toggling hardware acceleration on or off? Go to Tools - Preferences - Advanced - General tab, look for "Use hardware acceleration when available" checkbox.

And I would go ahead and install an adblocker. Some of those pages with ads are very heavy and can cause even a newer laptop to experience very high cpu spikes. Also if you paste an example link of a page you visited that caused this problem it could be helpful.

User avatar
passa
Newbie
Newbie
Posts: 6
Joined: 2021-03-11, 13:43

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by passa » 2022-05-17, 09:23

> Have you tried toggling hardware acceleration on or off? Go to Tools - Preferences - Advanced - General tab, look for "Use hardware acceleration when available" checkbox.

Thanks, this did the trick! (Except I needed to turn it on instead of off, dunno whether it was off before or not.)

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-17, 11:53

passa wrote:
2022-05-17, 09:23
> Have you tried toggling hardware acceleration on or off? Go to Tools - Preferences - Advanced - General tab, look for "Use hardware acceleration when available" checkbox.

Thanks, this did the trick! (Except I needed to turn it on instead of off, dunno whether it was off before or not.)
Excellent! You might mark this thread as [SOLVED] so that people searching for a solution will see it more readily.

Simon P
Newbie
Newbie
Posts: 4
Joined: 2018-03-31, 11:31

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by Simon P » 2022-05-17, 12:03

Switching on hardware acceleration has fixed this for me, too. Thanks!

(Using gtk3 tarball on Debian 11)

nero355
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2018-01-15, 18:20

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by nero355 » 2022-05-24, 12:58

Before I forget :

Operating system: Kubuntu 20.04 LTS
Browser version: 31.0.0
32-bit or 64-bit?: 64-bit
Theme: Breeze for GTK
Installed add-ons: NONE
Installed plugins: NONE

Basically a clean Profile with only some Bookmarks inside! ;)
andyprough wrote:
2022-05-16, 22:45
Have you tried toggling hardware acceleration on or off? Go to Tools - Preferences - Advanced - General tab, look for "Use hardware acceleration when available" checkbox.
That option has been turned OFF here for many years because... ehh... dunno anymore... reasons... and never gave me any issues until I upgraded from 29.x.x to the latest version : 31.0.0 :?: :!:

Things I have noticed :
- CPU Fan of my Laptop makes more noise with just 2 to 4 Tabs opened!
- My Laptop running out of Battery a lot faster than before!
- When I switch to Firefox which I use as my backup browser then I basically have the old Pale Moon behaviour back!

IMHO something went wrong somewhere and this issue needs to be fixed in a future build! ;)
And I would go ahead and install an adblocker. Some of those pages with ads are very heavy and can cause even a newer laptop to experience very high cpu spikes. Also if you paste an example link of a page you visited that caused this problem it could be helpful.
Even better : Run Pi-Hole on your network and block many Ads and Trackers by simply blocking them on DNS level :D

* nero355 is a huge fan and supporter of the Pi-Hole project! :mrgreen:

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-24, 13:06

nero355 wrote:
2022-05-24, 12:58
That option has been turned OFF here for many years because... ehh... dunno anymore... reasons... and never gave me any issues until I upgraded from 29.x.x to the latest version : 31.0.0 :?: :!:
It's not clear to me from your post - did toggling hardware acceleration help in your case?

nero355
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2018-01-15, 18:20

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by nero355 » 2022-05-24, 13:31

andyprough wrote:
2022-05-24, 13:06
It's not clear to me from your post - did toggling hardware acceleration help in your case?
Sorry, forgot to mention that I will toggle it to ON and do some testing for a few days ;)

User avatar
mr tribute
Lunatic
Lunatic
Posts: 332
Joined: 2016-03-19, 23:24

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by mr tribute » 2022-05-24, 21:35

Anecdotal evidence and limited testing:

Running Pale Moon v31 causes a mild spike in CPU (15-16 % on this PC on sites that are normally close to 0 %).

Turning on hardware acceleration fixes it for the gtk3 version, but doesn't fix it for the gtk2 version.

I understand those who rather use the gtk2 version (gtk2 fanboi here), but even the oldest currently supported version of Debian - Stretch - should be compatible with the official gtk3 tarball (gtk 3.22).

User avatar
FRauANtje
Newbie
Newbie
Posts: 3
Joined: 2022-05-26, 14:24

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by FRauANtje » 2022-05-26, 14:35

Hi,

turn Hardware Accelleration "On" does not really help here.

Checking CPU% with htop shows less power consumption. But there are some short peeks still that causes my intel cpu with state "powersafe" to change cpu-speed from 800 mhz to 3000 mhz...

So a little CPU-percentage does not help in this case.
Tested to start Pale Moon with no extentions had no positive effect...

This behaviour started with update to V31 on all my linux machines (Manjaro, Debian, Mint)

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-26, 17:39

FRauANtje wrote:
2022-05-26, 14:35
Tested to start Pale Moon with no extentions had no positive effect...

This behaviour started with update to V31 on all my linux machines (Manjaro, Debian, Mint)
Have you tried with a completely clean profile? That's what did it for me. There's instructions here on testing with a temporary clean profile on Linux with just one command - viewtopic.php?f=3&t=28387&p=228278&hili ... ux#p228278

User avatar
FRauANtje
Newbie
Newbie
Posts: 3
Joined: 2022-05-26, 14:24

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by FRauANtje » 2022-05-26, 19:18

@andyprough

New profile didn't help to me. But thank you for the link, didn't know that it is so easy to create and change profiles.

nero355
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2018-01-15, 18:20

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by nero355 » 2022-05-29, 15:14

andyprough wrote:
2022-05-24, 13:06
It's not clear to me from your post - did toggling hardware acceleration help in your case?
*** UPDATE ***

After some days of testing it seems to have helped, but I can't help feeling/thinking that the 29.x.x and earlier versions where even better when it comes to CPU usage ?!

Anyways...

For now it's good enough! ;)

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-29, 15:25

nero355 wrote:
2022-05-29, 15:14
After some days of testing it seems to have helped, but I can't help feeling/thinking that the 29.x.x and earlier versions where even better when it comes to CPU usage ?!

Anyways...

For now it's good enough! ;)
One thing I've been doing recently to reduce cpu load when on a GNU/Linux distro like your Kubuntu is that when I'm listening to music or some podcast or something on a video site, I toss it over to the mpv program to play it in "--no-video" mode. For example, here's some streaming music I like to listen to while I work:
mpv --no-video https://piped.kavin.rocks/watch?v=5qap5aO4i9A

With that option, instead of playing the video in a browser and running a cpu core at 50% or more, mpv with the --no-video mode can give the audio content with only 2%-8% cpu usage.

nero355
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2018-01-15, 18:20

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by nero355 » 2022-05-29, 15:39

andyprough wrote:
2022-05-29, 15:25
One thing I've been doing recently to reduce cpu load when on a GNU/Linux distro like your Kubuntu is that when I'm listening to music or some podcast or something on a video site, I toss it over to the mpv program to play it in "--no-video" mode. For example, here's some streaming music I like to listen to while I work:
mpv --no-video https://piped.kavin.rocks/watch?v=5qap5aO4i9A

With that option, instead of playing the video in a browser and running a cpu core at 50% or more, mpv with the --no-video mode can give the audio content with only 2%-8% cpu usage.
Good TIP but that's not the issue here : When I browse then I just only browse and only Pale Moon is active! ;)

I believe that for example VLC can do the same by the way! :mrgreen:

User avatar
andyprough
Astronaut
Astronaut
Posts: 699
Joined: 2020-05-31, 04:33

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by andyprough » 2022-05-29, 15:52

nero355 wrote:
2022-05-29, 15:39
I believe that for example VLC can do the same by the way! :mrgreen:
Agreed, and vlc can often play media with even lower cpu usage, but mpv plays media from a much wider variety of sites in my experience.

User avatar
mbecroft
Newbie
Newbie
Posts: 3
Joined: 2021-02-04, 02:43

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by mbecroft » 2022-05-29, 23:59

I can confirm this behavior, explain what seems to be happening, and why it is seemingly intermittent.

On any web page that has any type of animation (e.g. an animated gif) the SoftwareVsyncThread maxes one CPU, spinning on a futex (per strace output). It does so even while nothing is changing on the page. For instance, opening a single browser window with an animated gif, with image.animation_mode set to "none," so the image is not in fact changing, still leads to the 100% CPU problem. The moment you switch to a tab without any potentially animated elements, the problem goes away.

The issue will occur while any browser window has potentially animated elements. So if you have quite a few windows open, chances are at least one will trigger the issue.

This is clearly a bug or significant misfeature. I suspect handling of animation/repainting was modified in v31 and this is an unintended side-effect.

Can provide more info if it would help devs to debug the issue.

Cheers -Mario

User avatar
mbecroft
Newbie
Newbie
Posts: 3
Joined: 2021-02-04, 02:43

Re: [Linux] Major elevation of CPU consumption after update to v31

Unread post by mbecroft » 2022-05-30, 03:38

Further to the above, I've verified this on both gtk2 and gtk3, and in both cases with and without GPU rendering enabled. None of this makes any difference.

I've just established that I can build a working Pale Moon from source. If I have time, my intention is to investigate the issue during the next couple of weeks, as and when I have time. If anyone else wishes to chip in, I'd be more than happy to collaborate on investigating/resolving this regression. I would create a ticket in the tracker, but I don't believe I have access to that, so for now, I will post about any new developments in this forum.

Cheers -Mario

Locked