nihui/rife-ncnn-vulkan

It does not use gpu on linux

yuvraj108c opened this issue · 3 comments

It only uses cpu, even when specifying gpu id. Got same issues with https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan

./rife-ncnn-vulkan -i inputs/ -o out/ -g 0
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 llvmpipe (LLVM 15.0.7, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=1

GPU: RTX 4000
OS: Ubuntu 22

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01             Driver Version: 535.113.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA RTX A4000               Off | 00000000:05:00.0 Off |                  Off |
| 41%   25C    P8              14W / 140W |      2MiB / 16376MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

You should have a working vulkan driver for the program to use GPU. Please refer to your linux distro for guidance.

USE COMMON RIFE, THIS RIFE IS ONLY FOR CPU

USE COMMON RIFE, THIS RIFE IS ONLY FOR CPU

Is it a joke if I didn't misunderstand it?