Announcement

Collapse
No announcement yet.

Firefox Is Seeing Work On Wayland VA-API Video Acceleration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #51
    Originally posted by frank007 View Post

    Can you give me one, or two, serious reasons for using a compositor? All compositors, even in Windows, slow down the PC heavily.
    What? I am not replying to trolls. Because you are clearly trolling.

    Comment


    • #52
      Originally posted by TemplarGR View Post

      What? I am not replying to trolls. Because you are clearly trolling.
      Ok, the compositors make your PC faster.

      Comment


      • #53
        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:
        Descarcă h264ify pentru Firefox. Makes YouTube stream H.264 videos instead of VP8/VP9 videos

        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
        echo MOZ_ENABLE_WAYLAND=1 >>~/.config/environment.d/60_firefox.conf
        4) Configure in Firefox about:config :
        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


        • #54
          Originally posted by frank007 View Post

          Ok, the compositors make your PC faster.
          You seem to be conflating "compositor" with "Compiz with all bells and whistles enabled."

          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

          Working...
          X