You are not logged in.

#51 2024-08-17 07:21:34

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

What does chromium say in about:gpu?

I am sorry, I do not understand where to look for the about;gpu. Is it in the about section of Chromium browser?
If so, there is nothing about gpu in my chromium about section.

Last edited by Juhayer Al Wasif (2024-08-17 07:23:21)

Offline

#52 2024-08-17 07:24:03

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: Chrome starts very slowly on Wayland

You type "about:gpu" into your browsers URL bar, that will make chromium show the gpu status as detected/used by itself and please don't just ignore the other questions.

Offline

#53 2024-08-17 07:33:40

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

nvidia GEM errors are gone now. They do not reappear.

about:gpu  https://termbin.com/bgoq7

Offline

#54 2024-08-17 07:45:29

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: Chrome starts very slowly on Wayland

vulkaninfo --summary

Offline

#55 2024-08-17 07:53:49

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

vulkaninfo --summary


WARNING: [Loader Message] Code 0 : loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but /usr/share/vulkan/implicit_layer.d/nvidia_layers.json is reporting version 1
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.279


Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 2
--------------------------
VK_LAYER_KHRONOS_validation Khronos Validation Layer 1.3.275  version 1
VK_LAYER_NV_optimus         NVIDIA Optimus layer     1.3.278  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.278
	driverVersion      = 555.58.2.0
	vendorID           = 0x10de
	deviceID           = 0x1f95
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1650 Ti with Max-Q Design
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 555.58.02
	conformanceVersion = 1.3.8.0
	deviceUUID         = b59d9d07-65be-8fa8-bf8c-446fce261e3c
	driverUUID         = 33f6bc8a-aa1c-5a5d-8686-ce375a7b4fbd

~

Offline

#56 2024-08-17 07:55:17

seth
Member
Registered: 2012-09-03
Posts: 58,790

Offline

#57 2024-08-17 08:06:48

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

after installing vulkan, it still shows delay.

vulkaninfo --summary
WARNING: [Loader Message] Code 0 : loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but /usr/share/vulkan/implicit_layer.d/nvidia_layers.json is reporting version 1
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.279


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 2
--------------------------
VK_LAYER_KHRONOS_validation Khronos Validation Layer 1.3.275  version 1
VK_LAYER_NV_optimus         NVIDIA Optimus layer     1.3.278  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.278
	driverVersion      = 555.58.2.0
	vendorID           = 0x10de
	deviceID           = 0x1f95
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1650 Ti with Max-Q Design
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 555.58.02
	conformanceVersion = 1.3.8.0
	deviceUUID         = b59d9d07-65be-8fa8-bf8c-446fce261e3c
	driverUUID         = 33f6bc8a-aa1c-5a5d-8686-ce375a7b4fbd
GPU1:
	apiVersion         = 1.3.278
	driverVersion      = 24.1.6
	vendorID           = 0x8086
	deviceID           = 0x9a49
	deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName         = Intel(R) Xe Graphics (TGL GT2)
	driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName         = Intel open-source Mesa driver
	driverInfo         = Mesa 24.1.6-arch1.1
	conformanceVersion = 1.3.6.0
	deviceUUID         = 8680499a-0100-0000-0002-000000000000
	driverUUID         = d4531421-dbec-cb26-ffe8-05b4c18b125f

~

Last edited by Juhayer Al Wasif (2024-08-17 08:07:12)

Offline

#58 2024-08-17 15:39:36

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: Chrome starts very slowly on Wayland

Chromium still uses swiftshader
What happens if you

export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json

If that works, try

export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/nvidia_icd.json

Offline

#59 2024-08-17 15:55:10

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

seth wrote:
export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json

The delay disappears with all chromium browsers after running this command.

Offline

#60 2024-08-17 15:57:36

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: Chrome starts very slowly on Wayland

That's not a command, you're supposed to export that environment to the session.

Offline

#61 2024-08-17 15:59:26

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

I suppose I have already exported them with that line of command, if I am wrong please correct me.

Offline

#62 2024-08-17 16:07:49

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: Chrome starts very slowly on Wayland

To the active shell… The hyprland config also has some dedicated syntax to control the environment
And please update the about:gpu and vulkaninfo, it's rather frustrating to have to ask for actual information beyond "does nots works lol" with every single post.

Offline

#63 2024-08-17 16:13:52

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

vulkaninfo --summary
WARNING: [Loader Message] Code 0 : loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but /usr/share/vulkan/implicit_layer.d/nvidia_layers.json is reporting version 1
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.279


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 2
--------------------------
VK_LAYER_KHRONOS_validation Khronos Validation Layer 1.3.275  version 1
VK_LAYER_NV_optimus         NVIDIA Optimus layer     1.3.278  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.278
	driverVersion      = 24.1.6
	vendorID           = 0x8086
	deviceID           = 0x9a49
	deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName         = Intel(R) Xe Graphics (TGL GT2)
	driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName         = Intel open-source Mesa driver
	driverInfo         = Mesa 24.1.6-arch1.1
	conformanceVersion = 1.3.6.0
	deviceUUID         = 8680499a-0100-0000-0002-000000000000
	driverUUID         = d4531421-dbec-cb26-ffe8-05b4c18b125f

~

https://termbin.com/28at

Offline

#64 2024-08-17 16:24:35

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: Chrome starts very slowly on Wayland

Command Line               : /opt/google/chrome/google-chrome --flag-switches-begin --ozone-platform-hint=wayland --flag-switches-end --ozone-platform=wayland --eye-dropper-not-supported

Not! Chrome!

Offline

