Sometimes when we use google meet it happens . When you try to share a tab it works perfectly , when you try to share a window it works perfectly but when you try to share your entire screen it shows blank screen.
This solution is for linux users.
First of all you have to search for custom.conf file which is mostly present in the /etc/gdm3.
Search for the file.conf in /etc/gdm3/ in my case, Ubuntu 20, it's custom.conf
Now open your terminal
Type the commands mentioned below
sudo nano /etc/gdm3/custom.conf
now just uncomment the line by removing the #
#WaylandEnable=false
to be WaylandEnable=false
then reboot your system and it will start working.