chromium-ubuntu-build icon indicating copy to clipboard operation
chromium-ubuntu-build copied to clipboard

VDPAU/Nvidia acceleration in Chromium 87 on Ubuntu 20.04 broken

Open sebibasti0815 opened this issue 3 years ago • 8 comments

As the #98 ist closed now - a similar problem exists for nvidia-cards:

No hardware acceleration for Nvidia-Cards (vdpau) using 87.* builds of chromium. 86.* builds work fine.

--use-gl=desktop does not solve the issue. Neither does setting enable hardware acceleration in command line or flags.

sebibasti0815 avatar Oct 21 '20 18:10 sebibasti0815

The LIBVA_DRIVER_NAME=vdpau chromium-browser --ignore-gpu-blocklist --use-gl=desktop --enable-oop-rasterization didn't work for me either , ubuntu 20.04 , Version 88.0.4315.5 , nVidia RTX 2070 proprietary drivers, same VDA error 4

Failed to create dedicated X11 display! [361880:362425:1113/160907.513378:ERROR:vaapi_utils.cc(47)] vaMapBuffer failed: invalid VABufferID [361880:362425:1113/160907.513440:ERROR:vaapi_video_decode_accelerator.cc(528)] Error decoding stream [361880:361880:1113/160907.645793:WARNING:gpu_video_decode_accelerator_factory.cc(223)] Initializing VAAPI VDA.

cAstraea avatar Nov 13 '20 14:11 cAstraea

I have the same problem.

TheWeirdDev avatar Nov 22 '20 05:11 TheWeirdDev

I tried using h264ify extension and hardware acceleration worked fine. Only VP9 doesn't work. Maybe this issue is related to vdpau-va-driver-vp9 ?

TheWeirdDev avatar Nov 25 '20 06:11 TheWeirdDev

intel too

shenlijun avatar Dec 15 '20 07:12 shenlijun

Can confirm that NVIDIA binary driver + vdpau-va-driver no longer works. Ubuntu 20.04, Nvidia 460.39. Tested chromium-beta 88 and chromium-dev 90.

Console throws "Failed to create dedicated X11 display!" whenever a video starts playing, and it falls back to software decoding (happens with both H264 and VP9). VP9 I don't really care about, but H264 is certainly a regression.

--use-gl=desktop has no effect. --no-sandbox no longer throws the error, but it remains software decoding.

Helyos96 avatar Mar 10 '21 00:03 Helyos96

bump?

matt22207 avatar Aug 29 '21 16:08 matt22207

I do need to publish the vdpau-va-driver for newer Ubuntu versions, but since I don't have a Nvidia GPU, I can't do much experimentation from here.

saiarcot895 avatar Sep 22 '21 04:09 saiarcot895

This can be closed because it is vdpau-va-driver-vp9 issue: https://github.com/xtknight/vdpau-va-driver-vp9/pull/15

nE0sIghT avatar Sep 26 '21 06:09 nE0sIghT