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

amdgpu-pro vulkan and AMF bumps #25377

Closed
wants to merge 4 commits into from
Closed

Conversation

AdelKS
Copy link
Contributor

@AdelKS AdelKS commented May 7, 2022

Hello!

I brought some changes that I'd like special attention to, since ffmpeg needs the headers from amf-headers to be built with the amf use flag :

  • I expect that when amf-headers gets updated, ffmpeg needs to be rebuilt : so I slotted amf-headers and made ffmpeg get rebuilt accordingly. But I am not sure about that, it is usual to do that for apps that depend on headers right ?
  • Also, I had wrongly put amf-headers in BDEPEND in ffmpeg yet it had to be in DEPEND

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @AdelKS
Areas affected: ebuilds
Packages affected: media-libs/amdgpu-pro-vulkan, media-libs/amf-headers, media-video/amdgpu-pro-amf, media-video/ffmpeg

media-libs/amdgpu-pro-vulkan: @AdelKS, @gentoo/proxy-maint
media-libs/amf-headers: @AdelKS, @gentoo/proxy-maint
media-video/amdgpu-pro-amf: @AdelKS, @gentoo/proxy-maint
media-video/ffmpeg: @gentoo/video

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels May 7, 2022
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-05-07 21:20 UTC
Newest commit scanned: dbcd924
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/3eb9ed5c03/output.html

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So are you absolutely sure about the header requirement here?

media-libs/amf-headers/amf-headers-1.4.23-r1.ebuild Outdated Show resolved Hide resolved
media-video/ffmpeg/ffmpeg-4.4.2-r1.ebuild Outdated Show resolved Hide resolved
@AdelKS
Copy link
Contributor Author

AdelKS commented May 18, 2022

So are you absolutely sure about the header requirement here?

I am not sure I understand your question. For ffmpeg to be built with amf useflag, the headers are absolutely needed. What I am unsure about is the need to rebuild when updating the headers and I only used common sense on that.

The thing is that the library is always backward-compatible with all previous AMD drivers, but only the newer ones can leverage the new features. And ffmpeg dlopens the shared library installed by amdgpu-pro-amf.

I would like your input on this, or anyone's input with experience on such matters.

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
….3 driver

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
…o DEPEND

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
@AdelKS
Copy link
Contributor Author

AdelKS commented May 29, 2022

Hello @juippis

I cancelled my slotting changes for now, this PR is a simple version bump + a fix of deps in ffmpeg.

I will wait for the answer on GPUOpen-LibrariesAndSDKs/AMF#313 to do further changes. By the look of their repository, that contains a copy of ffmpeg that did not get updated with the recent amf-headers 1.4.24, I think it's either

  • ffmpeg needs further patches from AMD to pickup the new features
  • the features are controlled by amdgpu-pro-amf and not ffmpeg who's a simple user

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-05-29 15:21 UTC
Newest commit scanned: 4ee9314
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/a7221f12c8/output.html

@@ -287,6 +287,7 @@ RDEPEND="${RDEPEND}
"

DEPEND="${RDEPEND}
amf? ( media-libs/amf-headers )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now this on the other hand doesn't require a revbump to ffmpeg :) rest of this PR works so I guess I'll move and rebase this revbump out. Thanks!

@gentoo-bot gentoo-bot closed this in 10f5fa2 Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits.
Projects
None yet
4 participants