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
QtWS25 Last Chance

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.3k 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.
  • Q Offline
    Q Offline
    QtFriend2024
    wrote on 10 Dec 2024, 14:38 last edited by QtFriend2024 12 Oct 2024, 14:42
    #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
    • Q Offline
      Q Offline
      QtFriend2024
      wrote on 6 Mar 2025, 19:06 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 10 Dec 2024, 20:22 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 11 Dec 2024, 02:42 last edited by QTDeveloper2023 12 Nov 2024, 02:42
          #3

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

          J 1 Reply Last reply 11 Dec 2024, 07:49
          0
          • Q QTDeveloper2023
            11 Dec 2024, 02:42

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

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 11 Dec 2024, 07:49 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 12 Dec 2024, 20:16 last edited by
              #5
              This post is deleted!
              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                QtFriend2024
                wrote on 12 Dec 2024, 20:20 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

                S 1 Reply Last reply 12 Dec 2024, 20:23
                0
                • Q QtFriend2024
                  12 Dec 2024, 20:20

                  @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

                  S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 12 Dec 2024, 20:23 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

                  Q 1 Reply Last reply 13 Dec 2024, 14:48
                  0
                  • S SGaist
                    12 Dec 2024, 20:23

                    @QtFriend2024 are you sure your NVIDIA setup is complete ?

                    Q Offline
                    Q Offline
                    QtFriend2024
                    wrote on 13 Dec 2024, 14:48 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
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 2 Jan 2025, 09:01 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
                      • Q Offline
                        Q Offline
                        QtFriend2024
                        wrote on 6 Mar 2025, 19:06 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
                        • Q QtFriend2024 has marked this topic as solved on 6 Mar 2025, 19:06

                        • Login

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