Package Details: opencl-nvidia-performance 465.31-2

Git Clone URL: https://aur.archlinux.org/nvidia-dkms-performance.git (read-only, click to copy)
Package Base: nvidia-dkms-performance
Description: OpenCL implemention for NVIDIA
Upstream URL: https://www.nvidia.com/
Keywords: dkms driver nvidia performance
Licenses: custom
Conflicts: opencl-nvidia
Provides: opencl-driver, opencl-nvidia=465.31
Submitter: Cabopust
Maintainer: Cabopust
Last Packager: Cabopust
Votes: 6
Popularity: 2.01
First Submitted: 2021-01-22 18:42
Last Updated: 2021-05-20 13:04

Dependencies (3)

Required by (61)

Sources (9)

Pinned Comments

Cabopust commented on 2021-05-04 21:11

So. I have now rebased this package and done some work to fix and improve it. Among the major changes:

  • The package now has its own duplicates of nvidia-utils, opencl-nvidia, lib32-nvidia-utils, and lib32-opencl-nvidia. This gets rid of the dependencies from the extra Arch Linux repository. It also fixes the not-so-good dependency situation that was there before. However, this change now requires the user to enable the Multilib repository because of the lib32-nvidia-utils-performance and lib32-opencl-nvidia-performance packages, although you can ignore installing them :)

This change also expands the ability to add new patches.

  • Added two new binary patches, this nvidia-patch integration (https://github.com/keylase/nvidia-patch) in this package. Which removes some restrictions from NVENC/NvFBC. You can optionally apply them via the _nvidia_patch parameter in PKGBUILD.

  • The _pref_max_performance parameter has now been replaced by the _powermizer_scheme parameter, giving more control over the power management of the NVIDIA driver through the PowerMizer setup. You can read more information in PKGBUILD.

  • Added the ability to customize the nvidia-settings icon (https://github.com/NVIDIA/nvidia-settings/pull/56).

  • The previously mandatory egl-wayland dependency is now taken out as an optional dependency.

Let me remind you that you can suggest your own patches and I will try to add them to this package.

Latest Comments

1 2 3 Next › Last »

Cabopust commented on 2021-05-21 08:19

@AvinashReddy3108 Yes, I know that these parameters can be corrected through modprobe.d, moreover, I originally found and checked them that way. I mentioned this in the description of NVreg-Improvements.patch.

AvinashReddy3108 commented on 2021-05-21 04:29

Hey @Cabopust,

Since the _powermizer_scheme= and _override_max_perf= variables in the PKGBUILDS are just kernel module parameters, I made a modprobe.d file to be able to have a different configuration without having to rebuild the package again (maybe also for people who use prebuilts of this package).

Check this out: https://nekobin.com/raw/guxewulofu

The documentation in the file is adapted from the PKGBUILD.

Cabopust commented on 2021-05-20 13:18

A new PKGBUILD option - _override_max_pref - has been added. It forces the applying of a certain performance level. Apparently it works only on laptops with NVIDIA PRIME, on my desktop with NVIDIA GTX 1050Ti this option had no effect. It is also probably incompatible with the _powermizer_scheme option, so choose which PKGBUILD option you will configure power management through. Read more details in PKGBUILD.

Thanks to @AvinashReddy3108 for this!

Cabopust commented on 2021-05-20 09:31

@AvinashReddy3108 Hi. Yes, I'm aware of this key, but I found its behaviour rather odd, and it seems to be aimed more at configurations with PRIME. But I'll retest it and report back later with results, perhaps adding it as an optional option.

AvinashReddy3108 commented on 2021-05-20 09:16

Hey @Cabopust, how about adding OverrideMaxPerf=0x1 to all the __NV_REGISTRY_DWORDS in the PKGBUILD to unlock the extra abilities of nvidia-settings (the ones I can notice are the GPU clock settings in "PowerMizer" and manual Fan Speed settings in "Thermal Settings")

Even the wiki suggests it: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Kernel_module_parameters

Cabopust commented on 2021-05-19 07:39

@AvinashReddy3108, Oh, many thanks! I'll test it a little later and if anything I'll add a bug report to your repository :)

AvinashReddy3108 commented on 2021-05-19 05:34

@Cabopust Cool.

I made prebuilts of this AUR package, which can be installed as a pacman repo.

Check it out over on my GitLab: https://gitlab.com/AvinashReddy3108/nvidia-dkms-performance

This is my first time doing this so go easy on me XD

Feedback/suggestions are welcome and appreciated :)

Cabopust commented on 2021-05-17 09:20

@AvinashReddy3108 Yes, that was my mistake, thanks for the alert. Fixed.

AvinashReddy3108 commented on 2021-05-16 15:07

The pkgname field in the PKGBUILD is missing nvidia-settings-performance, hence the makepkg does not build it.

If I add nvidia-settings-performance to the pkgname array and build it anyway, the nvidia-settings (after installation), fails to launch with this notification.

Could not find the program '__UTILS_PATH__/nvidia-settings'

Cabopust commented on 2021-05-08 10:31

@nariox, Looks like we don't need to make such ugly binary patches, because it looks like the problem with overclocking on NVIDIA Optimus configurations will soon be fixed by the driver developers :)

https://forums.developer.nvidia.com/t/option-coolbits-is-not-used-optimus-enabled-laptop-running-an-rtx-2070-manjaro-linux/111771/23