Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Request for access to Qualcomm-specific libgbm package for VOXL 2 cross-compile

Request for access to Qualcomm-specific libgbm package for VOXL 2 cross-compile

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 2 Posters 749 Views 3 Watching
  • 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.
  • KnightHawk06K Offline
    KnightHawk06K Offline
    KnightHawk06
    Contributor
    wrote on last edited by
    #1

    I’m working on a VOXL 2 (QRB5165) vision application that talks to voxl-mavlink-server via libmodal_pipe, but I’m building and unit-testing inside the standard voxl-cross Docker image. During the link stage I hit this unresolved symbol:

    /usr/lib64/libmodal_pipe.so: undefined reference to `gbm_perform`
    

    From what I gather, gbm_perform() is only exported by the proprietary Adreno driver build of libgbm.so that lives in the qrb5165-gpu (or similar) package on the target root-file-system. That package isn’t present in the container, so the linker fails even though Mesa’s stock libgbm is installed.

    Could someone point me to (or grant me) the repo credentials / download location for that GPU package so I can install it in the container and link against the real library instead of a stub?

    Thanks in advance for any guidance!

    Alex KushleyevA 1 Reply Last reply
    0
    • KnightHawk06K KnightHawk06

      I’m working on a VOXL 2 (QRB5165) vision application that talks to voxl-mavlink-server via libmodal_pipe, but I’m building and unit-testing inside the standard voxl-cross Docker image. During the link stage I hit this unresolved symbol:

      /usr/lib64/libmodal_pipe.so: undefined reference to `gbm_perform`
      

      From what I gather, gbm_perform() is only exported by the proprietary Adreno driver build of libgbm.so that lives in the qrb5165-gpu (or similar) package on the target root-file-system. That package isn’t present in the container, so the linker fails even though Mesa’s stock libgbm is installed.

      Could someone point me to (or grant me) the repo credentials / download location for that GPU package so I can install it in the container and link against the real library instead of a stub?

      Thanks in advance for any guidance!

      Alex KushleyevA Online
      Alex KushleyevA Online
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @KnightHawk06 ,

      You can use the following trick on VOXL2 to find which package the library belongs to and then build the deb from the installed package. In this case the library is in a proprietary package qti-gbm, which you can easily re-create for use in your docker container. This is related to the following documentation page which describes how to run OpenCL inside a docker container : https://docs.modalai.com/voxl-2-opencl-in-docker/

      voxl2-mini:~$ dpkg -S /usr/lib/libgbm.so 
      qti-gbm: /usr/lib/libgbm.so
      
      apt install dpkg-repack
      
      voxl2-mini:~$ dpkg-repack qti-gbm
      dpkg-repack: warning: unknown information field 'Oe' in input data in entry in dpkg's status file
      dpkg-repack: warning: unknown information field 'Packagearch' in input data in entry in dpkg's status file
      dpkg-deb: building package 'qti-gbm' in './qti-gbm_18.0.0-rc5_arm64.deb'.
      
      Alex KushleyevA 1 Reply Last reply
      1
      • Alex KushleyevA Alex Kushleyev

        @KnightHawk06 ,

        You can use the following trick on VOXL2 to find which package the library belongs to and then build the deb from the installed package. In this case the library is in a proprietary package qti-gbm, which you can easily re-create for use in your docker container. This is related to the following documentation page which describes how to run OpenCL inside a docker container : https://docs.modalai.com/voxl-2-opencl-in-docker/

        voxl2-mini:~$ dpkg -S /usr/lib/libgbm.so 
        qti-gbm: /usr/lib/libgbm.so
        
        apt install dpkg-repack
        
        voxl2-mini:~$ dpkg-repack qti-gbm
        dpkg-repack: warning: unknown information field 'Oe' in input data in entry in dpkg's status file
        dpkg-repack: warning: unknown information field 'Packagearch' in input data in entry in dpkg's status file
        dpkg-deb: building package 'qti-gbm' in './qti-gbm_18.0.0-rc5_arm64.deb'.
        
        Alex KushleyevA Online
        Alex KushleyevA Online
        Alex Kushleyev
        ModalAI Team
        wrote on last edited by
        #3

        You may also be able to resolve your issue by switching to voxl-cross:4.0 docker image, which was recently released.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups