You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building chromium-x11 with hardware acceleration on mickledore or nanbield (both result to the same error), and i get following error when running chromium, often result in a segmentation fault:
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
I solved the issue for me.
When chromium is build with the use-egl PACKAGECONFIG variable, it adds the command line argument --use-gl=egl automatically to chromium, and this can lead to an error according to the Archlinux Wiki: https://wiki.archlinux.org/title/Chromium#Hardware_video_acceleration
To use the system GL renderer on Xorg or Wayland, use --use-gl=egl. Setting this option might no longer be needed when using Chrome 112 and may break GPU acceleration when using AMD GPUs.
So i created a chromium-x11_%.bbappend in my custom layer with following content:
This prevents that --use-gl=egl is added to the wrapper script which starts chromium.
I hope other people who stumble about the same issue are finding my solution and are able to fix it in their builds.
I am building chromium-x11 with hardware acceleration on mickledore or nanbield (both result to the same error), and i get following error when running chromium, often result in a segmentation fault:
I start chromium with following command line:
I have to start chromium with the " --in-process-gpu" flag, otherwise i can't get "GPU Raster" on in the development tools.
As DISTRO_FEATURES i have "x11 opengl vulkan"
In my local.conf i have following PACKAGECONFIG variables set:
I am using following graphics chip (from lspci):
For Xorg i am using following driver: "xf86-video-amdgpu"
For my kernel i activated following modules for my graphics chip:
Do i miss something or is this a bug?
Let me know if you need some additional informations.
The text was updated successfully, but these errors were encountered: