You are not logged in.

#26 2025-01-07 19:52:59

jeff_bh_221
Member
Registered: 2023-03-09
Posts: 5

Re: [wayland/ozone] Chromium based programs don't start | gpu errors

After some research, I personally concluded, and might be the closest reason (personally), it was "webgpu" features, which need some 3D/draw api supports that mesa(intel) didn't have(cuda?), then chome base things will looking for it(just like seth post), if not found, buggie~

Feels like~ similer to proton's dx api, some game run perfectly with very version , others won't.

checked paclog around if you have time, pkg egl-wayland(Provides libnvidia-egl-wayland.so) up? mesa you tested.

tried my best, good lucky~ both!!

edit:
Did some research more, (about chrome vaapi),check this paraments:

Full Vilkan support on native Wayland:
--ozone-platform=wayland --use-vulkan --enable-features=Vulkan,VulkanFromANGLE,DefaultANGLEVulkan

Optional hint for Vulkan:
--use-gl=angle --use-angle=vulkan
--enable-features=UseOzonePlatform

Optional Wayland hint:
--enable-features=WaylandWindowDecorations

VAAPI Decode (basic):
--enable-features=AcceleratedVideoDecodeLinuxGL

also zero copy variant:
--enable-features=AcceleratedVideoDecodeLinuxZeroCopyGL

VAAPI Decode (more options, not guarantee to work on new versions):
--enable-features=VaapiIgnoreDriverChecks,UseMultiPlaneFormatForHardwareVideo,PlatformHEVCDecoderSupport

VAAPI Encode:
--enable-features=AcceleratedVideoEncoder

also some other old options:
--enable-accelerated-mjpeg-decode --enable-global-vaapi-lock --use-gpu-scheduler-dfs --cast-streaming-hardware-h264

Other "performance" options
--enable-zero-copy --canvas-oop-rasterization --enable-gpu-rasterization
--enable-features=CanvasOopRasterization

Enabling Web GPU (only with unsafe option):
--enable-gpu --enable-unsafe-webgpu

Also a lot of workaround options like:
--disable-gpu-driver-bug-workarounds --ignore-gpu-blocklist
But they are for situations when "nothing helped"

!!! Do not try to enable Skia Graphite with Vulkan -- you will get neither Vulkan, nor Skia Graphite working !!!
!!! RawDraw with Vulkan "works" but you'll get content with all text disappeared !!!

from https://bbs.archlinux.org/viewtopic.php?id=244031&p=44 chaos-dremel

I have no problem when runs chromium on wayland(after use nvidia-dkms), but no hw acc , then saw this topic, lots of paraments about  vulkan,etc tried.
chromium was only chrome base software in my arch, same error when enable chromium's vulkan feature.
SO, DO YOU HAVE vulkan-intel pkg ? MAY NEENED!!

Last edited by jeff_bh_221 (2025-01-07 20:33:54)

Offline

#27 2025-01-07 20:06:49

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: [wayland/ozone] Chromium based programs don't start | gpu errors

In that case everybody w/ "only" an intel GPU could not run chromium…
Do you also have card0 and card1 reversed?

Offline

Board footer

Powered by FluxBB