You are not logged in.

#1 2025-08-04 16:24:24

TheBill2001
Member
Registered: 2021-08-17
Posts: 15

[SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

Hi, my NVidia driver is currently nvidia-open 575.64.05-4 and I currently encounter weird problem with my GTX 1660. After using the PC for some times, or simply let it idle, I can no longer launch any game. The following error was recorded when attempting to launch a game.

Aug 04 23:06:18 billarch-pc kernel: NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
Aug 04 23:06:18 billarch-pc kernel: NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
Aug 04 23:06:18 billarch-pc kernel: NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
Aug 04 23:06:18 billarch-pc kernel: NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
Aug 04 23:06:18 billarch-pc kernel: NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
Aug 04 23:06:18 billarch-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647

More specifically, games would crash on start up complaining missing DX11 or DX12, or that my GPU is unsupported. These games ran fine in the past. Plasma and other desktop apps also ran fine meanwhile. I can watch YouTube with HWAccel on.

The problem disappeared after I rebooted. But it reappeared after some times. Often as early as just right after closing a game, making restarting a game rendered no other games launching until reboot. I have other stuffs running in the background, so having to reboot to play a game seems like a hassle.

Has anyone else encountered the same problem?

Last edited by TheBill2001 (2025-08-16 02:53:29)

Offline

#2 2025-08-04 16:29:22

TheBill2001
Member
Registered: 2021-08-17
Posts: 15

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

Offline

#3 2025-08-04 16:36:49

TheBill2001
Member
Registered: 2021-08-17
Posts: 15

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

Will be testing with LTS kernel to see if this problem exists there, too. After that, I will attempt to downgrade the driver.

Last edited by TheBill2001 (2025-08-04 16:53:07)

Offline

#4 2025-08-04 21:34:48

Tiikerihai
Member
Registered: 2025-06-25
Posts: 13

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

I have encountered this exact same set of nvidia errors with similar symptoms. However, after I get the error when trying to run a game (missing DX11 in my case) I can try to run the game again and it works fine on second try. I do not need to restart. Mine's a RTX 3060 Ti.

Here's the dmesg

[270347.348535] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[270347.348539] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[270347.348554] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[270347.465026] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[270347.465028] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[270347.465035] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[270347.578374] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[270347.578377] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[270347.578381] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[270347.676187] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[270347.676190] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[270347.676194] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647

Edit here's another fresh one, this one spammed a lot more stuff into dmesg. Same behaviour though, game runs on second try.

[303308.723940] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303308.723949] NVRM: faultbufCtrlCmdMmuFaultBufferRegisterNonReplayBuf_IMPL: Error allocating client shadow fault buffer for non-replayable faults
[303308.757352] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303308.757358] NVRM: faultbufCtrlCmdMmuFaultBufferRegisterNonReplayBuf_IMPL: Error allocating client shadow fault buffer for non-replayable faults
[303308.793890] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303308.793895] NVRM: faultbufCtrlCmdMmuFaultBufferRegisterNonReplayBuf_IMPL: Error allocating client shadow fault buffer for non-replayable faults
[303308.828618] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303308.828623] NVRM: faultbufCtrlCmdMmuFaultBufferRegisterNonReplayBuf_IMPL: Error allocating client shadow fault buffer for non-replayable faults
[303313.015344] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.015355] NVRM: faultbufCtrlCmdMmuFaultBufferRegisterNonReplayBuf_IMPL: Error allocating client shadow fault buffer for non-replayable faults
[303313.029507] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.029513] NVRM: faultbufCtrlCmdMmuFaultBufferRegisterNonReplayBuf_IMPL: Error allocating client shadow fault buffer for non-replayable faults
[303313.084715] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.084719] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[303313.084723] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[303313.151028] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.151031] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[303313.151038] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[303313.401107] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.401111] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[303313.401117] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[303313.474888] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.474891] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[303313.474895] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[303313.562523] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.562525] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[303313.562529] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647
[303313.599024] NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1353
[303313.599028] NVRM: sysmemConstruct_IMPL: *** Cannot allocate sysmem through fb heap
[303313.599032] NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pRmApi->Alloc(pRmApi, device->session->handle, isSystemMemory ? device->handle : device->subhandle, &physHandle, isSystemMemory ? NV01_MEMORY_SYSTEM : NV01_MEMORY_LOCAL_USER, &memAllocParams, sizeof(memAllocParams)) @ nv_gpu_ops.c:4647

Last edited by Tiikerihai (2025-08-05 00:15:28)

Offline

#5 2025-08-05 09:33:50

TheBill2001
Member
Registered: 2021-08-17
Posts: 15

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

Tiikerihai wrote:

I can try to run the game again and it works fine on second try. I do not need to restart.

That also sometime works for me, but very rarely. Spamming launch 10 times and maybe the 11 times the game will launch. Reboot is the most sure way to overcome this.

On other notes, This problem exists on LTS kernel, too. I wanted to downgrade the driver to test but that seems like too much hassle.

Offline

#6 2025-08-11 13:06:05

TheBill2001
Member
Registered: 2021-08-17
Posts: 15

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

Can confirm that 570.153.02 does not have this issue. Downgraded using "downgrade".

Offline

#7 2025-08-15 06:20:27

Tiikerihai
Member
Registered: 2025-06-25
Posts: 13

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

I think driver 580.76.05 fixes this, but it's very hard to confirm without testing for a long period since I never had a way to reproduce it 100% of the time in the first place. I've started a game 5 times in the last 15 hours that the computer has been on, but so far it hasn't happened.

Offline

#8 2025-08-16 02:52:46

TheBill2001
Member
Registered: 2021-08-17
Posts: 15

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

Yeah, it seems to have been fixed with the new driver. Mark as solved for now.

Last edited by TheBill2001 (2025-08-16 02:53:02)

Offline

#9 2025-11-12 01:27:40

Mahbod Karamoozian
Member
Registered: 2023-09-29
Posts: 19

Re: [SOLVED] [NVIDIA] NV_ERR_NO_MEMORY after some time

the issue is back again

Offline

Board footer

Powered by FluxBB