I just did an update...and now my system boots to a black screen, or the second screen won't work, etc. Sound familiar?
This is my list of items to review, and hopefuly narrow down the culprit or at least get resolution faster.
Try to manually start the graphical interface...
- init 5
- start-plasmawayland
Check if the services are running...and whether they print accurate data...
- systemctl status prime-select.service
- systemctl status switcheroo-control.service
- (one or the other should be running, not both)
- sudo prime-select get-current (this normally doesn't show accurate info in my experience)
- sudo prime-select get-boot
- switcherooctl list
Check /var/log/messages for (e.g. if using less, use /-key to search, and n/N to search next/previous)
- sddm
- nvidia
- prime
And then, most likely, reinstall the graphics drivers. Because kernel modules need to be reconfigured witht he new drivers, sometimes this has not happened properly at upgrade.
- Search all nvidia drivers and components:
- zypper se -si nvidia-*
- zypper rm nvidia-*
- zypper se -si nvidia*
- Here you can't just remove all. The kernel-firmware-nvidia package removal will want to remove all kernel firmware...not a good idea/
- zypper rm suse-prime
- ...for prime-select
- zypper rm switcheroo-control
- Remove third-party repos. The drivers should only come from NVIDIA or Updates repo.
- In once case the system had loaded some libraries from another repo, and this seemed to be the cause of the issues. The zypper search previously will help you see if other Repos are in use.
- Reboot
- Install the drivers
- zypper in nvidia-video-G06
- This will automatically install prime-select and switcheroo-control
- Reboot and hopefully all is working