void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

New package: intel-media-driver-nonfree-24.2.5

Open zlice opened this issue 1 year ago • 1 comments

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, x86_64
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • x86_64-musl

Comments

Add a nonfree package for intel-media-driver. This builds twice, similar to conky, and adds support for nonfree codecs to the repos (such as AV1 decode on Intel Arc A770 / DG2).

I'm unsure why lib and lib64 are mixed up for the -nonfree subpackage. If anyone can tell me why or how to get rid of the hacky workaround rm/ln, let me know.

The -devel packages are the same files, so I went with replace and intel-media-driver-nonfree installs fine when you already have intel-media-driver and intel-media-driver-devel installed.

Could possibly add a intel-video-accel-nonfree.

zlice avatar Jul 22 '24 18:07 zlice

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Oct 21 '24 02:10 github-actions[bot]

this just ignores the build option?

classabbyamp avatar Dec 19 '24 17:12 classabbyamp

pretty much ya, just rebuilds with configure_args="${configure_args/KERNELS=OFF/KERNELS=ON}"

a few ppl wanted it (me included), just because it's a bit lengthy to build and some codecs are not supported at all in free version like AV1 decode

zlice avatar Dec 19 '24 17:12 zlice

now that i think of you saying that. should the build option just be removed?

zlice avatar Dec 19 '24 17:12 zlice

gate this behind the build option

classabbyamp avatar Dec 19 '24 17:12 classabbyamp

should be like it was originally. as mentioned i don't know that using the build option works, or if there's some other function you have to call besides do_configure to get it to take. tested https://bitmovin.com/demos/av1/ and it looks good on 24.3.4

zlice avatar Dec 19 '24 19:12 zlice

  • switched to conflict instead of replace
  • unlink the .so directly with full name, wildcard was not working
  • rm the lib dir symlink directly (still not sure why this is here, must be something with the non-standard post_install() calling install() )
  • verified nonfree is larger than its free counterpart (much bigger than i'd expect, but strip did not change the size
  • use DESTDIR in post_install()
  • build option is unused now

sizediff

zlice avatar Dec 20 '24 00:12 zlice

updated to 24.4.4 - requires gmmlib 22.5.5 https://github.com/void-linux/void-packages/pull/54583

zlice avatar Mar 05 '25 14:03 zlice

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Jun 04 '25 02:06 github-actions[bot]