How can I set coolbits nvidia Ubuntu 18.04

Solution 1:

In Ubuntu MATE 18.04 possible solution is to edit config in /usr/share/X11/xorg.conf.d, namely file 10-nvidia.conf. Here is how it looks in my case for example:

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "Coolbits" "12"
    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

I just installed nvidia-prime via Additional Drivers GUI and then edited this file to add Coolbits option and it worked with no issues.

I assume it should work the same for main branch of Ubuntu.

I edit my input options using file 40-libinput.conf in same directory as well.