WebGPU Vulkan Support on i.MX8MP (QtWebEngine 6.7.0)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WebGPU Vulkan Support on i.MX8MP (QtWebEngine 6.7.0)

900 Views
Aaronchou
Contributor I

Installing QtWebEngine 6.7.0 on imx8mp-lpddr4-evk
Chromium in QtWebEngine has started supporting WebGPU.
However, when I try the following flags:
--enable-unsafe-webgpu --enable-vulkan --use-angle=vulkan,
QtWebEngine crashes.

Is it because the BSP Vulkan support is not yet fully implemented?

Tags (1)
0 Kudos
Reply
3 Replies

338 Views
Aaronchou
Contributor I

 

Hi @Manuel_Salas 

I upgraded my system to BSP 6.12.3-lts and attempted to enable WebGPU and Vulkan.

The startup flags I used:

--enable-features=Vulkan,UseSkiaRenderer,WebGPUDeveloperFeatures --enable-unsafe-webgpu --ignore-gpu-blocklist --in-process-gpu --use-gl=egl

My Vulkan ICD config file (/etc/vulkan/icd.d/imx_icd.json):

{ "file_format_version": "1.0.0", "ICD": { "library_path": "/usr/lib/libvulkan_VSI.so.1", "api_version": "1.3.204" } }

Qt WebEngine does not crash, but the screen remains white with no rendering output.

When running vulkaninfo, I received the following warning:

WARNING: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/libvulkan_VSI.so.1 supports Vulkan 1.3, but only supports loader interface version 2. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)

Please confirm whether the current Vulkan driver supports WebGPU functionality, or if an updated driver with loader interface version 5 or newer is required.

0 Kudos
Reply

875 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @Aaronchou 

 

I hope you are doing very well.

As you can see on table 7 of RN00210 (Release Notes for LF6.6.52_2.2.0), Vulkan GPU is supported on the i.MX8MP:

Alejandro_Salas_0-1736875971039.png

 

I am not sure what BSP you are using, please check the respective release notes for your BSP.

Also, you can try:

--enable-unsafe-webgpu --enable-features=Vulkan

 

Best regards,

Salas.

 

0 Kudos
Reply

700 Views
vix
Contributor III

Hi @Manuel_Salas 

even with the flags you suggested, chromium is not able to see Vulkan and it reports

Vulkan: Disabled

 

Can you double check, please?

0 Kudos
Reply
An error has occurred when reading existing sub-variable "Language_PG_Configuration"; see cause exception! The type of the containing value was: extended_hash+string (lithium.coreapi.webui.template.models.NamedValueByNameTemplateModel wrapped into f.e.b.StringModel) ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign redirect_lingo_page_url = web... [in template "language_macro_header.ftl" at line 173, column 1] - Reached through: #include "language_macro_header.ftl" [in template "Language_translator_Dashboard" at line 3, column 1] ----