Description
On Linux Wayland sessions running Electron, Chromium logs initialization warnings for VA-API and Vulkan compatibility:
[ERROR:media/gpu/vaapi/vaapi_wrapper.cc:1796] vaInitialize failed: unknown libva error
[ERROR:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc:249] '--ozone-platform=wayland' is not compatible with Vulkan. Consider switching to '--ozone-platform=x11' or disabling Vulkan
Environment
- OS: Linux (Wayland session, XDG_SESSION_TYPE=wayland)
- Electron 43.1.1 / Chromium 150.0.7871.114
Proposed Fix
When running on Linux under Wayland, explicitly disable Vulkan or tune Chromium flags (e.g. app.commandLine.appendSwitch('disable-features', 'Vulkan') or passing --disable-features=Vulkan in development and packaged runners) to prevent unnecessary GPU initialization warnings.
Description
On Linux Wayland sessions running Electron, Chromium logs initialization warnings for VA-API and Vulkan compatibility:
Environment
Proposed Fix
When running on Linux under Wayland, explicitly disable Vulkan or tune Chromium flags (e.g.
app.commandLine.appendSwitch('disable-features', 'Vulkan')or passing--disable-features=Vulkanin development and packaged runners) to prevent unnecessary GPU initialization warnings.