Nvidia Drivers causes black screen, but not if i boot in recovery mode

I just installed the new drivers from Nvidia. However, when i boot in regular mode my screen becomes blank, if i go to advanced boot methods and choose Linux mint cinamon recovery mode everything works as normal. If i reboot the normal same way, it becomes blank again.

I can even run Neural-Networks like yolo or running CUDA in Julia after booting in recovery mode and everything is fine. Nevertheless the problems persist. Any ideas how to solve this issue?

Nvidia-smi output:

Mon Oct 23 17:52:35 2023

±--------------------------------------------------------------------------------------+

| NVIDIA-SMI 545.23.06 Driver Version: 545.23.06 CUDA Version: 12.3 |

|-----------------------------------------±---------------------±---------------------+

| 0 NVIDIA RTX A5000 Off | 00000000:21:00.0 On | Off |

| 30% 48C P8 18W / 230W | 340MiB / 24564MiB | 0% Default |

| | | N/A |

±----------------------------------------±---------------------±---------------------+

| 1 NVIDIA RTX A5000 Off | 00000000:31:00.0 Off | Off |

| 30% 36C P8 7W / 230W | 11MiB / 24564MiB | 0% Default |

| | | N/A |

±----------------------------------------±---------------------±---------------------+

Hi @nilsps and welcome to the NVIDIA developer forums.

This sounds like a driver installation issue.

Can you run sudo nvidia-bug-report.sh and attach the resulting file here for review?

Thanks.

Hi!

Thanks for the answer.

nvidia-installer.log (41.1 KB)

Hope it helps.

Well, that was not the file I was looking for. The command I mentioned will create a file called nvidia-bug-report.log.gz, that includes more information than just the installer log.

But this log already contains a hint what might be wrong:

-> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.

Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:

The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.

It is very likely that you still have old driver libraries or even kernel modules that are from a previous installation and that conflicts with the new driver.

Right now it would be recommended to purge the driver completely in text only mode (boot to console) and with all NVIDIA kernel modules unloaded. Then re-install with your preferred method.