excessive cpu usage

For discussions specific to the Portable version of the browser.
Post Reply
User avatar
n77pln
Newbie
Newbie
Posts: 5
Joined: 2020-10-27, 18:22

excessive cpu usage

Post by n77pln » 2020-10-27, 19:08

-my cpu usage is about 30-50 on a fresh start, with one tab, for approx 20min, on a freshly extracted pm portable that is unconfigured in any way.
-on the very first start it does NOT use my cpu excessively.
-if i restore a reasonably sized session from session manager it uses 70-90 cpu for approx 20min, then it goes down to 30-50, then it stops using the cpu excessively.
-also noted that session manager started to sparsely save my sessions.(this was the last straw for me)
-this is true for 28.14.2 and 28.15.0 afaik.

CPU: Intel Core 2 Duo P8600
Operating system: Windows 7 64-bit (without updates)
Browser version: 28.15.0
32-bit or 64-bit?: 64-bit
Installed plugins: VLC Web Plugin, Java(TM) Platform SE 8 U271, Java Deployment Toolkit 8.0.2710.9

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 28495
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: excessive cpu usage

Post by Moonchild » 2020-10-27, 20:12

How much ram do you have? Which website were you on for 20 minutes?
Please include the output of Help->Troubleshooting information in your reply.

A few general remarks, aside from that:
  • We can't cater to a Windows 7 RTM install with no updates whatsoever. You should update to at least the latest service pack and fully update it to the last pre-EOL state.
  • Unfortunately your 12-year-old, 25W underpowered processor likely simply doesn't have the power to properly run a modern browser, especially if you visit heavy websites.
  • Most likely your notebook also is in dire need of driver updates and lacking that you're having the browser funnel everything through the CPU without acceleration.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
n77pln
Newbie
Newbie
Posts: 5
Joined: 2020-10-27, 18:22

Re: excessive cpu usage

Post by n77pln » 2020-10-28, 00:54

How much ram do you have?
8.0GB and I never run out.
Which website were you on for 20 minutes?
in this case it was https://palemoon.start.me/start but really almost everything does this, save for a few websites like https://duckduckgo.com. i also just noted that if i switch to a blank tab it immediately stops using CPU excessively even if the previous tab is still fully loaded and accesible.

i'll look into updating Windows 7 but afaik it should work okay without. my CPU isn't all THAT weak, just terribly misused i think. other browsers run fast and don't have this problem.


troubleshooting information:
Application Basics
------------------

Name: Pale Moon
Version: 28.15.0 (64-bit)
Build ID: 20201024170924
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.9) Gecko/20100101 Goanna/4.7 Firefox/68.9 PaleMoon/28.15.0
OS: Windows_NT 6.1
Safe Mode: false

Extensions
----------

Graphics
--------

Features
Compositing: Direct3D 11
GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000b764) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (ATI Mobility Radeon HD 3400 Series Direct3D11 vs_4_1 ps_4_1)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.)
WebGL 1 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_compressed_ETC1_RGB8_texture GL_EXT_sRGB GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_draw_buffers GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_disjoint_timer_query GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_discard_framebuffer GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_NV_EGL_stream_consumer_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_OES_vertex_array_object GL_KHR_debug GL_ANGLE_lossy_etc_decode GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query GL_CHROMIUM_copy_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query 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_etc1 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: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000b764) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (ATI Mobility Radeon HD 3400 Series Direct3D11 vs_4_1 ps_4_1)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.)
WebGL 2 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_compressed_ETC1_RGB8_texture GL_EXT_sRGB GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_draw_buffers GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_disjoint_timer_query GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_discard_framebuffer GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_NV_EGL_stream_consumer_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_EXT_color_buffer_float GL_OES_vertex_array_object GL_KHR_debug GL_ANGLE_lossy_etc_decode GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query GL_CHROMIUM_copy_texture GL_EXT_texture_norm16
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get OES_texture_float_linear WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc
Hardware H264 Decoding: No; Hardware video decoding disabled or blacklisted
Audio Backend: wasapi
Direct2D: true
DirectWrite: true (6.2.9200.16492)
GPU #1
Active: Yes
Description: ATI Mobility Radeon HD 3400 Series
Vendor ID: 0x1002
Device ID: 0x95c4
Driver Version: 8.792.5.2000
Driver Date: 5-4-2012
Drivers: aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
Subsys ID: 210f17aa
RAM: 256
GPU #2
Active: No
Description: Mobile Intel(R) 4 Series Express Chipset Family
Vendor ID: 0x8086
Device ID: 0x2a42
Driver Version: 8.792.5.2000
Driver Date: 5-4-2012
Drivers: igdumd64 igd10umd64 igdumdx32 igd10umd32
Subsys ID: 211317aa
RAM: Unknown
Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo





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

