obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.83k stars 7.84k forks source link

Strobing on monitor #7408

Open AnEpilepticGamer opened 1 year ago

AnEpilepticGamer commented 1 year ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

28.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

N/A

OBS Studio Crash Log URL

No response

Expected Behavior

In previous versions of OBS, I would have OBS Studio on my second monitor to keep an eye on chat/change the game.

Current Behavior

The OBS window except for the chat, viewfinder, and activity list strobes excessively. I cannot change stream settings either. It was bad enough to cause a seizure.

Steps to Reproduce

  1. Have the OBS new update on second monitor
  2. Open League and have it go into game
  3. Tab out to check something then it strobes ...

Anything else we should know?

No response

RytoEX commented 1 year ago

Please provide an OBS log file. This will help us narrow down what the hardware requirements are for this scenario to occur.

AnEpilepticGamer commented 1 year ago

How do I do that? And it will have to be in an hour or so, sorry.

On Mon, Sep 19, 2022 at 12:43 PM Ryan Foster @.***> wrote:

Please provide an OBS log file. This will help us narrow down what the hardware requirements are for this scenario to occur.

— Reply to this email directly, view it on GitHub https://github.com/obsproject/obs-studio/issues/7408#issuecomment-1251340112, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3FH6CN3OS56T2YQ5CGUEQDV7CQ35ANCNFSM6AAAAAAQQKGO3I . You are receiving this because you authored the thread.Message ID: @.***>

-- BreAnn The Epileptic Gamer theepilepticgamer.weebly.com https://www.facebook.com/The-Epileptic-Gamer-108043954361348/

RytoEX commented 1 year ago

In OBS select Help → Log Files → Upload Current Log File. Click Copy URL and then paste the link here.

image

AnEpilepticGamer commented 1 year ago

Here it is. Sorry about that. https://obsproject.com/logs/MtigHAMUcxAN8KMv

On Mon, Sep 19, 2022 at 12:53 PM Ryan Foster @.***> wrote:

In OBS select Help → Log Files → Upload Current Log File. Click Copy URL and then paste the link here.

[image: image] https://user-images.githubusercontent.com/624931/191081819-12d6f423-bd2d-41ed-bee2-0686a9326320.png

— Reply to this email directly, view it on GitHub https://github.com/obsproject/obs-studio/issues/7408#issuecomment-1251351051, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3FH6CJK4RKDQ3B5XH4QQXLV7CSAVANCNFSM6AAAAAAQQKGO3I . You are receiving this because you authored the thread.Message ID: @.***>

AnEpilepticGamer commented 1 year ago

Sorry I didn’t go through Discord. I’ve been harassed over things like this before and I didn’t want to risk it again.

On Mon, Sep 19, 2022 at 1:07 PM The Epileptic Gamer < @.***> wrote:

Here it is. Sorry about that. https://obsproject.com/logs/MtigHAMUcxAN8KMv

On Mon, Sep 19, 2022 at 12:53 PM Ryan Foster @.***> wrote:

In OBS select Help → Log Files → Upload Current Log File. Click Copy URL and then paste the link here.

[image: image] https://user-images.githubusercontent.com/624931/191081819-12d6f423-bd2d-41ed-bee2-0686a9326320.png

— Reply to this email directly, view it on GitHub https://github.com/obsproject/obs-studio/issues/7408#issuecomment-1251351051, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3FH6CJK4RKDQ3B5XH4QQXLV7CSAVANCNFSM6AAAAAAQQKGO3I . You are receiving this because you authored the thread.Message ID: @.***>

-- BreAnn The Epileptic Gamer theepilepticgamer.weebly.com https://www.facebook.com/The-Epileptic-Gamer-108043954361348/

RytoEX commented 1 year ago

Here it is. Sorry about that. https://obsproject.com/logs/MtigHAMUcxAN8KMv

Thank you. I'd like to verify some details to help us further isolate exactly what setup(s) can produce this issue. Please let me know if you have any questions.

  1. Are all displays connected to your NVIDIA GPU?
  2. Were all displays connected to your NVIDIA GPU when the flicker occurred?
  3. Are any displays or devices connected to your Intel GPU?
  4. Does League run on your NVIDIA GPU or your Intel GPU?
  5. What display mode is League set to (e.g., windowed, fullscreen, borderless fullscreen/windowed)?

