Originally posted by frank007
View Post
Announcement
Collapse
No announcement yet.
Firefox Is Seeing Work On Wayland VA-API Video Acceleration
Collapse
X
-
To test Firefox vaapi acceleration in Ubuntu 20.04:
1) sudo apt install -y ffmpeg mesa-va-drivers vainfo
2) For GPU without support for VP9 install in Firefox:
3) Make Firefox try to start in wayland instead of X11 as user:mkdir -p ~/.config/environment.d touch ~/.config/environment.d/60_firefox.conf 4) Configure in Firefox about:config :echo MOZ_ENABLE_WAYLAND=1 >>~/.config/environment.d/60_firefox.conf
widget.wayland-dmabuf-vaapi.enabled = true
layers.acceleration.force-enabled = true
media.ffvpx.enabled = false
5) Power off the PC.
6) At Ubuntu login screen choose down right Ubuntu on Wayland before entering the user password.
7) Verify Ubuntu is on Wayland: echo $XDG_SESSION_TYPE = wayland not x11
8) Verify Firefox is on Wayland: about:support CTRL+F Window Protocol = wayland not x11
9) Playing youtube video in 1080p HD the CPU usage for an AMD Athlon X2 = 20% on wayland, 90% on x11
Comment
-
Originally posted by frank007 View Post
Ok, the compositors make your PC faster.
Compositors are faster because inactive windows can be stored in the framebuffer instead of being redrawn every time you switch to them. This is the same reason they save power.
Comment
Comment