Package Details: waifu2x-ncnn-vulkan-git 20210521.r0.g4981ffc-1

Git Clone URL: (read-only, click to copy)
Package Base: waifu2x-ncnn-vulkan-git
Description: waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan
Upstream URL:
Licenses: MIT
Conflicts: waifu2x-ncnn-vulkan, waifu2x-ncnn-vulkan-bin
Provides: waifu2x-ncnn-vulkan
Submitter: salviati
Maintainer: PumpkinCheshire
Last Packager: PumpkinCheshire
Votes: 7
Popularity: 0.005579
First Submitted: 2019-07-20 00:31 (UTC)
Last Updated: 2021-05-28 03:18 (UTC)

Required by (2)

Sources (1)

Latest Comments

1 2 3 Next › Last »

ImperatorStorm commented on 2021-12-04 23:55 (UTC)

Is there a reason why this depends on glslang-git, and not just glslang?

PumpkinCheshire commented on 2020-11-01 12:01 (UTC)

Hi, I think I solved the build dependency problem. Just add -DGLSLANG_TARGET_DIR="/usr/lib/cmake/" to specify the glslangTarget.cmake path. This should work for ncnn and all packages with submodule of ncnn. In this way, you can remove the submodules downloading and use 'ncnn-git' as make dependency.

Thank you for your package. I made dain-ncnn-vulkan and cain-ncnn-vulkan and fixed the load_module issue, hope that will be helpful for you too.

katt commented on 2020-08-24 16:35 (UTC)

If that happens maybe simply enforce the -git variant of the dependency?

Still, at the very least follow the guidelines for submodules so that it can get cached.

ipha commented on 2020-08-24 16:01 (UTC)

I'll switch to system webp/ncnn on the stable package, but I'm hesitant to use system ncnn on this -git package. It depends on a specific version of ncnn that is sometimes between the latest release and head.

SR-G commented on 2020-08-24 15:53 (UTC) (edited on 2020-08-24 15:54 (UTC) by SR-G)

That same problem with "Whoops! Connection failed. Please try again. If the problem persists, contact our customer support." is back. So 3.7.4 has NOT resolved the problem (as i'm still running that exact 3.7.4 binary) and the problem was related to something else.

In the end, NordVPN is just unusable for me in any way, there are so many different errors over time. - This ARCH package does not seem very active / no real help here (maybe because no one has any knowledge about the potential issues) - NordVPN support is not willing to help in any way (because i'm not using one of the packaged created by NordVPN) - There are 0 detailled logs attached to that NordVPN binary and that could lead to a possible problem / a possible solution

Anyway i'm done with nordvpn in this state, and as soon as my subscription is going to be expired, i'll check another VPN provider.

katt commented on 2020-08-24 12:38 (UTC) (edited on 2020-08-24 14:31 (UTC) by katt)

This comment was originally about submodule guidelines, but after looking at the CMakeLists.txt I found out you can use system ncnn and libwebp.

Could you make it use system ncnn and libwebp instead of submodules? Would make re-compiling faster and done properly instead of re-downloading (and re-compiling) it each time.

diff --git a/PKGBUILD b/PKGBUILD
index db519ce..77d6171 100644
@@ -2,13 +2,13 @@
 # Contributor: Utkan Güngördü <>

 pkgdesc="waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan"
-depends=('vulkan-icd-loader' 'vulkan-driver')
-makedepends=('git' 'cmake' 'glslang' 'vulkan-headers')
+depends=('vulkan-icd-loader' 'vulkan-driver' 'libwebp')
+makedepends=('git' 'cmake' 'glslang' 'vulkan-headers' 'ncnn')
 arch=('i686' 'x86_64')
@@ -27,9 +27,6 @@ pkgver() {
 prepare() {
     cd "${srcdir}/waifu2x-ncnn-vulkan"

-    # init ncnn submodule
-    git submodule update --init --recursive
     # Fix default model path
     sed -i 's|path_t model = PATHSTR("models-cunet")|path_t model = PATHSTR("/usr/share/waifu2x-ncnn-vulkan/models-cunet")|' src/main.cpp
@@ -40,6 +37,9 @@ build() {
     cd build
     cmake \
         -DCMAKE_INSTALL_PREFIX=/usr \
+        -DGLSLANG_TARGET_DIR=/usr/lib/cmake \
+        -DUSE_SYSTEM_NCNN=on \
+        -DUSE_SYSTEM_WEBP=on \

ipha commented on 2020-05-22 17:24 (UTC)

Thanks, I updated the pkgbuild for the ncnn submodule.

kescherAUR commented on 2020-05-22 15:39 (UTC)

Had to add

git submodule update --init

to the prepare function after the cd command.

OrakMoya commented on 2020-05-10 09:28 (UTC)

Now it works, good work