termux-user-repository / tur

A place for all types of Termux packages.
Other
425 stars 82 forks source link

new package: realesrgan-ncnn-vulkan #1021

Closed knyipab closed 4 months ago

knyipab commented 4 months ago

Let me wait for the aarch64 build here and then test on my device (cuz the Github Actions in my repo does build aarch64 pkg). Will provide test result of this package in later comments.

By the way, this git repo uses ssh in submodules (i.e. git@github.com in .gitmodules) which fails in submodules updates during build, so I override termux_step_get_source(). Adjust it if you may find more elegant workaround.

Besides, on-device build might by necessary, because glslangValidator has to be caclled by shell, shown in (this build using ubuntu)[https://github.com/knyipab/tur/actions/runs/9098779611/job/25009778832]. Again, welcome workarond if you know.

knyipab commented 4 months ago

Done and no more editing from me. After refactoring, you may conduct the test below.

realesrgan-ncnn-vulkan -i input.jpg -o output.jpg -t 64 -n realesrgan-x4plus
realesrgan-ncnn-vulkan -i input.jpg -o output.jpg -t 64 -n realesr-animevideov3
realesrgan-ncnn-vulkan -i input.jpg -o output.jpg -t 64 -n realesrgan-x4plus-anime

Note that this app seems no cpu mode supported.

licy183 commented 4 months ago

Thanks!