facebookarchive / Surround360

Surround360 is Facebook's open source hardware and software for capturing stereoscopic 3D 360 video for VR. The repo contains hardware designs, as well as software for camera control and rendering.
Other
2.17k stars 581 forks source link

Possiblility of building with no GPU #245

Open Tangelo1 opened 7 years ago

Tangelo1 commented 7 years ago

Would it be at all possible to build and run just the camera capture software, standalone with no GPU just integrated graphics?

aparrapo commented 7 years ago

Hi @Tangelo1, you would have to disable the code that does preview. We don't have a flag for it though, I'm afraid you would have to commented it out by hand. I can help you debug if you post your progress here :)

Tangelo1 commented 7 years ago

Hey @aparrapo I think we're gonna go through with it. Where's the code we'd need to disable?

aparrapo commented 7 years ago

There are several places in the camera capture code that refer to preview. One place you could start is here:

https://github.com/facebook/Surround360/blob/master/surround360_camera_ctl_ui/source/CameraController.cpp#L360

Try to comment out that loop and see if that takes care of it.

Tangelo1 commented 7 years ago

I commented out the code that refers to preview. It still wont build but I don't know if it's related to the gpu issue or not

Tangelo1 commented 7 years ago

I rebuilt OpenCV as well and it's still giving me trouble building it.

aparrapo commented 7 years ago

Can you paste the compiler output?

Tangelo1 commented 7 years ago

image

aparrapo commented 6 years ago

Is that the output after commenting out the code mentioned above, or before? I'm trying to understand if it never compiled, even with a fresh download.

jpspgd commented 6 years ago

I'll check with @Tangelo1 but I'm pretty sure that's after he made the change you suggested.

Tangelo1 commented 6 years ago

Yeah that's correct Jay. Haven't been around to it in a while but I believe it still failed on linking a module (I forgot which one exactly). I think I remember OpenCL for some reason?

~Tyler Angelo


From: jpspgd notifications@github.com Sent: Monday, January 22, 2018 12:54:29 PM To: facebook/Surround360 Cc: Tyler Angelo; Mention Subject: Re: [facebook/Surround360] Possiblility of building with no GPU (#245)

I'll check with @Tangelo1https://github.com/tangelo1 but I'm pretty sure that's after he made the change you suggested.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/facebook/Surround360/issues/245#issuecomment-359508684, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIqt1vsDTl-cqaUcqTSFNLAFRf4AAhj5ks5tNMtVgaJpZM4QX_bY.