notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
waifu2x-ncnn-vulkan Scale and denoise images using convolutional neural networks
20220728 graphics on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20220728Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-10-07 12:58:10
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: MIT
WWW:
https://github.com/nihui/waifu2x-ncnn-vulkan
Description:
ncnn implementation of waifu2x converter. Runs fast on Intel / AMD / Nvidia with Vulkan API.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/waifu2x-ncnn-vulkan
  2. /usr/local/share/licenses/waifu2x-ncnn-vulkan-20220728/catalog.mk
  3. /usr/local/share/licenses/waifu2x-ncnn-vulkan-20220728/LICENSE
  4. /usr/local/share/licenses/waifu2x-ncnn-vulkan-20220728/MIT
Collapse this list.
Dependency lines:
  • waifu2x-ncnn-vulkan>0:graphics/waifu2x-ncnn-vulkan
To install the port:
cd /usr/ports/graphics/waifu2x-ncnn-vulkan/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/waifu2x-ncnn-vulkan
  • pkg install waifu2x-ncnn-vulkan
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: waifu2x-ncnn-vulkan
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1659015177 SHA256 (nihui-waifu2x-ncnn-vulkan-20220728_GH0.tar.gz) = c3dcd3b4e3ebb7ac64ddfc0714c065432dbf385a1928fb95d6dea5cc307ced47 SIZE (nihui-waifu2x-ncnn-vulkan-20220728_GH0.tar.gz) = 34076924

Expand this list (4 items)

Collapse this list.

SHA256 (KhronosGroup-glslang-11.9.0-19-g86ff4bca_GH0.tar.gz) = f7a19b57af200feeba77a5cc010fc031ba47c32287cb1438440ad32628fb798a SIZE (KhronosGroup-glslang-11.9.0-19-g86ff4bca_GH0.tar.gz) = 3535721 SHA256 (Tencent-ncnn-20220721-10-gb4ba207c_GH0.tar.gz) = 30cf8c702d4805bbefc990d622293d3a93d36c8328977c2e28d6cc1846786396 SIZE (Tencent-ncnn-20220721-10-gb4ba207c_GH0.tar.gz) = 12236168

Collapse this list.


Packages (timestamps in pop-ups are UTC):
waifu2x-ncnn-vulkan
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2022072820220728202101022022072820220728-20210102-
FreeBSD:13:quarterly2022072820220728-2022072820220728-2022072820220728
FreeBSD:14:latest2022072820220728-2022072820220728--20220728
FreeBSD:14:quarterly2022072820220728-2022072820220728-2022072820220728
FreeBSD:15:latest2022072820220728n/a20220728n/a-2022072820220728
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. vulkan-headers>0 : graphics/vulkan-headers
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
Library dependencies:
  1. libwebp.so : graphics/webp
  2. libvulkan.so : graphics/vulkan-loader
This port is required by:
for Run
  1. graphics/vapoursynth-waifu2x-ncnn-vulkan

Configuration Options:
No options to configure
Options name:
graphics_waifu2x-ncnn-vulkan
USES:
cmake compiler:c++11-lib
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/nihui/waifu2x-ncnn-vulkan/tar.gz/20220728?dummy=/
Collapse this list.

Number of commits found: 31

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
20220728
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20220728
28 Jul 2022 16:07:15
commit hash: a8a525f94143f9d5384fd0c709ae041e9c74ef20commit hash: a8a525f94143f9d5384fd0c709ae041e9c74ef20commit hash: a8a525f94143f9d5384fd0c709ae041e9c74ef20commit hash: a8a525f94143f9d5384fd0c709ae041e9c74ef20 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20220728

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20220728
Reported by:	GitHub (watch releases)
20220419
19 Apr 2022 19:33:01
commit hash: 1b1a7a86ad90c73f387ae980f3b47a9b374d8c1dcommit hash: 1b1a7a86ad90c73f387ae980f3b47a9b374d8c1dcommit hash: 1b1a7a86ad90c73f387ae980f3b47a9b374d8c1dcommit hash: 1b1a7a86ad90c73f387ae980f3b47a9b374d8c1d files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20220419

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20220419
Reported by:	GitHub (watch releases)
20210521
21 May 2021 15:53:55
commit hash: 60c3810dd2f94f2b4c56f9f717624c56f22f4030commit hash: 60c3810dd2f94f2b4c56f9f717624c56f22f4030commit hash: 60c3810dd2f94f2b4c56f9f717624c56f22f4030commit hash: 60c3810dd2f94f2b4c56f9f717624c56f22f4030 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20210521

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20210521
Reported by:	GitHub (watch releases)
20210210
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
20210210
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20210210
10 Feb 2021 14:46:04
Revision:564862Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20210210

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20210210
Reported by:	GitHub (watch releases)
20210102
31 Jan 2021 01:17:52
Revision:563443Original commit files touched by this commit
jbeich search for other commits by this committer
aarch64 support OpenMP since FreeBSD 12.2
20210102
02 Jan 2021 12:57:28
Revision:559933Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20210102

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20210102
Reported by:	GitHub (watch releases)
20200818
23 Dec 2020 20:12:36
Revision:559023Original commit files touched by this commit
jbeich search for other commits by this committer
devel/glslang: move to graphics/ where shaderc is
20200818
23 Dec 2020 20:12:15
Revision:559022Original commit files touched by this commit
jbeich search for other commits by this committer
devel/vulkan-*: move to graphics/ where vulkan-loader is

