Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libvulkan.so.1 is missing - no guide where to begin #58

Open
rony432 opened this issue Nov 30, 2023 · 1 comment
Open

libvulkan.so.1 is missing - no guide where to begin #58

rony432 opened this issue Nov 30, 2023 · 1 comment

Comments

@rony432
Copy link

rony432 commented Nov 30, 2023

hi,
i have tried binaries for the 3 os's
i cant find any guide anywhere to say what to install, what file/folder should be next to binary.
i am not the only one having this problem.

all im asking is small wiki'ish guide.

i have even found forks of this project that have same issue no guide
binary flags is not a guide.

this command in all 3 os's does noting but error (minus .exe for the linux/mac)
realesrgan-ncnn-vulkan.exe -i input.jpg -o output.png -n realesrgan-x4plus-anime
all machines have GPU non-intel

please some one at least put link for files and folder structure screen shots is enogh.
and installed libraries to make this thing work

**note (i have looked in to this and all forks of this project issue pages still nothing, please dont link me to other issues)

thanks

@NeedsMoar
Copy link

all machines have GPU non-intel

I'm not sure what this means, but do you have the manufacturer drivers from either AMD or NVidia installed, too? The default Windows drivers don't have a recent vulkan if they have one at all.

Various upscalers:

 Directory of C:\CmdLineUtils\bin
07/28/2022  10:27 AM         6,616,576 cain-ncnn-vulkan.exe
07/28/2022  09:59 AM         6,610,944 dain-ncnn-vulkan.exe
06/09/2020  02:16 AM         3,298,304 esrgan-ncnn-vulkan.exe
07/20/2022  10:11 AM         6,394,880 ifrnet-ncnn-vulkan.exe
07/28/2022  05:36 AM         6,656,512 realcugan-ncnn-vulkan.exe
04/24/2022  05:07 AM         6,161,408 realesrgan-ncnn-vulkan.exe
07/28/2022  09:59 AM         6,104,064 realsr-ncnn-vulkan.exe
10/29/2022  04:43 AM         6,974,464 rife-ncnn-vulkan.exe
07/28/2022  10:00 AM         5,392,896 srmd-ncnn-vulkan.exe
07/28/2022  10:03 AM         5,829,120 waifu2x-ncnn-vulkan.exe

realesrgan stores stuff in the .\models subdirectory of wherever it's at by default (snipped a bunch)... You'll notice I said defaults because if you were to run the program with any of the help options or with no options at all you'd get this message telling you how to use it:


  -h                   show this help
  -i input-path        input image path (jpg/png/webp) or directory
  -o output-path       output image path (jpg/png/webp) or directory
  -s scale             upscale ratio (can be 2, 3, 4. default=4)
  -t tile-size         tile size (>=32/0=auto, default=0) can be 0,0,0 for multi-gpu
  -m model-path        folder path to the pre-trained models. default=models
  -n model-name        model name (default=realesr-animevideov3, can be realesr-animevideov3 | realesrgan-x4plus | realesrgan-x4plus-anime | realesrnet-x4plus)
  -g gpu-id            gpu device to use (default=auto) can be 0,1,2 for multi-gpu
  -j load:proc:save    thread count for load/proc/save (default=1:2:2) can be 1:2,2,2:2 for multi-gpu
  -x                   enable tta mode
  -f format            output image format (jpg/png/webp, default=ext/png)
  -v                   verbose output

So there is no single way to set it up, you just have to give it a path to the models because it doesn't use the denoising / scale file naming some of the others do that only allow you to point them at a directory full of models. Also pretend like TTA mode doesn't exist. As far as I can tell nobody knew what it was supposed to be doing when they ported or wrote it. The total lack of documentation of it should clue you in enough but all it's good for is running 9x slower and using 9x the vram per frame.

I keep my models in the models subdirectory because CmdLineUtils\bin is on the path and realesrgan will always look in its own directory for ./models so it saves having to type some annoying long absolute path.

cain defaults to its one large model file being in ./cain

dain stores them in ./best and it's a specific set of files:

 Directory of C:\CmdLineUtils\bin\best

07/28/2022  09:59 AM    <DIR>          .
07/28/2022  09:59 AM    <DIR>          ..
07/28/2022  09:50 AM           313,748 ctxnet.bin
07/28/2022  09:50 AM             1,270 ctxnet.param
07/28/2022  09:50 AM        10,728,564 depthnet.bin
07/28/2022  09:50 AM            23,884 depthnet.param
07/28/2022  09:50 AM        22,092,552 flownet.bin
07/28/2022  09:50 AM            18,029 flownet.param
07/28/2022  09:50 AM        18,291,116 interpolation.bin
07/28/2022  09:50 AM             9,169 interpolation.param
               8 File(s)     51,478,332 bytes
               2 Dir(s)  591,386,542,080 bytes free

ifrnet is usually in Vimeo90k and something with GoPro in the name, I moved them all to models though

esrgan (not real) and realsr default to ./models-DF2K_JPEG

realcugan defaults to ./models-se

rife defaults to ./rife-v2.3 which isn't one of the better models for it. Most people don't need interpolation as much as scaling though so I won't go into that.

srmd defaults to ./models-srmd

waifu2x defaults to ./models-cunet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants