Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Mapping order on amdgpu #66

Open
emersion opened this issue Oct 8, 2021 · 0 comments
Open

Mapping order on amdgpu #66

emersion opened this issue Oct 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@emersion
Copy link
Owner

emersion commented Oct 8, 2021

Somewhat related to #60.

Trying to present these 3 layers on amdgpu:

  1. Fullscreen NV12
  2. Fullscreen ARGB8888
  3. Cursor ARGB8888

This combination can work:

  1. Primary plane
  2. Overlay plane
  3. Cursor plane

However, libliftoff will try to construct the mapping step by step:

  • Will try to map layer (1) to the primary plane, success
  • Will try to map layer (3) to the cursor plane, failure because amdgpu can't do cursors directly over YUV

It's a case where adding a new plane will make the configuration work -- the intermediate ARGB plane allows amdgpu to draw the cursor.

@emersion emersion added the bug Something isn't working label Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant