corpferro.blogg.se

Usb 3.0 uvc camera control in c++
Usb 3.0 uvc camera control in c++














watch: unhandled level 2 translation fault (11) at 0xfffffffe, esr 0x83000006 xhci_queue_intr_tx: 3 callbacks suppressed xhci_queue_intr_tx: 2 callbacks suppressed Update: I also saw “unhandled translation fault” kernel oops when using Logitech UVC camera on the faulty Jetson TX1. task: ffffffc0deb32040 ti: ffffffc0def60000 task.ti: ffffffc0def60000 nodelet: unhandled level 3 translation fault (11) at 0x000003fc, esr 0x92000007 Jkjung, I also get random kernel panics when using a Point Grey USB3 camera with ROS. xhci_queue_intr_tx: 5 callbacks suppressed pwm_fan_driver pwm-fan.35: Disabled vdd-fan pwm_fan_driver pwm-fan.35: Enabled vdd-fan xhci_queue_intr_tx: 1 callbacks suppressed (Note the same test runs OK on Jetson TK1.) And the older TX1 board usually hard-hangs within 2~3 hours. When running the gpu hog program with UVC camera source, I can see xhci related messages in dmesg.$ export LD_LIBRARY_PATH=/home/ubuntu/opencv-3.1.0/lib:$LD_LIBRARY_PATH $ g++ -o hog -I /home/ubuntu/opencv-3.1.0/include -O2 -g -Wall hog.cpp -L /home/ubuntu/opencv-3.1.0/lib -lopencv_core -lopencv_imgproc -l opencv_flann -l opencv_imgcodecs -lopencv_videoio -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_objdetect -lopencv_photo -lopencv_features2d -lopencv_calib3d -lopencv_stitching -lopencv_videostab -lopencv_shape -lopencv_cudaobjdetect -lopencv_cudawarping -lopencv_cudaimgproc Compile and run the OpenCV gpu “hog” sample program with Logitech C920r camera as the video source.# GTK development libraries (to allow creating graphical windows)Ĭmake -DWITH_CUDA=ON -DCUDA_ARCH_BIN="5.3" -DCUDA_ARCH_PTX="" -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DCUDA_FAST_MATH=ON -DCMAKE_INSTALL_PREFIX=/home/ubuntu/opencv-3.1.0. # OpenGL development libraries (to allow creating graphical windows) # Video4Linux camera development libraries

Usb 3.0 uvc camera control in c++ install#

Sudo apt-get install -y libavformat-dev libavutil-dev libswscale-dev # libav video input/output development libraries Sudo apt-get install -y build-essential make cmake cmake-curses-gui g++ Here’s how I reproduce the problem on Jetson TX1.ĭownload “OpenCV for Linux/Mac (Version 3.1)” from Ĭompile and install OpenCV-3.1.0 by following the official Jetson Installing_OpenCV guide. I’ll post more information, such as S/N, about the boards later. 2015), but it’s very difficult to repro the problem on the newer board. I can now conclude that the USB hard-hanging problem is more easily reproduced on the older board (bought around Dec.














Usb 3.0 uvc camera control in c++