I’m using OpenSUSE 13.2 with Gnome and I just ran several updates using the standard update tool. These updates included one for the nVidia graphic cards, which seems to have broken something. I’m still able to log in with the CLI but the graphical interface is broken. All I get at startup is a “Oh no! Something went wrong” message. Here’s a sample of the /var/log/messages file. My graphic card is a GTX 750, and my CPU is an Intel core i3 4130. I hope this will help. Feel free to ask if you need any other information.
Thanks for your reply. As I said above I have an indeed an Intel CPU and an nVidia GPU (why is called Optimus by the way?)
How do I “remove or correct the drive” with Yast in CLI?
Thanks
optimus is kind of a subgroup of intel+nvidia pc’s where intel’s build-in gpu can talk with nvidia’s external gpu they’re need a special bumblebee driver, not really talk until the need arisis nvidia’s gpu is powered down and only is used if intel’s can’t do the job properly, it’s a power-saving option for some laptops.
To remove the current driver login to run level 3 (type the number 3 at the grub prompt)
you’ll get a console system, login as root, run yast and uncheck the nvidia driver.
or you can try zypper
zypper rm x11-video-nvidiaG03
but first try this
I noticed that there was a nvidia update a few days ago and the servers wore overloaded, there might have been an issue with the update so before removing anything rerun zypper update as root in run-level 3.
Oh dear I again have to assume a note/netbook computer with the optimus hardware. Note I’m not talking about a desktop machine but a portable. If it is a desktop machine please ignore what follows.
With optimus you must not use the normal NVIDIA drivers you must use the Bumblebee drivers. But first you must remover the NVIDA drivers.
For me it is easiest to use yast though you can also use zypper. So log into the terminal as root start yast use tab and arrow keys to navigate. (sorry no mouse in text mode) goto software management search for NVIDIA remove any package that have NVIDIA in their names. ONLY those with nvida IN the names!!! That may allow a log into gnome. Then follow the instructions here exactly
Note again that it is possible to have both Intel and NVIDA GPUand the system not be an optimus. AFAIK only notebooks comes with this specail hardware. So before you do anything you should determine if the machine is optimus or not. You do not want bumblebee if the system is not optimus.
not sure that the command the I_A gave is is sufficient. there are 5 nvidia packages in the GO3 flavor all need to be removed. That is why I suggest yast since you can actually see what you are doing.
But Since this is a Desktop then there should not be a bumblebee package. Again in yast try force reinstall all the NVIDA .An package may have been an update to components of X that may break NVIDIA reinstalling it should fix it. Two way force reinstall or remove then reinstall. Command line yast is a chore for any who only knows GUI but it is usable once you figure how to navigate and choose. arrow keys/tabs/space/enter
Now on reinstalling you want 5 packages all will have nvidia and GO3 in the name two will also have the kernel flavor. if you have not played with the kernel then desktop is the flavor you want. You will see additional NVIDIA package DO NOT INSTALL THESE. only GO3 and desktop in the names
Here are the packages that are currently installed : https://www.dropbox.com/s/h9tkb5sgcg0d66e/IMG_20150208_172101.jpg?dl=0
It seems like I have all of them. When I first launched Yast, some of them were missing but now they are installed but I still get that same error. What can I do now?
and see if your system is up to date and that there are no missing packages, if zypper dup doesn’t download any new packages ie your system is up to date try and install the nouveau drivers
zypper in xorg-x11-driver-video-nouveau
zypper automatically installs or removes any extra packages, so bu running the above zypper will remove nvidia and download and install nouveau
ps. did you do any bios update or changes, is the pcie set as the first gpu or better said is intel’s gpu disabled, if not disable it in bios
a simple video how on to disable intel’s build-in gpu https://www.youtube.com/watch?v=BtDkczrf5fI
I haven’t made any changes on my BIOS so far. Last time I tried the dup option, many packages were about to get removed, so I’m not sure. Can I run the other command directly?
UPDATE : the xorg-x11-driver-video-nouveau package can’t be found, but the xorg-xf86-driver-video-nouveau one is already installed.
If packages are to be removed by zypper then they wore aether selected by you or by yast/zypper because they had been updated or are causing conflicts.
But as I’m just an ordinary user you should wait for an opinion of one of the experts.
edit
just saw the nouveau post, did you remove nvidia?
I have the nvidia drivers and did a search for nouveau at software.opensuse.org both of those packages are there, I do belive that by installing one from zypper/yast both would be downloaded and installed, maybe there’s some sort of mix up between nvidia and nouveau at one time only 1 should be installed?
another edit xorg-x11-driver-video-nouveau is for old versions of opensuse up to 13.1 it has been replaced by xf86-video-nouveau for opensuse 13.2
a third edit
I searched for xorg-xf86-driver-video-nouveau at software.opensuse.org and couldn’t find it try and install
xf86-video-nouveauas it’s there and supports 13.2
should never run dup except for moving between version and for tumbleweed. always use up
Have you installed other flavor kernels?? You should not have those extra NVIDIA packages for non-desktop kernels only the desktop kernel packages
The error is because gnome require openGL and if the NVIDIA driver is not running then no openGL can run.
BTWE since tou have 2 GPU’s you should turn off the Intel one in the BIOS if you have not done so. It may be trying to run and it can not if the NVIDIA drivers is installed. NVIDA driver brings it’s own mesa files into the system and no other driver well work with the NVIDIA drivers mesa files. So video falls back to the primitive frame buffer drivers and they do not support openGL.
I guess we need to look at the logs to see why it fails to run
Those are useless, as they still are from 13.1.
The problem is that recent gdm versions redirect all logs (even Xorg.0.log) to systemd’s journal, so there are no Xorg logs on a 13.2 GNOME system.
My guess would be that you still have files from the 13.1 nvidia driver in /usr/lib64/xorg/modules/updates/extensions/ which are causing the problem.
Remove that directory if it exists, and then install the nvidia driver again:
sudo rm -r /usr/lib64/xorg/modules/updates/
sudo zypper in -f x11-video-nvidiaG03
Some background: The way the nvidia (and other) drivers are installed has completely changed in 13.2. But apparently, when you upgrade to 13.2 with the nvidia repo active or don’t uninstall the nvidia driver before the upgrade, its files are not removed from /usr/lib64/xorg/modules/updates/. As modules in /usr/lib64/xorg/modules/updates/ are preferred over /usr/lib64/xorg/modules/, you’ll get a version mismatch when the driver gets updated. (there is no problem immediately after the upgrade, as the drivers are the exact same version in 13.1 and 13.2)