saiarcot895 / chromium-ubuntu-build

Packaging files for building Chromium on Ubuntu
138 stars 32 forks source link

VDPAU/Nvidia acceleration in Chromium 87 on Ubuntu 20.04 broken #102

Open sebibasti0815 opened 4 years ago

sebibasti0815 commented 4 years ago

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.

cAstraea commented 4 years ago

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.

TheWeirdDev commented 3 years ago

I have the same problem.

TheWeirdDev commented 3 years ago

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 ?

shenlijun commented 3 years ago

intel too

Helyos96 commented 3 years ago

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.

matt22207 commented 3 years ago

bump?

saiarcot895 commented 3 years ago

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.

nE0sIghT commented 3 years ago

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