obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Preview no longer working, video black

Open stijnghesquiere opened this issue 5 years ago • 11 comments

Since the November 8th update, the preview does no longer work in OBS. It stays black and tend to lock OBS.

If add a video device, it shows in the device settings (properties for 'Video Capture Device (V4L2)'). But once I change anything, the video goes black.

In the main OBS screen, I cannot turn on 'Enable Preview'. It doesn't gave an error, actually nothing happens if I try to turn on preview.

Even if I select an image instead of a video source, it stays black. No preview.

If I change window arrangements in OBS (like make the preview panel smaller), it also messes things up.

Ubuntu 20.04, Radeon RX580 GPU. Video works in other applications, not in OBS. V4L2sink also doesn't work anymore for Zoom, Skype and Teams (virtual device not showing up). I can get it to work with Discord however.

Edit: added info regarding V4Lsink

stijnghesquiere avatar Nov 10 '20 14:11 stijnghesquiere

Is it possible for the maintainers to provide an older version in stable and put the new features in edge? That would help a lot, as I always dread updates to obs as it's a work in progress and it has caused issues before... I tried to revert the snap, but alas to no avail. Many thanks!

stijnghesquiere avatar Nov 10 '20 16:11 stijnghesquiere

Under wayland I do get a preview. Update: sometimes I do get a preview under Xorg, but if I resize the window, it becomes and stays black. Windowed Projector (Preview) does work all the time, however.

stijnghesquiere avatar Nov 10 '20 21:11 stijnghesquiere

I'd like to add that I experience this issue on elementary OS 5.1 (based on Ubuntu 18.04 with hwe) on an Nvidia GTX 1070 with the snap, but installing the obs deb from the official PPA works fine.

asonix avatar Dec 11 '20 21:12 asonix

Are you referring to just the preview of camera sources being black or the preview of the entire scene being black?

flexiondotorg avatar Dec 27 '20 11:12 flexiondotorg

The entire preview window, where it shows the current scene

asonix avatar Dec 27 '20 14:12 asonix

Here's what I see in OBS, complete with artifacting when I resize the lower bar

image image

asonix avatar Dec 27 '20 15:12 asonix

The basic preview stays black, but the windowed projector (preview) option works and gives a preview in a separate window.

stijnghesquiere avatar Dec 27 '20 22:12 stijnghesquiere

Please attach a log file from your current session so I can review it.

flexiondotorg avatar Dec 29 '20 17:12 flexiondotorg

Here's stdout and stderr from opening obs, resizing the bar, and closing obs

err.log out.log

asonix avatar Dec 29 '20 22:12 asonix

I don't really know what to suggest other than perhaps trying the 455 NVIDIA drivers:

  • https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa

flexiondotorg avatar Dec 30 '20 10:12 flexiondotorg

It turns out I had already added that PPA and installed the 450 driver. I tried upgrading to 455 and I'm having the same issue. I wonder if removing the PPA and downgrading the driver would work. Although I'm not convinced that's it since the OP is having the same issue with an AMD card

fwiw I also confirmed that the windowed projector works, as mentioned in @stijnghesquiere 's comment

asonix avatar Dec 30 '20 15:12 asonix

Fixed via #172

flexiondotorg avatar Oct 11 '23 12:10 flexiondotorg