Enable Hardware Accelerated Video (vaapi)



  • There is a patch for chromium to enable the flag on linux, just merge it. It really matters for users with weaker cpus/laptops and battery consumption. Enabling override software rendering list doesn't do anything without this: 0_1541080066014_Screenshot_20181101_144653.png



  • That might be the reason why regular use on win feels ok, but sub par on linux.



  • @lebaux There's more to that, on linux some window managers or desktop environments just dont work as good on specific hardware. The general browsing experience for me is the same as on windows, but videos lag on youtube on higher qualities. This would fix it, I know it works since I am using it on chromium right now.



  • @lalel I am with you here 100%, the linux vivaldi crowd seems so small, though šŸ˜ž



  • @lebaux Not so small. Several devs and testers are mainly Linux users. So, who knows, maybe this patch will come if can be merged with V code.



  • @lebaux @Hadden89 Opera, Chrome, Vivaldi (there are others, these are the most popular) are all based on chromium. If google added this feature to chromium for linux, all of those would get it. The problem is, google doesn't wan't to add it. Vivaldi is the last browser I have fate in, that's why I started this topic.


  • Moderator

    @lebaux Well, Linux is a fraction of a percent of operating systems, and Vivaldi users are a fraction of a percent of web users, so the number would necessarily be a fraction of a fraction of a percent of world web users.

    That said, Vivaldi emphasizes Linux more than other browsers do, partly because there are a large percentage of Linux fans on the Team, and partly because they simply want to be able to run on as many devices as practicable. Therefore, Linux issues get a lot of attention at Vivaldi.



  • I'd love to see this working. I'm currently using a 2-in-1 laptop with a Celeron CPU. With Software rendering it struggles to play video at 720p. Hardware rendering would be a huge improvement for my usecase.



  • @ayespy Iā€™m pretty sure Mozilla puts lot of effort to Linux builds, arguably more. If you are Linux user, Firefox is basically default browser. Chrome of the Linux, if you will. I think if Linux was such a priority for Vivaldi, this seemingly simple merge would have been done. Ability to play a video is basic need.



  • For Fedora, there is a patched chromium version since January this year.
    https://fedoramagazine.org/chromium-on-fedora-finally-gets-vaapi-support/
    https://www.linuxuprising.com/2019/01/fedora-updates-chromium-with-vaapi.html

    For Ubuntu and its derivatives, there is a patched PPA for quite a while:
    https://www.linuxuprising.com/2018/08/how-to-enable-hardware-accelerated.html

    This can be a "killer feature" and may cause some users to change their browser. I hope Vivaldi will not get left behind. Including the patch doesn't mean you have to enable the flag by default.


  • Moderator

    @LeBaux Apples and oranges. Mozilla is well-funded and buys proprietary codec licenses. Vivaldi cannot.



  • Can we also add it to the Raspberry Pi 3 and other ARM devices on Linux? Chromium on the Pi3B+ has hardware accelerated video and it can be managed via the bundled h264ify extension. A lot of the devs use Linux and some use the RPi. Would be excellent to see this so I don't have to fire up a dated Chromium version just to watch a video.



  • @Ayespy There's no need to buy any "proprietary codec licenses" to integrate vaapi patch for Chrome into Vivaldi. The only thing needed is the devs' good will.

    I'd considered Vivaldi as a replacement for Chromium, since it's better at all things -- except hw accelerated vp9 (that is, playing youtube videos). And because of better youtube vids I'd rather stay with patched Chrome.



  • Vivaldi team, we need this feature. You can make it non-default also, just give us a possibility.



  • JUST. IMPLEMENT. THIS
    On Linux, I have a CPU load of 2 times more than in firefox. All drivers and codecs are available. Just use system codecs instead of yours.



  • @bulbigood
    Hi, strange, on my system Firefox use 8% and Vivaldi up to 12% CPU watching the same stream at same resolution from Youtube.
    Hardware acceleration enabled in Vivaldi, no idea for Firefox.

    Cheers, mib

    Opensuse Tumbleweed x86_64
    CPU i7-3520M 8 GB
    GPU Intel HD4000
    xf86-video-intel 2.99.917-6.1
    KDE Plasma 5.54.5.11
    Vivaldi 2.5.1525.37 (Official Build) snapshot (64-bit)



  • @mib2berlin
    Do you know what is more strange?

    A system with the following specifications,


    OS: Windows 10, 17763.475, KB 4495667, x86_64
    CPU-RAM: i3-3250 3.5Ghz, 8GB DDR3
    GPU: Nvidia GTX 750Ti
    GPU DRIVER: 430.64 WHQL
    Browser: Chromium 76.0.3788.0 (64-bit)


    Needs 95% of CPU to play a 4K video on YouTube with VAAPI enabled and a weaker system with the following specifications,


    OS: x86_64 Linux 5.0.13-arch1-1-ARCH
    CPU-RAM: Intel Celeron N3450 2.2GHz, 6GB DDR3
    GPU: Intel HD Graphics 500
    GPU DRIVER: xf86-video-intel 1:2.99.917+863+g6afed33b-1
    Browser: Chromium-vaapi-bin 74.0.3729.157-1 (64-bit)


    needs 25% of CPU for the same 4K video, at the same time/frame with VAAPI enabled...
    How weird is this?


 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.