Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt Creator - Example camera project: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Qt Creator - Example camera project: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Scheduled Pinned Locked Moved Solved Qt 6
10 Posts 4 Posters 1.4k Views
  • 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.
  • QtFriend2024Q Offline
    QtFriend2024Q Offline
    QtFriend2024
    wrote on last edited by QtFriend2024
    #1

    Where do I get libvdpau_nvidia.so?

    • QT Version: 6.7.3
    • Device: NVIDIA Jetson Orin Nano (with JetPack 6)
    • O.S.: Ubuntu 22.04.5 LTS
    • Camera Connector: CSI (Camera Serial Interface)

    Hello, I am trying to run your 'camera' project example on the NVIDIA Jetson Orin Nano device.

    When I run the the program, I get the error shown in the subject of this message. The QT example camera application launches but it won't display anything from the camera. I verified through the terminal that the CSI camera is connected and working by using the command: nvgstcapture-1.0

    Application Output:

    19:47:07: Starting /home/xxxxxx/Qt/Examples/Qt-6.7.3/multimedia/camera/build/Desktop_Qt_6_7_3-Debug/camera...
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    

    More information:

    xxxxx@xxxxxx-nvidia:/lib/aarch64-linux-gnu$ find libvdpau*
    libvdpau.so
    libvdpau.so.1
    libvdpau.so.1.0.0
    

    Thank you for the help

    1 Reply Last reply
    0
    • QtFriend2024Q Offline
      QtFriend2024Q Offline
      QtFriend2024
      wrote on last edited by
      #10

      I am able to create a QT application that uses USB camera. This was my solution.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi and welcome to devnet,

        What about /usr/lib ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          QTDeveloper2023
          wrote on last edited by QTDeveloper2023
          #3

          @SGaist
          oh wow /usr/lib/libvdpau_nvidia.so exists!
          How do I get QT Creator to find it?

          jsulmJ 1 Reply Last reply
          0
          • Q QTDeveloper2023

            @SGaist
            oh wow /usr/lib/libvdpau_nvidia.so exists!
            How do I get QT Creator to find it?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @QTDeveloper2023 said in Qt Creator - Example camera project: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory:

            How do I get QT Creator to find it?

            The loader should actually look there by default. Try to add that folder to LD_LIBRARY_PATH env variable (in Run config in QtCreator).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • Q Offline
              Q Offline
              QTDeveloper2023
              wrote on last edited by
              #5
              This post is deleted!
              1 Reply Last reply
              0
              • QtFriend2024Q Offline
                QtFriend2024Q Offline
                QtFriend2024
                wrote on last edited by
                #6

                @SGaist It turns out that the /usr/lib/libvdpau_nvidia.so is a symlink to a non-existing file.
                Where do I get libvdpau_nvidia.so?

                Thank you

                SGaistS 1 Reply Last reply
                0
                • QtFriend2024Q QtFriend2024

                  @SGaist It turns out that the /usr/lib/libvdpau_nvidia.so is a symlink to a non-existing file.
                  Where do I get libvdpau_nvidia.so?

                  Thank you

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #7

                  @QtFriend2024 are you sure your NVIDIA setup is complete ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  QtFriend2024Q 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @QtFriend2024 are you sure your NVIDIA setup is complete ?

                    QtFriend2024Q Offline
                    QtFriend2024Q Offline
                    QtFriend2024
                    wrote on last edited by QtFriend2024
                    #8

                    @SGaist I followed the setup guide: https://developer.nvidia.com/embedded/learn/get-started-jetson-orin-nano-devkit

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #9

                      What is the exact name of the missing file ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • QtFriend2024Q Offline
                        QtFriend2024Q Offline
                        QtFriend2024
                        wrote on last edited by
                        #10

                        I am able to create a QT application that uses USB camera. This was my solution.

                        1 Reply Last reply
                        0
                        • QtFriend2024Q QtFriend2024 has marked this topic as solved on

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved