High CPU usage on certain site



  • I have a certain website I visit with a solitaire game on it. When the page loads, even if it's the only tab open, my CPU goes crazy, usage up to 50%. Doesn't do that on firefox or Iron (another Chromium based browser.)
    site is:
    https://solitaire.frvr.com/?s=website
    I notice Vivaldi 1.12 uses a process ID that starts with --type=gpu-process --field-trial-handle= (long string of large numbers, separated by commas) --use-gl=swiftshader-webgl --supports-dual-gpus=false --gpu-driver-bug-workarounds=1,9,1 (12 numbers separated by commas) --disable-gl-ext... (etc, I have no idea how to copy this PID information directly...
    I don't see anything else on my system (nor when the other browsers are on this page) resembling this.
    System: Xubuntu 16.04.3 (32 bit) AMD 6 core.
    Any clues or how to get more information to diagnose? (consider me nearly a total newbie) Is it the "field trial" thing doing that?
    about vivaldi shows:
    1.12.955.38 (Stable channel) (32-bit)
    Revision 7f53b6a63fad112d5d35848a1a0c6fe5cb4a9cbd-
    OS Linux
    JavaScript V8 6.1.534.41
    Flash 27.0.0.130 /usr/lib/adobe-flashplugin/libpepflashplayer.so
    User Agent Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.102 Safari/537.36 Vivaldi/1.93.955.38
    Command Line /usr/bin/vivaldi-stable --always-authorize-plugins --enable-blink-features=ResizeObserver --flag-switches-begin --flag-switches-end --disable-smooth-scrolling



  • @fixitmanaz

    FYI:

    0_1507780227164_a4df71a3-e88e-454f-85a1-444df897ff03-image.png

    So, not your numbers, but yes that site certainly did make a noticeable [albeit still small] difference here.



  • System: Ubuntu 17.04 (64bit).
    I experience high CPU (60-75%) usage and noticeable lag for that site when using Vivaldi: 1.12.955.38 (Stable channel) (64-bit).
    0_1507782435918_219.jpg

    Using Vivaldi-snapshot: 1.13.971.8 (64-bit), CPU usage is around 10-15% with smooth game play.
    0_1507782456081_218.jpg


  • Moderator

    Must be a on-some-Linux-only issue. Cant see that on my Windows 10 NVidia GT710.

    Would be interesting which desktop manager is used. And which GPUs.



  • Just took another look and noticed hardware acceleration had been turned off in my Vivaldi-stable install.
    Going to chrome://settings/system and enabling "Use hardware acceleration when available" fixed for me.
    .


  • Moderator

    @fixitmanAZ May be your GPU hardware is blacklisted or you Linux driver is broken/old.

    Please open vivaldi://gpu
    and post section Graphics Feature Status
    Something red or orange in there?



  • @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


  • Moderator

    Looks like you have hardware accelaration in Vivaldi deactivated.

    Which GPUs do you have on you PC?

    May be your GPU is blacklisted.

    Try (may make problems in Vivaldi):
    Open vivaldi://flags/#ignore-gpu-blacklist
    Activate
    Restart Vivaldi



  • @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 -A1

    01: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


  • Moderator

    You cant compare old Chromium 56 of Iron with Chromium 61 of Vivaldi. Too much changes.



  • @fixitmanaz

    I just thought it was interesting hardware acceleration is "on" in iron, and unavalable in Vivaldi.


  • Moderator

    1. Open chrome://settings/system and enable "Use hardware acceleration when available"
    2. Open vivaldi://flags/#ignore-gpu-blacklist and click Activate and Restart Vivaldi

    Does this help in Vivaldi 1.12?



  • 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.

    https://streamable.com/nm709

    0_1507812828714_Vivaldi Forum - High CPU usage (screenshot).png


  • Moderator

    @Marko-Indaco Try first with deactivated Extensions to reduce any interfering.



  • @gwen-dragon hello, I try then...

    0_1507815521895_Vivaldi Forum - High CPU usage (screenshot 2).png

    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.


  • Moderator

    @fixitmanaz said in High CPU usage on certain site:

    "checkerImaging: disabled"

    Try something, but i did not tested it:
    vivaldi -enable-features="CheckerImaging"



  • @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!


  • Moderator

    @gwen-dragon said in High CPU usage on certain site:

    Open chrome://settings/system and enable "Use hardware acceleration when available"
    Open vivaldi://flags/#ignore-gpu-blacklist and click Activate and Restart Vivaldi

    Does this help in Vivaldi 1.12?

    And which tip did solve and made it faster? The Ignore GPU Blaclist?


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.