Vulkan isn't used for generic compute workloads unlike OpenCL.
For example, waifu2x-ncnn-vulkan is still graphics-related.
20200818
21 Oct 2020 20:30:15
Revision:552895Original commit files touched by this commit
pkubaj search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: fix build on powerpc*

Merge
https://github.com/Tencent/ncnn/commit/7ace8a933db1da8e9734b3988f332dbf672d4dd2

MFH:		2020Q4 (fix build blanket)
20200818
18 Aug 2020 17:46:48
Revision:545239Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200818

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20200818
Reported by:	GitHub (watch releases)
20200606_3
08 Aug 2020 20:50:12
Revision:544526Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: back out r539374

ncnn API is not stable, updates frequently break this port.
Binary is also smaller when using bundled ncnn.

 $ size $(which waifu2x-ncnn-vulkan)
    text    data     bss     dec     hex filename
-7245567  242384   58992 7546943  73283f /usr/local/bin/waifu2x-ncnn-vulkan
+3281223    3152   58840 3343215  33036f /usr/local/bin/waifu2x-ncnn-vulkan

$ waifu2x-ncnn-vulkan -i foo.png -o bar.png
[0 Intel(R) HD Graphics 530 (SKL GT2)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 Intel(R) HD Graphics 530 (SKL GT2)]  bugsbn1=0  buglbia=0  bugcopc=0 
bugihfa=0
[0 Intel(R) HD Graphics 530 (SKL GT2)]  fp16p=1  fp16s=1  fp16a=1  int8s=1 
int8a=1
pipeline specialization count mismatch, expect 4 but got 1
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20200606_2
28 Jul 2020 18:04:32
Revision:543625Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: rebuild after r543619
20200606_1
16 Jun 2020 17:53:38
Revision:539374Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: back to misc/ncnn (like before r537055)
20200606
06 Jun 2020 13:50:41
Revision:538090Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200606

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200530...20200606
Reported by:	GitHub (watch releases)
20200530
30 May 2020 07:14:43
Revision:537055Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200530

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200414...20200530
Reported by:	GitHub (watch releases)
20200414
14 Apr 2020 17:33:39
Revision:531708Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200414

Previous version stopped building after r531698:

src/waifu2x.cpp:123:34: error: no matching member function for call to 'create'
                waifu2x_preproc->create(waifu2x_preproc_tta_int8s_spv_data,
sizeof(waifu2x_preproc_tta_int8s_spv_data), "waifu2x_preproc_tta_int8s",
specializations, 9, 9);
                ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/include/ncnn/pipeline.h:44:9: note: candidate function not viable:
requires 4 arguments, but 6 were provided
    int create(VkShaderModule shader_module, const
std::vector<vk_specialization_type>& specializations, int binding_count, int
push_constant_count);
        ^
/usr/local/include/ncnn/pipeline.h:40:9: note: candidate function not viable:
requires 3 arguments, but 6 were provided
    int create(const uint32_t* spv_data, size_t spv_data_size, const
std::vector<vk_specialization_type>& specializations);
        ^
/usr/local/include/ncnn/pipeline.h:42:9: note: candidate function not viable:
requires 3 arguments, but 6 were provided
    int create(int shader_type_index, const Option& opt, const
std::vector<vk_specialization_type>& specializations);
        ^

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200224...20200414
Reported by:	GitHub (watch releases)
20200224
14 Apr 2020 17:05:43
Revision:531707Original commit files touched by this commit
yuri search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: Fix index
20200224
08 Mar 2020 21:55:55
Revision:528081Original commit files touched by this commit
jbeich search for other commits by this committer
Document OpenMP from base system cannot be used in some cases
20200224
29 Feb 2020 15:53:41
Revision:527424Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200224

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200223...20200224
Reported by:	GitHub (watch releases)
20200223
23 Feb 2020 07:18:01
Revision:526880Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200223

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200222...20200223
Reported by:	GitHub (watch releases)
20200222
22 Feb 2020 08:54:44
Revision:526745Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20200222 (nop)

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/b373ce2...20200222
20190712.6_2
12 Jan 2020 00:52:24
Revision:522738Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: rebuild after r522720
20190712.6_1
25 Dec 2019 15:02:40
Revision:520874Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: rebuild after r520779
20190712.6
07 Nov 2019 00:54:02
Revision:516935Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: update to 20190712.6

Changes:	https://github.com/nihui/waifu2x-ncnn-vulkan/compare/1c705b3...b373ce2
20190712.5
20 Oct 2019 00:48:10
Revision:514864Original commit files touched by this commit
jbeich search for other commits by this committer
science/ncnn: enable Vulkan support

Required by graphics/waifu2x-ncnn-vulkan

PR:		241114
Approved by:	yuri (maintainer)
20190712.5
12 Oct 2019 00:26:02
Revision:514307Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: cannot build yet
20190712.5
07 Oct 2019 12:58:04
Revision:513943Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/waifu2x-ncnn-vulkan: add new port

ncnn implementation of waifu2x converter. Runs fast on Intel / AMD /
Nvidia with Vulkan API.

https://github.com/nihui/waifu2x-ncnn-vulkan

Number of commits found: 31