I have been running OpenSuse Leap 15.1 with Gnome for about six months. It’s been great. Until now. At the point of installing Leap 15.1 I was using onboard Intel graphics (Core i5). Everything worked fine.
This week I bought a graphics card to add to my system (MSI NVidia GeForce GT 1030). I installed the card and booted into OpenSuse. The desktop appeared (dual monitor) but straightaway I found that everything was stuttery: the mouse cursor, windows, all motion was stuttering. It’s almost unusable. Having done some research I found that the native NVidia driver is called ‘nouveau’, and I can confirm that nouveau was running. ‘nomodeset’ in grub2 disables nouveau and resolves the stuttering, but then obviously there is only very basic graphics capability and my second monitor doesn’t turn on. I tried installing the proprietary NVidia drivers via Yast (‘The Easy Way’) and the installation seems to succeed, but upon reboot, nothing has changed: the NVidia drivers have been installed but they don’t load and it is still in the basic graphics mode.
I tried doing a fresh install of Leap 15.1 on a different hard drive in the same system with the new graphics card, and everything works perfectly: nouveau works, and then installing the proprietary NVidia drivers via Yast (‘The Easy Way’) also works fine and the NVidia drivers load correctly. (Also, on my Windows7 installation, the new card works perfectly with the Windows NVidia drivers installed.) Obviously I would like to avoid doing the whole Leap 15.1 installation from scratch because it would take days to redo everything and recreate what I currently have (desktop set up, applications set up, email, hardware, etc). I really can’t face doing all of that all over again.
I’ve spent two days trying to fix it and I am at a loss. The problem seems to relate to the fact that the graphics card was not in the system when Leap 15.1 was originally installed about six months ago.
I can’t find any error messages relating to the stuttering with nouveau.
With the proprietary NVidia drivers installed:
‘nvidia-settings’ gives: “ERROR: NVIDIA driver is not loaded’ and 'ERROR: unable to load info from any available system”
‘sudo nvidia-settings’ gives: “Unable to init server: Could not connect: Connection refused’ and 'ERROR: The control display is undefined; please run ‘nvidia-settings --help’ for usage information.”
Hi
Are you running Wayland or Xorg (x11) on the original Leap 15.1 install?
Did you boot/switch to runlevel 3 and ensure the nouveau driver was blackilisted/not loaded (grub add: nouveau.modeset=0) before installing the nvidia driver, then rebuild initrd (mkinitrd)?
I installed the proprietary NVidia drivers via Yast and the NVidia repo (note that I have done this while ‘nomodeset’ was added in grub2, and I verified that nouveau was not running via ‘hwinfo --gfxcard’)
1)nouveau is blacklisted:
fgrep nouveau /etc/modprobe.d/*
/etc/modprobe.d/nvidia.conf:blacklist nouveau
/etc/modprobe.d/nvidia-default.conf:blacklist nouveau
I had tried mkinitrd and got a black screen yesterday (I think). I did a snapshot rollback to get out of that. I just tried mkinitrd again and this time it did boot in the desktop but it has made no difference to the NVidia drivers.
There were two issues that I raised with this thread. When I added an NVidia graphics card to a system with an existing installation of OpenSUSE Leap 15.1:
nouveau is stuttery
proprietary NVidia drivers do not run
I have resolved issue 1. Wayland needs to be disabled. I did this by uncommenting the line #WaylandEnable=false in the file /etc/gdm/custom.conf.
I suspect that the reason this was not a problem with the fresh installation, is that the installer detected the NVidia card and disabled Wayland automatically.
I still do not have a solution to the proprietary NVidia drivers not running (note that disabling Wayland does not resolve the issue).
You have tried two of the three competent X drivers applicable to NVidia graphics. You might wish to give the default a try. The default actually supports AMD, Intel and NVidia graphics similarly. https://forums.opensuse.org/showthread.php/541300-HDMI-in-openSUSE-15-1-running-drivers-NVIDIA?p=2944090#post2944090 describes the default. If you can make it work, usually easy simply by uninstalling xf86-video-nouveau, but not well enough to satisfy, shifting back to NVidia afterward could very well produce better results than the initial try.