Linux Ubuntu 22.04 boot to blackscreen with prime-select nvidia

I have GE Force MX110 GPU. I just installed nvidia-driver-545 via ubuntu graphical ppa. When I do prime-select nvidia and reboot the system, after the login page it turns to a black screen. I boot the system again in recovery mode and set prime-select intel, then the os enters normally again, but nvidia drivers are not working anymore. I tried the solutions given in here https://forums.developer.nvidia.com/t/linux-mint-nvidia-driver-loads-with-startx-but-not-on-initial-startup/168262, but it also did not work.

My bug report file
nvidia-bug-report.zip (256.2 KB)

nvidia-settings:

(nvidia-settings:13492): GLib-GObject-CRITICAL **: 01:35:57.151: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:13492): CRITICAL **: 01:35:57.152: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

ERROR: nvidia-settings could not find the registry key file or the
       X server is not accessible. This file should have been
       installed along with this driver at
       /usr/share/nvidia/nvidia-application-profiles-key-documenta
       tion. The application profiles will continue to work, but
       values cannot be prepopulated or validated, and will not be
       listed in the help text. Please see the README for possible
       values and descriptions.

sudo lshw -C display:

  *-display                 
       description: VGA compatible controller
       product: CometLake-U GT2 [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1366,768
       resources: irq:148 memory:d2000000-d2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
  *-display UNCLAIMED
       description: 3D controller
       product: GM108M [GeForce MX110]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:d3000000-d3ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:4000(size=128) memory:d4000000-d407ffff

Please delete /etc/X11/xorg.conf