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:
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
Hadden89 last edited by Hadden89
@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.
@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.
For Ubuntu and its derivatives, there is a patched PPA for quite a while:
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.
@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.
mib2berlin last edited by mib2berlin
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.
Opensuse Tumbleweed x86_64
CPU i7-3520M 8 GB
GPU Intel HD4000
KDE Plasma 126.96.36.199
Vivaldi 2.5.1525.37 (Official Build) snapshot (64-bit)
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 1.10Ghz, 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?
@mark0a Indeed! On my Acer Swift 1, running Neon User Edition 5.15.5, using Chromium with the patch and with the hardware video decoding flag enabled, CPU utilization is about 25% playing "Costa Rica in 4k" from Youtube at 1080p60, and it's breathtakingly smooth.
I tried to compare it to Vivaldi itself, but I could not get any videos to play at all in Vivaldi... it just kept saying a problem had occurred (very helpful, Youtube, thanks!). I am sure I can get it figured out, but for now, I just disabled the hardware decoding flag in Chromium, restarted the browser, and viewed the video again.
This time, CPU utilization shot up to nearly 100%, and there were visible hitches and stutters as it dropped frames here and there, and as you might guess when CPU is near-maxed, trying to perform any other task while streaming was hopeless. If I was using it on battery, using that much CPU would make it a very short session. Since that's the main use for this PC, it's quite limiting.
Specs on the PC are: Pentium N4200 CPU (4 core, no HT), 4GB RAM, Intel integrated graphics HD505 with the modesetting driver, Ubuntu kernel 5.0.0-16, Chromium 75.0.3770.18 (Developer build) from the saiarcot895 PPA.
I don't see any harm in including the code to enable this. That alone does not enable hardware decoding, as the feature is still turned off by default, and remains so unless the user specifically enables it with a flag, as for any other experimental feature.
Why is this not enabled? This issue is over one year old.
I'm killing my laptop life when using vivaldi
Patches are available here: https://pkgs.rpmfusion.org/cgit/free/chromium-freeworld.git/tree/
User still needs to enable the flag, so it is safe for everyone.
This makes Vivaldi more feature complete, but a lot inferior with real time scenarios, like such watching a simple youtube video when compared with Chrome, Chromium
I try to ask a developer in chat. Please wait some days until i get a answer.