Skip to content

fix(linux): suppress Ozone Wayland Vulkan incompatibility warning #88

Description

@sambitcreate

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions