NVIDIA / nvidia-settings

NVIDIA driver control panel
http://www.nvidia.com/object/unix.html
GNU General Public License v2.0
296 stars 77 forks source link

Guix port #79

Closed phodina closed 2 years ago

phodina commented 2 years ago

Hello,

I'm porting this package to GNU Guix. However, when I run the tool I get this error message in the console.

$ /gnu/store/z7cj3ms9l14g7qfa3ircp0ahlm9vyvd1-nvidia-settings-510.39.01/bin/nvidia-settings

(nvidia-settings:26328): GLib-GObject-CRITICAL **: 18:16:58.676: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:26328): CRITICAL **: 18:16:58.677: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed
       along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will
       continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the
       README for possible values and descriptions.

I'm able to launch the GUI window but the Application profiles are empty.

Could you please suggest where to find the registry key?

FIY If you want I can share also the patch (package definition) but that requires at least to install Guix as a package manager on foreign distribution in order to replicate this issue.