Opensuse 42.2 and Nvidia driver 340.102

Hello, everyone.

I am a simple Linux/GNU user and after years of Kubuntu, I decided to try some different Linux OS with good KDE support. So, I turned to OpenSuse and was very pleased by the system and, especially, YaST.

Unfortunately, Nouveau driver is not so good with my Nvidia card. Therefore, I tried to install Nvidia driver. I tried both, the “soft” way and the Hard way, accordingly to instructions on Opensuse site. No luck.
After the last time I tried the Hard way, I cannot login into Plasma desktop - systems hangs or I get login loop.
Most of the time :slight_smile: I am able to login into iceWM desktop, with Nvidia driver loaded, untill I try to use some heavy graphics - high resolution video or a larger raster image file. If this happens, my laptop freezes.

Can anyone help, please???

I am using:

Compaq Presario CQ50
Nvidia GeForce 8200M G
Opensuse Leap 42.2 64bit
Nvidia driver 340.102

Thank you in advance.

This may be an Optimus system, which means that the desktop would actually run on the intel chip.

The standard nvidia driver does not support that, and just installing it would break intel’s OpenGL support.
(which would explain why you can’t login to Plasma, though IceWM does work)

Please remove all nvidia packages for now, and post the file /var/log/Xorg.0.log and the output of:

/sbin/lspci -nnk | egrep -iA3 "VGA|3D"

wolfi323, thank you for your reply.

I uninstalled Nvidia driver manually.

output:

~> /sbin/lspci -nnk | egrep -iA3 "VGA|3D"
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C77 [GeForce 8200M G] [10de:0845] (rev a2)
        Subsystem: Hewlett-Packard Company Device [103c:360a]
        Kernel modules: nouveau, nvidia
07:00.0 Ethernet controller [0200]: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)

Contents of /var/log/Xorg.0.log:
http://susepaste.org/51543511

Ok, so it is not an Optimus system (hybrid intel and nvidia graphics), there’s only the nvidia chip.
Your Xorg log confirms this as well.

So actually the nvidia driver should work.

But:

    Kernel modules: nouveau, nvidia

This suggests that you didn’t completely uninstall the nvidia driver. And according to your Xorg log, fbdev is in use now (not nouveau), which seems to indicate that there’s still a blacklist left over.

Probably you have the line “blacklist nouveau” in /etc/modprobe.d/50-blacklist.conf, that’s what the instructions of “the hard way” suggest to do.

Anyway, nvidia 304.102 should actually support your card.
I would suggest to install the driver again (the easy way), and then post the Xorg log in case there still are problems.

But make sure that you are using the nvidia repo for 42.2, if in doubt post the output of “zypper lr -d”.

And I’d suggest to run this line to install the driver, this should make sure that all necessary packages are installed in the right version…

sudo zypper in x11-video-nvidiaG03 nvidia-gfxG03-kmp-default nvidia-uvm-gfxG03-kmp-default nvidia-glG03 nvidia-computeG03

Btw, an option would also be to try the G02 driver (304.135), that should also support your card and may work better.
Another option would be to uninstall nouveau and use the generic modesetting driver (which does support hardware 2D and 3D acceleration too and actually uses parts of nouveau for that).

But we/you can try this afterwards if G03 isn’t going to work for some reason…

wolfi323,

Probably you have the line “blacklist nouveau” in /etc/modprobe.d/50-blacklist.conf, that’s what the instructions of “the hard way” suggest to do.

Indeed, I found some Nvidia-installer-made file in the same directory, containing “blacklist nouveau” line.
I deleted it.
Rebooted into Plasma desktop with Nouveau driver.

But make sure that you are using the nvidia repo for 42.2, if in doubt post the output of “zypper lr -d”.

All repositories are for Opensuse Leap 42.2, everything seems ok.

And I’d suggest to run this line to install the driver, this should make sure that all necessary packages are installed in the right version…

I tried this with G03 driver, running code in terminal (on Plasma desktop).
Ended as always - frozen logon screen after reboot.
By the way, after installing G03 when in Plasma desktop, I always get ksmserver-logout-greeter crash when trying to reboot via KDE menu. Here is the crash log, if interested: SUSE Paste

Then, I tried G02 driver (304.135) after uninstalling G03, as you suggested.
Installed via YaST in Plasma desktop.
Rebooted - I don’t remember, if there was a “logout-greeter crash…”
Plasma Desktop is functioning, with Nvidia driver 304.135 loaded.
I tried to edit a large raster graphics file with Krita and played some HD videos with Minitube - no crash so far…

I was not intended to use Nvidia G02 driver, as I considered it “outdated”, when G03 is released. But, I guess, this is better than nothing…
Why G03 is not working? Is this some incompatibility of Linux kernel version and driver version? Or Plasma problem?

Anyway, thank you very much for your help!