browser.cache.disk.capacity: 358400
browser.cache.disk.parent_directory: C:\Users\xxxxx\Desktop\palemoon\User\Palemoon\Profiles\Default
browser.cache.disk.smart_size.first_run: false
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 4
browser.startup.homepage_override.buildID: 20201024170924
browser.startup.homepage_override.mstone: 4.7.0
extensions.lastAppVersion: 28.15.0
gfx.crash-guard.d3d11layers.appVersion: 28.15.0
gfx.crash-guard.d3d11layers.deviceID: 0x95c4
gfx.crash-guard.d3d11layers.driverVersion: 8.792.5.2000
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.d3d9video: 2
media.hardware-video-decoding.failed: true
network.cookie.prefsMigrated: true
places.history.expiration.transient_current_max_pages: 122334
privacy.sanitize.migrateFx3Prefs: true

user.js Preferences
-------------------

Your profile folder contains a user.js file, which includes preferences that were not created by Pale Moon.

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

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

JavaScript
----------

Incremental GC: true

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

Activated: false
Prevent Accessibility: 1

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

NSPR
Expected minimum version: 4.24
Version in use: 4.24

NSS
Expected minimum version: 3.48.4
Version in use: 3.48.4

NSSSMIME
Expected minimum version: 3.48.4
Version in use: 3.48.4

NSSSSL
Expected minimum version: 3.48.4
Version in use: 3.48.4

NSSUTIL
Expected minimum version: 3.48.4
Version in use: 3.48.4

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8281
Joined: 2012-10-09, 19:37
Location: The factory in Neuconsin

Re: excessive cpu usage

Post by New Tobin Paradigm » 2020-10-28, 02:46

Well you obviously didn't critically consider what you were told nor are considering the fact that mobile hardware especially over a decade old just isn't designed for the long haul and is subject to progressive thermal damage and in that 12 years a lot has changed including the burden placed on web browsers and thus the hardware they run on. Also, you have flat out disregarded the fact that UXP Applications are designed to take advantage of the updates a target OS receives over its lifetime.

Now as for your predictable "but other browsers don't have problems" well all I can say is if that is true, which I seriously doubt, why don't you use that. The mere fact of mentioning it is just being manipulative because if you truly believed that you wouldn't be here. But I happen to know for a fact that due to how other browsers work to a decent extent internally that their multi-process construction will use FAR MORE resources than we as a multi-threaded single process AND the fact that a lot of support code especially in terms of graphical acceleration and media features as well as javascript engine performance also perform poorly on hardware over a decade old and on systems which are not properly updated for mainstream progressive enhancements in the lifecycle of the OS or drivers and in some cases are intentionally sabotaged in favor of them.

So I can only conclude you are simply spouting bullshit manipulative lies in order to convince us to somehow magically make a 12 year old system with an outdated OS software, even relative to the target OS's own lifecycle, to some how accomplish the unreasonable and rather impossible task to make your ancient likely thermally damaged system to perform by today's standards and performance expectations like a machine you should have replaced it with at least twice over.

May I suggest you stop this behavior and at the very least satisfy the MINIMUM requirements and recommended suggestions given to you before you try and elicit further consideration from us.
Not so much safety first as it is stupidity last.
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 28495
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: excessive cpu usage

Post by Moonchild » 2020-10-28, 12:18

