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

VRAM (Dedicated GPU Memory) Leak #11549

Open
nproctorGV opened this issue Nov 21, 2024 · 15 comments
Open

VRAM (Dedicated GPU Memory) Leak #11549

nproctorGV opened this issue Nov 21, 2024 · 15 comments

Comments

@nproctorGV
Copy link

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

31.0.0-rc1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/YisuqH6bEI7DpLol

OBS Studio Crash Log URL

No response

Expected Behavior

Stable dedicated GPU memory

Current Behavior

Rapidly increasing dedicated GPU memory

Steps to Reproduce

  1. Add a Browser 1920x1080 with URL https://www.testufo.com/framerates#count=1&background=none&pps=240
  2. Output is 1920x1080/59.94
  3. Watch Dedicated GPU Memory rapidly increase every seconds on Windows.

Anything else we should know?

No response

@RytoEX
Copy link
Member

RytoEX commented Nov 21, 2024

I am not observing any rapid increase (or any increase) in Dedicated GPU Memory consumption on Windows 11 with an Intel Arc A770M.

@Fenrirthviti
Copy link
Member

Tested on an NVIDIA 4090 GPU on Windows 11, also did not observe any rapid GPU memory increase. Screenshot after letting the provided test URL run for 10~ minutes:
image

@nproctorGV
Copy link
Author

Try adding the column to the details in the task manager:
image

Tested on an NVIDIA 4090 GPU on Windows 11, also did not observe any rapid GPU memory increase. Screenshot after letting the provided test URL run for 10~ minutes: image

@Fenrirthviti
Copy link
Member

Same session, barely 600mb allocated:
image

@RytoEX
Copy link
Member

RytoEX commented Nov 21, 2024

image

@Fenrirthviti
Copy link
Member

I don't think anyone doubts this is happening on your system, but it's not happening on ours, which means there's a piece of the puzzle missing. This could be a driver bug, for all we know, and if we can't reproduce the issue reliably, we can't really do anything about it.

@nproctorGV
Copy link
Author

Understood. FYI I have reproduced the issue on 3 different NVIDIA GPUS:
NVIDIA Quadro P2200 551.61
NVIDIA RTX A2000 553.35
NVIDIA Quadro RTX 4000 551.61

@pkviet
Copy link
Member

pkviet commented Nov 22, 2024

could you disable hags and retest ?
also what's your driver version ?
We've noticed that your test GPUs differ from ours in that we have only consumer grade ones.

@nproctorGV
Copy link
Author

nproctorGV commented Nov 22, 2024

I disabled hags on the NVIDIA RTX A2000 machine and it did not make any difference.
There driver versions are:
553.35 - NVIDIA RTX A2000
551.61 - NVIDIA Quadro P2200
551.61 - NVIDIA Quadro RTX 4000

@pkviet
Copy link
Member

pkviet commented Nov 22, 2024

I disabled hags on the NVIDIA RTX A2000 and it did not make any difference. There driver versions are: 553.35 - NVIDIA RTX A2000 551.61 - NVIDIA Quadro P2200 551.61 - NVIDIA Quadro RTX 4000

i didn't expect hags to make a difference but just in case...
Could you update to last drivers ? 566.14

@nproctorGV
Copy link
Author

553,35 is the latest from Nov 19. I tried the New Feature Branch 566.03 with the same results. I don't see a 566.14
image

@pkviet
Copy link
Member

pkviet commented Nov 23, 2024

I tried to repro with a QUADRO RTX 4000 SFF ADA.
It was running in a VM, so i'll put some cautionary note there.
Anyway, no leak for me when running under the conditions given (testufo url at 1080p59); flat 400 MB dedicated RAM for 10 minutes.
edit: driver version is the last one for quadro so 553.35

@Lordmau5
Copy link
Contributor

Can confirm this is happening on my RTX 4060 (8GB VRAM), Studio Driver 566.14
Also happens with FPS set to 60 instead of 59.94.

In my main OBS instance (31 beta 3, latest TEB Beta build at the time of writing) it rose rather quickly, even surpassing what my GPU should be capable of (saw it at around 9,000,000K+).
In a fresh 31rc1 instance with just the testufo page it is also rising, but slower. It started at around 70,000K after adding the browser source, and after around 10 minutes it sat at around 1,300,000K.

image

I've started with a fresh 31rc1 instance, clicked Cancel in the first time setup, then set the Canvas and Output resolution to 1440p, set the FPS to 60, added the browser source linked in the first post at 1920x1080 dimensions and waited

@Lordmau5
Copy link
Contributor

Lordmau5 commented Nov 24, 2024

Managed to reproduce on 2 other systems as well.
My other PC with a 3090, 566.14 Game Ready Driver
and my laptop with a 3070 laptop variant (didn't check the driver, but I think it was latest as well since I updated not too log ago)

The laptop ramped up really quickly - about 9,000,000K within 20 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants