tumuyan / RealSR-NCNN-Android

An Android application for super-resolution & interpolation. Contains RealSR-NCNN, SRMD-NCNN, RealCUGAN-NCNN, Real-ESRGAN-NCNN, Waifu2x-NCNN, Anime4kcpp, nearest, bilinear, bicubic, AVIR...
Other
1.02k stars 85 forks source link

Not able to run the default algorithms "vkQueueSubmit failed -4" #13

Open MVR3S opened 2 years ago

MVR3S commented 2 years ago

I can not run real-esrgan and real-cugan algorithms with adreno 618. When I try to run real-esrgan-x4 it prints the following lines:

[0 Adreno (TM) 618] queueC=0[3] queueC=0[3] queueC=0[3] [0 Adreno (TM) 618] bugsbn1=1 bugbilz=0 bugcopc=0 bugihfa=0 [0 Adreno (TM) 618] fp16-p/s/a=1/0/1 int8-p/s/a=1/0/1 [0 Adreno (TM) 618] subgroup=64 basic=1 vote=1 ballot=1 shuffle=1 busy... stbi_load_from_memory get channel 3 input&output w/h/c 529/529/1 2116/2116/1 0.00% vkQueueSubmit failed -4

I have tried to change the tile size and it does not work with real-esrgan-x4 but it work with realsr-ncnn

tumuyan commented 2 years ago

maybe you could try CPU mode

MVR3S commented 2 years ago

maybe you could try CPU mode

If I run with CPU mode the app crashes at the end

tumuyan commented 2 years ago

Maybe real-esrgan-x4 is to large for mobile phone and I don't have others ideas.

cerega000 commented 1 year ago

Experiment with tile size in options. Set it to something low, like 50-60. It's gonna be slow af but this worked for me.