BundleFusion icon indicating copy to clipboard operation
BundleFusion copied to clipboard

FriedLiver stuck

Open liangxu007 opened this issue 7 years ago • 20 comments

Hi, everyone. I have some problems when using Kinect 2.0 for online Reconstruction. In zParametersDefault.txt I changed s_sensorIdx to 2, and it compiled successfully. My platform is Windows 10、Cuda 9.1、VS2013、Kinect SDK 2.0、Microsoft DirectX SDK (June 2010). Everytime I set the program running, it stuck, without any response. Thanks very much for any suggestions!

liangxu007 avatar Feb 01 '18 09:02 liangxu007

error

liangxu007 avatar Feb 01 '18 09:02 liangxu007

Try to change the parameter "s_maxNumImages " from 1200 to 400, in the zParametersBundlingDefault.txt

xiaomaoo avatar Feb 05 '18 08:02 xiaomaoo

@xiaomaoo I tried but it stuck again. Even change to 100, it stuck again.

liangxu007 avatar Feb 07 '18 10:02 liangxu007

Hope this help for you (or the guys who are struggling with build stage using Kinect One), but I'm trying to adapt OpenNI2 patched with libfreenect2 to make Kinect One work in this project. Currently, I can read only the first frame of stream, but I think It can be solved after I figure out some data processing methods...

I'm currently working on the platform with Windows 10, CUDA 9.0, VS 2015.

bundlefusion

Keudeugi avatar Mar 08 '18 19:03 Keudeugi

@Keudeugi Hi, have you figured out the data processing methods now?

liangxu007 avatar Mar 24 '18 07:03 liangxu007

I also tested my Kinect V2 (for XBox One) under the FriedLiver.exe, but it still stuck at the moment. So I have tested both kinds of Kinect and the FriedLiver stuck at the two conditions.

quanqhow avatar Mar 24 '18 12:03 quanqhow

@Keudeugi Hi, what's your directX version ?

psyduck04 avatar Jul 05 '18 12:07 psyduck04

@94zhaofang Since my O/S is Windows 10, as well as I didn't installed any additional drivers for DirectX, I think it doesn't matter for Direct X version. One thing I remember is this project is using somehow lower version than default Windows 10's version, which is 12. (In short, a version around ~ X11 is used for this project)

Keudeugi avatar Sep 08 '18 06:09 Keudeugi

@liangxu007 Sorry for late reply, but I gave modifying up since it spent too much time (Because the reason that I don't have enough knowledge in this field still). Please mention me if there's a people who make it work with Kinect One.

Keudeugi avatar Sep 08 '18 06:09 Keudeugi

@Keudeugi hi,when i use this project with vs2015, i met the problem here: error C2280: 'ml::D3D11Canvas2D::ElementBillboard::ElementBillboard(const ml::D3D11Canvas2D::ElementBillboard &)': attempting to reference a deleted function do you know how to solve this problem ??

hejinying avatar Mar 14 '19 06:03 hejinying

I have the same issue as @hejinying . Any ideas?

tkbala avatar Jun 24 '19 02:06 tkbala

Same question. The program is stuck at the very beginning.

FishHe avatar May 15 '20 03:05 FishHe

Same question. The program is stuck at the very beginning.

Have you solved that?

kuangqi93 avatar Aug 13 '20 12:08 kuangqi93

I have tested on Win10 +CUDA 10.2 + VS2013 + GTX 2080 Super. The most important fix is: #56

FishHe avatar Aug 14 '20 09:08 FishHe

@liangxu007 Did you solve the problem of the window stuck when the program starts.

chethanab16 avatar Aug 20 '20 05:08 chethanab16

I have tested on Win10 +CUDA 10.2 + VS2013 + GTX 2080 Super. The most important fix is: #56

@FishHe I have tried this! but it did not fix the problem.

chethanab16 avatar Aug 23 '20 13:08 chethanab16

Hi, guys. There is some problem with my project when I using KinectOneV2(My environment is Win10, VS2013, CUDA8.0, and RTX2080Ti), I don't know whether my GPU can't support CUDA8.0. When I running my .exe, it stuck, then crash without any response. The FriedLiver window just gets dark. Does anyone have some solutions to help me to solve this problem? Thank you so much.

BruceWANGDi avatar Oct 12 '20 01:10 BruceWANGDi

I think the reason for this problem is that the thread is locked while waiting for SIFT feature extraction, which makes it unable to continue execution. However, I don't know what causes the feature extraction failure.

Please see the DepthSensing.cpp line 1016 and line 1017:

1016: //wait until the bundling thread is done with: sift extraction, sift matching, and key point filtering 1017: ConditionManager::lockBundlerProcessedInput(ConditionManager::Recon);

mshmoon avatar Jan 22 '21 09:01 mshmoon

After further debugging, I found that the program can execute the code to extract SIFT features, but when the program runs to ProgramCu.cu line 1424,it can be stuck! int ProgramCU::CheckErrorCUDA(const char* location) { #if (defined(_DEBUG) || defined(DEBUG)) cudaDeviceSynchronize(); cudaError_t e = cudaGetLastError(); if (e) { if (location) fprintf(stderr, "%s:\t", location); fprintf(stderr, "%s\n", cudaGetErrorString(e)); assert(0); return 1; } else { return 0; } #else

mshmoon avatar Jan 22 '21 12:01 mshmoon

@mshmoon Hi, do you have further progress on solving the problem? Thanks

Jason-YJ avatar Mar 01 '21 11:03 Jason-YJ