How to prevent in-game overlay from triggering?

Hi,

First of all sorry if this isn’t the place to enquire such things, but unfortunately I couldn’t find a better spot.

I’m currently developing an app, just regular app, that is built with glfw+imgui+opengl backend.

Whenever the app launches, nvidia in-game overlay kicks in like it is a game. I kind of assumed that it was just because I was using the gpu, but I noticed that apps like blender don’t trigger it.

So my question is what makes nvidia in-game overlay kick in and how can I stop it?

Hi @nafonso, welcome to the NVIDIA developer forums.

Do you mean this pop-up?

image

Well, disable the overlay in the GeForce Experience settings. Or simply don’t run GFE in the first place?

The internal hooks of GFE how it decides to show this notification are proprietary, so I can’t share that with you. Generally speaking it will be triggered by any app or game that does a certain set of GPU initialization calls either explicitly or implicitly through OS system calls. Why Blender does not trigger this I don’t know.

For more questions on GeForce Experience I recommend our dedicated forums.

I hope this helps!

Hi @MarkusHoHo,

Thanks for your response. The reason I didn’t post on those forums is because they seem to be directed towards users and not developers.

I understand that I can turn it off locally, but this causes 2 problems:

  1. Worse experience for Nvidia users, if they want to have that overlay having to completely disable it because of some app triggering it would be quite unfortunate
  2. I shouldn’t have to tell users that is the recommended solution.

Not sure why Nvidia would care about the “proprietary hooks”, we’re talking about making sure Nvidia users have the best experience: be able to use the overlay if they choose to, and not have “regular apps” annoy them.

I guess I’ll try to play around with turning things on and off, however quite unfortunate that I have to do so.

If it is only the pop-up notification I posted, then I don’t think it is really that bad and disturbing for app users. It just tells you that you CAN use the Overlay. But the overlay itself is not yet loaded or running.

But I understand that it would definitely be helpful if there was a more fine-grained way of controlling when and if it is displayed.

I will pass your feedback on to the development team.

Thanks!