I got my system up and running and followed the instructions on how to install the Nvidia driver the easy way via zypper by adding the repo and telling it to install and restarting. Did that but when it rebooted it said that there were lots of updates for the system. Did the zypper dup and now it seems like something is wrong with the xserver. My best guess is that it looks like one of the updates moved to a newer kernel while installing the Nvidia driver. Inside the grub boot options I tried booting from the older kernel but it still refuses to boot to a graphical interface.
I’m pretty noob and I’m not sure what to do. Any help would be appreciated.
Indeed snapshot 20180722 introduced a new X server
xorg-x11-server (1.19.6 -> 1.20.0)
How did you update? From a terminal emulator within the graphical desktop environment?
Performing a “zypper dup” from the graphical session when X is going to be updated is looking for trouble, possibly leading to an incomplete or broken upgrade.
If that was your case, maybe booting to a console and doing the upgrade again might solve your problem.
To do so, at the bootloader screen press “E” for “edit”, look for a line beginning with “linuxefi”, append “3” (without quotes) then F10 to boot.
At the login prompt, enter your regular username and password, then:
So I pressed e to edit at the boot loader and added a space & 3 to the end of the efi line and pressed ctrlx to boot. Logged into the terminal and did a sudo zypper dup. It ended with a purple line saying nothing to do…
“zypper dup” did work and “nothing to do” means that your system was already up to date (assuming that your network was working…).
So maybe you have to reinstall the Nvidia driver. Assuming that your first install was correct, you may try:
zypper se -i nvidia
take note of the installed packages, then:
zypper in --force x11-video-nvidia**G04**
or replace “G04” with “G03” or “G02” if your card is older, according to what you already installed.
Since we don’t know your HW (is it a desktop or maybe a laptop with “optimus” hybrid graphics?) nor if you followed the right procedure in the first place, I cannot go any further for now.
Please be aware that on the first reboot the system might be “busy” for up to 3-5 minutes, so wait a bit before calling a broken X server…
Wait a moment, according to this page your laptop uses “Optimus” technology: as such, simply installing the Nvidia drivers is expected to bork the X server.
You need to install Bumblebee if you want to use the Nvidia driver with such a system; you should uninstall everything from the Nvidia repo, then follow this guide .
Yes, this will be relevant when you’ll install bumblebee (but we have no evidence that you are using bumblebee at the moment); and it should be possible to boot to a graphical desktop even if “primusrun” were not working.
As I have already written, you have hybrid graphics (Intel integrated + Nvidia discrete) so you should uninstall everything from the Nvidia repo and then follow the guide for bumblebee.
Personally I don’t need the switching. I just want my Nvidia graphics for work. I usually keep this laptop plugged in and use it as a graphic workstation.
Is there a way I can just setup the Nvidia gpu only?
To be honest, I tried that a couple of years ago and managed to have it working somehow through trial and error. It was impossible to use the GDM display manager and even with lightdm I could configure only one user and never use logout.
I don’t know if it would work on TW nowadays and think that extensive tinkering should be expected. I also doubt that you might receive much help here on the Forums since this is a corner case for openSUSE users (but never say never…).