Package Details: waifu2x-ncnn-vulkan-git 20200606.r0.gcd12dff-1

Git Clone URL: https://aur.archlinux.org/waifu2x-ncnn-vulkan-git.git (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: https://github.com/nihui/waifu2x-ncnn-vulkan
Licenses: MIT
Conflicts: waifu2x-ncnn-vulkan
Provides: waifu2x-ncnn-vulkan
Submitter: salviati
Maintainer: ipha
Last Packager: ipha
Votes: 7
Popularity: 0.49
First Submitted: 2019-07-20 00:31
Last Updated: 2020-06-06 21:59

Latest Comments

1 2 3 Next › Last »

katt commented on 2020-08-24 16:35

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. https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_submodules

ipha commented on 2020-08-24 16:01

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

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

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
 # Contributor: Utkan Güngördü <utkan@freeconsole.org>

 pkgname=waifu2x-ncnn-vulkan-git
-pkgver=20200606.r0.gcd12dff
+pkgver=20200818.r0.g8b5c1cd
 pkgrel=1
 pkgdesc="waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan"
 url="https://github.com/nihui/waifu2x-ncnn-vulkan"
 license=('MIT')
-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')
 conflicts=('waifu2x-ncnn-vulkan')
 provides=('waifu2x-ncnn-vulkan')
 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 \
         ..
     make
 }

ipha commented on 2020-05-22 17:24

Thanks, I updated the pkgbuild for the ncnn submodule.

kescherAUR commented on 2020-05-22 15:39

Had to add

git submodule update --init

to the prepare function after the cd command.

OrakMoya commented on 2020-05-10 09:28

Now it works, good work

ipha commented on 2020-05-05 13:15

I've added a ncnn package that follows releases instead of git master. Try removing ncnn-git then rebuilding.

PowerMan2206 commented on 2020-05-05 10:08

Like the others said, the output is always a black image (just sayin').

OrakMoya commented on 2020-05-01 23:18

Tried your value and the minimum, 32. Both returned black image. I will start an issue on the github page.