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

cudaPackages: consider splitting libnvcuvid out from nvidia_driver #224294

Closed
3 tasks
SomeoneSerge opened this issue Apr 1, 2023 · 3 comments
Closed
3 tasks
Labels
6.topic: cuda Parallel computing platform and API

Comments

@SomeoneSerge
Copy link
Contributor

SomeoneSerge commented Apr 1, 2023

  • Verify if nvcuvid is actually hardware-depended and needs to be deployed impurely, like libcuda.so
  • If it's not, split it out into a separate output or derivation
  • Make other libraries link to it directly through Runpath

Motivated by #218859

@SomeoneSerge SomeoneSerge converted this from a draft issue Apr 1, 2023
@SomeoneSerge SomeoneSerge added the 6.topic: cuda Parallel computing platform and API label Apr 2, 2023
@Kiskae
Copy link
Contributor

Kiskae commented Apr 3, 2023

❯ readelf -p .rodata /run/opengl-driver/lib/libnvcuvid.so | grep version
[5c97e0] Library version doesn't match driver version [NV_ERR_LIB_RM_VERSION_MISMATCH]

Pretty much all the nvidia userspace libraries are version-locked to the associated driver version, so this won't work.

@SomeoneSerge
Copy link
Contributor Author

Ah, so that's how this works! I guess that settles it

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/python-dll-import/22594/13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cuda Parallel computing platform and API
Projects
Status: Done
Development

No branches or pull requests

3 participants