Chromium wayland vaapi. ) are tearing when i move the mouse.
- Chromium wayland vaapi I actually now noticing that this is a regression affecting Chromium-based browsers. I'm testing whether hardware acceleration works on Electron by building WebCord with my flags added here (also printing out a message to make sure this code is running, which it is), and joining a video Feb 18, 2022 · I'm running on (X)Wayland with KDE Plasma 5. Hence adding label TE-NeedsTriageHelp and requesting respective dev team to please look into this for further help. On youtube, the field of controls (the component that is on the bottom of the video frame) is unexpectedly enlarged, sometimes it is annoying, sometimes I don't care, just check it out: https://ibb. co/zrmyYkW. 6478. Find out how to test this feature and its compatibility issues. org> Date: Fri Aug 02 00:10:43 2024 Reland honestly linux is bad when it comes to browser video decoding. You signed out in another tab or window. 0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21. 126-1] Nov 17, 2024 · 1,安装好 Vaapi驱动 如因特尔intel-media-va-driver-non-free (有问题看发行版wiki) 2,启用Huc VP9编码就需要开启这个. d/i915. What you just pointed out was the old, ugly patch from Ubuntu PPA and that was the reason that I urged the maintainer to be open-minded and re-consider current situation. GNOME Web/Epiphany supports GStreamer and video playback can be accelerated on Wayland. After using some flags and enabling vaapi, chrome://gpu shows that it is enabled but chrome://media-internals show that vpxvide… Nope, it only works in a xorg session atm. The wayland backend must be using dma-buf passing if it's not going a CPU copy. Perhaps you aren't using Radeon Vega graphics. I tried that, when it was working in Chromium 96 it used a lot more power than Firefox and stopped working in 97. 11 (libva 2. Oh G-d no! IMPORTANT: There is no official support for HW acceleration from Chromium or Arch Linux teams , this is the place to get help from friendly community. I'll enable the Fedora build option, but just note it can take a longgg time to build this package lol if you're comfortable with your own rpm packaging though would prob be best if you patched your own build. Kinetic scrolling on Wayland once worked. VA-API on Wayland works for Intel and MESA VA drivers (nouveau, r600). Reload to refresh your session. 11. git: AUR Package Repositories | click here to return to the package base details page Jul 4, 2023 · Hardware accelerated video encoding and decoding in Chromium is coming soon to the stable snap channel. Jun 21, 2024 · Hello, Arch Wiki suggests using the following flags to enable Vulkan and Wayland to enable VA-API[1] for AMD GPUs[2] on Chromium[3] from Mesa 24. May 6, 2024 · 2) --ozone-platform=wayland IIRC there is a patch being submitted that enabled a whole host of gpu stuff for wayland, and this _might_ work once that lands, but I haven't tested it (as I do not have any machines running wayland at the moment) Oct 27, 2017 · With libva, there are two different methods to use to initialize VAAPI: one for an X11 environment, and one for Wayland/DRM environment. In the interim while this is worked on I've used the chromium-wayland-vaapi package from the Arch AUR which has patches that seemingly rectify the issue however this is not an ideal solution. I'm currently building it to see if that works. others information: ````` ] EGL Driver message (Error) eglCreateContext: Requested GLES version (3. ) are tearing when i move the mouse. But there is chromium-ozone which is Chromium built with patches for Wayland support via Ozone. 141. firefox has the best support on fedora however, cpu usage increases even with hwa enabled because of poor video "rendering" on screen. 80-vaapi-i686-fpermissive. Version 75! Nov 22, 2023 · 问题类型 / Type of issues 软件打包请求 / package request 简述 / Brief Description Chromium,添加了在Wayland下VAAPI和text-input-v3的支持。 Jun 15, 2023 · I believe thats what the aur. GStreamer-vaapi already works for Intel GPU on Wayland. VaapiWrapper has been updated to remove the usage of libva-x11 and the legacy VaapiVideoDecodeAccelerator, in favor of libva-drm only. Oct 5, 2024 · Chromium is the open source version of Google's Chrome web browser. Do you know the current state of affairs? January 7, 2019. You should use chromium-vaapi instead. I downloaded the chrome-linux. It is an intel jasperlake 32 eus. Aug 24, 2013 · Once complete, the abstraction will support underlying systems ranging from embedded SoC targets to new X11-alternative window systems on Linux such as Wayland or Mir to bring up Aura Chromium by providing an implementation of the platform interface. UPDATE: And patch is for sure required to fix VP9 support. Supposedly it is now supported, mine claims it is enabled, still doesn't work. Firefox can do it tho (with security sandbox disabled) Tbh browser vaapi implementations are fragile and keep breaking/fixing between versions so most of the info you will find online will likely be outdated. Without hardware compositing, playing videos in fullscreen mode hogs a lot of CPU power and can cause severe stutters. I can also upload a compiled container if you want me to :) then run . May 12, 2023 · As the comment states, the Chromium VAAPI code (at least for the new VaapiVideoDecoder which is the only available decoder in 116+) only supports VAAPI drivers that Oct 13, 2023 · VAAPI looks not working in i965 driver with wayland ozone just on new intel drivers, i think this bug is the same that AMD VAAPI driver with wayland ozone have but is necessary confirmation. Now in about://gpu I see: Graphics Feature Status * Canvas: Software only. I used to run Chromium like this: chromium --enable-features=UseOzonePlatform --ozone-platform=wayland and it used to work properly. I have tested a bunch of the ungoogled chromium versions on my haswell system Jan 17, 2023 · In wayland VAAPI not working in chromium, i think is need some patches for ozone platform. Feb 14, 2013 · By the way, I've seen reports from users of nvidia-vaapi-driver say that vaapi is working now on nvidia with chromium wayland, while I've not seen anyone uses the vulkan backend reports vaapi is working. I made a patch myself to enable kinetic scrolling in wayland until this gets implemented chromium Dec 16, 2024 · - fix rhbz#2294773 - Allow enabling vulkan on ozone wayland for AMD vaapi - fixed rhbz#2293202, chromium Wayland UI regression [126. Jun 17, 2021 · I gave this another look and got VAAPI working. Jun 27, 2019 · So this article describes how to utilize your gpu to decode videos in chromium. Tried also to downgrade chromium-vaapi, the flag is working, but the lag on 1080p60 is showing the same. It was still a drop in power consumption over none at all, but it caused my GPU to scale up to max frequency for some reason. For that you need to use gclient to clone Ozone-Wayland; but first you need to download depot_tools and configure it. And the worst part regarding Linux hardware video decode in Chrome/Chromium is that most of the fixes are only for X11, not Wayland. Apr 8, 2014 · Just mesa from extra, I didn't make it work on chromium with native wayland (by compiling mesa-git with the patch provided by @hmann, vaapi hw decode works for avc, vp9, hevc and av1 formats on chromium xwayland, while the browser is then locked to 60fps on my monitor); for firefox, I just toggled the media. 45 now supports VA-API on Wayland perfectly with `--use-gl=egl` and no LIBVA_DRIVER_NAME env override. chromium based browsers dont support vaapi in wayland at all unless in arch linux which is not a distro i personally like to daily drive. It wasn't supported on Wayland in the default Chromium builds until very recently. It features a minimal user interface, powerful web development tools, and a built in task manager. Feb 7, 2019 · Currently AUR/chromium-vaapi is provided with VA-API support, but it might be soon integrated directly in extra/chromium. Oct 9, 2023 · I've tested this MR with Chrome 122 beta which ships ozone wayland compatible VaapiWrapper but unfortunately it's still a no go because the MR requires --use-angle=vulkan which is still not supported under ozone wayland. nixos-rebuild switch Enable GPU accelerated video decoding (VA-API) VA-API is enabled by default now in Chromium. com> Date: Wed Sep 04 01:28:15 2024 vaapi Feb 18, 2022 · Whether it's possible or not, VAAPI hw decode on chromium browsers is only available for XWayland, no native Wayland support. I can say it was working on XWayland, but it doesn't seem to be now. 1. nano /etc/modprobe. After using some flags and enabling vaapi, chrome://gpu shows that it is enabled but chrome://media-internals show that vpxvideodecoder is used. Tip: mpv with its command-line support is great for testing hardware acceleration. Native Wayland Support: --ozone-platform-hint=auto Vulkan: --enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE As it is, the developer tool and chrome://gpu have the following notes. It has been (and continues to be) available for testers in hwacc branches. g. Using --ignore-gpu-blocklist makes Chromium (IMO) more stable than without using this flag. Might be possible to add it to ungoogled-chromium. Navigation Menu Toggle navigation. Feb 14, 2024 · The following revision refers to this bug: https://chromium. However, Chromium-vaapi simply rendered video into total black screen. None of those deal with `#if defined(OS_CHROMEOS)` as you had assumed. Wou May 26, 2015 · The log showed a known Wayland bug that was patched in AUR chromium-vaapi together with MESA package with ANGLE_sync_control_rate EGL extension. Jan 6, 2024 · Learn how Chrome/Chromium browser now supports VA-API on Linux Ozone/Wayland platform using libva-drm library. Hopefully, radeonsi issues would be resolved in future. Gentoo Packages Database. Apr 4, 2023 · Chrome/Chromium on the other hand is still working on this and expects to push this out in v114 with --enable-features=VaapiVideoDecodeLinuxGL flag, see Chromium Issue 1325824. 6422. Maybe I can try to downgrade the kernel, but I don't want. Jan 6, 2024 · 但随着上周五将代码合并到 Chromium,libva-drm 现在可用于在 X11 或 Wayland 上运行 VA-API 加速。 最新的 Chrome/Chromium 浏览器代码允许 VA-API 在 Linux Ozone/Wayland 平台上运行。显式 VA-API X11 库现在改用 DRM 库,以便 Ozone 的 X11 和 Wayland 平台使用相同的目标。 I can also confirm that vaapi works flawlessly on wayland. Doesn’t work for me either on Chromium with VAAPI patch on latest 103 version unless I maximize video inside YouTube to whole screen or log off from Wayland and watch inside Xorg session. Also more caveats with this flag: a. Broken on both Ozone x11 and Wayland. Saved searches Use saved searches to filter your results more quickly Same problem occurs using xwayland and these flags --enable-features=VaapiVideoDecodeLinuxGL --ozone-platform-hint=x11 Xwyaland process memory keeps growing whenever a video is played until it becomes unresponsive and the kwin wayland session has to be restarted for the memory to be cleared. This doesn't seem to work with the usual package builds so you either need to get the chromium-wayland-vaapi package in the AUR, or you could try to download my OBS build on Tumbleweed (it uses the same wayland-vaapi patch as the AUR package). But with code merged on Friday to Chromium, libva-drm is now used to allow for working VA-API acceleration on X11 or Wayland AUR : chromium-wayland-vaapi. I’ve also installed the proprietary drivers via this howto as well as the vaapi stuff. It started as a research project for our customer – Renesas Electronics, and was based on a former abstraction project with another clever name, “mus+ash” (pronounced “mustache”, you can read more about that here – Chromium, ozone, wayland and beyond). V. Sign in Product Sep 4, 2020 · Basically the title. You switched accounts on another tab or window. Dec 21, 2023 · For some reason I can’t enable vulkan in ozone wayland. --ignore-gpu-blocklist --enab Chromium have a new VAAPI decoder for OpenGL renderer, it supports Wayland and can run great with new intel generations using media driver and onevpl driver, but for the i965 is the contrary have some reports in arch forum that i965 don't work in some hardware that can support intel media driver and after switch for intel media driver it's work Dec 20, 2021 · Alright, I will look into adding the patch for the next release. Since mesa 24. e. Aug 21, 2013 · Previuously I needed to use the chromium-wayland-vaapi which relied on wayland-chromium custom version of wayland that has recently stopped playing nicely with sway because of the protocol version bump. (1) Enable the vaapi in the wayland [4]. Nowadays, both Intel and AMD are consistent and failed without `--use-gl=egl` in similar fashion regardless. A duplicate is an issue with similar content. vaapi_video_decoder. I have hardware accelerated codecs in my gpu. However, it seems that hardware compositing does not work either, which seems to be a bigger issue. Jul 18, 2019 · this patch was implemented into chromium-vaapi and it succesfully fixes the hardware acceleration problems. Then on Chromium's side, we need to setup Chromium's tree together with the Ozone-Wayland implementation. I have now a 6700XT and installed libva-mesa-driver but sadly vaapi is That was merged to Chromium, an open source project that Google Chrome is built upon. Still getting hit with "VaapiVideoDecoder: failed Initialize()ing the frame pool" Firefox supports VAAPI natively in Wayland since 76 and Nightly 80 came with the same feature for X11, see the wiki. Jan 7, 2024 · Learn how Chromium browser now supports VA-API for video decoding on Linux Ozone/Wayland platform, improving performance and battery life. Jun 22, 2019 · Well, that does not help chromium-vaapi. Sep 24, 2023 · This particular Chromium version at least doesn't change anything about the VAAPI situation under AMD. Yes, X11 needs to be security maintained for the near future, but a timetable needs to be set on when X11 will be full depreciated (say Jan 1, 2025, just a random 2 year number on my part, it could be anything else that is REASONABLE), but developers and companies relying on X11 need to pull their thumbs out of their Feb 14, 2013 · Working Wayland + Ozone + Vulkan + Vaapi decode and encode with AMD! Bad news bears. cc - Chromium Code Search https: Jun 24, 2024 · This is useful to prevent a Chromium renderer process from successfully sending SPIR-V code to be compiled in the GPU process. 0. org Jan 3, 2023 · On KDE Plasma (wayland) it works for me with stock chromium. At this moment I do not This issue has no duplicates . Sep 3, 2012 · My final summary is: 1. Not sure how well it works on Wayland once patched, I don't have the desire to compile it on my old hardware. The only missing link now is MESA ANGLE sync control to provide predictable VSYNC for EGL application. © 2001–2024 Gentoo Authors Gentoo is a trademark of the Gentoo Foundation, Inc. patch. See full list on wiki. 1) is greater than max supported (3, 0). zip, unzipped it, ran . The last time I checked, in Chrome and Chromium it only worked with the old X11 backend. 1 onwards. HowTo. Sep 16, 2022 · 15 comments: Patchset: Patch Set #17: Sorry for the delay -- LGTM mostly, but the main thing is applying the changes in CL:3894976 (see my comments in vaapi_wrapper. For me no VAAPI in Chromium is ~23W, "working" VAAPI was ~19W, Firefox is ~15W. Jul 8, 2019 · I use radeon driver, updated to linux 5. Hardware acceleration disabled * Canvas out-of-process rasterization: Disabled * Direct I've tested this MR with Chrome 122 beta which ships ozone wayland compatible VaapiWrapper but unfortunately it's still a no go because the MR requires --use-angle=vulkan which is still not supported under ozone wayland. Jan 11, 2023 · The patches used by the Chromium Ubuntu builds with VA-API enabled used in this article are available here. ffmpeg. akarshanbiswas. Chromium so far does NOT officially support VA-API Video Acceleration API on Linux. vaapi on wayland has never been so close yet so far away :(Yeah, I'm not sure why --use-angle=vulkan is still disabled on I came across this bug report while investigating issues with chromium on Wayland with nvidia proprietary drives. Jan 9, 2024 · Just few days ago on Saturday, Chromium source merged the request to “allowing VA-API on Linux Ozone/Wayland“, submitted by JianHui J Dai. But with code merged on Friday to Chromium, libva-drm is Is the only source for chromium with VAAPI support on Wayland only available as source code from AUR/chromium-wayland-vaapi that you need to compile on your own system? If so what have you done to speed up time? For me downloading and building took 5 hours on my i5-1135G7 CPU. Last edited by Bzzz_56 (2024-08-02 06:03:06) Issue seems to be specific to Wayland supported linux machine which is currently not available at our end. I’m using a nvidia gtx 1060. The patch is harmless because unless you tune your flags to use --use-angle=vulkan it is disabled by default anyway on both x11 and wayland. Oct 31, 2021 · Chromium 96. Hardware Accelerated Videos works out of the box right now with XWayland (or if you use X11, it'll "just work" for you"), however not with Wayland enabled. 3,命令行启动Chrome Chromium (可以创建文本文档然后当软件打开) Jul 8, 2019 · Interesting part of chromium. When using : --use-gl=egl HW acceleration is purely broken (everything shows as disabled in about:gpu). googlesource. Jan 31, 2022 · Chromium can be patched to support vaapi hardware acceleration under wayland. archlinux. Apr 13, 2024 · Run Chromium on ozone wayland with the gl=egl-angle,angle=vulkan flags; chrome://gpu, and Chromium dev tools all confirm that VAAPI is functional. and of Förderverein Gentoo e. In arch use paru to compile chromium-wayland-vaapi: sudo paru -Syu chromium-wayland-vaapi. Now finally it is possible to have video acceleration in native wayland without hacky packages. Say your Chromium top-level will be in ~git/chromium, you will need: Jun 19, 2020 · Firefox: Has experimental upstream VA-API support on Wayland since version 75 Edge: To avoid confusion: This issue is only about building Chromium on Linux with VA-API support by default. Still an issue on Chrome 126 on Intel (Debian Testing) with Wayland Gnome. Dec 27, 2020 · Just to share my recent experiences with this on Wayland+nvidia, this absolutely would not work with any build of chromium except chromium-wayland-vaapi. I believe Fedora already has their own version available in the reopsitories. Patch204: chromium-75. The log showed a known Wayland bug that was patched in AUR chromium-vaapi together with MESA package with ANGLE_sync_control_rate EGL extension. 100-1 (+11 0. This issue is NOT about enabling VA-API at runtime by default (this is what's been causing problems). Chromium uses a level 0 by default in vaapi_wrapper. /chrome --enable-features=VaapiVideoDecoder from terminal, enabled all the flags but Video Acceleration Information section is empty even on X11, where I can successfully This is the patch on chromium-wayland-vaapi. . Jan 7, 2024 · Chromium has merged the pull request to support accelerated video decoding using VA-API on Wayland, a significant improvement for Linux users. It depends on these packages as well as va-vdpau-driver on nvidia, and your mileage may vary depending on your GPU, driver versions, whether or not certain chrome://flags flags or cmdline flags are enabled, as well as the codec used by the particular video, as you have found out. with Youtube, MPV and vainfo. vaapi. See this issue. I know some of these are unnecessary or redundant/duplicate, but I can't be bothered testing to see which are actually required: Mar 3, 2024 · I am using endeavourOS with wayland and I want to enabled hardware acceleration in chromium. There is an event for this in the meantime, but it is not yet sent by any window manager. vainfo vainfo: VA-API version: 1. Vaapi decoding is disabled on either wayland or vulkan, but works fine on x11 (without vulkan) I can launch chromium --ozone-platform=wayland with --use-angle=vulkan, --use-angle=opengl or even just --use-angle= with no kernel spamming or crashing. , the latest git commit). X11 had a good run, but people need to move on. I've been using them with an i5 11400 with intel-media-driver under sway/wayland and vaapi has worked without a problem. You signed in with another tab or window. I have switched to Wayland partly because I couldn't get any hardware acceleration/decoding to work in X11 and couldn't stand how much CPU FF would use when watching a simple Youtube video, which resulted in pretty high temperatures and a lot of noise from the fan. 6632. conf . 80-vaapi-libva1-compatibility. Mar 1, 2024 · @Altand. This adds experimental NVIDIA hardware video acceleration support to vdpau-va-driver for videos encoded using VP9 Profile 0 8-bit color depth. Surprisingly VAAPI works even in Ozone X11 and Ozone Wayland. This unifies the experience across different Linux environments and brings Chromium on par with other browsers on video acceleration. 2. Jun 22, 2019 · I did specially build i965 driver and libva with DRI3 patch, and that made VA-API work for gstreamer-vaapi and mpv-vaapi under Wayland session. Upstream Ozone X11 bug report is here, but last time I check, the Ozone Wayland issue is not reported. These is my config, i have tried to use --use-gl and define ozone for wayland but using gl=egl not have text output. Jan 7, 2024 · Phoronix: Google Chrome Adds VA-API Video Acceleration On Wayland One of the limitations of Google Chrome's Wayland support has been the Video Acceleration API (VA-API) not being supported for GPU-based video acceleration as it's directly targeted the libva-x11 library. cc first). May 31, 2018 · Project: chromium/src Branch: main commit 9ca21ac45af570ce11a1b0b96fdb163985b59178 Author: Ho Cheung <hocheung@chromium. Check chrome://gpu if it is working and if VA is detected. spec: Enable VAAPI support on Linux NOTE: This patch will never land upstream. I'm on Mesa 24. It was disabled by the developers because they were not happy how kinetic scrolling is stopped in Wayland. Feb 9, 2019 · Upgrading from Chromium 111 to Chromium 112 (Opera) brakes again HW video decode with intel media driver and libva. Jul 26, 2024 · Hello, I am coordinating some offorts for energy-friendly video playback on Linux/Wayland desktop, specifically on AMDGPU and KDE. May 25, 2023 · It works with chromium-wayland-vaapi (at least with my tiger lake intel igpu, and videos of format x264), while it crashes a lot when I use fcitx5 (via the flag --enable-wayland-ime), which is a deal-breaker for me Jul 8, 2019 · Anyway, since it didn't crash on you, this is good news for you. May 30, 2022 · Hello, first of all, thanks for the patches. Different from the Central Processing Unit (CPU), which is general purpose, a GPU is, as the name suggests, specialized in image Apr 2, 2023 · it looks like chromium-based browsers are not supported by nvidia-vaapi-driver: elFarto/nvidia-vaapi-driver#5 - as far as I can see Shouldn't these be owned by video group instead of root:root ? They are library files that are stored in /nix/store and are world-readable, so the owner/group does not matter. Nov 20, 2020 · The Summary of the Design of Ozone/Wayland It has been a long time since Antonio Gomes started to work on this project. Mar 3, 2024 · I am using endeavourOS with wayland and I want to enabled hardware acceleration in chromium. chrome OBS can build for Fedora. Apr 9, 2022 · I can never get VAAPI working on GNOME/Wayland with Chromium without `--use-gl=egl`. as is currently in AUR) is perfectly able to play VP9 videos, using both drivers . It seems like the latest version of google-chrome-stable does support hardware video acceleration on wayland so I guess this package has lost its use-case. Tracing power consumption Power consumption is available on ChromeOS test/dev images via the command line binary dump_intel_rapl_consumption ; this tool averages the power consumption of the four SoC domains over a configurable period of time, usually a few seconds. Jan 10, 2024 · The latest Chromium browser code has integrated Video Acceleration API (VA-API) support for the Linux Ozone/Wayland platform. It has never worked for Intel while used to work for AMD with LIBVA_DRIVER_NAME env override. cc(1228 Jun 15, 2024 · Only chromium on arch and ungoogled-chromium contains the vulkan wayland patch for now (or google-chrome-wayland-vulkan in aur). PS: if you have a more powerful machine, you can create the arch container there, compile it, and then move the container over. 27, with the following Chromium flags (forcing XWayland - native Wayland will not work with VAAPI as far as I know). Mar 14, 2024 · Speculative fix for issues on Linux/Wayland where exposing GLX_OML_sync_control renders Chrome unusable vaapi_wrapper. com/devtools/devtools-frontend/+/aa75bfc8205f3dbc7c54da3cffc35ab3e4f18dec Chromium uses a level 0 by default in vaapi_wrapper. patch" (i. But with code merged on Friday to Chromium, libva-drm is If chromium (Note that Google never build Chrome with vaapi support) is still using vaPutSurface in their X11 backend, then that makes everything slow anyway. (2) Add the runtime params to enable the hardware decode: "--enable-features=VaapiVideoDecoder,VaapiVideoDecodeLinuxGL,UseChromeOSDirectVideoDecoder" (3) Use YouTube to test the hardware decode. Jan 8, 2024 · For Chromium user, the popular web browser is finally to allow VA-API hardware decoding for video playback in Linux Wayland. 0 to make it work. The vdpau driver is located under /usr/lib64/dri/ but the default path of LIBVA_DRIVER links to /usr/lib/dri/ - I then changed the Nov 17, 2019 · I'm using GNOME on Wayland with fractional scaling set to 150% to make my external 4k screen usable, but fractional scaling breaks rendering of apps running on Xwayland (like ungoogled-chromium) and VAAPI doesn't work on Xwayland either. With Firefox supporting VAAPI on Wayland and quite a few news on the Ozone advancements and the short enablement of Wayland support on Chromium last months this seems … close? AFAIK Chromium as of todays Fedora package does not support VAAPI on Wayland due to XWayland. Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". Fedora 35 has chromium package but that one was on v94 still. I had to package libva 2. Look at the log of mpv --hwdec=auto video_filename and see hwdec for more details. Also make sure that VAAPI works on your system outside of geforce now/chromium e. org> Date: Wed May 29 00:10:25 2024 [ozone I am okay with software decoding. enabled option in about Aug 8, 2014 · Ungoogled-chromium AUR has 1 more patch named fix-intel-vaapi-wayland. 5481. Saved searches Use saved searches to filter your results more quickly In my case, although the Graphics Feature Status stating that Video Decode is Hardware accelerated, it seems that it is actually doesn't work, at least on Wayland. Now, the problem is that I tried to implement that patch into ungoogled chromium but it doesn't work, and I think that it is because there might be another vaapi patch that is being applied when building. The regression bug listed is still open and has only been triaged on Jun 30th with radio silence from the dev assigned to the bug report. 6 and new chromium-vaapi version. I've seen a patch for this in the AUR and used it to patch a version of Chromium in the OpenSUSE build service. I have tried Chrome in Xwayland model and the patched Chromium-Wayland-Vaapi. Jan 30, 2024 · Phoronix: Google Chrome Adds VA-API Video Acceleration On Wayland One of the limitations of Google Chrome's Wayland support has been the Video Acceleration API (VA-API) not being supported for GPU-based video acceleration as it's directly targeted the libva-x11 library. 3770. Chromium only uses the former one. Firefox broken too, with videos stuttering and turning off hw video decoding flag improves FPS rate. 2 () vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple Feb 5, 2023 · aur/chromium-wayland-vaapi 110. Since I use full google-chrome-stable, I need the enable Vaapi flag, since google took away internal program flag. Nov 21, 2021 · Ubuntu removed the chromium package and turned that to the snap version. It seems that the ozone wayland patch will be relanded upstream on 129. cc. I assume video acceleration with Chromium running on Wayland is not there yet, unless patched like chromium-wayland-vaapi package found on Arch. try ungoogled chromium with the chromium vaapi instructions from the Arch Chromium 将自动缩放以适应 HiDPI 显示,但是,这可能会导致渲染的 GUI 不正确。 此标志--force-device-scale-factor=1可用于覆盖自动缩放因子。 当 #原生Wayland上运行启用时, Chromium 将根据配置的缩放来自动缩放每个显示器。 Jan 6, 2024 · One of the limitations of Google Chrome's Wayland support has been the Video Acceleration API (VA-API) not being supported for GPU-based video acceleration as it's directly targeted the libva-x11 library. I am using raven ridge man. This improves the video acceleration performance and compatibility for Chrome on Wayland. It seems like chromium upstream will also include fixes for wayland in the future, according to the description of the patch May 2, 2021 · AFAIK it's broken with Ozone X11 or Wayland. dai@intel. Yes. Under wayland, Chromium still runs as an X11 application, under XWayland. org chromium-wayland-vaapi is all about, enabling the “–enable-features=VaapiVideoDecoder” feature permanently without needing a flag. No special builds are required. Chromium is Chrome, but with some of Google's services removed. Dec 22, 2021 · I've followed the ArchWiki article, have chromium-wayland-vaapi installed (but no equivalent Electron package), yet it's very much not working. In summary, chromium-vaapi was plagued by 2 major issues. 4664. This problem are gone, when use native wayland. Fix compatibility with VA-API library (libva) version 1. It used to lie that it was enabled when you had the options set, but it didn't actually work. XWayland may work. on arch linux, how was the cpu usage though? for me with Jan 7, 2019 · In the past there have been many issues with vaapi and Wayland especially with chromium. The Chromium Project is at the forefront of implementing new web standards. Patch202: enable-vaapi. options i915 enable_guc=2 (Ctrl+O保存,Ctrl+X退出) sudo update-initramfs -u. Jan 9, 2024 · 在一项重大开发中,Chromium 在 Wayland 上使用 VA-API(视频加速 API)启用加速视频解码的拉取请求最终已 合并 。这是Linux领域令人期待的一项重要功能。虽然2024年可能不是“Linux桌面化”的一年,但却可能成为“Wayland时代”的开端。 Apr 2, 2023 · Hello! I just noticed that I’m unable to run Chromium with graphics acceleration on Wayland. 65) (Installed) Chromium, patched to enable VA-API video decoding on the Ozone Wayland backend Sep 17, 2013 · Chromium VA-API now works on NVIDIA GPUs without the need to go for AUR. ; Use nvtop to check "DEC" (decoder) usage on the top lines while playing a video, for AMD, Intel and NVIDIA. Last edited by maximbaz (2019-10-12 18:31:46) Oct 6, 2021 · As of June 2016, there exist at least 8 different video decoding acceleration APIs: VAAPI (Video Acceleration API): Initially designed by Intel in 2007, targeted at the X Window System on Unix-based operating systems, now open-source. Jan 14, 2023 · I've tested with both Chromium from the official repository AND compiling chromium-wayland-vaapi with and without the chromium patch for AMDGPU (thanks for that, it's awesome, <3!). patch Patch203: chromium-75. Make sure your vaapi uses intel-media-driver. 1 has just been released and it finally enables vaapi video decoding on amd cards this is a good time to merge this. As an added benefit, by using Chromium with VA-API installed from PPA you get to have native Chromium builds (actual DEB packages) on Ubuntu, instead of the new default Snap Chromium builds, which Ubuntu has started pushing by default. It's for the best. Update on Sep 22, 2021: there's a bug affecting using Wayland Chrome/Chromium/Electron in the latest Sway/wlroots (i. Checked by vainfo and intel-media-driver, hardware encoding and decoding is Dec 28, 2017 · Yes, chromium-vaapi compiled against the current "vaapi-fix. Jul 31, 2022 · If you have an AMD one, you need to enable Vulkan - either on x11 now or optionally with Wayland once the Arch Chromium package rebuilds for 125. EDIT: Actually, according to the link above, VAAPI will not work on Chromium with its Native Wayland. That includes: subtitle support, aspect ratio support (black bars offload), and general fullscreen video support. By portable did you try this?. It's probably not hard to implement, but it's also not zero-copy. I'm trying to get VA-API working on Firefox and Chromium but I don't know what I'm missing. google-chrome --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,VaapiVideoDecodeLinuxGL --disable-features=UseChromeOSDirectVideoDecoder Jan 2, 2024 · (even the amdgpu setup does show similar va infos on chromium-wayland-vaapi, hw decoding is still not working correctly, which can be observed with nvtop or similar tools, while it is a different story and you can find related patches for this issue in this post) Jun 9, 2023 · I was using it as a dependency for chromium-vaapi that was used as a workaround for hardware acceleration on chromium running on native wayland. Dec 14, 2019 · With this additional patch, chromium hardware accelerated video decoding would be fully functional in Wayland with i965 VA driver using the EGL backend and VA-API over DRM. Yes, vaapi on wayland is in stable official release. Jun 22, 2019 · Finally, there is good news for getting chromium-vaapi working on GNOME/Wayland for Intel Graphics . and use ONLY the following flags, they work for me on intel tiger lake and normal chromium from the standard repo. u/pierro78 Thorium has VAAPI, VDPAU, and Intel HD patches as well as a preliminary WayLand patch. j. Project: chromium/src Branch: main commit 882f184c471fc8e5c59ead4e4c8eaf06dc7f89da Author: Jianhui Dai <jianhui. vaapi on wayland has never been so close yet so far away :(Yeah, I'm not sure why --use-angle=vulkan is still disabled on Jan 4, 2021 · Update on Oct 28, 2021: the bug mentioned in the update of Sep 22 has been fixed. Hmann's patch works by conforming the VA-API behavior but Chromium only triggers the correct code path when Vulkan is used as the render backend. Apr 15, 2024 · Run Chromium on ozone wayland with the gl=egl-angle,angle=vulkan flags; chrome://gpu, and Chromium dev tools all confirm that VAAPI is functional. Some Chrome release ago, videos in chrome that use VAAPI (Youtube, twitch, etc. It's by all definitions a complete browser. Sep 30, 2020 · Project: chromium/src Branch: main commit 1d408de1538427653f776b5e5e646503d0d0f0c5 Author: Ho Cheung <hocheung@chromium. Now I see that --use-gl=egl isn't working and removing the flag I have lag on 1080p60 videos inside the browser. Background Computers usually have at least one Graphics Processing Unit (GPU). I updated AUR chromium-vaapi to restore VA-API for Wayland/EGL while keeping NVIDIA support intact. After removing --use-gl=egl, about:gpu lies that video HW works (intel_gpu_top shows it does not). I checked the entries like described in the arch wiki. Aug 9, 2024 · Working Wayland + Ozone + Vulkan + Vaapi decode and encode with AMD! Tested on brave/chromium with 7900XTX and Radeon 880M (Strix Point) and RX Vega 7 (Renoir Hopefully. I don't know what --use-gl=egl is doing but if you want VAAPI working then you need to use the default, should've been sent to the grave a decade ago, GLX backend, and you can force it with --use-gl=desktop-gl. ungoogled-chromium in aur seems to have wayland vaapi patch applied. then is only need to time to come to official repos. xkc tdtel orlq mxjwu ylpcvkm sztatm bkhum uzevdoaun xvp xuhuq