GDM with wayland does not use xprofile for autostarting
The linked page Display manager#Autostarting works only with Xserver. As described here https://wiki.gnome.org/Initiatives/Wayland/SessionStart, GDM with Wayland does not run a login shell, nor source any profile file.
Environment variables can be set as described in the link above (although it should be noted that PATH cannot be set due to https://gitlab.gnome.org/GNOME/gdm/-/issues/385).
I don't know of any way to execute commands in the same way as
.xprofile was used to.
Also, I'm not sure if this is GDM specific or affects ather display managers (sddm loads
.profile - likely by running a shell script first?).
Steps for enabling Wayland for proprietary Nvidia driver is incomplete
I am using Gnome. Steps in section 4.1 to enable Wayland for proprietary Nvidia driver is incomplete. Below post in the Manjaro forum listed all the necessary steps. I think the missing step in the Arch wiki is the third step with a gsettings call. After I did that step, I successfully entered Wayland session with my Nvidia 1660 Ti gpu.