The following are questions that you should have someone else with access to your setup verify, as I do not want you to expose yourself to flickering. If you cannot get someone else to check these, do not worry about it.

  1. Exactly which part(s) of OBS flickered? The entire main preview? The built-in docks (not the Twitch-related docks)? Some other specific part(s)?
  2. Does the flickering occur in a plain OBS installation without any plugins?

From the information currently available, this sounds like a different manifestation of an NVIDIA driver bug that we encountered during beta testing which we had reported to NVIDIA. We believed that we had worked around that bug in #7175, #7177, and #7214. It seems that we have either missed certain scenarios, or there is an entirely different, but similar, issue occurring here.

In the meantime, I would recommend uninstalling OBS Studio 28 and reinstalling OBS Studio 27.2.4 and staying on that version until we can determine exactly what is happening on your system and fix it.


Sorry I didn’t go through Discord. I’ve been harassed over things like this before and I didn’t want to risk it again.

If you have been harassed in our Discord server, please DM me (RytoEX#5545) or @Fenrirthviti (Len#9999) so that we can follow-up on that incident.

AnEpilepticGamer commented 1 year ago

Hello. All displays are connected to NVIDIA. The display mode for League is windowed. The parts of OBS that strobed were everything except for the Twitch docks and the playback viewfinder. I didn’t have any plugins installed, so I’m assuming the answer to your last question is no?

On Mon, Sep 19, 2022 at 2:10 PM Ryan Foster @.***> wrote:

Here it is. Sorry about that. https://obsproject.com/logs/MtigHAMUcxAN8KMv

Thank you. I'd like to verify some details to help us further isolate exactly what setup(s) can produce this issue. Please let me know if you have any questions.

  1. Are all displays connected to your NVIDIA GPU?
  2. Were all displays connected to your NVIDIA GPU when the flicker occurred?
  3. Are any displays or devices connected to your Intel GPU?
  4. Does League run on your NVIDIA GPU or your Intel GPU?
  5. What display mode is League set to (e.g., windowed, fullscreen, borderless fullscreen/windowed)?

The following are questions that you should have someone else with access to your setup verify, as I do not want you to expose yourself to flickering. If you cannot get someone else to check these, do not worry about it.

  1. Exactly which part(s) of OBS flickered? The entire main preview? The built-in docks (not the Twitch-related docks)? Some other specific part(s)?
  2. Does the flickering occur in a plain OBS installation without any plugins?

From the information currently available, this sounds like a different manifestation of an NVIDIA driver bug that we encountered during beta testing which we had reported to NVIDIA. We believed that we had worked around that bug in #7175 https://github.com/obsproject/obs-studio/pull/7175, #7177 https://github.com/obsproject/obs-studio/pull/7177, and #7214 https://github.com/obsproject/obs-studio/pull/7214. It seems that we have either missed certain scenarios, or there is an entirely different, but similar, issue occurring here.

In the meantime, I would recommend uninstalling OBS Studio 28 and reinstalling OBS Studio 27.2.4 and staying on that version until we can determine exactly what is happening on your system and fix it.

Sorry I didn’t go through Discord. I’ve been harassed over things like this before and I didn’t want to risk it again.

If you have been harassed in our Discord server, please DM me (RytoEX#5545) or @Fenrirthviti https://github.com/Fenrirthviti (Len#9999) so that we can follow-up on that incident.

— Reply to this email directly, view it on GitHub https://github.com/obsproject/obs-studio/issues/7408#issuecomment-1251433432, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3FH6CIYHRL2P6TKF4KVVP3V7C3DLANCNFSM6AAAAAAQQKGO3I . You are receiving this because you authored the thread.Message ID: @.***>

-- BreAnn The Epileptic Gamer theepilepticgamer.weebly.com https://www.facebook.com/The-Epileptic-Gamer-108043954361348/

MattyFresh68 commented 1 year ago

Another user reporting similar behavior in discord. They do not have a GH acct. https://discord.com/channels/348973006581923840/374636015396192257/1029001262420738069 https://obsproject.com/logs/ETbU8n06GYLKC24n

AnEpilepticGamer commented 1 year ago

What should I do?

On Mon, Oct 10, 2022 at 7:28 AM MattyFresh68 @.***> wrote:

Another user reporting similar behavior in discord. They do not have a GH acct.

https://discord.com/channels/348973006581923840/374636015396192257/1029001262420738069 https://obsproject.com/logs/ETbU8n06GYLKC24n

— Reply to this email directly, view it on GitHub https://github.com/obsproject/obs-studio/issues/7408#issuecomment-1273239719, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3FH6CIJERA4A5MC5KZKVCDWCQDVVANCNFSM6AAAAAAQQKGO3I . You are receiving this because you authored the thread.Message ID: @.***>

RytoEX commented 1 year ago

I've been investigating this issue since it was reported. I do not have any concrete updates, only observations. I have tried, and for the most part failed, to reproduce the issue as specifically described. I cannot reproduce it while running just OBS and a game. I can reproduce flickering with browser windows (e.g., Chrome, Firefox, Opera) if I subject my system to heavy load, but I have not been able to capture it when it occurs, and I have not been able to see if the OBS UI has the same flickering occur.

All displays are connected to NVIDIA.

This almost certainly means that this is not a bug that we have seen before. The bug that we previously encountered and patched around before the OBS Studio 28 release requires displays to be run through a different GPU than OBS is running on, which is not the case in your setup.

The display mode for League is windowed.

This is useful information, thank you.

The parts of OBS that strobed were everything except for the Twitch docks and the playback viewfinder.

When you say "viewfinder", do you mean the preview/canvas area (the central area where you edit sources/scene-items)? To confirm, let's look at this visually:

2022-09-22 13_23_38-OBS areas labeled

My understanding from reading your descriptions is that areas 2, 3, and 5 did not flicker. Is that correct? This is notable because the NVIDIA driver bug that I previously mentioned could only possibly affect area 3, to our knowledge, and in our testing never even affected that.

I didn’t have any plugins installed, so I’m assuming the answer to your last question is no?

You have SE.Live installed, which is a plugin that in the past has modified core components of OBS. Modern versions of SE.Live should not do this, but it does still inject its own custom behavior into OBS in other ways (e.g., canvas splash/login screen, menus, buttons, other UI elements). It is possible that this is another factor, but it's hard to tell at this time.

So far, the only observation I can make is that the browser docks (Twitch Chat, Twitch Activity Feed) and the OBS canvas/preview are hardware accelerated surfaces, while the other parts of the application are not. The sort of flashing that you describe sounds like something that can happen while a system is under moderate load, which can be exacerbated while alt-tabbing between applications. This does not sound like an OBS-specific issue. For example, I have seen UI flickering occur in browsers and other applications under certain moderate-heavy load scenarios without running OBS. Nonetheless, we will continue to investigate this and see if there is something we can address on our end or report to NVIDIA and/or Microsoft. If there is any other additional information or steps that you have taken, please let us know so that we may continue to try to reproduce and narrow our search. Some additional information that may help us:

  1. What other applications were running on the system at the same time?
  2. Was OBS maximized (from clicking the "Maximize" button in the top-right of its window), or full-screen (from pressing F11 or clicking the option in the "View" menu), or a normal non-maximized window?
  3. Did you click, drag, or interact with anything inside the OBS window before the flickering started?

Another user reporting similar behavior in discord. They do not have a GH acct. https://discord.com/channels/348973006581923840/374636015396192257/1029001262420738069 https://obsproject.com/logs/ETbU8n06GYLKC24n

@MattyFresh68 That does not appear to be the same issue, or it is not the same bug that we have already worked around. The issue that we observed and created a workaround for before the OBS Studio 28 release required more than 1 GPU and required OBS and the display it was placed on to be running on different GPUs. The user you have mentioned appears to have 1 GPU, so either that is a different issue entirely, or it's a previously unknown manifestation of the same NVIDIA driver bug that we have already reported to NVIDIA. I will follow-up with that user directly on Discord.

AnEpilepticGamer commented 1 year ago
  1. I had Chrome open for music and minimized on the same monitor
  2. It was maximized from clicking the "maximize" button in the top left corner
  3. I didn't; it just started randomly

On Mon, Oct 10, 2022 at 5:38 PM Ryan Foster @.***> wrote:

I've been investigating this issue since it was reported. I do not have any concrete updates, only observations. I have tried, and for the most part failed, to reproduce the issue as specifically described. I cannot reproduce it while running just OBS and a game. I can reproduce flickering with browser windows (e.g., Chrome, Firefox, Opera) if I subject my system to heavy load, but I have not been able to capture it when it occurs, and I have not been able to see if the OBS UI has the same flickering occur.

All displays are connected to NVIDIA.

This almost certainly means that this is not a bug that we have seen before. The bug that we previously encountered and patched around before the OBS Studio 28 release requires displays to be run through a different GPU than OBS is running on, which is not the case in your setup.

The display mode for League is windowed.

This is useful information, thank you.

The parts of OBS that strobed were everything except for the Twitch docks and the playback viewfinder.

When you say "viewfinder", do you mean the preview/canvas area (the central area where you edit sources/scene-items)? To confirm, let's look at this visually:

[image: 2022-09-22 13_23_38-OBS areas labeled] https://user-images.githubusercontent.com/624931/191814619-46bb80f9-c1bd-4b00-afc4-10509d78ba32.png

My understanding from reading your descriptions is that areas 2, 3, and 5 did not flicker. Is that correct? This is notable because the NVIDIA driver bug that I previously mentioned could only possibly affect area 3, to our knowledge, and in our testing never even affected that.

I didn’t have any plugins installed, so I’m assuming the answer to your last question is no?

You have SE.Live installed, which is a plugin that in the past has modified core components of OBS. Modern versions of SE.Live should not do this, but it does still inject its own custom behavior into OBS in other ways (e.g., canvas splash/login screen, menus, buttons, other UI elements). It is possible that this is another factor, but it's hard to tell at this time.

So far, the only observation I can make is that the browser docks (Twitch Chat, Twitch Activity Feed) and the OBS canvas/preview are hardware accelerated surfaces, while the other parts of the application are not. The sort of flashing that you describe sounds like something that can happen while a system is under moderate load, which can be exacerbated while alt-tabbing between applications. This does not sound like an OBS-specific issue. For example, I have seen UI flickering occur in browsers and other applications under certain moderate-heavy load scenarios without running OBS. Nonetheless, we will continue to investigate this and see if there is something we can address on our end or report to NVIDIA and/or Microsoft. If there is any other additional information or steps that you have taken, please let us know so that we may continue to try to reproduce and narrow our search. Some additional information that may help us:

  1. What other applications were running on the system at the same time?
  2. Was OBS maximized (from clicking the "Maximize" button in the top-right of its window), or full-screen (from pressing F11 or clicking the option in the "View" menu), or a normal non-maximized window?
  3. Did you click, drag, or interact with anything inside the OBS window before the flickering started?

Another user reporting similar behavior in discord. They do not have a GH acct. https://discord.com/channels/348973006581923840/374636015396192257/1029001262420738069 https://obsproject.com/logs/ETbU8n06GYLKC24n

@MattyFresh68 https://github.com/MattyFresh68 That does not appear to be the same issue, or it is not the same bug that we have already worked around. The issue that we observed and created a workaround for before the OBS Studio 28 release required more than 1 GPU and required OBS and the display it was placed on to be running on different GPUs. The user you have mentioned appears to have 1 GPU, so either that is a different issue entirely, or it's a previously unknown manifestation of the same NVIDIA driver bug that we have already reported to NVIDIA. I will follow-up with that user directly on Discord.

— Reply to this email directly, view it on GitHub https://github.com/obsproject/obs-studio/issues/7408#issuecomment-1273879653, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3FH6CNIQU4FTY56JNVQCY3WCSLF3ANCNFSM6AAAAAAQQKGO3I . You are receiving this because you authored the thread.Message ID: @.***>