After using prime-select the screen stays black even after restart

I have an Optimus laptop (Dell Xps) which I used for over 2 years now, and never installed the Nvidia driver before. Recently I installed the Nvidia proprietary driver and after the last kernel update I tried prime-select for the first time. The system was using the intel driver, so I typed „sudo prime-select nvidia“ and then logged out and in again. The first thing noticed was a red tint, so something was different indeed. I was able to confirm that the Nvidia driver was loaded.

So my next step was to load the intel driver again, I typed „sudo prime-select intel“ and tried to re log again. But this time, after logging out, the login manager did not came back again, I just got a black screen. I restarted my system again, but since then allways right at the moment when the login manager should show, I get a black screen.

What is wrong here?

Closing and opening the lid again does not help, the screen stay black with a static horizontal cursor/inticator showing in the upper left corner.
I also cannot switch to a console, loading an older kernel or starting in recovery mode has the same result.

i can boot from a read-only snapshot created right AFTER zypp though.

I is there a way to at least completely switch back to the read only snapshot?
I mean, to roll back to the snapshot, but not being restricted to read only?

When you switch to read only snapshot, you roll back with


sudo snapper rollback

Then reboot.

Thank, i can boot my system again now and it works normally. But i will do not touch prime-select for a while and just use the system in the intel mode. Maybe when the new nvidia driver and a new kernel is out i will try it again…
Btw: it is pretty great that the system creates a new snapshot before and after every zypper dup

Likely OP is yet another user affected by simpledrm who can avoid the issue using the workaround in this bug.

thanks for the hint, so i will wait for the next update of the nvidia package then