Nvidia driver install problem, no graphics on boot

Been trying to install the Nvidia driver on Leap 41.2 but on reboot the graphics doesn’t load successfully, and comes to a command prompt. Like at init 3.
Tried two different ways: easy way and hard way. I’ve got an Nvidia Quadro 4000, and Supermicro X8DTL-i motherboard.

Followed instruction here:

https://en.opensuse.org/SDB:NVIDIA_drivers

Was pretty straight forward, add the repository Community Repositories->NVIDIA Graphics Drivers. Then install with the yast application or zypper inr; tried both, but unsuccessful. On reboot, no graphics, just lead to the command prompt. Executing startx leads to an error.

Then the hard way I followed the instructions here:

https://en.opensuse.org/SDB:NVIDIA_the_hard_way

I downloaded NVIDIA-Linux-x86_64-367.35.run from the Nvidia website, and ran it. Had to have nomodeset in grub for it to run. Seem to run successful, but on reboot same problem as installing with yast/zypper.

Before Leap 42.1 I tried to install the drivers with yast in opensuse 13.1 and that stuffed it up too and couldn’t go back, so I did a fresh install to Leap 42.1. Lucky there is the rollback feature.

I don’t have the /var/log/messages or /var/log/Xorg.0.log from the rollback

Here are the graphics cards on my machine.

sudo lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GF100GL [Quadro 4000] (rev a3)
08:01.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)

Searched a lot on forums. Seems like a common issue. But I haven’t found a solution.
Anyone have any success with it?

> sudo hwinfo --gfxcard
root's password:
43: PCI 300.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.366]
  Unique ID: svHJ.u9TLOvrwYdA
  Parent ID: M71A.qtCrokd6HWD
  SysFS ID: /devices/pci0000:00/0000:00:07.0/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: graphics card
  Model: "nVidia GF100GL [Quadro 4000]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x06dd "GF100GL [Quadro 4000]"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0x0780 
  Revision: 0xa3
  Driver: "nouveau"
  Driver Modules: "drm"
  Memory Range: 0xf8000000-0xf9ffffff (rw,non-prefetchable)
  Memory Range: 0xd8000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xd4000000-0xd7ffffff (ro,non-prefetchable)
  I/O Ports: 0xbc00-0xbc7f (rw)
  Memory Range: 0xfad80000-0xfadfffff (ro,non-prefetchable,disabled)
  IRQ: 28 (24153 events)
  Module Alias: "pci:v000010DEd000006DDsv000010DEsd00000780bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (PCI bridge)

47: PCI 801.0: 0300 VGA compatible controller (VGA)
  [Created at pci.366]
  Unique ID: KILV.d87EKobJW85
  Parent ID: 6NW+.JhKS2wsacyE
  SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:08:01.0
  SysFS BusID: 0000:08:01.0
  Hardware Class: graphics card
  Model: "Matrox MGA G200eW WPCM450"
  Vendor: pci 0x102b "Matrox Graphics, Inc."
  Device: pci 0x0532 "MGA G200eW WPCM450"
  SubVendor: pci 0x15d9 "Super Micro Computer Inc"
  SubDevice: pci 0x0006 
  Revision: 0x0a
  Driver: "mgag200"
  Driver Modules: "drm"
  Memory Range: 0xf6000000-0xf6ffffff (ro,non-prefetchable)
  Memory Range: 0xfbefc000-0xfbefffff (rw,non-prefetchable)
  Memory Range: 0xfb000000-0xfb7fffff (rw,non-prefetchable)
  IRQ: 18 (no events)
  Module Alias: "pci:v0000102Bd00000532sv000015D9sd00000006bc03sc00i00"
  Driver Info #0:
    Driver Status: mgag200 is active
    Driver Activation Cmd: "modprobe mgag200"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #38 (PCI bridge)

Primary display adapter: #43

As you can see from your output, the card is still using the open source driver, i.e. nouveau. It could be, that the nouveau driver is still being loaded through the initrd, hence preventing the nvidia driver to be loaded instead.

Yes it is, sorry I forgot to mention that’s the output when I have done the rollback, before the nvidia driver install.

Can you take the Matrox card out and try again?

The Matrox card is built into the supermicro motherboard. I tried disabling the onboard graphics through the bios but it booted into a blank screen and I couldn’t do anything. So I had to clear the cmos by taking the battery out of the motherboard.