Yesterday I I rebooted ny PC and failed to get a desktop. I discovered that someone else, running 13.2, had had the same problem and had posted about this in this forum. It appeared to be the same problem and the solution was simple, so I tried the same thing. However, I have got myself into problems.
The problem that the OP in this thread had was an error on the nvidia driver. S/he was advised to reinstall certain modules. I attempted the same, using the LEAP 42.1 repos rather than the 13.2 ones (naturally), but then hit this bug, that the metadata for the repo is wrong. I therefore cannot reinstall.
I was advised to remove the driver completely, just to get the desktop. However, Whenever I try to remove the module nvidia-gfxG04-kmp-pv Yast attempts to install nvidia-gfxG04-kmp-default. It can’t do this because it can’t access the repository.
As explained, the packages in the nvidia repo have been reverted to the older version 361.42 because of the problems with the new packages.
You already have the new ones (367.18) installed though. so “zypper info” shows that version.
Revert all nvidia packages to the 361.42 versions from the repo, and your problem should be fixed.
I.e. uninstall all nvidia packages, and then install the driver again from the repo, as I already wrote.
Unfortunately the machine with the error is not the machine which I’m running my browser on! But I managed to transfer the commands over via Dropbox. I then realised I didn’t know how to copy and paste commands from a file in command mode, so I had to type the commands. I managed to get the install command right after it failed due to three(!) typos.
However, I still don’t have a desktop after the nividia drivers have been reinstalled.
But as I wrote already, the driver in the repo has been reverted to 361.42 (have a look at ftp://download.nvidia.com/opensuse/leap/42.1/x86_64/), but the repo’s metadata is outdated and still lists 367.18 (which is not there).
IOW, the nvidia repo is broken currently, you/we have to wait until NVidia fix that.
Again, uninstall the driver completely and you should get a desktop.
You should uninstall nvidia-glG04-367.18 as well and replace it with 361.42 (I did include it in my posts), the nvidia packages all have to be the same version of course.
I perhaps should have said. I did try to uninstall nvidia-glG04 but various other things are dependent on it, so it won’t uninstall. I’m beginning to have bad feelings about this.
But maybe you don’t have some Mesa packages installed?
Verify that Mesa-libGL1, Mesa-libEGL1 and Mesa-libLES2-2 are installed, and maybe you need the -32bit variants too.
Or use YaST or zypper to uninstall all nvidia packages, they should install missing dependencies automatically.
E.g.:
I don’t have time at the moment to try these, so here are the dependencies for you to think about:
libEGL.so.1 is needed by lincairo-32bit, libdirecttfb, libstgl
libGL.so.1 is needed by libcairo2-32bit, libGLU1-32bit, libgstgl-1_0-0-32bit, gstreamer-plugins-bad-32bit
libGLESv2.so.2 is needed by libdirectfb-1_7-1-32bit
libGLESv2.so.2() (64bit) is needed by libdirectfb-1_7-1-1, gstreamer-plugins-bad-1
(I’ve omitted version numbers for readability and speed of typing)
As I suspected.
Install the packages Mesa-libGL1-32bit, Mesa-libEGL1-32bit, and Mesa-libGLESv2-2-32bit and you should be able to uninstall nvidia-glG04.
The 32bit libraries are not installed (and not needed) by default. You probably installed some 32bit applications after installing the nvidia driver, and as nvidia-glG04 contains nvidia’s replacements for this (also the 32bit versions for 32bit software), so the Mesa libs didn’t get installed and the dependencies are not satisfied if you remove nividia-glG04.
Thanks. I did this, then tried to uninstall nvidia-GL04. It failed because libGLESv2.so.2() (64bit) was still needed, so I took a guess at what else to install. After this I uninstalled nvidia-GL04 successfully. I then installed the versions of the packages you specified earlier. This came up with various modules that could not be installed because such and such was missing, but there was also a message to say this wasn’t necessarily an error.
After completion, I rebooted - but still no desktop.
Adding my name to the users affected by this bug. Leap 42.1. Identical symptoms. Black screen on boot. Required dropping to CLI.
I followed instructions to use zypper to remove nvidia packages. Several 32 bit applications - including mplayer, gstreamer components and Steam - were forced to be deleted.
You need to install the Mesa 32bit libraries for 32bit applications: Mesa-libGl1-32bit, Mesa-libEGL1-32bit, Mesa-libGLESv2-2-32bit
The nvidia 64bit packages do include the 32bit versions…
So if you installed those applications after you installed the nvidia driver, they won’t pull in Mesa’s 32bit packages.
If you install them without the nvidia drivers present, the necessary Mesa packages will be installed automatically too.
But MPlayer is available as 64bit version, why did you have the 32bit one?
You should be able to install the nvidia driver again though.
The repo has been fixed meanwhile, and the bug in the packages should be fixed as well.