Open xunjieliu opened 2 years ago
Should be solved by upgrading CUDA from 10.1
to 10.2
or above, with advice from a Insta 360 dev
Only cuda 10.2
supported, cuda 11.x
is not support
@XunjieLiu Thanks for sharing the information. I'm facing a similar issue, is the environment you've had success with cuda10.2 on docker?
Only cuda 10.2 supported, cuda 11.x is not support. pls update sdk version to support cuda 10.2
It looked like the latest sdk could support cuda 12. But it's still very slow. I have a RTX-4080 laptop version with 12 GB GPU memory. The demo script only use less than 1GB. CPU is busier than GPU.
Insta360 Studio installed in MacBook m1 with 8 gb memory is faster than Linux laptop with powerful GPU.
I am using this SDK to stitch insta video files(
.insv
files), based on the examplemain.cc
codes. Everything works fine and the functions are normal, but I found that of the most time it is a CPU-intensive task and my GPU seems idle.According to the source codes of
main.cc
in this repo,bool enable_cuda
is defaulted to betrue
, is it the normal case that my CPU does the most work or has something gone wrong with my configuration?My environment
g++ --version
:g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
nvcc --version
:nvidia-smi
:How to reproduce
g++ main.cc -std=c++11 -I../include -L../lib -lMediaSDK -lpthread -ltbb -lcuda -lMNN -o ../bin/stitcherSDKDemo
LD_LIBRARY_PATH
:export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/path/to/MediaSDK/lib
./stitcherSDKDemo -inputs video1.insv video2.insv -output output.mp4