Package Base Details: nvidia-dkms-performance

Git Clone URL: https://aur.archlinux.org/nvidia-dkms-performance.git (read-only, click to copy)
Keywords: dkms driver nvidia performance
Submitter: Cabopust
Maintainer: Cabopust
Last Packager: Cabopust
Votes: 11
Popularity: 3.95
First Submitted: 2021-01-22 18:42
Last Updated: 2021-07-19 15:32

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

« First ‹ Previous 1 2 3 4 5 Next › Last »

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

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.

Cabopust commented on 2021-05-04 15:32

@nariox Hi, Now I have already made nvidia-utils-performance and other packages. I want to publish this change today and if all goes well a couple of new patches will be added. Among them will be two new binary patches (unfortunately it won't be your overclocking patch for nvidia prime). I have implemented their application in PKGBUILD via xdelta3 which allows to create a difference between the binary files. But your proposed patch is still a problem, because it really requires manual selection of the right offsets, which I am not able to do yet, but I will try to do something. Thanks.