Driver for Nvidia RTX3050 installed but Ubuntu 18.04 doesn't use it as graphic card

I followed the instructions here again this morning and this is the nvidia-bug-report.sh file created in that state:
nvidia-bug-report.log.old.gz (342.2 KB)

Something to note:

  • I didn’t have the file /etc/X11/xorg.conf initially so I cannot “delete” it
  • I didn’t have the file /usr/share/X11/xorg.conf.d/10-nvidia.conf either so I copied this one from GitHub and modified the key “Option” accordingly.
  • After those modifications and reboot, I was stuck at the login page (similar to what I experienced yesterday when running sudo prime-select nvidia). But when I tried to run sudo prime-select on-demand the output was the on-demand profile is already set.

Finally I reverted all those modifications and created this nvidia-bug-report.sh file for your reference:
nvidia-bug-report.log.gz (315.7 KB)