Bug#1009720: nsight-compute: Add NVreg_RestrictProfilingToAdminUsers=0 by default?

Christian Kastner ckk at debian.org
Fri Apr 15 12:06:07 BST 2022


Package: nsight-compute
Version: 2021.2.2.1~11.4.3-2
Severity: wishlist

By default, the nvidia kernel module is loaded such that profiling is
restricted to privileged users. The rationale for this in [1] was about
a local information disclosure.

However, one could argue that on systems where nsight-compute is
installed in the first place, regular developers would want to make use
of it. To this end, loading the module with

  option nvidia NVreg_RestrictProfilingToAdminUsers=0

Would do this by default.

Is this something you might consider worthwhile to add somewhere to the
nsight-compute package?

Please feel free to simply close the bug if you don't; I'd fully understand.

[1] https://developer.nvidia.com/nvidia-development-tools-solutions-err_nvgpuctrperm-permission-issue-performance-counters



More information about the pkg-nvidia-devel mailing list