If you are a Linux user, then you've likely used the GNOME Desktop Environment at least once.

The latest GNOME DE (Desktop Environment) uses Wayland nowadays. And while it's possible to remove Wayland and select Xorg if you want, most users are starting to use Wayland as their daily driver.

And if you still use the Chrome or Chromium browsers, you'll often face the black screen issue during screen sharing.

Untitled-design

If you typically use Wayland on your desktop, you'll have these issues while screen sharing, especially in Google Meet.

Untitled-design--1-

In this article, I will show you a very simple trick that will help you solve the black screen issue during screen sharing on any kind of Chromium browser including the most popular browser, Google Chrome.

I have used Ubuntu for writing this article, but the same process is applicable to all other Linux OS distros running on Wayland.

The Black Screen Issue

If you're having the black screen issue in Google Meet in a Chromium browser (Chrome, Brave, Vivaldi, etc), it probably looks like this:

Screenshot-from-2022-04-25-19-38-51

Sometimes it might happen because screen sharing in Wayland gets broken or because of other issues. A lot of users also say it happens as developers are trying hard to increase the security level.

The issue of screen sharing might become common for many people in the usual way. A lot of users go back to X11 only for this issue or try the pipewire solution to fix this.

I will show you the solution using the pipewire technology so that you do not need to go back to X11 only for solving this issue. 😊

Go to chrome://flags/#enable-webrtc-pipewire-capturer using the address bar of your browser.

Screenshot-from-2022-04-25-19-39-23

You will get a long list, but we are interested in WebRTC PipeWire Support. You will see that the option is on the Default mode right now.

Screenshot-from-2022-04-25-19-39-31

We need to change it to Enabled.

Screenshot-from-2022-04-25-19-39-40

Simply click the drop down menu, and click Enabled.

Screenshot-from-2022-04-25-19-39-54

Now you will see a prompt on the below right side to relaunch the browser so this can take effect.

Screenshot-from-2022-04-25-19-39-54-1

Click on Relaunch. It will simply restart your browser.

The issue has been solved! ✌️

How to Test Screen Sharing

Now if you want to share your screen as usual, you can definitely do that.

Screenshot-from-2022-04-25-19-40-27

Whenever you want to share the screen, a prompt will appear and will request you to select the monitor. You have to share the monitor. If you have only one monitor like I do, then you would get one monitor. Simply click on that and click Share.

You will also get to see the preview of the screen sharing.

Screenshot-from-2022-04-25-19-40-40

You may need to select the monitor again in the prompt. Simply select the monitor and click Share as earlier.

Screenshot-from-2022-04-25-19-40-47

From now on, you can share your screen on Google Meet from Wayland.

Screenshot-from-2022-04-25-19-41-07

Conclusion

If this article helps you resolve the black screen issue for your Linux DE, then I've been successful. 😊

I also want to thank you for reading the entire article till now.

If you want to follow me, then you can do that through Twitter and LinkedIn.

If you like to contribute to open source, then you can also follow me on GitHub as I contribute regularly on that platform. Maybe you'll notice that I've already contributed to your favourite project as well, who knows! πŸ˜…

One more thing, I have two YouTube channels where I talk about programming stuff. If you like those content in English, then you can check out my English Brand channel.

If you are a Bangladeshi, then I also have another Brand channel for the Bangladeshi community. You can check out my Bengali Brand channel as well.

Thank you so much! πŸ˜‹