Safe To Re-enable HAGS? (Hardware Accelerated GPU Scheduling)

Hey!
I just wanted to weigh in here as I found this thread while searching for answers with a different issue but has resulted in me disabling HAGS.
The Nvidia audio SDK is causing me major audio delays within OBS (29.0.2) when applying Nvidia Noise Removal via my mic filters so someone suggested to disable HAGS and the issue has now gone away.
I have a 4090
Same here. I'm really disappointed that this is still not working correctly. I had limited success in using a highly outdated version of the NVIDIA Audio SDK with HAGS on. But that can be the solution.
 

R1CH

Forum Admin
Developer
Note that 29.1.2 only fixes a compatibility issue with Nvidia Audio Effects, HAGS can still crash and freeze for other reasons.
 

Kivy

New Member
Note that 29.1.2 only fixes a compatibility issue with Nvidia Audio Effects, HAGS can still crash and freeze for other reasons.

which is weird because this nvidia rep recommends to use nvenc with hags:


and this guide also recommends turning hags on if you're a vtuber:


  • GPU Utilization: If your GPU utilization is above 95% Windows will start prioritizing the game over everything; this can, in some cases, make your stream lag. To solve this, Windows added a new scheduling system called Hardware Accelerated GPU scheduling. This will automatically balance the different workloads on your system so your game, stream and other apps (like a VTubing app) can all work at the same time. Verify or change your setting in your Windows Control Panel under System > Display > Graphics > Default graphics settings.

and yet i keep reading on this forum that hags should be off.

and from my experience, having hags on creates audible distortions in any game captured using the new beta application audio capture.

we're getting mixed signals here, it'd be nice to have a formal answer about if hags should be on or off...
 

sblantipodi

New Member
Note that 29.1.2 only fixes a compatibility issue with Nvidia Audio Effects, HAGS can still crash and freeze for other reasons.

is it known if the framerate capture problems when using games that uses HAGS has been resolved.
what devs done exactly to fix this issue?
 

so2nyme

New Member
Hello,

I reopen this topic:
It will surprise you, but i have problems with HAGS DISABLED :O

When i enable HAGS, my GPU runs to 70% playing and obs opened
When disabled: GPU at 100% and my obs is lagging ( even when not streaming or recording ), my stream doesn't lag, but for example, when i talk, i see my sounds bars lagging, and i have sometimes GPU overloads when i do a windows return for example.

I don't have these problems when i'm using HAGS
I only seen it when playing to "The Finals" game, which uses dlss 3 i think ( seen geforce update about that )
I'm on last windows 11 version with geforce 2070 super


Do you have any ideas about that ?

Thank you !

Updates: I tried with Baldur's Gate 3 which does not uses DLSS 3, same problem
 
Last edited:

Suslik V

Active Member
Other thoughts (Hybrid Graphics Mode vs Hardware Accelerated GPU Scheduling):
 

tuku473

New Member
Hello,

I reopen this topic:
It will surprise you, but i have problems with HAGS DISABLED :O

When i enable HAGS, my GPU runs to 70% playing and obs opened
When disabled: GPU at 100% and my obs is lagging ( even when not streaming or recording ), my stream doesn't lag, but for example, when i talk, i see my sounds bars lagging, and i have sometimes GPU overloads when i do a windows return for example.

I don't have these problems when i'm using HAGS
I only seen it when playing to "The Finals" game, which uses dlss 3 i think ( seen geforce update about that )
I'm on last windows 11 version with geforce 2070 super


Do you have any ideas about that ?

Thank you !

Updates: I tried with Baldur's Gate 3 which does not uses DLSS 3, same problem

SAME card (RTX 2070 Super) and SAME issues as so2nyme

HAGS off: Huge performance hit with a "demanding" game and obs OPEN (no need to be streaming/recording, no scenes needed or anything), encoding overload constantly and cant even hit 30fps on games

HAGS on: Great performance, can stream at 60 fps most new games, BUT! OBS preview freezes randomly and when trying to fix/stop the stream, program crashes and must be restarted, this happens CONSISTENTLY for me after a League of legends match when returning to the lobby (can even be the practice tool, so you can test this repeatedly and quickly)

There MUST be some workaround to allow us to keep HAGS on!, I've read disabling OBS from the first two cores of your CPU might help, I'm currently trying that but its my first day and havent played league yet. Please find a workaround, new nvidia cards also need HAGS on to use their full potential.
 

iAmBendroid

New Member
SAME card (RTX 2070 Super) and SAME issues as so2nyme

HAGS off: Huge performance hit with a "demanding" game and obs OPEN (no need to be streaming/recording, no scenes needed or anything), encoding overload constantly and cant even hit 30fps on games

HAGS on: Great performance, can stream at 60 fps most new games, BUT! OBS preview freezes randomly and when trying to fix/stop the stream, program crashes and must be restarted, this happens CONSISTENTLY for me after a League of legends match when returning to the lobby (can even be the practice tool, so you can test this repeatedly and quickly)

There MUST be some workaround to allow us to keep HAGS on!, I've read disabling OBS from the first two cores of your CPU might help, I'm currently trying that but its my first day and havent played league yet. Please find a workaround, new nvidia cards also need HAGS on to use their full potential.
Some questions whose answers might assist with troubleshooting:
  1. Which version of Windows are you using?
  2. Which version of OBS are you using?
  3. Does OBS freeze and/or crash when you stop the stream while...
    1. ...the preview is disabled, or only when the preview is enabled?
    2. ...all 3rd-party plugins, scripts, and websockets are disabled, or only when they are enabled?
      1. This can be accomplished by launching OBS with the --safe-mode parameter according to the instructions at https://obsproject.com/kb/launch-parameters
 

tuku473

New Member
Some questions whose answers might assist with troubleshooting:
  1. Which version of Windows are you using?
  2. Which version of OBS are you using?
  3. Does OBS freeze and/or crash when you stop the stream while...
    1. ...the preview is disabled, or only when the preview is enabled?
    2. ...all 3rd-party plugins, scripts, and websockets are disabled, or only when they are enabled?
      1. This can be accomplished by launching OBS with the --safe-mode parameter according to the instructions at https://obsproject.com/kb/launch-parameters
I havent tried with the preview off to be honest, I guess I could try that, since, as many have reported, the only thing that "freezes" and becomes unusable is the preview, however OBS keeps being usable unless you try to stop stream or close the program, in which case it freezes too. I doubt that would fix the issues but I might try it.

I'm using Windows 10 PRO, Version 22H2, and OBS 30.1.2

So far ive been switching back and forth using HAGS on/off depending on the game im going to play, because, as much as I hate freezes, the performance increase of having HAGS ON is TOO MUCH for me, so if the game is demanding, I turn HAGS ON, if Im just playing League of legends, I turn it OFF, its a hassle to reboot the pc daily depending on game but its the only thing that makes sense until someone somewhere finds a fix.
 
Top