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

image corrupted.

Open Xenthio opened this issue 4 years ago • 18 comments

not much else to say 000002

Xenthio avatar Dec 03 '20 06:12 Xenthio

Console output?

Mar2ck avatar Dec 03 '20 10:12 Mar2ck

cain % ./cain-ncnn-vulkan -t 2048 -i ~/desktop/dddd/ -o ~/desktop/smooth/
[0]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0]  bugsbn1=0  buglbia=1  bugcopc=0  bugihfa=0
[0]  fp16p=1  fp16s=1  fp16a=1  int8s=1  int8a=1

Xenthio avatar Dec 04 '20 22:12 Xenthio

This is a known problem on Nvidia+Windows setups.

Nothing you can do right now.

n00mkrad avatar Dec 05 '20 11:12 n00mkrad

please try the latest artifact

nihui avatar Dec 05 '20 12:12 nihui

please try the latest artifact

It still happens for me. RTX 2070S, Windows 10.

https://streamable.com/crhdcp

n00mkrad avatar Dec 05 '20 13:12 n00mkrad

It is not a Nvidia only issue. I'm on Windows 10 2004 with AMD Radeon RX 5700

And this is with the newest build 7ad2d76 00000034

The last build that works for me is 950b863

lextra2 avatar Dec 05 '20 23:12 lextra2

i'm using macOS + Intel graphics

Xenthio avatar Dec 06 '20 04:12 Xenthio

i also have that issue, on windows 10 20h2, rx 5700 xt. tested multiple drivers, from 20.9.1 to the latest 20.12.1, results were the same.

Tsubajashi avatar Dec 10 '20 09:12 Tsubajashi

Me too have artifact issues. The latest cain-ncnn-vulkan has also removed the -t command and the interpolated image is broken even though the display output GPU has been moved so that the GPU to be worked on has no GPU acceleration. 00000008

ghost avatar Dec 11 '20 13:12 ghost

cannot reproduce ...

nihui avatar Dec 11 '20 14:12 nihui

I'm also having this on Ubuntu with Nvidia graphics. Problem starts with action build fb9746a, build 950b863 is the last one that works normally

Mar2ck avatar Jan 22 '21 22:01 Mar2ck

Hi nihui, since you stated that you cannot reproduce it - did you use any workaround when it comes to the driver to increase waiting time before a gpu throws out an error? I don't know the exact word, but I heard about that one.

Tsubajashi avatar Jan 23 '21 10:01 Tsubajashi

Me too have artifact issues. The latest cain-ncnn-vulkan has also removed the -t command and the interpolated image is broken even though the display output GPU has been moved so that the GPU to be worked on has no GPU acceleration. 00000008

experiencing exact same issue. AMD RX590, latest driver.

wb1016 avatar Jun 12 '21 22:06 wb1016

Hi nihui, did you already find a fix or are you still not able to reproduce? i can reliably reproduce, if you want to, we can get in talks and fix it together.

Tsubajashi avatar Aug 12 '21 01:08 Tsubajashi

Been able to reproduce on all tested media. Used both release versions and a version from flow frames, all produced the issue. DAIN and Rife did not suffer the same issue.

78Alpha avatar Aug 17 '21 08:08 78Alpha

Have also done more testing. And it seems that some files work and some do not, without explanation or error. If the author can not reproduce, it may mean they need to test more files. I find it happens more on GIFs. A sample set of 5 had 2 work and the rest fail with a better success rate if converted to WEBP.

78Alpha avatar Sep 21 '21 17:09 78Alpha

I found reasons:

  1. frame size should be divide able by 128 in hight and wide
  2. The GPU needs to be connected to a monitor

Hudaldadi avatar Jun 02 '22 18:06 Hudaldadi

Here aswell, I tried it on „normal“ resolutions like 1280x720 and 1920x1080, and I only have one gpu, igpu disabled. So that may be one reason, but not the overall fix.

Tsubajashi avatar Jun 12 '22 16:06 Tsubajashi