-
Notifications
You must be signed in to change notification settings - Fork 6
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
Makefile Arm SSE fix #2
Conversation
Thanks a lot Jim (@jetsonhacks) ! I wanted to fix that for the longest time but didn't have access to a TK1. I will look at the request later. |
Hi Mehran, In the request, I tried to look to see if SSE is available on the The latest fork does not work with the TK1, the RGB stream is black. I I have recompiled a TK1 Linux kernel with the patches in the I've been playing with workarounds to get the camera running without the https://github.com/jetsonhacks/setupR200-Jetson The issue appears to be that the video streams halt after being used the This generally clears the -EPIPE error that I'm sure you've seen. I also converted the Qt Creator files over to use the UVC backend: https://github.com/jetsonhacks/R200-UVC-Examples In the examples folder there is sample which uses the workaround Looking through the changes to your code base, I think one thing to Best, Jim On 6/2/16 11:09 AM, Mehran Maghoumi wrote:
|
Two more points of information:
The script that loads the glfw library in the librealsense scripts folder loads the 'latest' tag, which equates to 3.2 (or greater going forward).
|
@jetsonhacks Could you link to the repository which is worked! I received a black image as well. |
OK thanks for the responses @jetsonhacks, I will look into this soon. |
I am working on SSE2NEON, I could compile librealsense using neon, and RS_FORMAT_Y8 works good, but RS_FORMAT_RGB8 still does not work correctly. |
OK, I've been able to reproduce the problem on my Jetson TX1. I'm now getting the hard freezes. I am currently looking into it and it may take a couple of days. I apologize for any inconveniences. @jetsonhacks I will incorporate this pull request after I've fixed the problem with the sensor not working at all.
Unfortunately, that is not possible currently as I'm 99% sure the PR will get rejected due to the ARM support not being robust at all. I will plan to send them a PR once I've found a reliable ARM NEON implementation. @ZahraBoroujeni That's great news! I will look into your repository when I find some time on my hands. |
I pushed a new version and incorporated @jetsonhacks fixes. |
I can confirm that I can see the RGB/IR/Depth images now with the new version. My Platform and situation:
Situation: The second run works. I do not need to plug/unplug the camera, I need to run the program twice!
|
@ZahraBoroujeni well glad to hear that at least it works most of the times! I'd blade that on the fact that your board is not "officially" supported. Heck, people are still having problems with "supported" boards too (you can tell by looking at the issues reported in the original repository). Also, RealSense sensors are all still dev-kits and are not consumer-ready yet, so issues are expected. |
@Maghoumi this works with the Jetson TK1 and R200 camera. |
@Maghoumi sorry for the late answer. To Patch the kernel for odroid,
|
@ZahraBoroujeni Thanks. |
@Maghoumi I have not looked at bringing this code over to the TX1, but I think that the sources for both kernels for uvcvideo are the same, so it should work. |
The
When running programs for the first time, there might arise error like
dmesg is like
replug the device seems to solve that. The frame rate of Thanks to all of you guys! |
It seems it does not patched correctly! Because it does not find UVC commit control! "Hint: do not pay attention about the name, the image works for xu4, " |
Thanks for your help ;-) @ZahraBoroujeni, it turns out that it's a missing OpenGL library causing the |
Currently the Makefile for librealsense does not work on the Jetson TK1. This patch checks to see if SSE is available on the CPU before enabling the -msse flags. The TK1 is an ARM processor, which does not have SSE instructions, and the compiler chokes when it sees a SSE flag enabled.