High CPU usage on certain site
-
Just took another look and noticed hardware acceleration had been turned off in my Vivaldi-stable install.
Going tochrome://settings/system
and enabling "Use hardware acceleration when available" fixed for me.
. -
@gwen-dragon here it is, yes many red-flagged items.
Also, I tried disabling hardware acceleration as mentioned in another post. No change (It was on.)Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
CheckerImaging: Disabled
Flash: Software only, hardware acceleration unavailable
Flash Stage3D: Software only, hardware acceleration unavailable
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable
Compositing: Software only, hardware acceleration unavailable
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only, hardware acceleration unavailable
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated but at reduced performance
WebGL2: Unavailable
Driver Bug Workarounds
adjust_src_dst_region_for_blitframebuffer
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_framebuffer_cmaa
disable_software_to_accelerated_canvas_upgrade
dont_remove_invariant_for_fragment_input
force_cube_map_positive_x_allocation
force_int_or_srgb_cube_texture_complete
init_texture_max_anisotropy
regenerate_struct_names
remove_invariant_and_centroid_for_essl3
scalarize_vec_and_mat_constructor_args
Problems Detected
ATI/AMD cards with older drivers in Linux are crash-prone: 71381, 76428, 73910, 101225, 136240, 357314
Disabled Features: flash_stage3d, gpu_compositing, panel_fitting, flash3d, gpu_rasterization, accelerated_2d_canvas, accelerated_video_decode, webgl2, accelerated_webgl, flash_stage3d_baseline, accelerated_video_encode
Accelerated video decode is unavailable on Linux: 137247
Disabled Features: accelerated_video_decode
Accelerated video encode is unavailable on Linux
Disabled Features: accelerated_video_encode
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Linux AMD drivers incorrectly return initial value of 1 for TEXTURE_MAX_ANISOTROPY: 348237
Applied Workarounds: init_texture_max_anisotropy
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Linux AMD drivers handle struct scopes incorrectly: 403957
Applied Workarounds: regenerate_struct_names
Linux ATI drivers crash on binding incomplete cube map texture to FBO: 518889
Applied Workarounds: force_cube_map_positive_x_allocation
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
adjust src/dst region if blitting pixels outside read framebuffer on Linux AMD: 664740
Applied Workarounds: adjust_src_dst_region_for_blitframebuffer
AMD drivers in Linux require invariant qualifier to match between vertex and fragment shaders: 659326, 639760
Applied Workarounds: remove_invariant_and_centroid_for_essl3, dont_remove_invariant_for_fragment_input
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Decode and Encode before generateMipmap for srgb format textures on Linux AMD: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Software to Accelerated canvas update breaks Linux AMD: 710029
Applied Workarounds: disable_software_to_accelerated_canvas_upgrade
Force integer or srgb cube map texture complete on Linux AMD: 712117
Applied Workarounds: force_int_or_srgb_cube_texture_complete
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
Version Information
Data exported 10/12/2017, 4:10:08 AM
Chrome version Chrome/61.0.3163.102
Operating system Linux 4.4.0-96-generic
Software rendering list version 13.10
Driver bug list version 10.29
ANGLE commit id unknown hash
2D graphics backend Skia/61 0eefc0552cfb5ac077560b7c2630c5bd475ea585-
Command Line /usr/bin/vivaldi-stable --always-authorize-plugins --disable-smooth-scrolling --enable-blink-features=ResizeObserver --flag-switches-begin --flag-switches-end
Driver Information
Initialization time 0
In-process GPU true
Passthrough Command Decoder false
Supports overlays false
Sandboxed false
GPU0 VENDOR = 0x1002, DEVICE= 0x6779
Optimus false
Optimus false
AMD switchable false
Driver vendor Google Inc.
Driver version 3.3.0.2
Driver date 2017/04/07
Pixel shader version 3.0
Vertex shader version 3.0
Max. MSAA samples 4
Machine model name
Machine model version
GL_VENDOR Google Inc.
GL_RENDERER Google SwiftShader
GL_VERSION OpenGL ES 2.0 SwiftShader
GL_EXTENSIONS
Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor
Window system binding version
Window system binding extensions
Window manager Xfwm4
XDG_CURRENT_DESKTOP XFCE
GDMSESSION xubuntu
Compositing manager Yes
Direct rendering Yes
Reset notification strategy 0x0000
GPU process crash count 0
System visual ID 0
RGBA visual ID 0
Compositor Information
Tile Update Mode One-copy
Partial Raster Enabled
GpuMemoryBuffers Status
ATC Software only
ATCIA Software only
DXT1 Software only
DXT5 Software only
ETC1 Software only
R_8 Software only
R_16 Software only
RG_88 Software only
BGR_565 Software only
RGBA_4444 Software only
RGBX_8888 Software only
RGBA_8888 Software only
BGRX_8888 Software only
BGRA_8888 Software only
RGBA_F16 Software only
YVU_420 Software only
YUV_420_BIPLANAR Software only
UYVY_422 Software only -
@gwen-dragon
Desktop manager in Xubuntu 16.04 is XFCE
Window manager is XFWM4 (Sassandra theme)
Motherboard is GA-990FXA-UD3R5
CPU: AMD - FX-6350 3.9GHz 6-Core Processor (No onboard graphics)
GPU: XFX - Radeon HD 5450 1GB Video Card (VGA monitor used)
Graphics: (results from terminal)
$ lspci -nnk | grep VGA -A101:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [1002:6779]
Subsystem: Diamond Multimedia Systems Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [1092:6450] -
@fixitmanaz
In Iron (Chrome-based browser) I am using a lower version of Chrome: (56 as opposed to 61 on Vivaldi,)
I get low CPU/GPU usage, (around 1% or 2%) on the same page in Iron (with game loaded) in Vivaldi it's at least 30% up to 50%.
I notice that WebGL2 is hardware accelerated in iron (in Vivaldi it is "unavailable" ) I imagine this is the problem but no idea how to fix. I also notice that Iron uses Mesa driver 12.04, Vivaldi uses Google 3.3.02 (No idea what that means)Results of chrome://gpu in Iron:
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Hardware accelerated
VPx Video Decode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
adjust_src_dst_region_for_blitframebuffer
clear_uniforms_before_first_program_use
count_all_in_varyings_packing
decode_encode_srgb_for_generatemipmap
disable_framebuffer_cmaa
disable_post_sub_buffers_for_onscreen_surfaces
dont_remove_invariant_for_fragment_input
force_cube_map_positive_x_allocation
init_texture_max_anisotropy
regenerate_struct_names
remove_invariant_and_centroid_for_essl3
scalarize_vec_and_mat_constructor_args
Problems Detected
Accelerated video decode is unavailable on Linux: 137247
Disabled Features: accelerated_video_decode
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Mesa drivers in Linux handle varyings without static use incorrectly: 333885
Applied Workarounds: count_all_in_varyings_packing
Linux AMD drivers incorrectly return initial value of 1 for TEXTURE_MAX_ANISOTROPY: 348237
Applied Workarounds: init_texture_max_anisotropy
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Linux AMD drivers handle struct scopes incorrectly: 403957
Applied Workarounds: regenerate_struct_names
Linux ATI drivers crash on binding incomplete cube map texture to FBO: 518889
Applied Workarounds: force_cube_map_positive_x_allocation
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable partial swaps on Mesa drivers (detected with GL_VERSION): 339493
Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces
Decode and encode before generateMipmap for srgb format textures on os except macosx: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
adjust src/dst region if blitting pixels outside read framebuffer on Linux AMD: 664740
Applied Workarounds: adjust_src_dst_region_for_blitframebuffer
AMD drivers in Linux require invariant qualifier to match between vertex and fragment shaders: 659326
Applied Workarounds: dont_remove_invariant_for_fragment_input
Mesa driver GL 3.3 requires invariant and centroid to match between shaders: 639760, 641129
Applied Workarounds: remove_invariant_and_centroid_for_essl3
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features: rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported 10/12/2017, 4:55:24 AM
Chrome version Chrome/56.0.2950.0
Operating system Linux 4.4.0-96-generic
Software rendering list version 12.06
Driver bug list version 9.24
ANGLE commit id 555009cefe4c
2D graphics backend Skia/56 bf2d9e02d58ea01f1c239f7e2fc024cba140ccb1
Command Line Args --flag-switches-begin --flag-switches-end
Driver Information
Initialization time 89
In-process GPU false
Sandboxed false
GPU0 VENDOR = 0x1002, DEVICE= 0x6779
Optimus false
AMD switchable false
Driver vendor Mesa
Driver version 12.0.6
Driver date
Pixel shader version 3.30
Vertex shader version 3.30
Max. MSAA samples 8
Machine model name
Machine model version
GL_VENDOR X.Org
GL_RENDERER Gallium 0.4 on AMD CAICOS (DRM 2.43.0 / 4.4.0-96-generic, LLVM 3.8.0)
GL_VERSION 3.3 (Core Profile) Mesa 12.0.6 -
I just thought it was interesting hardware acceleration is "on" in iron, and unavalable in Vivaldi.
-
Same problem with Mint 18.2. On hte HTC Themes site. The high CPU usage occours only when I highligh the tab. I already turn on/off hardware acceleration. No changes at all.
PS
That 40/50% of CPU that you see after I close the HTC themes tab it's because of Simple Screen Recording. To see what's the real CPU usage look at screenshot under the video link. -
@gwen-dragon hello, I try then...
Edit:
Got the same issue on Firefox but with less CPU consume. It swings from 30% to 40%... -
@gwen-dragon
Absolutely. CPU usage on that process went down to 2%.
Now rendering with Mesa driver / Gallium.
I actually tried this with switch from terminal --ignore-gpu-blacklist and it worked earlier, I did not know there was a built in setting to do this at normal launch.
Now the only thing different from Iron is "checkerImaging: disabled" which does not show on the list in Iron.
No idea what that does or why it's needed, anyway. -
@gwen-dragon
Nope, that didn't do anything. Might be syntax though.
Actually, when I did that terminal showed this:
vivaldi-stable enablefeatures="checkerimaging"
[4457:4457:1012/080758.192196:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process.
[1:13:1012/080758.470133:ERROR:adm_helpers.cc(62)] Failed to query stereo recording.
Doesn't happen without that switch being attempted.
I'm not concerned about it, as checkerimaging doesn't even show on the list in Iron.
Off to work now.
Thanks! -
@gwen-dragon Yes, the ignore blacklist did the trick. Thanks.
-
@fixitmanaz I looked this "checkerimaging" up for Chrome. It's an experimental feature in version 61 disabled by default.
As of Chrome version: 61.0.3117, checker-imaging is enabled as a finch trial on the canary channel. With the feature enabled, the renderer/compositor will no longer block a frame on a lengthy image decode and will instead draw without the image while the decode is performed asynchronously on a worker thread.
If you see bugs with an image flashing, it could likely be caused by this change.
ā Khushal Sagar @ chromium.orgIt is disabled by default because it is still in testing only. ...If anything, enabling it may give you some glitches." ā trlkly @ AskUbuntu
So, basically, I don't need nor want it enabled, if it would even work on my installation. --fixitman
-
Just another site on-the-go. I made a video. Don't look at the first CPU value; that is because the screen recorder. Instead, look when I drag the scroll-bar. Anyone else?
Edit:
In this case, highlighting the tab don't increase the CPU usage itself (like the past post examples). This happens only when you drag the scroll-bar. -
@gwen-dragon done. Bug-Tracking [VB-33701]
-
@gwen-dragon done...
-
@dleon It' weird because with Firefox (where I got 22 addons active) the scroll is smooth.
Btw I'm gonna try to quit the onboard CPU (if I do)... I have to hang on Nvidia X Server Settings... laters...
Edit:
Hmmcannot find how to disable the onboard usage... any idea?
Linux Mint 18.2 (Cinnamon - 32bit)
-
@dleon Enable/force Rasterization helps on firebase, but the problem is
GPU rasterization should only be enabled on NVIDIA and Intel DX11+, and AMD RX-R2 GPUs for now.: 643850
Disabled Features: gpu_rasterizationin vivaldi://gpu.
E.g. on Amd cards you need to set vivaldi://flags/#ignore-gpu-blacklist flag enable.
And this will make resized images blurry (even thumbnails in speed dial). Google (or someone who develop chromium) don't wont to fix gpu rasterization for Amd users. -
@dleon I know that Google & Co may have massive problems with fixing this issue, and very high priority goals, more significant than a low performance and lags at hundreds of millions amd and nvidia dx 10 users. It is especially significant that the bug is closed for viewing.
Don't be surprise if it pass years then suddenly it fixed in seconds. Too late, I know. That's how it is.
I don't even surprise, when opera developers promised a new improved browser with blink engine, and make .... on their users "in seconds". That's how programming business works. No conspiracy at all.
-
@cantankrus said in High CPU usage on certain site:
chrome://settings/system
I have noticed hardware acceleration does not work right in Chromium based browsers on machines with integrated or mobile GPUs, hardware acceleration slows the browser & OS GUI. Not tried with external GPU or dedicated GPU.
No CPU spike in Safari, Vivaldi (stable) does have a CPU spike approx 30% & fans kick on near full speed (& it asks to be able to send notifications). On page first load it asks to be able to send notifications.
-
@chas4 said in High CPU usage on certain site:
I have noticed hardware acceleration does not work right in Chromium based browsers on machines with integrated or mobile GPUs, hardware acceleration slows the browser & OS GUI.
Not me. All great here, Tower & Lappy, both using integrated Intel GPU. My remark certainly pertains to V, coz i live in this browser, but when i occasionally launch Chromium or Slimjet, i still don't notice problems like you've intimated [my worst problem in those browsers is that i'm damned if i can find their tab-stacks, tab panes, web-panels, notes, nested speeddials,...
]. Lucky me?
-
@steffie How much RAM in each and the video RAM (or is it shared and how much)?