So, it seems like the opposite might be going on.
Since hardware acceleration is enabled and you say you have problems with any website that has a more complex layout, your video driver from 2012 likely has (a) serious bug(s) (it's an Intel driver, they have a bad track record) and your video chip, in essence, is total garbage for ore advanced use -- might have been blacklisted by other browsers over time; something I may have to look into adding as well...

Try disabling hardware acceleration in preferences -> advanced, see if that works any better.

Otherwise, take critical note of everything Tobin and I have said in previous posts.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
n77pln
Newbie
Newbie
Posts: 5
Joined: 2020-10-27, 18:22

Re: excessive cpu usage

Post by n77pln » 2020-10-29, 15:20

you have flat out disregarded the fact that UXP Applications are designed to take advantage of the updates a target OS receives over its lifetime.
noted. i'll look into updating my windows 7.
The mere fact of mentioning it is just being manipulative because if you truly believed that you wouldn't be here.
no i am NOT being manipulative with that claim. i think it was important to mention it because it shows the problem doesn't completely stem just from my device. and it IS true that the latest firefox, chromium and waterfox consume almost nil CPU at idle and run fast on this laptop.
why don't you use that.
and i do use them for anything that palemoon doesn't load nicely. but why do you think i use palemoon in the first place? it's easy to customize, much less bloat, and all my old extensions work in it.
So I can only conclude you are simply spouting bullshit manipulative lies
a machine you should have replaced it with at least twice over.
woah, excuse me for not wanting to throw my old thinkpad in the trash. and you're falsely accusing me of lying but that's understandable, i will post proof of my honesty.
Try disabling hardware acceleration in preferences -> advanced, see if that works any better.
already tried. doesn't seem to make it work better.


palemoon with a session
palemoon with a session
vanilla palemoon(freshly extracted, uncustomized)
vanilla palemoon(freshly extracted, uncustomized)
latest firefox
latest firefox
latest ungoogled chromium
latest ungoogled chromium

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 28495
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: excessive cpu usage

Post by Moonchild » 2020-10-29, 15:33

Considering both Chromium and Firefox are likely using Skia for software rendering, while we use Cairo, that's the only other thing I can suggest to try -- if that also brings no joy, then I'm afraid it's simply a combination of software and hardware that doesn't play nice.

To set this up, make sure the following is set in about:config

gfx.canvas.azure.backends direct2d1.1,skia,cairo
gfx.content.azure.backends direct2d1.1,skia,cairo

then fully exit and restart the browser, and verify in help->troubleshooting information, under graphics, that skia is being used for canvas and content.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Al6bus
Lunatic
Lunatic
Posts: 268
Joined: 2015-08-24, 14:55
Location: Lemberg

Re: excessive cpu usage

Post by Al6bus » 2020-10-29, 18:35

https://blog.simplix.info/updatepack7r2/ flawlessy updates win7
https://www.amd.com/ru/support/graphics ... on-hd-3450 Update your radeon 3400 mobility (v13.9)
Also, enabling aero can improve your experience
Windows 7 Pro x64 - Pale Moon x64
We hope for multiprocessing

User avatar
n77pln
Newbie
Newbie
Posts: 5
Joined: 2020-10-27, 18:22

Re: excessive cpu usage

Post by n77pln » 2020-11-08, 08:43

@Moonchild
gfx.canvas.azure.backends direct2d1.1,skia,cairo
gfx.content.azure.backends direct2d1.1,skia,cairo
canvas was already set as you say.
content didn't have skia in it.
the cpu usage is the same after changing them.
is this troubleshooting information correct?

Code: Select all

Diagnostics
AzureCanvasAccelerated	0
AzureCanvasBackend	direct2d 1.1
AzureContentBackend	direct2d 1.1
AzureFallbackCanvasBackend	cairo
@Al6bus
thanks for recommending simplix, it's just what i needed. but sadly didn't fix the problem.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 28495
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: excessive cpu usage

Post by Moonchild » 2020-11-08, 10:42

No, the information is not correct. You didn't disable hardware acceleration.

Direct2d is likely broken on your driver/os patch level. Disable hardware acceleration in preferences and restart the browser. The troubleshooting information should then read skia for both instead of direct2d 1.1
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
n77pln
Newbie
Newbie
Posts: 5
Joined: 2020-10-27, 18:22

Re: excessive cpu usage

Post by n77pln » 2020-11-10, 14:02

on a fresh new palemoon folder here are the results of skia vs cairo restoring the same session:
i made sure skia works this time
i made sure skia works this time
skia_proof.png (2.03 KiB) Viewed 154 times
skia
skia
cairo
cairo
with both the usage stays like this. when i click on an unloaded tab the usage jumps to 100% briefly.
also, do you know why session manager sometimes doesn't save my session(manually)? it seems to happen when palemoon is under heavy load :cry:

vannilla
Board Warrior
Board Warrior
Posts: 1274
Joined: 2018-05-05, 13:29

Re: excessive cpu usage

Post by vannilla » 2020-11-10, 14:20

n77pln wrote:
2020-11-10, 14:02
unloaded tab the usage jumps to 100% briefly.
Sort of offtopic, but this is more or less expected. I can't vouch for actual CPU usage, but it's normal to see a spike when restoring an unloaded tab as there is plenty of data that the browser has to handle before an unloaded tab is available again.

Post Reply