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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  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 Unsolved General Questions
3 Posts 2 Posters 826 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 Offline
      Alex KushleyevA Offline
      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 Offline
        Alex KushleyevA Offline
        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

        Reading along? Create a free ModalAI Forum account to join in.

        With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

        Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

        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

        • Don't have an account? Register

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