I installed mainline kernel 5.6.14-050614-generic from the Ubuntu Mainline Kernel repository and now it works perfectly, I haven't encountered any black screen on boot on two days.
Whatever it was it seems to be fixed in 5.6 kernel series (no idea about 5.5), but I don't know what was fixed exactly, I heard 5.6 fixed some CPU freezes and overheating issues with Asus TUF Gaming Ryzen laptops. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879287 Title: System sometimes starts with a black screen with Nvidia PRIME setup on Ryzen+Nvidia system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1879287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs