Проблема: Не запускается Настройка NVIDIA, в сессии Wayland Для воспроизведения проблемы: * Установить пропоритарный драйвер в соответствии с документацией https://www.altlinux.org/Nvidia * Установить пакет Настройка NVIDIA https://packages.altlinux.org/ru/sisyphus/srpms/nvidia-settings * Открыть в приложениях Настройка NVIDIA Ожидаемое поведение: Настройка NVIDIA - приложение открывается, количество настроек в приложении меньше чем в X-cессии [oleg@shchavelev ~]$ nvidia-settings Ошибка сегментирования Рабочая станция: Graphics: Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nvidia v: 535.86.05 Display: wayland server: X.Org v: 1.23.2 with: Xwayland v: 23.2.0 compositor: gnome-shell v: 44.3 driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~144Hz API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce GT 1030/PCIe/SSE2 Kernel: 6.4.12-un-def-a DE: GNOME 44.3
Если в терминале запустить nvidia-settings через sudo: [oleg@shchavelev ~]$ sudo nvidia-settings [sudo] password for oleg: error: XDG_RUNTIME_DIR is invalid or not set in the environment. (nvidia-settings:23091): GLib-GObject-CRITICAL **: 10:59:22.701: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ** (nvidia-settings:23091): CRITICAL **: 10:59:22.704: 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.
(Ответ для Олег Щавелев на комментарий #1) > Если в терминале запустить nvidia-settings через sudo: > > [oleg@shchavelev ~]$ sudo nvidia-settings > [sudo] password for oleg: > error: XDG_RUNTIME_DIR is invalid or not set in the environment. > > (nvidia-settings:23091): GLib-GObject-CRITICAL **: 10:59:22.701: > g_object_unref: assertion 'G_IS_OBJECT (object)' failed > > ** (nvidia-settings:23091): CRITICAL **: 10:59:22.704: 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. При запуске в терминале с sudo, настройки запускаются.
(Ответ для Олег Щавелев на комментарий #2) > (Ответ для Олег Щавелев на комментарий #1) > > Если в терминале запустить nvidia-settings через sudo: > > > > [oleg@shchavelev ~]$ sudo nvidia-settings > > [sudo] password for oleg: > > error: XDG_RUNTIME_DIR is invalid or not set in the environment. > > > > (nvidia-settings:23091): GLib-GObject-CRITICAL **: 10:59:22.701: > > g_object_unref: assertion 'G_IS_OBJECT (object)' failed > > > > ** (nvidia-settings:23091): CRITICAL **: 10:59:22.704: 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. > > При запуске в терминале с sudo, настройки запускаются. Столкнулся с такой же проблемой. Лог: [armatik@ArmatikPC ~]$ sudo nvidia-settings [sudo] password for armatik: error: XDG_RUNTIME_DIR is invalid or not set in the environment. (nvidia-settings:240241): GLib-GObject-CRITICAL **: 18:02:55.240: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ** (nvidia-settings:240241): CRITICAL **: 18:02:55.242: 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.
Created attachment 14972 [details] NVIDIA запускается через ярлык Проверили и в DE GNOME и KDE. Работает.
(Ответ для Олег Щавелев на комментарий #4) > Создано вложение 14972 [details] [подробности] > NVIDIA запускается через ярлык > > Проверили и в DE GNOME и KDE. Работает. Закрываю.