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?
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.
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:
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.
I have updated the BSP to BSP 6.12.3-lts.
WebGPU still doesn’t work.
I’ve posted my observations in the comments.
Is there any update?
even with the flags you suggested, chromium is not able to see Vulkan and it reports
Vulkan: Disabled
Can you double check, please?