this post was submitted on 05 Jul 2023
87 points (98.9% liked)

Linux

46794 readers
1050 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

While some of us had it turned on for some time, some didn't. Looks like it is fully stable now.

Yey! Test it by starting intel_gpu_top and than playing video in firefox, if row "Video" goes over 0.0% it is working!

intel-gpu-top: Intel Coffeelake (Gen9) @ /dev/dri/card0 -  921/ 925 MHz;  38% RC6
    1.78/10.41 W;      813 irqs/s

      IMC reads:     3883 MiB/s
     IMC writes:     1632 MiB/s

         ENGINES     BUSY                                         MI_SEMA MI_WAIT
       Render/3D   12.82% |████▊                                |      0%      0%
         Blitter    0.00% |                                     |      0%      0%
           Video   27.99% |██████████▍                          |      0%      0%
    VideoEnhance    0.00% |                                     |      0%      0%

   PID              NAME   Render/3D      Blitter        Video      VideoEnhance  
   578       RDD Process |            ||            ||███         ||            |
 32431       firefox-bin |▊           ||            ||            ||            |
  2301    elogind-daemon |▌           ||            ||            ||            |
  4151        pcmanfm-qt |            ||            ||            ||            |
  4153         keepassxc |            ||            ||            ||            |
  4154         pasystray |            ||            ||            ||            |
  4521             slack |            ||            ||            ||            |
  6067            chrome |            ||            ||            ||            |
 29222       jcef_helper |            ||            ||            ||            |

Of course, you need second monitor, it goes down to 0 if video is not visible, since Firefox is not rendering it.

Official release notes: https://www.mozilla.org/en-US/firefox/115.0/releasenotes/

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (3 children)

VAAPI has been around for a while. Do you know why it took so long for Firefox to integrate?

[–] [email protected] 4 points 1 year ago

Bugs.

There has been a hell of a lot of work done here both in Firefox, as well as other projects like mesa to get this enabled.

[–] [email protected] 1 points 1 year ago (1 children)

It was already integrated for non Intel GPUs

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

That's not what has happened here. This is the first time any major browser has enabled vaapi hardware acceleration by default on Linux.

It has been previously available either to users who have switched it on, or maintainers who changed the upstream default.

They are initially enabling for intel only due to some amd bugs that need to be ironed out. AMD will be next.

[–] [email protected] 1 points 1 year ago

On my system is very busy on Render/3D, does that mean that the video acceleration is not working?

[–] [email protected] -4 points 1 year ago (1 children)

Congratulations!!! Only a couple of decades behind other operating systems!

[–] [email protected] -1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

Same browsers on other operating systems. I don’t think Chrome enables it on Linux.

[–] [email protected] 2 points 1 year ago

You're correct. This is the first time a major browser has enabled vaapi by default on linux upstream.