graphics/waifu2x-ncnn-vulkan: update to 20250915 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20250915 Reported by: GitHub (watch releases)0a286edb8a
Port details
graphics/waifu2x-ncnn-vulkan20250915
Scale and denoise images using convolutional neural networks
- Maintainer
- jbeich@FreeBSD.org
- Packages
- waifu2x-ncnn-vulkan 20250915
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/nihui/waifu2x-ncnn-vulkan
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (34)
graphics/waifu2x-ncnn-vulkan: update to 20250802 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20250802 Reported by: GitHub (watch releases)96249d24a1
graphics/waifu2x-ncnn-vulkan: update to 20250504 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20250504 Reported by: GitHub (watch releases)f3a36da5d3
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
graphics/waifu2x-ncnn-vulkan: update to 20220728 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20220728 Reported by: GitHub (watch releases)a8a525f941
graphics/waifu2x-ncnn-vulkan: update to 20220419 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20220419 Reported by: GitHub (watch releases)1b1a7a86ad
graphics/waifu2x-ncnn-vulkan: update to 20210521 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20210521 Reported by: GitHub (watch releases)60c3810dd2
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
graphics/waifu2x-ncnn-vulkan: update to 20210210 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20210210 Reported by: GitHub (watch releases)4867dfec06
aarch64 support OpenMP since FreeBSD 12.270dcbea6e9
graphics/waifu2x-ncnn-vulkan: update to 20210102 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20210102 Reported by: GitHub (watch releases)fd04565dd6
devel/glslang: move to graphics/ where shaderc is722141d9c4
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.8d2b2a2768
graphics/waifu2x-ncnn-vulkan: fix build on powerpc* Merge https://github.com/Tencent/ncnn/commit/7ace8a933db1da8e9734b3988f332dbf672d4dd2 MFH: 2020Q4 (fix build blanket)0b12e7b7a5
graphics/waifu2x-ncnn-vulkan: update to 20200818 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20200818 Reported by: GitHub (watch releases)715e2e3148
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
new_pipeline failed
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
Process 8606 stopped
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
1369
1370 assert(_set < MAX_PUSH_DESCRIPTORS);
1371
-> 1372 struct anv_descriptor_set_layout *set_layout = layout->set[_set].layout;
1373
1374 struct anv_descriptor_set *set =
1375 anv_cmd_buffer_push_descriptor_set(cmd_buffer, template->bind_point,
(lldb) bt
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
* frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
frame #1: 0x00000000004facce waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=0x00000008045e3400, buffer_bindings=0x00007fffc35ea418, image_bindings=0x00007fffc35ea0f0, constants=0x00007fffc35ea400, dispatcher=0x00007fffc35ea110) at command.cpp:1457:13
frame #2: 0x00000000004f981c waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(ncnn::Pipeline const*, std::__1::vector<ncnn::VkMat, std::__1::allocator<ncnn::VkMat> > const&, std::__1::vector<ncnn::vk_constant_type, std::__1::allocator<ncnn::vk_constant_type> > const&, ncnn::VkMat const&) [inlined] ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, buffer_bindings=<unavailable>, image_bindings=0x00007fffc35ea0f0, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1187:5
frame #3: 0x00000000004f97bb waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, bindings=<unavailable>, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1175
frame #4: 0x000000000086b516 waifu2x-ncnn-vulkan`Waifu2x::process(this=0x00007fffffffdd58, inimage=0x00007fffc35eaf30, outimage=0x00007fffc35eaf70) const at waifu2x.cpp:457:25
frame #5: 0x000000000084cd45 waifu2x-ncnn-vulkan`proc(args=0x00007fffffffdb70) at main.cpp:281:18
frame #6: 0x00000008008fd1c9 libthr.so.3`thread_start(curthread=0x0000000807874300) at thr_create.c:292:16f2618c0814graphics/waifu2x-ncnn-vulkan: rebuild after r54361905acd118c9
graphics/waifu2x-ncnn-vulkan: back to misc/ncnn (like before r537055)59276f7683
graphics/waifu2x-ncnn-vulkan: update to 20200606 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200530...20200606 Reported by: GitHub (watch releases)e02c610cf6
graphics/waifu2x-ncnn-vulkan: update to 20200530 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200414...20200530 Reported by: GitHub (watch releases)a184049e82
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)43907ed9d2graphics/waifu2x-ncnn-vulkan: Fix index533781afea
Document OpenMP from base system cannot be used in some cases0c69caeef6
graphics/waifu2x-ncnn-vulkan: update to 20200224 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200223...20200224 Reported by: GitHub (watch releases)0794985631
graphics/waifu2x-ncnn-vulkan: update to 20200223 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/compare/20200222...20200223 Reported by: GitHub (watch releases)3c14867820
graphics/waifu2x-ncnn-vulkan: update to 20200222 (nop) Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/compare/b373ce2...202002226a10adf9c5
graphics/waifu2x-ncnn-vulkan: rebuild after r5227204b7c886b53
graphics/waifu2x-ncnn-vulkan: rebuild after r520779bd58b8b0a8
graphics/waifu2x-ncnn-vulkan: update to 20190712.6 Changes: https://github.com/nihui/waifu2x-ncnn-vulkan/compare/1c705b3...b373ce245c6700537
science/ncnn: enable Vulkan support Required by graphics/waifu2x-ncnn-vulkan PR: 241114 Approved by: yuri (maintainer)4769195fda
graphics/waifu2x-ncnn-vulkan: cannot build yetb447568b38
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-vulkanae16cb6f1b