lebensterben / awesome-clear-linux

Let's make Clear Linux distribution great
GNU General Public License v3.0
69 stars 20 forks source link

Link NVIDIA application profiles #2

Closed lavacano closed 4 years ago

lavacano commented 4 years ago

this was causing the error

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at either /usr/share/nvidia/nvidia-application-profiles-440.64-key-documentation or /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.

lebensterben commented 4 years ago

@lavacano thanks for your PR. I will review the tutorial from Clear Linux and update the full script in a few days. (Likely this weekend). Then I will decide whether I will merge this PR.

lebensterben commented 4 years ago

@lavacano I'm able to recreate the error message

❯ nvidia-settings

(nvidia-settings:16608): GLib-GObject-CRITICAL **: 01:26:53.561: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at
       either /usr/share/nvidia/nvidia-application-profiles-440.59-key-documentation or
       /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.

Your patch certainly should work, but in general users should not touch anything directly in /usr/share. And usually self-compiled packages are installed to /usr/local, but linking /etc/nvidia to /usr/local/share doesn't work.

Meanwhile, I need to make sure swupd would not remove the symbolic link.

lavacano commented 4 years ago

it doesnt get removed

On Thu, Mar 5, 2020 at 10:32 PM Lucius Hu notifications@github.com wrote:

@lavacano https://github.com/lavacano I'm able to recreate the error message

❯ nvidia-settings

(nvidia-settings:16608): GLib-GObject-CRITICAL **: 01:26:53.561: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at

   either /usr/share/nvidia/nvidia-application-profiles-440.59-key-documentation or

   /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.

Your patch certainly should work, but in general users should not touch anything directly in /usr/share. And usually self-compiled packages are installed to /usr/local, but linking /etc/nvidia to /usr/local/share doesn't work.

Meanwhile, I need to make sure swupd would not remove the symbolic link.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lebensterben/awesome-clear-linux/pull/2?email_source=notifications&email_token=AB2HCKVMAFYVQHKXAAFV733RGCKHFA5CNFSM4LCE2CO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAHRHI#issuecomment-595622045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2HCKSIVYFFGXSHB4OD54DRGCKHFANCNFSM4LCE2COQ .

lavacano commented 4 years ago

also not having the application profiles installed is a problem https://devtalk.nvidia.com/default/topic/1072456/linux/all-gui-apps-low-fps-when-mouse-is-inactive-x-org-1-20-7-rtx2080ti/ The tutorial should have this fix pushed to it; I'll push it.