You are not logged in.

#1 2023-05-06 16:39:44

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 342

[SOLVED] chromium-based browsers don't get hw accell under wayland

Hi all.
Since some weeks now, no single chromium-based browsers (chromium, chrome, vivaldi) don't get HW accel anymore under Wayland.
It has been working so far, but now it doesn't anymore.
When I startup them with these options:

common_opts="--enable-features=VaapiVideoDecoder,CanvasOopRasterization --password-store=kwallet5"
session_opts="--disable-features=UseChromeOSDirectVideoDecoder,UseOzonePlatform --ozone-platform=wayland --use-gl=egl"

I get them under Wayland, but without hw acceleration anymore.
When I startup them with these options:

common_opts="--enable-features=VaapiVideoDecoder,CanvasOopRasterization --password-store=kwallet5"
session_opts="--disable-features=UseChromeOSDirectVideoDecoder --use-gl=desktop"

I get them under X11 with the "usual"(tm) hw acceleration.

Something clearly has changed in my ArchLinux box but I cannot track it down to kernel, libraries or application.
The main problem comes with WebRTC-based video conferencing: they lag or even freeze while they used to work flawlessly before.
BTW, vlc is reporting "avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 23.1.0 () for hardware decoding"  confirmed by intel_gpu_top while playing a video, while xlsclients says vlc is not under X11.


Is ther anything I can check/fix in order to bring hw acceleration back in those browsers?

I am currently running:

Kernel Version : 6.3.1.zen1-1
Plasma Version : 5.27.4.1-1
KDE Version : 23.04.0-1
Frameworks Version : 5.105.0-1
Qt5 Version : 5.15.9+kde+r9-1
Wayland Version : 1.22.0-1
XOrg/Wayland Version : 23.1.1-1
Mesa Version : 23.0.3-1
LibVA Version : 2.18.0-1
VDPAU Version : 1.5-1

Vivaldi: 6.0.2979.18 (Stable channel) stable (64-bit) 
Chromium: 112.0.5615.165 (Official Build, ungoogled-chromium) Arch Linux (64-bit)

[SOLVED]
I removed the "--disable-features=UseChromeOSDirectVideoDecoder,UseOzonePlatform --ozone-platform=wayland --use-gl=egl" options while enabling the wayland support here.
In particular, removing "--use-gl=egl" allowed me to get the hw accel back. The rest was to enable native Wayland support.

Last edited by 0BADC0DE (2023-05-07 09:31:58)


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

Board footer

Powered by FluxBB