2 Replies Latest reply on Jan 17, 2017 9:04 PM by alex.j_1416716

    FX3/UVC/LINUX STREAMING

    alex.j_1416716

      Hi,

         

      I am working on FX3 camera with UVC protocol. It is working fine with windows and getting rgb(rgb sensor) preview on Amcap. But when I am trying with Linux, preview is dropping after receiving one frame in almost all Linux uvc applications such as guvcview,mplayer,cheese etc.. I have also tried with ffmpeg dump which has given 1 frame as well. But stream is coming continuously from camera side. I have verified these packets using USB analyzer at host side. But Linux uvc application is getting empty buffer after receiving first frame.

         

      Do we need any configuration change at device endpoint while using with Linux devices?

         

      Any descriptor dependency with Linux devices?

         

       

         

      Thanks,

         

      Alex

        • 1. Re: FX3/UVC/LINUX STREAMING
          nisa

          What is the throughout/data-rate you are streaming ? What's your resolution/fps and image format? Please enable uart debug messages in the FX3 firmware and check if there is any failure during the streaming. Also, register for  PIB callback and check if there are any PIB error. CyU3PPibRegisterCallback (CyFxUvcAppPibCallback, CYU3P_PIB_INTR_ERROR); Streaming can stop for any reason, but we need to identify the cause. I suggest you that you also check with one lower resolution. Please refer to AN75779 to see the implementation of the PIB callback.

          • 2. Re: FX3/UVC/LINUX STREAMING
            alex.j_1416716

            Hi Nishant,

               

            Thanks for your suggestions.

               

            I have fixed the issue with Linux for FX3 camera. Basically, certain queries are not handled at our firmware side. I have tested with v4l2 and uvcvideo drivers in debug mode which captured all these failures.

               

            Thanks,

               

            Alex