SIGTRAP crash on Linux Wayland sessions due to hardcoded Vulkan backend in Ozone
System Details
- OS: Fedora 44 gnome wayland
- GPU: nvidia
- GPU Driver version: 580.178.04 (stable)
- Thorium Version 154.0.8037.45 (Official Build) stable, built on Ubuntu (AVX2) (x86_64)
Description
On modern Linux distributions running native Wayland sessions, Thorium crashes immediately on startup (SIGTRAP / Core Dump) or enters an unstable loop with the following 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 VulkanWhile other Chromium forks (such as Helium) operate smoothly on Wayland with minimal flags (--ozone-platform=wayland --disable-features=Vulkan --use-gl=angle --use-angle=gl), Thorium requires extensive command-line workarounds to prevent crashes, disable broken background worker tasks, and force stable rendering.
Observed Behavior
- Passing
--disable-features=Vulkanalone is insufficient because Vulkan-related build switches remain hardcoded/forced during the build process, causing the Ozone Wayland platform initialization to abort. - If the GPU process fails to negotiate the surface under Wayland, subsequent profile and New Tab Page (NTP) state inconsistencies occur (
Requested load of chrome://newtab/ for incorrect profile type), leading to a process crash. - The packaged desktop launcher (
.desktop) lacks proper fallback switches for native Wayland environments.
Proposed Permanent Solutions
- Build Configuration Adjustments (Recommended):
- Compile Linux builds with native Wayland and ANGLE GL enabled by default.
- Disable default Vulkan enablement (
enable_vulkan = falseor ensure Vulkan is not strictly enforced on the Wayland backend inargs.gn). Vulkan under Ozone Wayland on Linux remains notoriously brittle across various GPU drivers compared to ANGLE OpenGL/EGL.
- Launcher / Wrapper Fallback:
- Update the default binary wrapper or
.desktopentry to default to:
--ozone-platform-hint=auto
--disable-vulkan
--use-gl=angle
--use-angle=gl
- Allow dynamic flag overrides via
~/.config/thorium-flags.confnatively within the package launcher script so users do not have to manually edit/usr/share/applications/or maintain custom wrappers in~/.local/bin.
Problem Vulkan - Wayland problem:
~$ thorium-browser
[1432696:1432696:0928/231803.894103:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_object_set_is_valid_property: object class 'GtkSettings' has no property named 'gtk-modules'
Created TensorFlow Lite XNNPACK delegate for CPU.
[1432696:1432696:0928/231805.689016:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1432740:1432740:0928/231806.313565: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
[1432696:1432696:0928/231807.569614:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1432696:1432696:0928/231809.914854:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1432696:1432720:0928/231813.862042:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[0928/231814.015762:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
[0928/231814.016535:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
[0928/231814.016900:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
Watchpoint/breakpoint catcher (core dumped) thorium-browser
[1432741:1432748:0928/231816.659601:ERROR:net/socket/ssl_client_socket_impl.cc:949] handshake failed; returned -1, SSL error code 1, net_error -3~$ thorium-browser --ozone-platform=wayland --disable-vulkan --disable-features=Vulkan,UseChromeOSDirectVideoDecoder,WebGPU --enable-features=VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiIgnoreDriverChecks,CanvasOopRasterization --ignore-gpu-blocklist --enable-zero-copy --enable-gpu-rasterization
[1438921:1438921:0928/235504.065111:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_object_set_is_valid_property: object class 'GtkSettings' has no property named 'gtk-modules'
[1438969:1438969:0928/235504.269361: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
Created TensorFlow Lite XNNPACK delegate for CPU.
[1438921:1438921:0928/235504.792360:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1438921:1438921:0928/235504.886022:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1438921:1438947:0928/235507.703267:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT ~$ thorium-browser
[1438634:1438634:0928/235259.299382:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_object_set_is_valid_property: object class 'GtkSettings' has no property named 'gtk-modules'
[1438681:1438681:0928/235259.575663: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
Created TensorFlow Lite XNNPACK delegate for CPU.
[1438634:1438634:0928/235300.126972:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1438634:1438634:0928/235300.235452:ERROR:chrome/browser/ui/webui/ntp/new_tab_ui.cc:54] Requested load of chrome://newtab/ for incorrect profile type.
[1438634:1438660:0928/235303.299127:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[1438634:1438660:0928/235325.935854:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[1438681:1438681:0928/235353.134734:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:260] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1438681:1438681:0928/235353.141383:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:260] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1438681:1438681:0928/235353.145406:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:260] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1438681:1438681:0928/235353.149077:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:260] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.Temporary Solution:
nano ~/.local/share/applications/*thorium*.desktopExec=/usr/bin/thorium-browser --ozone-platform=wayland --disable-vulkan --disable-features=Vulkan,UseChromeOSDirectVideoDecoder,WebGPU --enable-features=VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiIgnoreDriverChecks,CanvasOopRasterization --ignore-gpu-blocklist --enable-zero-copy --enable-gpu-rasterization %Uupdate-desktop-database ~/.local/share/applications/thorium-browser
With your browser open, type the following into the address bar:
chrome://gpugpu report summary:
System & GPU Acceleration Diagnostics Summary
Environment: The browser is running on Linux under a native Wayland session via the Ozone platform abstraction layer.
Rendering & Pipeline:
2D compositing, Canvas rendering, and Rasterization are fully hardware-accelerated via the ANGLE OpenGL ES backend and Skia GaneshGL.
WebGL, WebGPU, and Video Decode are actively hardware-accelerated.
Video Encode remains software-only due to upstream platform and driver blocklist constraints.
Stability: The GPU process crash count is zero, confirming a stable execution state with no fatal aborts.
Noted Warnings:
An Ozone Wayland notification indicates incompatibility with Vulkan, but execution safely falls back to OpenGL ES without causing core dumps.
The native VA-API wrapper automatically bypasses direct proprietary DRM video endpoints while maintaining functional hardware video decoding.
Did you read the FAQ? yes
Additional Notes
Source: Alex313031/thorium