I tried installing Nvidia drivers with Yast using the community repository. After I install it, opening the Nvidia settings brings up a message telling me to run Nvidia-Xconfig. I do but after reboot the system hangs at boot. I can’t quite remember what its stuck at but I’ve reinstalled a few times. Kind of frustrating :’(. If I installed leap, maybe It would just work with no fussing around? im not too sure. :\
Edit: Also should mention its running Intel graphics, but it also has Nvidia geforce 940MX.
If you enabled “Force Composition Pipeline” and it was added to /etc/X11/xorg.conf, that can cause the desktop to freeze when loading.
From “man nvidia-xconfig”
A backup of the original configuration is created with “.backup” appended. For example, if your X configuration is /etc/X11/xorg.conf then nvidia-xconfig will copy it to /etc/X11/xorg.conf.backup before writing the new configuration.
–restore-original-backup
Restore a backup of the X configuration that was made before any changes were made by nvidia-xconfig, if such a backup
is available. This type of backup is made by nvidia-xconfig before it modifies an X configuration file that it has not
previously touched; this is assumed to be an X configuration file that predates the involvement of the NVIDIA X
driver. As an example, nvidia-xconfig will copy an X configuration file at /etc/X11/xorg.conf to
/etc/X11/xorg.conf.nvidia-xconfig-original the first time it makes changes to that file.
nvidia-xconfig
Reads an existing X config file and adapts it to use the NVIDIA driver. If no X config file can be found, a new one
is created at /etc/X11/XF86Config with default settings.
Yes I am aware of Bumblebee but on Ubuntu based distros the Nvidia X server settings allowed me to just run the graphics card.
My output is
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02)
Subsystem: Acer Incorporated [ALI] Device [1025:111a]
Kernel driver in use: i915
Kernel modules: i915
Their is no force composition pipeline in /etc/X11/xorg.conf.
When I run the nvidia-xconfig - it says their was no config file to begin with, so It creates a new one. System hangs at boot, and going into a tty console makes the monitor flash like a rave so I have to try to get in from the grub.
If you never get to the display manager, try:
Reboot and press E at GRUB2, then add nomodeset and 3 to the group “splash=silent quiet showopts”. For example: “splash=silent quiet nomodeset 3 showopts”
Then you can at least check and modify xorg.conf, or restore the original as shown above.
You can also boot from a snapshot in GRUB2 if all else fails.
Which package are you using: x11-video-nvidiaG02, x11-video-nvidiaG03 or x11-video-nvidiaG04?
Nvm, my system dosen’t really hang at boot, it just sits at a tty1 screen and flashes a few times before I start typing. I’m using Nvidia-Xconfig becuase the Nvidia x server settings tell me to run it or edit the file. I’m not sure what “nomodeset 3” in the bios does, and I’m not really sure how to start editing the xconfig file.
I’m not %100 sure about nomodeset, because I’ve been unable to find the official documentation for it.
However, it seemingly prevents drivers like nvidia and nouveau from being loaded prior to X being loaded.
3 ensures you boot to a virtual console (multi-user.target)
The installation of Leap 42.3 appears to have defaulted to the integrated graphics (identified as Intel UHD Graphics 620 when the machine is booted into Windows). This may be the cause of the machine running hot when booted into openSUSE Leap 42.3. Anyway, I want to use the NVIDIA graphics (identified as nVidia GeForce MX150 in Windows).
What do I change, and how, to do this?
There appears to be no graphics configuration available under YAST. Like mattinthehat I have tried running nvidia-config with the same disastrous results - I could only recover by doing a snapper rollback.
The nvidia G04 drivers are already installed (with drm-kmp-default removed) but they are not used since the nvidia graphics system seems not to be used. The Info Centre: Graphical Information: OpenGL shows the driver as OpenGL version 3.0 Mesa 17.0.5 from VMware Inc. - this is presumably the driver for the integrated graphics which Leap 42.3 defaults to.
OK. I have followed the instructions for setting up Bumblebee as in Sauerland’s answer and link and restarted the machine.
I tested to see if Bumblebee was working by running
optirun --status
and I got the messages:
[ERROR] The Bumblebee daemon has not been started yet or the socket path tatus was incorrect
[ERROR] Could not connect to the bumblebee daemon - is it running?
If I now run run hwinfo – gfxcard I get the output:
08: PCI 02.0: 0300 VGA compatible controller (VGA)
[Created at pci.378]
Unique ID: _Znp.0A3YPedDGC4
SysFS ID: /devices/pci0000:00/0000:00:02.0
SysFS BusID: 0000:00:02.0
Hardware Class: graphics card
Model: "Intel VGA compatible controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x5917
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x83ad
Revision: 0x07
Memory Range: 0xb2000000-0xb2ffffff (rw,non-prefetchable)
Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
I/O Ports: 0x5000-0x503f (rw)
IRQ: 255 (no events)
Module Alias: "pci:v00008086d00005917sv0000103Csd000083ADbc03sc00i00"
Config Status: cfg=no, avail=yes, need=no, active=unknown
24: PCI 100.0: 0302 3D controller
[Created at pci.378]
Unique ID: VCu0.V_39mEhVGj1
Parent ID: z8Q3.klV5hYZL9I5
SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia 3D controller"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x1d10
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x83ad
Revision: 0xff
Memory Range: 0xb3000000-0xb3ffffff (rw,non-prefetchable)
Memory Range: 0xa0000000-0xafffffff (ro,non-prefetchable)
Memory Range: 0xb0000000-0xb1ffffff (ro,non-prefetchable)
I/O Ports: 0x4000-0x4fff (rw)
IRQ: 16 (no events)
Module Alias: "pci:v000010DEd00001D10sv0000103Csd000083ADbc03sc02i00"
Driver Info #0:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Driver Info #1:
Driver Status: nvidia_drm is not active
Driver Activation Cmd: "modprobe nvidia_drm"
Driver Info #2:
Driver Status: nvidia is not active
Driver Activation Cmd: "modprobe nvidia"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #16 (PCI bridge)
Primary display adapter: #8
I add myself to the queue on the issue: I get the same issues of nvidia-settings telling me to run nvidia-xconfig and nvidia-xconfig subsequently bringing me to a flickering TTY where I can barely manage to login. Fortunately by loggin in as root and deleting xorg.conf the x server suddenly starts up and the pc is functional again.
I will add that my pc is not an optimus one, it’s an old Asus with a GeForce 710M. I don’t want to risk breaking anything by installing bumblebee…
Drivers are correctly installed (I got nvidia-gfxG03-kmp-default after checking compatibility on nvidia’s website) and they’re also correctly recognised and loaded since the hwinfo gives me this:
[FONT=arial]
What should I do? Should I try installing bumblebee as well? It does not make sense since my laptop is not an optimus one. Any other solution, given that I tried everything in this thread except going bumblebee?[/FONT]