intel / intel/media-driver

Decoder doesn't support linear tiling

Open
#497 8 comments 0 reactions 1 assignee Assigned to @Jexu View on GitHub
Decode Reserved
Dominant language
C
Stars
1.2k
Forks
383
Avg merge
8d 18h
Merged PRs (30d)
4

Description

Hello, I tried to display decoded NV12 surface using Vulkan in zero-copy mode
(import PRIME fd into Vulkan Memory),
but since the NV12 surface is not defaulted to linear tiling, the result is not correct.

I tried to allocate custom VA surface in linear tiling, using `drm_intel_bo_alloc`, `drm_intel_bo_gem_export_prime`, `VASurfaceAttribExternalBuffers`.
But the decoded NV12 data is still not in linear layout, but in some tiling or macroblock order.
It seems the decoder doesn't care the tiling of the output surface.

So, is this a bug, or simply I can't create decoded NV12 frame in linear tiling.

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.