OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
7 stars 2 forks source link

Nvidia driver issue #2957

Open pozitigor1 opened 5 months ago

pozitigor1 commented 5 months ago

OpenMandriva version: OpenMandriva Lx 5.0 (Iodine) Rock with kernel 6.6.2 desktop

Describe the bug: Nvidia drvier not working as it should be

Steps to reproduce: Install nvidia driver using dnf or hardware menu in OMCC

Observed behavior: 1.Broken GRUB2 loading, no nvidia-drm.modeset=1 in kernel parameters 2.Plasma X11 session runs without desktop effects. SDDM and Plasma wayland session lagging 3.Blender rendering with optix parameter is unavailable 4.Nvidia-settings not showing me settings that should be there like X11 options

Expected behavior: 1.Plasma runs smooth with desktop effects on X11/Wayland session, SDDM not lagging 2.Blender able to use my GPU with OptiX 3.No tearing

Additional comment: It seems like nvidia driver not containing nvidia-xconfig in it My GPU is nvidia GTX 1060

Logs and screenshots if relevant image No X11 options or informations, Powermizer option does not exist image KDE settings recognizes my GPU as llvmpipe

pozitigor1 commented 5 months ago

if i start nvidia-settings from terminal for the first time, the output will be: ERROR: NVIDIA driver is not loaded

(nvidia-settings:3416): GLib-GObject-CRITICAL **: 18:15:49.085: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(nvidia-settings:3416): CRITICAL : 18:15:49.086: 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.

pozitigor1 commented 5 months ago

on further attempt to start nvidia-settings the output is:

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.574: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(nvidia-settings:8151): Gtk-CRITICAL **: 20:47:31.586: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: invalid (NULL) pointer instance

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(nvidia-settings:8151): Gtk-CRITICAL **: 20:47:31.587: gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: invalid (NULL) pointer instance

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(nvidia-settings:8151): Gtk-CRITICAL **: 20:47:31.587: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: invalid (NULL) pointer instance

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(nvidia-settings:8151): Gtk-CRITICAL **: 20:47:31.587: gtk_toggle_button_get_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: invalid (NULL) pointer instance

(nvidia-settings:8151): GLib-GObject-CRITICAL **: 20:47:31.587: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(nvidia-settings:8151): Gtk-CRITICAL **: 20:47:31.587: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

benbullard79 commented 5 months ago

pozitigor1 maybe it would be easier for you to open OM-Welcome and click on the "Bug report tool" and post the file that creates here.

Screenshot_20240122_105926

That should include all or most of the logs needed to get to a cause for this issue.

pozitigor1 commented 5 months ago

sure, here it is! https://disk.yandex.ru/d/K5Lh-CQRxBZhHA

pozitigor1 commented 5 months ago

my mail showed me that here was a message to show my dmesg and journalctl output: https://disk.yandex.ru/d/2QpcJYV0lTFH3A

pozitigor1 commented 5 months ago

I've tried to install other desktop environments(GNOME and maui) and to my surprise after i log into them the effects are enabled, no tearing and nvidia-settings have all of the options that it should have. But when I reboot the system, all its smoothness and settings in nvidia go away, I can't even log into the Gnome session.

pozitigor1 commented 5 months ago

Good afternoon! Did the files I sent yesterday help you to identify the cause of this problem? If you need any additional files, then tell me, I will certainly share them.

pozitigor1 commented 5 months ago

Another workaround for my situation is to log into the root user(usually from second attempt), logout from root and login into the main user account, so the X11 runs normally as well as kde plasma with effects, but steam app cant be loaded and sddm is still laggy

benbullard79 commented 5 months ago

I am not a developer, not an expert on nvidia hardware or software. I mainly wanted to get the logs here for our developers. They are aware of this report. You can talk directly to OM devs at OpenMandriva Chat if you wish. I would encourage you to do so.