#65 2024-08-17 16:28:47

Juhayer Al Wasif
Member
Registered: 2022-08-15
Posts: 34

Re: Chrome starts very slowly on Wayland

/opt/google/chrome/google-chrome --flag-switches-begin --ozone-platform-hint=wayland --flag-switches-end --ozone-platform=wayland --eye-dropper-not-supported
Created TensorFlow Lite XNNPACK delegate for CPU.
[26256:11:0817/222622.205202:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[26323:1:0817/222622.205208:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[26265:11:0817/222622.205214:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[26178:26178:0817/222622.210894:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=512
[26256:11:0817/222652.418810:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[26265:11:0817/222652.418811:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[26323:1:0817/222652.418736:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[26178:26178:0817/222652.424492:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=512
[26323:1:0817/222722.638466:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[26178:26178:0817/222722.645022:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=512
[27550:10:0817/222722.788251:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[26340:10:0817/222722.834890:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:4:0817/222722.834941:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:11:0817/222722.834938:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.834890:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:4:0817/222722.862123:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.862132:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:10:0817/222722.862111:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:11:0817/222722.862123:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:4:0817/222722.862911:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.862920:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:4:0817/222722.862962:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.862974:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863013:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863033:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863060:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863077:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863102:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863120:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863145:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863162:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863187:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863203:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863228:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863245:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863270:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863286:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[26340:3:0817/222722.863320:ERROR:shared_image_interface_proxy.cc(130)] Buffer handle is null. Not creating a mailbox from it.
[26340:3:0817/222722.863338:ERROR:one_copy_raster_buffer_provider.cc(348)] Creation of StagingBuffer's SharedImage failed.
[27550:10:0817/222723.244417:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[27550:10:0817/222723.244548:ERROR:grcontext_for_gles2_interface.cc(62)] Skia shader compilation error
------------------------
#version 100

precision highp float;
precision highp sampler2D;
uniform highp vec4 sk_RTAdjust;
uniform highp mat3 umatrix_S1_c0_c0;
attribute highp vec2 position;
attribute highp vec2 localCoord;
varying highp vec2 vTransformedCoords_4_S0;
void main() {
gl_Position = vec4(position, 0.0, 1.0);
{
vTransformedCoords_4_S0 = (umatrix_S1_c0_c0 * vec3(localCoord, 1.0)).xy;
}
gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

Errors:

[27550:10:0817/222723.245152:ERROR:grcontext_for_gles2_interface.cc(62)] Skia shader compilation error
------------------------
#version 100

precision highp float;
precision highp sampler2D;
uniform highp mat3 umatrix_S1_c0_c0;
uniform sampler2D uTextureSampler_0_S1;
varying highp vec2 vTransformedCoords_4_S0;
void main() {
highp vec4 outputColor_S0 = vec4(1.0);
highp vec4 _3_input = outputColor_S0;
_3_input = texture2D(uTextureSampler_0_S1, vTransformedCoords_4_S0, -0.5);
highp vec4 _5_color = _3_input;
_5_color = floor(_5_color * 255.0 + 0.5) * 0.003921569;
_5_color.xyz = floor((_5_color.xyz * _5_color.w) * 255.0 + 0.5) * 0.003921569;
highp vec4 output_S1 = _5_color;
{
gl_FragColor = output_S1;
}
}

Errors:

[27550:10:0817/222723.245405:ERROR:grcontext_for_gles2_interface.cc(62)] Skia shader compilation error
------------------------
#version 100

precision highp float;
precision highp sampler2D;
uniform highp mat3 umatrix_S1_c0_c0;
uniform sampler2D uTextureSampler_0_S1;
varying highp vec2 vTransformedCoords_4_S0;
void main() {
highp vec4 outputColor_S0 = vec4(1.0);
highp vec4 _3_input = outputColor_S0;
_3_input = texture2D(uTextureSampler_0_S1, vTransformedCoords_4_S0, -0.5);
highp vec4 _5_color = _3_input;
_5_color = floor(_5_color * 255.0 + 0.5) * 0.003921569;
_5_color.xyz = _5_color.w <= 0.0 ? vec3(0.0) : floor((_5_color.xyz / _5_color.w) * 255.0 + 0.5) * 0.003921569;
highp vec4 output_S1 = _5_color;
{
gl_FragColor = output_S1;
}
}

Errors:

[26178:26178:0817/222723.245860:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=133
[27550:10:0817/222723.246169:ERROR:grcontext_for_gles2_interface.cc(62)] Skia shader compilation error
------------------------
#version 100

precision highp float;
precision highp sampler2D;
uniform highp mat3 umatrix_S1_c0_c0_c0;
uniform highp mat3 umatrix_S1;
uniform sampler2D uTextureSampler_0_S1;
varying highp vec2 vTransformedCoords_5_S0;
void main() {
highp vec4 outputColor_S0 = vec4(1.0);
highp vec4 _6_input = outputColor_S0;
_6_input = texture2D(uTextureSampler_0_S1, vTransformedCoords_5_S0, -0.5);
highp vec4 _8_color = _6_input;
_8_color = floor(_8_color * 255.0 + 0.5) * 0.003921569;
_8_color.xyz = _8_color.w <= 0.0 ? vec3(0.0) : floor((_8_color.xyz / _8_color.w) * 255.0 + 0.5) * 0.003921569;
highp vec4 output_S1 = _8_color;
{
gl_FragColor = output_S1;
}
}

Errors:

Then chrome starts with a delay.

Last edited by Juhayer Al Wasif (2024-08-17 16:29:27)

Offline

Board footer

Powered by FluxBB