Replies: 7 comments 3 replies
-
|
Now it is only a recommendation, so much better, than before, where it would ask as hard dependency. |
Beta Was this translation helpful? Give feedback.
-
|
The Starting with Debian 13, ROCm is available in the repository, but it's an older version (5.7.1). Whether it works is unclear. The The same applies to Intel GPUs. Why does only Nvidia receive "special treatment", pulling in a stack of unnecessary packages for users with AMD or Intel GPUs? |
Beta Was this translation helpful? Give feedback.
-
|
I think we should leave this as is. It may not be "fair" to AMD and Intel GPU users but it maximizes scientific throughput. If /when AMD has a package that works out-of-the-box then we should make it a recommended package as well. |
Beta Was this translation helpful? Give feedback.
-
|
I don't think there's a way to recommend all possible packages for the three vendors, such as without pulling in even more unnecessary packages. One option would be to recommend only |
Beta Was this translation helpful? Give feedback.
-
|
Let's not recommend anything. Things are worked out now, let's not complicate things. Otherwise, I'll lose the rest of my hair when explaining why things are not working or package is not available, etc. |
Beta Was this translation helpful? Give feedback.
-
|
Recommending anything that's vendor-dependent is bad. Suggesting is fine (yes there is a "suggests" thing that gets displayed), but it's of dubious usefulness -- I don't think it actually does any useful informing of a user. Not recommending isn't great either because we all know most of the compute power is in the GPUs now and we do want stuff to work kinda out-of-the-box. So just recommend the vendor-neutral thing. Ideal caseThere should be a semi-hard dependency (recommend) for libopencl.so.1, which would be This is a virtual package that can be provided by either Now But the cores!right, marcosfrm also said that the cores want the lib without the ".1", so the actual dependency for now should be libopencl.so + libopencl.so.1. Nvidia can't do that! So really what you want is: And that's it, no vendor deal. OrOr we should just fix the cores. It's some simple patchelf job (see manpage at https://man.archlinux.org/man/extra/patchelf/patchelf.1.en). Just do Or the postinst script can get naughty and just create the /usr/lib/x86_64-linux-gnu/libOpenCL.so -> libOpenCL.so.1 symlink itself if it doesn't exist. Or the Debian version can use a wrapper script on the client that sets LD_LIBRARY_PATH containing a known-good libOpenCL.so symlink; the core, being a child of the client, would inherit the variable and be fine. It works for porting steam to a bunch of distros, it's gotta work for us too. |
Beta Was this translation helpful? Give feedback.
-
|
The issue where cores require unversioned libraries has been addressed in recent cbang. However, the change will only apply to future cores. CauldronDevelopmentLLC/cbang@e890707 It would be great if previous cores could be patched using patchelf, but even if the dynamic section has the proper dependency, I think |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The DEB package currently recommends
nvidia-opencl-icd. For users with thecontribandnon-freerepositories enabled, it pulls in over 80 packages with the Nvidia graphics stack. While this likely enables seamless CUDA support for Nvidia GPU users, it adds unnecessary bloat for those with AMD or Intel GPUs. Would it be better to remove this recommendation and let users install the appropriate packages for their GPU, perhaps with improved documentation to guide them? One could also ask why the package doesn't recommend ROCm for OpenCL support on AMD GPUs, either from distribution repositories or AMD's own ROCm repository.Beta Was this translation helpful? Give feedback.
All reactions