No video in Chromium/Wayland, OK in Xorg

Hey,
a few days ago, I managed to start dwl (Wayland) for the first time on my NVIDIA GPU. So far so good, but Chromium does not play videos in Wayland whereas it plays anything just fine in Xorg. The very same binary/config. Any ideas please? (Regardless HW acceleration config option.) 14.1-RELEASE
 
hi mate

are you talking about standard videos like on youtube or videos that require drm

heres my chromium-browser.desktop entry
to enable Hardware accelerated playback

you should install libc6-shim for nvidia if you havent already
libc6-shim installs nv-sglrun for cuda support

Code:
sudo pkg install libc6-shim

Code:
~/.local/share/applications/chromium-browser.deskop

Code:
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Chromium
Comment=Google web browser based on WebKit
Icon=chrome
Exec=sh -c 'LD_LIBMAP="`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" chrome --ozone-platform=wayland --ignore-gpu-blocklist --disable-gpu-driver-bug-workarounds --enable-gpu-rasterization --enable-unsafe-webgpu --enable-zero-copy --enable-drdc --skia-graphite --enable-webgl-draft-extensions --enable-features=Vulkan,UseSkiaRendererer --use-vulkan --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --canvas-oop-rasterization --enable-webgpu-developer-features --origin-trial-enabled-features=WebGPU --test-type --v=0 %U'
Categories=Application;Network;WebBrowser;
StartupNotify=true
MimeType=x-scheme-handler/unknown;x-scheme-handler/about;text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;


Code:
nvidia-smi

Code:
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.120                Driver Version: 550.120        CUDA Version: N/A      |


Code:
nv-sglrun nvidia-smi

Code:
shim init
Wed Oct 16 18:56:04 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.120                Driver Version: 550.120        CUDA Version: 12.4     |

20241016_18h58m16s_grim.png
 
Back
Top