Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED New Raspberry pi 5 support

    VEYE MIPI camera
    4
    25
    3251
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Vaa last edited by

      Hello, I just interested how soon the driver (and i2c control utilities) for imx462 camera will be updated for the new Raspberry pi 5 support?

      veye_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @Vaa last edited by

        @vaa Hello, we haven't received the Raspberry Pi 5 yet. Once we have it, we will promptly begin the program porting process.

        N 1 Reply Last reply Reply Quote 0
        • N
          natzguk @veye_xumm last edited by

          @veye_xumm Hi do you have any update on the Raspberry Pi 5 support? Thanks

          veye_xumm 2 Replies Last reply Reply Quote 0
          • veye_xumm
            veye_xumm @natzguk last edited by

            @natzguk We've already obtained the Raspberry Pi 5, and we estimate that the driver will be released next week.

            1 Reply Last reply Reply Quote 1
            • veye_xumm
              veye_xumm @natzguk last edited by

              @natzguk
              Hi,
              Over the past few days, we've been attempting to port our driver to the Raspberry Pi 5.
              Unfortunately, we've encountered some issues.
              It seems that on the RPi 5, libcamera is a necessary option, and the Raspberry Pi organization has removed the path for us to directly obtain camera images from the MIPI RX port.
              This is not a final conclusion, and we are still working hard to find a solution.

              N 1 Reply Last reply Reply Quote 0
              • N
                natzguk @veye_xumm last edited by

                @veye_xumm
                Thanks for the update! Hope you can find a solution

                veye_xumm 1 Reply Last reply Reply Quote 0
                • veye_xumm
                  veye_xumm @natzguk last edited by

                  @natzguk
                  Plese check this release :
                  https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.17
                  and this document:
                  https://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi/

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    Vaa @veye_xumm last edited by Vaa

                    @veye_xumm Nice to see you have managed!
                    The second link is not works. There is the last slash must be removed in the URL.
                    I'm going to test it as soon as possible.

                    veye_xumm 1 Reply Last reply Reply Quote 0
                    • veye_xumm
                      veye_xumm @Vaa last edited by

                      @vaa https://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        Vaa @veye_xumm last edited by

                        @veye_xumm Thank you for your support!
                        I have successfully installed RPI5 driver veyecam2m.
                        I somehow managed to get uyuv frame from veye imx462 camera
                        using v4l2-ctl utility. (VLC is not working as mentioned).
                        But in my c++ project I use Linux v4l2 recommended procedure for capturing frames, and it doesn't work (It worked normally for RPI4).
                        VIDIOC_DQBUF fail, VIDIOC_STREAMON fail.
                        What is your recommendation for frame capturing algorythm?

                        veye_xumm 1 Reply Last reply Reply Quote 0
                        • veye_xumm
                          veye_xumm @Vaa last edited by

                          @vaa Before running your program, have you executed the ./media_setting_rpi5.sh veyecam2m script?

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            Vaa @veye_xumm last edited by

                            @veye_xumm Yes, I have. I did everything recommended.
                            Btw, I found VLC can preview ONLY if UYVY colorspace is set. It preview with wrong green-violet picture, but at least it does.

                            veye_xumm 1 Reply Last reply Reply Quote 0
                            • veye_xumm
                              veye_xumm @Vaa last edited by

                              @vaa Yes, indeed. That's what confuse me.

                              V A 2 Replies Last reply Reply Quote 0
                              • V
                                Vaa @veye_xumm last edited by

                                @veye_xumm Are you going to improve your driver's compatibility?

                                veye_xumm 1 Reply Last reply Reply Quote 0
                                • A
                                  alex_ai @veye_xumm last edited by

                                  @veye_xumm Hi, Also trying to use IMX462 on RPi5 and after installing drivers it was detected correctly by rpi5 scripts but can't play it by VLC or my program which use setting on RPi4 like this:

                                  device: v4l2src device=/dev/video0
                                  

                                  Could you please advise what I'm doing wrong?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    alex_ai @alex_ai last edited by

                                    @alex_ai said in New Raspberry pi 5 support:

                                    @veye_xumm Hi, Also trying to use IMX462 on RPi5 and after installing drivers it was detected correctly by rpi5 scripts but can't play it by VLC or my program which use setting on RPi4 like this:

                                    device: v4l2src device=/dev/video0
                                    

                                    Could you please advise what I'm doing wrong?

                                    I managed open stream via gst-launch-1.0 v4l2src ... but my application uses OpenCV it could not open device, @veye_xumm did you try it on RPi5 with python samples?

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      alex_ai @alex_ai last edited by

                                      @alex_ai said in New Raspberry pi 5 support:

                                      I managed open stream via gst-launch-1.0 v4l2src ... but my application uses OpenCV it could not open device, @veye_xumm did you try it on RPi5 with python samples?

                                      In my case OpenCv was without Gstreamer plugin and I had to build it from source code with parameter : -D WITH_GSTREAMER=ON and now issue resolved.
                                      Also after every RPi restart have to run script: ./media_setting_rpi5.sh veyecam2m

                                      @veye_xumm any chances use configuration script ./veye_mipi_i2c.sh on RPi5?

                                      veye_xumm 1 Reply Last reply Reply Quote 0
                                      • veye_xumm
                                        veye_xumm @Vaa last edited by

                                        @vaa

                                        @vaa said in New Raspberry pi 5 support:

                                        Are you going to improve your driver's compatibility?

                                        I don't think it's a driver compatibility issue as both qv4l2 and gstreamer work fine.

                                        1 Reply Last reply Reply Quote 0
                                        • veye_xumm
                                          veye_xumm @alex_ai last edited by

                                          @alex_ai

                                          @alex_ai said in New Raspberry pi 5 support:

                                          any chances use configuration script ./veye_mipi_i2c.sh on RPi5?

                                          No. Just pay attention to i2c bus number.

                                          V A 2 Replies Last reply Reply Quote 0
                                          • V
                                            Vaa @veye_xumm last edited by

                                            @veye_xumm This is not clear to me. For example, how can I switch Infrared filter on/off then? It seems to me the veye_mipi_i2c.sh script is not working at all.

                                            veye_xumm 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post