XPS 9570 Ubutnu Nvidia Driver

I have been trying to Install Ubuntu NVIDIA Driver on my new Laptop. I am facing one problem after another

But whenever I install Nvidia Driver then I face the problem of infinite login. If I try to uninstall NVIDIA driver then due to nouveau driver then ubuntu doe not starts, It does not even reach the login page.

If I set nouveau.modeset = 0. Then Ubuntu logins normally but then the keyboard backlight, Keyboard function keys do not work. Also If I close the lid and reopens than I can only see Black-Screen.

What Should I do now?

I’ve moved this to the https://community.ubuntu.com/c/support-help-requests category because this site isn’t designed to take tech support questions. Sorry. I’d recommend using one of the official support channels listed on the https://community.ubuntu.com/t/finding-help/712 page