GpuZelenograd / memtest_vulkan

Vulkan compute tool for testing video memory stability
https://github.com/GpuZelenograd/memtest_vulkan/blob/main/Readme.md
zlib License
291 stars 14 forks source link

Tool uses only up to 90% of vram when more is available #31

Closed TheK0tYaRa closed 7 months ago

TheK0tYaRa commented 7 months ago

Can it be used for full memory range tests?

I have an assumption that my rx5700 fails on full load for some reason. Either vbios has incorrect vram size set or there is a faulty chip. Either way the amdgpu driver times out ring_gfx.

galkinvv commented 7 months ago

Tool uses only 90% of memory since trying to use more typically just leads to UI lockup. However this is not a problem most of the times: from practice most of the times memory errors are caused during transmission time, not during storage time. So testing 100%, 90% or even 20% actually gives nearly identical load on the GPU & memory susbsystem.

If you suppose that you have a problem that appears only with higher then 90% memory load - ypu can try specifying the size manually from command line (in bytes, it will be autorounded to a usablevalue):

./memtest_vulkan 0 7500000000

(and slowly increase the value in last argument). However be ready that some higher values can lead to "Failed allocating memory" errors or to UI lockup.

Also, GPU hangs can be related to the GPU chip itself, not memory. Or if it appears only when memory is nearly full - just to sotware bugs since this case is less tested.

So, from memtesst_vulkan point of view - this is not bug, but a design decision.

TheK0tYaRa commented 7 months ago

Noted, thanks for the information.