Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Cam on macOS shows a red screen instead of video (again, 29.0.0 regression) #8039

Closed
infinitewarp opened this issue Jan 10, 2023 · 14 comments · Fixed by #8044
Closed
Labels
Confirmed This bug report has been confirmed by project members

Comments

@infinitewarp
Copy link

infinitewarp commented Jan 10, 2023

Operating System Info

macOS 12

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

29.0.0

OBS Studio Log URL

https://obsproject.com/logs/LJahkNJAeWt66n0S

OBS Studio Crash Log URL

No response

Expected Behavior

Virtual camera should show the currently selected output scene.

Current Behavior

Any other app using the virtual camera shows a bright red screen when the virtual cam is enabled. When virtual cam is disabled, it shows the normal placeholder graphic.

Screen Shot 2023-01-10 at 10 25 59 AM

Steps to Reproduce

  1. Use old OBS (28.1.2) with normal working virtual camera
  2. Either upgrade from 28.1.2 to 29.0.0 via the in-app upgrade prompt, or manually download the new version directly from https://obsproject.com/download (I tried both with the same result)
  3. Restart OBS (29.0.0).
  4. Start the virtual camera.
  5. Enter system credentials to allow the system to install the new version of the mac-virtualcam plugin.
  6. Note that the video looks fine in OBS itself.
  7. Note that the video is solid red when viewed in other apps like Google Chrome.

Anything else we should know?

This appears to be a regression of #7333. My system also suffered red screen video output in a previous 28.x version, but presumably #7403 fixed it in a later 28.x version, and it's been working fine in the latest 28.1.2. Did that code get lost or changed in the 29.x development branch?

Restarting other apps, OBS itself, or the whole system seems to have no effect on the red screen issue. Swapping the video input selection in apps like Google Chrome to something else and then back to OBS also doesn't help.

Closing OBS 29.0.0, replacing it with 28.1.2, and following the usual steps (including authorizing it to reinstall its version of mac-virtualcam plugin) successfully restores normal video output while using OBS 28.1.2. Upgrading to 29.0.0 breaks it again.

I'm running this on a MacBook Pro (16-inch, 2019) with the following specs:

macOS version: 12.6.2 (21G320)
Processor: 2.6 GHz 6-Core Intel Core i7
Memory: 32 GB 2667 MHz DDR4
Graphics: AMD Radeon Pro 5300M 4 GB, Intel UHD Graphics 630 1536 MB
@gxalpha gxalpha added the Confirmed This bug report has been confirmed by project members label Jan 10, 2023
@gxalpha gxalpha added this to the OBS Studio 29.0 milestone Jan 10, 2023
@sissiwup
Copy link

Back to 28.1.2 did not fix the problem. The cam stays red.

@gxalpha
Copy link
Member

gxalpha commented Jan 11, 2023

@sissiwup After going back, try rebooting your computer.

@infinitewarp
Copy link
Author

OBS 28.1.2 should detect and reinstall its older plugin automatically, but to be extra thorough, you could close OBS and any video streaming apps (Firefox, Chrome, Zoom, etc.), and manually delete /Library/CoreMediaIO/Plug-Ins/DAL/obs-mac-virtualcam.plugin. Then the next time you start OBS and enable the virtual camera, it should prompt for your password to install its version of the plugin.

Restarting your whole computer would certainly ensure nothing is still trying to use the newer version of the plugin, but in my case, simply closing and reopening the apps themselves was good enough.

@echohack
Copy link

+1. I'm also receiving this issue (although I get a Green screen, or sometimes a screen with different levels of static and other colors) only after upgrading to 29.0.0 on MacOS Ventura 13.1.

@RytoEX
Copy link
Member

RytoEX commented Jan 12, 2023

If you are affected by this, please specify if your system has an Intel CPU or Apple Silicon CPU (even better, provide an OBS log file). Please also test the test build at #8044.

@davidolrik
Copy link

I'm on Intel and I've just tested with obs-studio-macos-x86_64-1de63184d from #8044 and I still get a completely green screen when sharing my virtual camera in Teams.

macOS 13.1 (22C65)
OBS Studio 29.0.0 (3895376203)

I tried uploading a OBS log file, but was told there was nothing in it to see because I wasn't recording or streaming.
Here is a OBS log file where I'm recording: https://obsproject.com/logs/V4PyeB7Z7qIRJhG7

When recording I still got the green screen, and some single frames with picture.

@gxalpha
Copy link
Member

gxalpha commented Jan 13, 2023

@davidolrik did you restart your Computer after using the virtual camera from the PR build for the first time?

@davidolrik
Copy link

@gxalpha No, I did not. - But I've just rebooted and now it works! 👍🏽

@PatTheMav
Copy link
Member

@infinitewarp Would you be able to confirm the nightly created by #8044 fixes the issue as well?

@superpowered1
Copy link

I'm having the same problem streaming on Whatnot with the red screen. Is this fixed yet? On MAC ventura 13.1 which doesn't let me reinstall the older OBS now. is there a fix yet?

@herr-lehmann
Copy link

herr-lehmann commented Jan 16, 2023

@infinitewarp Would you be able to confirm the nightly created by #8044 fixes the issue as well?

This worked for me like a charm after restarting! Thanks @PatTheMav !

@superpowered1
Copy link

@infinitewarp how do I implement this? thanks!

@infinitewarp
Copy link
Author

infinitewarp commented Jan 17, 2023

@infinitewarp Would you be able to confirm the nightly created by #8044 fixes the issue as well?

Sorry it took a while before I could try this out. Yes, the obs-studio-macos-x86_64-1de63184d artifact from your PR (from here) appears to have resolved the red screen problem on my system. 👍

Thank you very much for the quick fix, @PatTheMav! 👏

@garrettreid
Copy link

+1, fixed an issue with solid green screen in Workplace Chat for me.
For anyone looking for a temporary workaround, I also found that opening another app to poll the camera (e.g. Zoom's video preferences) caused virtual camera to behave correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed This bug report has been confirmed by project members
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants