Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Gallium VA driver on Mesa (v2) #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hmtheboy154
Copy link
Contributor

Original patch for Android.mk on Mesa3d is made by aleasto, port to aospext by me with some help by rsglobal

To compile Gallium VA, put this in BoardConfig.mk : BOARD_MESA3D_GALLIUM_VA := enabled
BOARD_MESA3D_GALLIUM_VA_CODECS := h264dec h264enc h265dec h265enc vc1dec

(v2):

  • Fix an issue in which the build only create link on lib instead of lib & lib64
  • Compatiable with latest Mesa 24.3 as Gallium VA is now being integrated directly into libgallium_dri.so

Original patch for Android.mk on Mesa3d is made by aleasto, port to
aospext by me with some help by rsglobal

To compile Gallium VA, put this in BoardConfig.mk :
BOARD_MESA3D_GALLIUM_VA := enabled
BOARD_MESA3D_GALLIUM_VA_CODECS := h264dec h264enc h265dec h265enc vc1dec

(v2):
- Fix an issue in which the build only create link on lib instead of lib & lib64
- Compatiable with latest Mesa 24.3 as Gallium VA is now being integrated
directly into libgallium_dri.so

Co-authored-by: Roman Stratiienko <r.stratiienko@gmail.com>
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Signed-off-by: hmtheboy154 <buingoc67@gmail.com>
@rsglobal
Copy link
Member

rsglobal commented Oct 2, 2024

Compatiable with latest Mesa 24.3 as Gallium VA is now being integrated directly into libgallium_dri.so

Do we really need that old Mesa support that requires all that complex logic of populating symlinks?
I planned to drop gallium DRI symlinks after some time (maybe a year). To keep things clean.

How about keeping support gallium VA for the latest mesa only?

@hmtheboy154
Copy link
Contributor Author

Compatiable with latest Mesa 24.3 as Gallium VA is now being integrated directly into libgallium_dri.so

Do we really need that old Mesa support that requires all that complex logic of populating symlinks? I planned to drop gallium DRI symlinks after some time (maybe a year). To keep things clean.

How about keeping support gallium VA for the latest mesa only?

imo I think that we can keep old Mesa support for a while, maybe till the end of this year. Currently older Android version of BlissOS still using 24.0. I'd also like to know @maurossi thoughts about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants