You have a amd/nvidia hybrid graphics system with a ryzen 5000, this needs kernel 5.10 minimum and firmware files. Furthermore, Ubuntu 20.04 is recommended since it has support for amd, please see this:
https://forums.developer.nvidia.com/t/ubuntu-mate-20-04-with-rtx-3070-on-ryzen-5900-black-screen-after-boot/167681/30?u=generix