After installing cuda11.4 and TensorRT 8.2.1, I cannot enter the graphic page after restarting ubuntu

I want to install deepstream-6.0_6.0.0-1_amd64.deb, but after I installed cuda11.4 and TensorRT 8.2.1, I can’t go to the graphics page after restarting ubuntu, I can only Ctrl + Alt + F2 to go to the command line. Why is that?
Does this have anything to do with installing cuda11.4?

Video card driver: nvidia-driver-470-server

Moved to Linux forum for better support Nvidia driver installation related questions, thanks.

Please run as root and attach the resulting nvidia-bug-report.log.gz file to your post.

I reinstalled the operating system. The problem is fixed. Thank you.