dain-ncnn-vulkan icon indicating copy to clipboard operation
dain-ncnn-vulkan copied to clipboard

Creates black images with "vkQueueSubmit failed -4"

Open fluffyloopy opened this issue 4 years ago • 6 comments

image

fluffyloopy avatar Oct 31 '20 21:10 fluffyloopy

I think it's a bug of graph card. I have same error with intel, but fine with Nvidia card. I guess it may be related to the Graphics RAM or bit width. Maybe reducing the GPU usage of other programs will help. Just guessing irresponsibly, I don’t understand this field.

PumpkinCheshire avatar Nov 01 '20 10:11 PumpkinCheshire

Doesnt work with my Nvidia and i dont know how to switch to intel. Checked through task manager and it shows 100% being used on Nvidia GPU. It usually has 2% being used. 2GB Vram.

fluffyloopy avatar Nov 02 '20 13:11 fluffyloopy

try smaller tile-size btw, you may interest in https://github.com/nihui/cain-ncnn-vulkan or https://github.com/nihui/rife-ncnn-vulkan

nihui avatar Dec 05 '20 12:12 nihui

Using smaller tile-size leads to this image RIFE and CAIN works perfectly

Update : rife and cain works for some stuff, produces black or messed up images for others same as dain while dain doesnt work on anything

fluffyloopy avatar Dec 07 '20 11:12 fluffyloopy

image When you use dain-ncnn-vulkan, you can set -g gpu-id to switch gpu

Hurous avatar Jan 27 '21 00:01 Hurous

I encountered the same problem even with rife-ncnn-vulkan Windows 10, i7-6700, 8GB RAM, GTX 1050 Ti 4GB VRAM. I shutdown all other programs that use VRAM. So, I am not convinced it's due to insufficient GPU VRAM at all.

As expected, running the interpolation again only with the previous and the next image is totally fine. Something is wrong when rife-ncnn-vulkan running in batch mode. I then wrote a small python code to automatically repeat this action. fix_black_frames.py.txt

usernamecannotbeempty avatar Nov 25 '21 23:11 usernamecannotbeempty