conda-forge / staged-recipes

A place to submit conda recipes before they become fully fledged conda-forge feedstocks
https://conda-forge.org
BSD 3-Clause "New" or "Revised" License
709 stars 4.96k forks source link

Package request: nvidia-settings #27527

Open hmaarrfk opened 2 months ago

hmaarrfk commented 2 months ago

Package name

nvidia-settings and libnvcrtl

Package version

Newest

Package website

https://github.com/NVIDIA/nvidia-settings

Package availability

Ubuntu: https://manpages.ubuntu.com/manpages/focal/en/man1/nvidia-settings.1.html

Additional comments

@jakirkham does it make sense to package this?.

For reference, mangohud seems to try to look for it. https://github.com/conda-forge/staged-recipes/pull/27526

Package is not available

No previous issues or open PRs

hmaarrfk commented 2 months ago

Ubuntu's packages: https://packages.ubuntu.com/oracular/libxnvctrl0

ehfd commented 1 month ago

This is typically packaged together with the proprietary or open-source kernel NVIDIA drivers, so it is a question mark. Although, some headless driver installation configurations omit the GUI components of the drivers, which in turn omits nvidia-settings. Because the tags follow the driver versions that differ between different computers, I'm not very keen on this.

hmaarrfk commented 1 month ago

ok. well the application i needed only needed the NVML headers, which seem kinda stable. I'm less inclined on this as well.

I have to say that ffnvcodec-headers recipe also straddles that hardware/driver line https://github.com/conda-forge/ffnvcodec-headers-feedstock

It has caused me a bit of trouble before..... maybe i should be more careful in how it looks for cuda now that we have it.

ehfd commented 1 month ago

ffnvcodec-headers

Correct. I remember that.

https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git

GStreamer also bundles the video codec headers into the nvcodec plugin and GstCuda codebase.

The decision that Canonical seemed to make in Ubuntu is to bundle a sufficiently old version of those headers.

Either way, the compatibility matrix is not officially exposed anywhere, so one has to be extremely careful.

Maybe some way to pull the headers only within the MangoHud feedstock.