Open Feriman22 opened 1 year ago
As for an armhf build, ncnn supports armhf, so it should be able to be compiled for it, though it may be slow depending on the attached GPU.
However, I strongly advise not using the snapcraft version of waifu2x-ncnn-vulkan. Snap (who maintain that distribution) has not updated it since April 30th, 2019, and it should be considered abandoned.
Are you using the 32-bit version of Raspberry Pi OS or the 64-bit version?
I use 32-bit version. Is there any solution to upscale images with Raspberry Pi?
I don't have a Pi 4, but I'll try compiling on my pi 3 tomorrow, if it doesn't break your use case, can you try with 64-bit Raspberry Pi OS?
You could also try compiling a 32-bit arm version using the build instructions, and report back if you get any errors.
(The Pi 4 is an arm64
processor on the inside, however when running on a 32-bit operating system, it reports itself as the older 32-bit armhf
architecture, and so it might work under a 64-bit OS as far as I know.)
Please let me know the result of compiling on your RPi 3, regarding filesize/increasing rate/elapsed time.
Thanks!
I'll try build it on my RPi4 soon.
I didn't get it to compile, but I might have screwed up the dev environment. How does it go for you?
I tried to build it on my Raspberry Pi 4, but I got an error:
root@RPi4:/tmp/waifu2x-ncnn-vulkan/build# cmake ../src
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/tmp/waifu2x-ncnn-vulkan/build/CMakeFiles/CMakeOutput.log".
The log file contains:
The system is: Linux - 5.10.78-7-osmc - aarch64
So I cannot build it on my device.
Hy,
I tried to install it on my Raspberry Pi 4 (based on Raspbian).
Install command:
sudo snap install waifu2x-ncnn-vulkan
Then I got this error:
Can it be modified to run on this device?
Thanks, Feriman