You are not logged in.

#1 2018-05-25 01:36:46

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Chromium is intermittently very choppy

I've been using the same setup for roughly 3 years now (no re-installs in between) and for the most part everything has been smooth, up until about 2 or 3 days ago, where Chromium at seemingly random moments becomes very choppy to use, whether I'm watching a video, scrolling through a very basic web page of mostly just text, or even adjusting the cursor when writing this.  Eventually, it runs butter smooth like it used to, but a few seconds later and it's back to being choppy again.  Neither CPU nor GPU usage tends to get beyond 15% whenever this choppiness occurs.  It's as though Chromium is actually running just fine, but it isn't rendering all the frames.  During this slowdown, other programs remain perfectly smooth.

I tried clearing the browser cache, which didn't help.  According to "chrome://gpu", all of the graphics features are enabled/accelerated except for "CheckerImaging" and "Native GpuMemoryBuffers", which to my recollection, neither of them were ever accelerated.  On the same page, the log at the bottom has a lot of entries that look like this:

[824:824:0524/212444.974817:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.153693 s, last_timebase_=127198534 bogo-microseconds, timebase=127352227 bogo-microseconds, last_media_stream_counter_=478, media_stream_counter=479

Here's my setup:
Haswell i3 using Intel graphics
KDE + Wayland + OpenGL 3.1 compositor
Chromium 66.0.3359.181
Mesa 18.0.4-1

I also tried installing Chrome from the AUR, which didn't help.

Last edited by schmidtbag (2018-05-26 13:14:47)


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#2 2018-05-25 07:06:48

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

Hi @schmidtbag, I wonder if this is the same issue as I am experiencing: https://bbs.archlinux.org/viewtopic.php?id=237389.

Have you tried other browsers, e.g. firefox or epiphany? Epiphany is interesting because it has support for Wayland. Is chromium running through XWayland for you? Have you tried running the same thing on Xorg?

Edit: I closed/merged my post above and copied it here. Also, maybe you could edit title of the post to mention this is happening on Wayland?

Last edited by Martinsos (2018-05-25 07:23:06)

Offline

#3 2018-05-25 07:15:10

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

Hi, I seem to have very similar or same issue so let me explain it.

I did a fresh install of Arch on new laptop and am experiencing tearing / glitches when using Google Chrome in Gnome on Wayland.
Specifically, scrolling is not as smooth as it normally is, it is blocky / tearing. It gets better when I scroll few times through the same content, as if rendering of fresh content is causing problem. Similar is with opening or closing a tab, animation of tab itself at the top of the screen is not smooth. In general, whole experience is like that, but these are the details I identified.

Tests I did:

  1. I tried running chromium in Gnome on Wayland, same problems.

  2. I tried running epiphany in Gnome on Wayland, it works fine.

  3. I tried running Google Chrome in Gnome on Xorg, and there are no problems then, everything is smooth. For this test I just logged out from Wayland and logged into Gnome on Xorg.

Google chrome complains about fonts when run in terminal, chromium is quiet, so I don't think that is a source of this problem.
I checked windows with Gnome Looking Glass and I can see that Google Chrome and Chromium are running on XWayland, while Epiphany is running on Wayland.
From this, I am assuming that problem is probably connected to Google Chrome / Chromium running on XWayland.

I also read that Google Chrome supports Wayland since version 50 so I wonder why is my version of Google Chrome, which is much later, not running on Wayland but on XWayland, therefore on Xorg? Or is that information incorrect?

I have no experimental features or extensions running in Gnome, it is freshly installed.

I am using Gnome on Wayland because I normally have two external displays connected, each 2K resolution, and Gnome with Wayland is the only one that has actual scaling (not just font scaling) that can be separately set for different displays, plus it has fractional scaling (still experimental but kind of works, although some stuff is blurry. But I got much worse results with xrandr scaling, a lot tearing, so I am sticking with Gnome/Wayland. I turned it off for tests). On my old laptop I was using XFCE with font scaling.

Detailed context info:
  Machine: Dell XPS 15, 9560, 4K internal screen, 32GB RAM, 1TB SSD, discrete Nvidia GPU, integrated Intel Video card.
  Kernel: 4.16.9-1-ARCH, options: acpi_rev_override=1 acpi_osi=! acpi_osi='Windows 2015'. I need first one for basic stuff to work, next two I need for bbswitch to not freeze everything on boot.
  Bootloader: GRUB, and I also have intel-ucode.
  Video: I have bumblebee + bbswitch, they work fine. Drivers are `nvidia` (when bbswitch is on) and i915 otherwise. I dont have xf86-intel-video installed. I do have nouveau still installed, but it is not visible in dmesg and since `nvidia` package is blacklisting it. During tests above I confirmed that they are running on integrated intel video card.
  Versions:
    gnome: 3.28.2-1
    google-chrome: 66.0.3359.181-1
    chromium: same as google-chrome
    nvidia: 396.24-3
    wayland: 1.15.0-1
    bumblebee: 3.2.1-17
    bbswitch: 0.8-135

Additional:
I get this funny (but annoying) behaviour with touchpad: if I touch it with slightly moving motion (which is normally how I do it) after not touching it for a few seconds, mouse jumps in the corresponding correction for a significant portion of the screen (20% to 50%). This sometimes moves mouse pretty far away from what I wanted. It is as if it calculates the impact of my finger with touchpad and responds to that, making it jump proportionally. If I approach it very very gently, it is fine. This happens both on Wayland and Xorg. When using mouse, everything is fine.
Should I open special post for this?

Output of lspci -v:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
	Subsystem: Dell Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff [size=4K]
	Memory behind bridge: ec000000-ed0fffff [size=17M]
	Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff [size=288M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 07be
	Flags: bus master, fast devsel, latency 0, IRQ 138
	Memory at eb000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 05)
	Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
	Flags: fast devsel, IRQ 16
	Memory at ed120000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
	Subsystem: Dell Sunrise Point-H USB 3.0 xHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 130
	Memory at ed110000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
	Subsystem: Dell Sunrise Point-H Thermal subsystem
	Flags: fast devsel, IRQ 18
	Memory at ed138000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
	Subsystem: Dell Sunrise Point-H Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at ed137000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
	Subsystem: Dell Sunrise Point-H Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at ed136000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
	Subsystem: Dell Sunrise Point-H CSME HECI
	Flags: bus master, fast devsel, latency 0, IRQ 126
	Memory at ed135000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Sunrise Point-H SATA Controller [AHCI mode]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 129
	Memory at ed130000 (32-bit, non-prefetchable) [size=8K]
	Memory at ed134000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at ed133000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ed200000-ed3fffff [size=2M]
	Prefetchable memory behind bridge: None
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #2 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff [size=4K]
	Memory behind bridge: ed400000-eddfffff [size=10M]
	Prefetchable memory behind bridge: 00000000d2100000-00000000d2afffff [size=10M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ede00000-edefffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1) (prog-if 00 [Normal decode])
	Flags: fast devsel, IRQ 16
	Bus: primary=00, secondary=00, subordinate=00, sec-latency=0
	I/O behind bridge: 00000000-00000fff [size=4K]
	Memory behind bridge: 00000000-000fffff [size=1M]
	Prefetchable memory behind bridge: 0000000000000000-00000000000fffff [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #15 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 125
	Bus: primary=00, secondary=06, subordinate=3e, sec-latency=0
	I/O behind bridge: 00002000-00002fff [size=4K]
	Memory behind bridge: d4000000-ea0fffff [size=353M]
	Prefetchable memory behind bridge: 0000000090000000-00000000b1ffffff [size=544M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
	Subsystem: Dell Sunrise Point-H LPC Controller
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
	Subsystem: Dell Sunrise Point-H PMC
	Flags: fast devsel
	Memory at ed12c000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) (prog-if 80)
	Subsystem: Dell CM238 HD Audio Controller
	Flags: bus master, fast devsel, latency 32, IRQ 131
	Memory at ed128000 (64-bit, non-prefetchable) [size=16K]
	Memory at ed100000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
	Subsystem: Dell Sunrise Point-H SMBus
	Flags: medium devsel, IRQ 16
	Memory at ed132000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel modules: nouveau, nvidia_drm, nvidia

02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
	Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 140
	Memory at ed200000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
	Subsystem: Dell RTS525A PCI Express Card Reader
	Physical Slot: 1
	Flags: bus master, fast devsel, latency 0, IRQ 127
	Memory at ed400000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

04:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116 (prog-if 02 [NVM Express])
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at ede00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme

Output of chrome://gpu:

Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
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
Surface Synchronization: Enabled
Video Decode: 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
msaa_is_slow
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
Disable partial swaps on Mesa drivers (detected with GL_RENDERER): 339493
Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Timer queries crash on Intel GPUs on Linux: 540543, 576991
Applied Workarounds: disable(GL_ARB_timer_query), disable(GL_EXT_timer_query)
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 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 Intel: 664740
Applied Workarounds: adjust_src_dst_region_for_blitframebuffer
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Don't expose disjoint_timer_query extensions to WebGL: 808744
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	2018-05-25T06:55:09.025Z
Chrome version	Chrome/66.0.3359.181
Operating system	Linux 4.16.9-1-ARCH
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/a10b9cedb40738cb152f8148ddab4891df876959/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/a10b9cedb40738cb152f8148ddab4891df876959/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	22c768fbda54
2D graphics backend	Skia/66 773868fdade5f9f0e7697e6d09c9bd80aaa9b402-
Command Line	/opt/google/chrome/google-chrome --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	47
In-process GPU	false
Passthrough Command Decoder	false
Direct Composition	false
Supports overlays	false
Sandboxed	true
GPU0	VENDOR = 0x10de, DEVICE= 0x1c8d
GPU1	VENDOR = 0x8086, DEVICE= 0x591b *ACTIVE*
Optimus	true
Optimus	true
AMD switchable	false
Driver vendor	Mesa
Driver version	18.0.4
Driver date	
Pixel shader version	1.30
Vertex shader version	1.30
Max. MSAA samples	16
Machine model name	
Machine model version	
GL_VENDOR	Intel Open Source Technology Center
GL_RENDERER	Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
GL_VERSION	3.0 Mesa 18.0.4
GL_EXTENSIONS	GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_window_pos GL_ATI_blend_equation_separate GL_ATI_draw_buffers GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_INTEL_performance_query GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_MESA_window_pos GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_OES_EGL_image GL_OES_read_format GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
Disabled Extensions	GL_ARB_timer_query GL_EXT_timer_query GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions	EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor	SGI
Window system binding version	1.4
Window system binding extensions	GLX_ARB_context_flush_control 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_multisample GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_libglvnd GLX_EXT_no_config_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_OML_swap_method GLX_SGI_make_current_read GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group
Window manager	GNOME Shell
XDG_CURRENT_DESKTOP	GNOME
GDMSESSION	gnome
Compositing manager	Yes
Direct rendering	Yes
Reset notification strategy	0x8261
GPU process crash count	0
System visual ID	36
RGBA visual ID	775
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
BGRX_1010102	Software only
RGBX_1010102	Software only
BGRA_8888	Software only
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Display(s) Information
Info	Display[0] bounds=0,0 1920x1080, workarea=0,0 1920x1080, scale=2, external
Color space information	{primaries:[[0.5829,0.2420,0.1393,],[0.2863,0.6796,0.0342,],[0.0088,0.0513,0.7648,],], transfer:0.0000*x + 0.0000 if x < 0.0000 else (1.0000*x + 0.0000)**2.2000 + 0.0000, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information
Log Messages
[1687:1687:0525/081927.341246:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.810638 s, last_timebase_=44680100 bogo-microseconds, timebase=46301376 bogo-microseconds, last_media_stream_counter_=302, media_stream_counter=304
[1687:1687:0525/082000.171165:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.305678 s, last_timebase_=78816601 bogo-microseconds, timebase=79122279 bogo-microseconds, last_media_stream_counter_=381, media_stream_counter=382
[1687:1687:0525/082020.937160:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.600296 s, last_timebase_=99148967 bogo-microseconds, timebase=99749263 bogo-microseconds, last_media_stream_counter_=512, media_stream_counter=513
[1687:1687:0525/082026.877388:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.598911 s, last_timebase_=104975033 bogo-microseconds, timebase=105573944 bogo-microseconds, last_media_stream_counter_=552, media_stream_counter=553
[1687:1687:0525/082028.675897:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.599385 s, last_timebase_=106479002 bogo-microseconds, timebase=107078387 bogo-microseconds, last_media_stream_counter_=556, media_stream_counter=557
[1687:1687:0525/082029.276844:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.599993 s, last_timebase_=107078387 bogo-microseconds, timebase=107678380 bogo-microseconds, last_media_stream_counter_=557, media_stream_counter=558
[1687:1687:0525/082029.876074:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.600831 s, last_timebase_=107678380 bogo-microseconds, timebase=108279211 bogo-microseconds, last_media_stream_counter_=558, media_stream_counter=559
[1687:1687:0525/082030.475994:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.599208 s, last_timebase_=108279211 bogo-microseconds, timebase=108878419 bogo-microseconds, last_media_stream_counter_=559, media_stream_counter=560
[1687:1687:0525/082031.075983:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.600024 s, last_timebase_=108878419 bogo-microseconds, timebase=109478443 bogo-microseconds, last_media_stream_counter_=560, media_stream_counter=561
[1687:1687:0525/082031.676041:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.600012 s, last_timebase_=109478443 bogo-microseconds, timebase=110078455 bogo-microseconds, last_media_stream_counter_=561, media_stream_counter=562
[1687:1687:0525/082032.276209:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.599828 s, last_timebase_=110078455 bogo-microseconds, timebase=110678283 bogo-microseconds, last_media_stream_counter_=562, media_stream_counter=563
[1687:1687:0525/082032.875731:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.600171 s, last_timebase_=110678283 bogo-microseconds, timebase=111278454 bogo-microseconds, last_media_stream_counter_=563, media_stream_counter=564
[1687:1687:0525/082033.475186:ERROR:sync_control_vsync_provider.cc(141)] : Calculated bogus refresh interval=0.59968 s, last_timebase_=111278454 bogo-microseconds, timebase=111878134 bogo-microseconds, last_media_stream_counter_=564, media_stream_counter=565

Here is link to html of chrome://gpu since it is much easier to read: https://drive.google.com/open?id=1_PA1G … eyZdD5KAai .

Important fact here is that I also have those logs about vsync errors.

I took same report from Chrome on Gnome + Xorg, where it works fine:

Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
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
Surface Synchronization: Enabled
Video Decode: 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
msaa_is_slow
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
Disable partial swaps on Mesa drivers (detected with GL_RENDERER): 339493
Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Timer queries crash on Intel GPUs on Linux: 540543, 576991
Applied Workarounds: disable(GL_ARB_timer_query), disable(GL_EXT_timer_query)
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 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 Intel: 664740
Applied Workarounds: adjust_src_dst_region_for_blitframebuffer
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Don't expose disjoint_timer_query extensions to WebGL: 808744
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	2018-05-25T07:08:58.419Z
Chrome version	Chrome/66.0.3359.181
Operating system	Linux 4.16.9-1-ARCH
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/a10b9cedb40738cb152f8148ddab4891df876959/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/a10b9cedb40738cb152f8148ddab4891df876959/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	22c768fbda54
2D graphics backend	Skia/66 773868fdade5f9f0e7697e6d09c9bd80aaa9b402-
Command Line	/opt/google/chrome/google-chrome --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	26
In-process GPU	false
Passthrough Command Decoder	false
Direct Composition	false
Supports overlays	false
Sandboxed	true
GPU0	VENDOR = 0x10de, DEVICE= 0x1c8d
GPU1	VENDOR = 0x8086, DEVICE= 0x591b *ACTIVE*
Optimus	true
Optimus	true
AMD switchable	false
Driver vendor	Mesa
Driver version	18.0.4
Driver date	
Pixel shader version	1.30
Vertex shader version	1.30
Max. MSAA samples	16
Machine model name	
Machine model version	
GL_VENDOR	Intel Open Source Technology Center
GL_RENDERER	Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
GL_VERSION	3.0 Mesa 18.0.4
GL_EXTENSIONS	GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_window_pos GL_ATI_blend_equation_separate GL_ATI_draw_buffers GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_INTEL_performance_query GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_MESA_window_pos GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_OES_EGL_image GL_OES_read_format GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
Disabled Extensions	GL_ARB_timer_query GL_EXT_timer_query GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions	EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor	SGI
Window system binding version	1.4
Window system binding extensions	GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_multisample GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_libglvnd GLX_EXT_no_config_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_OML_swap_method GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_INTEL_swap_event
Window manager	GNOME Shell
XDG_CURRENT_DESKTOP	GNOME
GDMSESSION	gnome-xorg
Compositing manager	Yes
Direct rendering	Yes
Reset notification strategy	0x8261
GPU process crash count	0
System visual ID	33
RGBA visual ID	405
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
BGRX_1010102	Software only
RGBX_1010102	Software only
BGRA_8888	Software only
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Display(s) Information
Info	Display[21691165392764928] bounds=0,0 1920x1080, workarea=0,27 1920x1052, scale=2, external
Color space information	{primaries:[[0.5829,0.2420,0.1393,],[0.2863,0.6796,0.0342,],[0.0088,0.0513,0.7648,],], transfer:0.0000*x + 0.0000 if x < 0.0000 else (1.0000*x + 0.0000)**2.2000 + 0.0000, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information

Main difference on Xorg is that there are no log messages about error with vsync, so I am guessing that is probably directly connected with the problems we are having!

Last edited by Martinsos (2018-05-25 07:18:39)

Offline

#4 2018-05-25 07:17:15

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

I will be closing this one due to merging it with another post that is talking about the same issue: https://bbs.archlinux.org/viewtopic.php?id=237383 . -> this is leftover from merging topics.

Last edited by Martinsos (2018-05-25 07:26:40)

Offline

#5 2018-05-25 07:19:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,035
Website

Re: Chromium is intermittently very choppy

Use the report button and one of the staff can merge threads...


# edit: merged


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#6 2018-05-25 12:37:04

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

I actually am not experiencing tearing issues.  To my knowledge, Chromium is and has been running in Wayland natively for a while now.


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#7 2018-05-25 13:05:21

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

Maybe I am calling it wrong name -> it is certainly choppy and not smooth as it should be. I am pretty sure it is the same thing since we are getting same error. It is not even that easy to notice, I see that stuff is not smooth but it is not super clear why. I even thought at some moment I am going crazy, I guess I got more used to it, but then I switched to xorg and difference was obvious.

Can you somehow confirm that Chromium is running on Wayland natively for you? I used Looking Glass on Gnome and I can confirm in my case both Google Chrome and Chromium are running on XWayland.

Offline

#8 2018-05-25 13:18:56

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

For me, the choppiness is VERY apparent.  Like I said, my problem is intermittent - sometimes I can scroll around the page and it is perfectly smooth.

I won't be at my PC with the problem until later tonight so I can't currently confirm if it is running in Wayland natively, but I'm 90% sure it is.  Regardless, I will intentionally run it in XWayland and see if that changes the behavior.


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#9 2018-05-25 13:24:24

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

I still wonder if we are talking about the same thing or not hm smile! But, what we can do is go about figuring out the facts, so looking forward to results of your tests. Btw., how do you intentionally run smt on XWayland if it is Wayland native?

Offline

#10 2018-05-25 13:27:09

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

Honestly, I'm pretty sure we're not, but we still may be able to help each other out anyway.  Chromium for me goes from running very smooth to frustratingly slow, all without having any effect on CPU or GPU usage.

To answer your question:

GDK_BACKEND=x11 chromium

Last edited by schmidtbag (2018-05-25 13:27:43)


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#11 2018-05-25 22:57:21

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

So - I have confirmed that Chromium is currently not running in native Wayland like I thought it was.  An easy way for me to test this is with middle-click paste, which only works in XWayland applications.  I'm now looking into why it isn't running in Wayland, because I'm pretty sure I have been for over a year now, and this would make a lot of sense as to why I'm getting these performance issues.

EDIT:
Even if I try to run Chromium in Wayland, I can't (using "GDK_BACKEND wayland").

EDIT 2:
I tried downgrading a couple versions.  I'm not sure if it's any better or not, but it's still pretty bad.  I'm beginning to question if I have ever ran Chromium in Wayland at this point.

Either way, still doesn't explain why it is running so slow at such random times.

Last edited by schmidtbag (2018-05-26 00:35:11)


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#12 2018-05-26 02:02:34

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Chromium is intermittently very choppy

If you can try Atom or VSCode or other Electron based program and see flicker too, I think you are suffering the same issue as mine.

If you are using xorg-server 1.20 and xorg-server-xwayland 1.20, you can downgrade them to 1.19, which fixed my issue.

Offline

#13 2018-05-26 02:25:09

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

Good find AlynxZhou! Chromium runs almost as smooth as it does in native X11 (I tried booting in X11 instead of Wayland to see if it fixed the problem, and it did).  The stream of errors found in chrome://gpu went away, too.

I forgot to downgrade xorg-server-xwayland and the problem seems to remain fixed.  Downgrading xorg-server required the Intel drivers to be downgraded along with them.

Seems this bug is specific to Xwayland, but, it doesn't appear to be specific to the xorg-server-xwayland package.

Last edited by schmidtbag (2018-05-27 00:14:43)


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#14 2018-05-26 12:23:57

r3b311i0n
Member
From: Sri Lanka
Registered: 2016-04-06
Posts: 19
Website

Re: Chromium is intermittently very choppy

I'm getting the same problem as well in all the Chromium based browsers I use. You could also try disabling HW acceleration in Chromium settings if you need to have the latest x-server.

Offline

#15 2018-05-26 13:13:45

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

Yeah I tried disabling HW acceleration too.  It helped, but not enough.  Since I'm using a laptop with an i3, going full-software botttlenecks my CPU pretty quick.

Last edited by schmidtbag (2018-05-26 13:14:15)


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#16 2018-05-27 00:12:19

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

Nice, so it seems @schmidtbag that you managed to confirm the same conditions that I described in my posts.
I tried running Atom, is also does not work as smooth as it should, although it is not as bad as Chromium.

To revise, what we know so far:
- Running Chromium on Wayland (Gnome, KDE) runs it through XWayland.
- Running Chromium through XWayland makes it perform poorly.
- Chroimum works fine on Xorg.
- If we downgrade xorg-server from 1.20 to 1.19, Chromium works fine on XWayland. But we don't have to downgrade xorg-server-wayland.

I wonder what is the problem, and can we achieve smt without downgrading? Also, we should report this error/bug somewhere so they fix it. I am not sure where to report it in this case?
@Alynx Zhou have you reported the problem anywhere?

Offline

#17 2018-05-27 00:25:56

schmidtbag
Member
From: MA, USA
Registered: 2011-02-08
Posts: 331
Website

Re: Chromium is intermittently very choppy

I looked through all of the noteworthy changes of Xorg server 1.20, and I found one thing that especially stood out to me: multi-buffered Xwayland support.  The errors I'm getting in Chromium are related to vysnc, so I wonder if Xwayland's buffers are causing some sort of conflict.  After all, vsync is just a form of buffering.

I'll keep looking into it, but if anybody knows a way to disable multi-buffering, that might be all we need.

Source:
https://www.phoronix.com/scan.php?page= … 0-Features


EDIT:
Just a side note for Martinsos - if you're using KDE, why don't you use KATE instead of Atom?  It offers pretty much all of the same features (most of which are built-in), it's easier to use, it's more polished, it uses fewer system resources (only if you're using KDE), and it works natively with Wayland.  Due to the smaller userbase, there aren't quite as many features, but I find a lot of those smaller ones easy to give up.  I personally use both (I use Atom at work, where I'm using XFCE and don't want to deal with hundreds of MB of KDE dependencies).

Last edited by schmidtbag (2018-05-27 00:33:44)


My Arch Setups:
* Lenovo B40-80
* 3.95GHz Ryzen 1500X, Biostar X370GTN (ITX), 16GB DDR4, R9 290, OCZ 120GB SSD + PNY 1TB SSD

Offline

#18 2018-05-27 15:35:54

surefire
Member
Registered: 2015-12-16
Posts: 11

Re: Chromium is intermittently very choppy

Should help as a temporary solution:

--disable-gpu-vsync=gpu

Offline

#19 2018-05-28 07:52:38

surefire
Member
Registered: 2015-12-16
Posts: 11

Re: Chromium is intermittently very choppy

There is another solution I used and it works

--disable-gpu-driver-bug-workarounds

Since most workarounds are too old and have long been solved.
But it is better to highlight specific workarounds for shutdown than all at once.

Offline

#20 2018-05-28 11:38:27

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 47

Re: Chromium is intermittently very choppy

Since Chromium is working fine when run directly on xorg server, and it does not work fine when run on xwayland, I am guessing that the real problem is in xwayland? Maybe multi buffering update in xorg-server is causing problems with xwayland and they have to fix it there? I will consider posting a bug to xwayland then.

@surefire: Thanks for the temporary solution! Where would I set that flag if I am running Chromium on xwayland?

@schmidtbag: Thanks for the tip! However I am not using KDE, I have been using XFCE in the past and now Gnome (due to it's HiDPI support). For my main editor I am actually using Emacs (mostly for C/C++, Python). I use Atom only for Javascript development, because support in Emacs is still not good enough for JSX unfortunately, I guess because not so many JS developers are using Emacs.

Offline

#21 2018-05-28 12:32:27

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 417

Re: Chromium is intermittently very choppy

surefire wrote:

There is another solution I used and it works

--disable-gpu-driver-bug-workarounds

I also have noticed laggy graphics in google-chrome (AUR) recently on GNOME Wayland but adding the above flag fixes the issue for me, thanks.

Offline

#22 2018-05-28 13:00:48

surefire
Member
Registered: 2015-12-16
Posts: 11

Re: Chromium is intermittently very choppy

Martinsos wrote:

@surefire: Thanks for the temporary solution! Where would I set that flag if I am running Chromium on xwayland?


flag per line into

~/.config/chromium-flags.conf

https://wiki.archlinux.org/index.php/Ch … persistent

Offline

#23 2018-05-28 14:52:11

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Chromium is intermittently very choppy

Martinsos wrote:

Nice, so it seems @schmidtbag that you managed to confirm the same conditions that I described in my posts.
I tried running Atom, is also does not work as smooth as it should, although it is not as bad as Chromium.

To revise, what we know so far:
- Running Chromium on Wayland (Gnome, KDE) runs it through XWayland.
- Running Chromium through XWayland makes it perform poorly.
- Chroimum works fine on Xorg.
- If we downgrade xorg-server from 1.20 to 1.19, Chromium works fine on XWayland. But we don't have to downgrade xorg-server-wayland.

I wonder what is the problem, and can we achieve smt without downgrading? Also, we should report this error/bug somewhere so they fix it. I am not sure where to report it in this case?
@Alynx Zhou have you reported the problem anywhere?

I am planning to open a issue to primus because it fails with xorg 1.20, but I have no idea with chromium.

Offline

#24 2018-05-28 14:55:20

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Chromium is intermittently very choppy

Martinsos wrote:

Since Chromium is working fine when run directly on xorg server, and it does not work fine when run on xwayland, I am guessing that the real problem is in xwayland? Maybe multi buffering update in xorg-server is causing problems with xwayland and they have to fix it there? I will consider posting a bug to xwayland then.

@surefire: Thanks for the temporary solution! Where would I set that flag if I am running Chromium on xwayland?

@schmidtbag: Thanks for the tip! However I am not using KDE, I have been using XFCE in the past and now Gnome (due to it's HiDPI support). For my main editor I am actually using Emacs (mostly for C/C++, Python). I use Atom only for Javascript development, because support in Emacs is still not good enough for JSX unfortunately, I guess because not so many JS developers are using Emacs.

Maybe there is a bug when passing data in xwayland? But it seems that downgrade xserver fix the bug, not xwayland...

Offline

#25 2018-05-28 15:00:40

AlynxZhou
Member
Registered: 2017-02-20
Posts: 28
Website

Re: Chromium is intermittently very choppy

surefire wrote:

There is another solution I used and it works

--disable-gpu-driver-bug-workarounds

Since most workarounds are too old and have long been solved.
But it is better to highlight specific workarounds for shutdown than all at once.

Is there a way for electron-based app to set this? Thanks.

Offline

Board footer

Powered by FluxBB