Closed
Bug 1812290
Opened 1 year ago
Closed 1 year ago
[NVIDIA] VA-API dmabuf surface copy doesn't work on NVIDIA
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
VA-API dmabuf surface balancing doesn't work on NVIDIA:
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482
NVIDIA perhaps doesn't like dmabuf modifiers when we create a new surface.
Assignee | ||
Comment 1•1 year ago
|
||
That fails with plain surfaces without modifiers too. NVIDIA doesn't allow to create dmabuf objects directly (Bug 1735929). If we want to support it on such hardware, we'd need to create texture first and then derive dmabuf from it as we do in https://phabricator.services.mozilla.com/D147637.
Not sure it's worth the effort as we use it for fallback only when decoding is slow. Perhaps we may disable the decode balancing on NVIDIA and just fail when we're out of free ffmpeg surfaces.
Assignee | ||
Comment 2•1 year ago
|
||
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/5bb5f6bf2fd7 [Linux] Check if dmabuf surface copy works and don't use it on broken systems r=alwu,emilio,jgilbert
Comment 4•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•