Weird GPU Memory Leak Causing SLOBS to Crash?

nat0rade

New Member
https://filebin.net/5iitzuczrlew6y2x/2020-10-16_22-07-50.txt?t=f8lwukh9

That's the log file. After about 4-5 hours I get AMF_OUT_OF_MEMORY. There's no way my GPU is running out of memory...

AMD Radeon RX 580 8GB
AMD Ryzen 5 2600
16 GB RAM

Sea of Thieves and Rogue Company are my two main streaming titles. BTW this only started recently. Had never happened before about 2 weeks ago. No hardware changes either.

Encoder settings are in log file.

ANY ideas? I'm stumped. Its usually 3-5 hours in and SLOBS crashes.

EDIT:

The log file I posted cuts off at the end. Here are the beginning of the error messages.


[000:06:26:10.240.147.900][Debug] [AMF] 2020-10-16 22:07:36.044 1970 [AMFDeviceHostImpl] Error: ..\..\..\..\..\runtime\src\core\DeviceHostImpl.cpp(93):Assertion failed:AllocBuffer() - no memory

[000:06:26:10.240.147.900][Debug]
[000:06:26:10.240.718.500][Debug] [AMF] 2020-10-16 22:07:36.044 1970 [AMFDeviceHostImpl] Error: ..\..\..\..\..\runtime\src\core\DeviceHostImpl.cpp(190):AMF_ERROR 6 : AMF_OUT_OF_MEMORY: AllocBuffer(totalSize, AMF_BUFFER_USAGE(AMF_BUFFER_USAGE_DEFAULT), AMF_MEMORY_CPU_ACCESS(AMF_MEMORY_CPU_DEFAULT), (void**)&pMem)

[000:06:26:10.240.718.500][Debug]
[000:06:26:10.241.061.100][Debug] [AMF] 2020-10-16 22:07:36.045 1970 [AMFSurfaceImpl] Error: ..\..\..\..\..\runtime\src\core\SurfaceImpl.cpp(564):AMF_ERROR 6 : AMF_OUT_OF_MEMORY: AllocPlanes()- CreateSurface

[000:06:26:10.241.061.100][Debug]
[000:06:26:10.241.312.200][Debug] [AMF] 2020-10-16 22:07:36.045 1970 [AMFContextImpl] Error: ..\..\..\..\..\runtime\src\core\ContextImpl.cpp(929):AMF_ERROR 6 : AMF_OUT_OF_MEMORY: pSurface->Alloc(type, format, width, height, usage, access)

[000:06:26:10.241.312.200][Debug]
[000:06:26:10.241.606.900][Error] [AMF] <Id: 3> Unable to allocate Surface, error AMF_OUT_OF_MEMORY (code 6)
[000:06:26:10.241.716.300][Error] Error encoding with encoder 'streaming_h264'
[000:06:26:10.241.811.000][Info] [rtmp stream: 'simple_stream'] Encoder error, disconnecting
[000:06:26:10.242.190.600][Info] Video stopped, number of skipped frames due to encoding lag: 150/1371830 (0.0%)
[000:06:26:10.242.312.400][Info] Output 'simple_stream': stopping
[000:06:26:10.242.331.600][Info] Output 'simple_stream': Total frames output: 1371800
[000:06:26:10.242.345.500][Info] Output 'simple_stream': Total drawn frames: 1371606 (1371876 attempted)
[000:06:26:10.242.357.500][Info] Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 270 (0.0%)
[000:06:26:10.243.343.100][Warning] warning: 2 frames left in the queue on closing
[000:06:26:15.964.085.300][Error] WriteFileEx failed with getErrorCode 232
 
Top