nihui / waifu2x-ncnn-vulkan

waifu2x converter ncnn version, runs fast on intel / amd / nvidia / apple-silicon GPU with vulkan
MIT License
3.01k stars 210 forks source link

No image output and broken on AMD Adrenalin 22.5.2 #178

Closed sabihoshi closed 2 years ago

sabihoshi commented 2 years ago

AMD Adrenalin 22.5.2 brings in additional Vulkan extensions and that might've broken it.

In some weird way, it still works if I enable TTA and it outputs an image, but with it disabled, it seems to "succeed" but has no image output and no errors, the reason I think it is working fine is because it takes some time to process instead of failing immediately.

Is there some workaround for this? The only workaround I have for now is downgrading back to 22.5.1. Maybe it's not the fault of the project either but AMD, and could be fixed next update, but just submitting an issue in here just in case.

denny466 commented 2 years ago

oh cool im not alone! same issue with pro driver 22.q2 except it returns 3221226356 not sure if video2x as gui front end matters

denny466 commented 2 years ago

can confirm that TTA works on both waifu and realsr. i have no clue what that is but thanks for the temporary fix!

sabihoshi commented 2 years ago

can confirm that TTA works on both waifu and realsr. i have no clue what that is but thanks for the temporary fix!

TTA averages outputs by upscaling it 8 times in different angles, which means it's 8x slower, so while it may be a fix, it's not really an ideal one. Read more about it in here

sabihoshi commented 2 years ago

This issue has been fixed with 22.6.1 WHQL drivers.