I got it installed all good, but after installing nvidia drivers i cant login?

So I’m a long way out of practice here (I used to mess with gentoo 20 years ago), I’m fairly sure this is reversible. but here is my issue.

I logged into the gnome desktop, opened up yast to get the nvidia drivers and clicked them to install, they seemed to install but Didn’t seem to change anything, so i figured a reboot was in order.
After the reboot I noticed some nvidia kernel errors then the login screen appeared. Now when I put the password in to login, the screen just “blinks” and I get no error, it just goes back to waiting for me to put my password in again…

I vaguely remember from my old days messing with linux there is a way you can get the shell up or get “behind” the login prompt to sign in there and see change system settings there… does anyone know what I’m babbling about?

@senectus switch to Xorg on GNOME rather than the default Wayland… So select your username and then on the settings gog (bottom right) change here.

I dont have that as an option?
I have GNOME
Classic GNOME and IceWMSession

none of them let me in

I managed to get a pic of the error, not sure if it helps

@senectus Just check that you have added nvidia_drm.modeset=1 to the YaST bootloader kernel options. Also is xwayland installed?

also do you have auto login set???

Not autologin no… I have to enter the password.
Will reboot and see if I can find a way to add
nvidia_drm.modeset=1

How will i know if i have xwayland installed? I did essentially a default install…

I clicked E at the boot loader and added in the nvidia_drm.modeset=1 to the end of the “linux” line, then used ctrl x to boot it.
this did not seem to change anything.

Check in Yast search for Wayland to show all Wayland packages

how can I do this If I cant get past the login screen?

After the reboot I noticed some nvidia kernel errors then the login screen appeared. Now when I put the password in to login, the screen just “blinks” and I get no error, it just goes back to waiting for me to put my password in again…

@senectus press ctrl+alt+F1 to get to a console login, ctrl+alt+F2 to get to the login screen.

1 Like

How about you drop down to Runlevel three … then you can run Yast there …

start in terminal !!!

press ctrl+alt+F1 to get to a console login, ctrl+alt+F2 to get to the login screen.

thank you for this! This is what I was remembering from years ago.

Ok I got to the terminal and logged in there ok, I then run “sudo yast” and got a very unfamiliar blue screen interface.

This is cool, never seen it before but its a neat idea!

I search for wayland and xwayland and they both showed up with a small “i” next to them which I take as “installed” ?

I re-installed by toggling to a “>” then ctrl alt F7 to get back to the login screen but I still cant get in and no other option shows up in the settings button in the bottom right hand corner.

Question: If I uninstall the nvidia stuff from the termal YAST will that bring back my ability to sign in again?

Another idea is:
Use the advance option before booting tumbleweed.
If you click that find the recovery mood and see if it will give you a GUI.
The GUI will be on a low resolution.
From there use yast2 to try installing your correct driver.

1 Like

You were looking at the text mode version of Yast.

When you are at the Runlevel three command line, type a “startx” (vs F7) - what happens then?

Ok so, trying recovery mode shuts down my screens.
I might know what this is as its the same behaviour when i was trying to install

I then rebooted and tried startx which got me the attached error

If you click that find the recovery mood and see if it will give you a GUI.
This got me back in!

I had to add nomodeset and plymouth.enable=0 to the kernel line to get in though

Oh wow, i just saw this and it sounds exactly like the issue I’m having

These are what was installed that broke my ability to sign in

yup, uninstalling the nvidia drivers let me boot in as per normal.