Adobe Post 20210514 1403250.01865501203071862 1 Fix the OBS Studio Black Screen issue in Ubuntu

How to Fix the OBS Studio Black Screen issue in Ubuntu

How to Fix the OBS Studio Black Screen issue in Ubuntu? I don’t know if you are busy recording, but I’m sure you used OBS Studio to record, and I’m pretty sure you also recorded the Ubuntu screen. That is why you are here. No worries! We’ve got it for you. In this guide, You will learn about how to Fix the OBS Studio Black Screen Issue in Ubuntu.

Ubuntu 21.04 (the latest version) is installed on my computer. When I tried to record my Ubuntu screen using OBS Studio, I thought everything would go smoothly. But unfortunately, I encountered a serious problem. When I checked, OBS Studio only showed a black screen in the original screenshot (XSHM).

What is OBS Studio?

OBS Studio is an open source recording and streaming software popular with Podcaster and Streamer.

OBS Studio allows users to create videos using various sources/media, including screenshots and recordings of browser windows, uploaded images, text annotations, webcam videos, etc. In addition, it has an audio mixing tool, which includes filters such as squelch. And noise cancellation function, so that users can edit audio files more easily. When using the video transition function, there are countless events that can be used/selected.

For video encoding, OBS Studio can use the free Intel Quick Sync Video x264, AMD Video Coding Engine and Nvidia NVENC software library to encode video streams in H.265/HEVC and H.264/MPEG-4 AVC. Multiple audio tracks. You can use the AAC codec for encoding. Advanced users can use any codecs and containers available in libavformat/libavcodec. To learn more about OBS Studio, click here.

How to Fix the OBS Studio Black Screen issue in Ubuntu:

How to Fix the OBS Studio Black Screen issue in Ubuntu
In the picture, the OBS screen shows a black screen. I think this problem can also be found in other versions of Ubuntu, such as Ubuntu 20.04 and Ubuntu 20.10. It doesn’t matter, there is a simple and clear solution, which you can read below. …

Two Ways to Fix the Black Screen Issue When Recording the Ubuntu Screen with OBS Studio

The OBS Studio black screen problem is related to the Wayland window server used in Ubuntu 21.04. Ubuntu 21.04 uses Wayland as its default window server. OBS Studio still has some problems with Wayland, so we need to log in to Xorg through Wayland.

There are two ways to do this:

  • Disable Wayland login
  • Sign in with Xorg

Disable Wayland Login

To disable Wayland login, follow the steps below:

  • Edit the custom.conf file located under /etc/gdm3. I use nano to edit this file.

Sudo nano /etc/gdm3/custom.conf

  • Uncomment the following line

#WaylandEnable=false

  • It must looks like this now.

WaylandEnable=false

Now close the file and save. Restart Ubuntu. Now, you should be able to fix the OBS Studio black screen issue in Ubuntu and never see the black screen again.

2. Sign in with Xorg

If you don’t want to edit the custom.conf file, you can log in with Xorg.

  • Go to the Ubuntu login screen.
  • At the bottom right corner of the GDM login screen, you will see an option, select it and select “Use Xorg”
IMG 20210514 135642 Fix the OBS Studio Black Screen issue in Ubuntu
Sign in

Logging in to Ubuntu using Xorg OBS Studio can work normally. You should be able to fix the black screen problem in Ubuntu’s OBS Studio and see that there is no black screen problem below.

Last words

Hope this article is helpful to fix the black screen problem of OBS Studio in Ubuntu. Thank you for reading and see you next time.

More to read

How to Enable Picture in Picture Mode on iPhone?

How to Enable Bubbles Notification on Android 11 Samsung Galaxy.

How to trace someone’s Text Messages without touching their phone?

1 thought on “How to Fix the OBS Studio Black Screen issue in Ubuntu”

  1. Pingback: How To Add A Netflix Shortcut To Mac Desktop Or Dock Using Browsers - Techchumz

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: