Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. eglfs_viv: Failed to open device
Qt 6.11 is out! See what's new in the release blog

eglfs_viv: Failed to open device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.5k Views 1 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.
  • F Offline
    F Offline
    Francois W
    wrote on last edited by
    #1

    Hi,
    When I start my Qt application (linux/ARM/mx6), QFactoryLoader indicates an error, but I can determine where is the problem:
    Got keys from plugin meta data ("eglfs_emu")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so"
    Found metadata in lib /usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so, metadata=
    {
    "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
    "MetaData": {
    "Keys": [
    "eglfs_viv"
    ]
    },
    "archreq": 0,
    "className": "QEglFSVivIntegrationPlugin",
    "debug": false,
    "version": 331264
    }

    Got keys from plugin meta data ("eglfs_viv")
    QFactoryLoader::QFactoryLoader() checking directory path "/home/root/Sampo/egldeviceintegrations" ...
    loaded library "/usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so"
    QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
    If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
    [ 1] Failed to open device: No such file or directory, Try again...
    [ 2] Failed to open device: No such file or directory, Try again...
    [ 3] Failed to open device: No such file or directory, Try again...
    [ 4] Failed to open device: No such file or directory, Try again...
    [ 5] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory.
    QLibraryPrivate::unload succeeded on "/usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so"
    QLibraryPrivate::unload succeeded on "/usr/lib/plugins/platforms/libqeglfs.so"
    [ 6] Failed to open device: No such file or directory, Try again...
    [ 7] Failed to open device: No such file or directory, Try again...
    [ 8] Failed to open device: No such file or directory, Try again...
    [ 9] Failed to open device: No such file or directory, Try again...
    [ 10] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory.

    What is missing? library, device, environment variable?

    All libQt5 libraries are installed, and same for plugins.

    I export these parameters:
    export QT_QPA_PLATFORM=eglfs
    export QT_QPA_EGLFS_INTEGRATION=eglfs_viv

    Thanks for help.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • F Francois W

      Hi,
      When I start my Qt application (linux/ARM/mx6), QFactoryLoader indicates an error, but I can determine where is the problem:
      Got keys from plugin meta data ("eglfs_emu")
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so"
      Found metadata in lib /usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so, metadata=
      {
      "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
      "MetaData": {
      "Keys": [
      "eglfs_viv"
      ]
      },
      "archreq": 0,
      "className": "QEglFSVivIntegrationPlugin",
      "debug": false,
      "version": 331264
      }

      Got keys from plugin meta data ("eglfs_viv")
      QFactoryLoader::QFactoryLoader() checking directory path "/home/root/Sampo/egldeviceintegrations" ...
      loaded library "/usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so"
      QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
      If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
      [ 1] Failed to open device: No such file or directory, Try again...
      [ 2] Failed to open device: No such file or directory, Try again...
      [ 3] Failed to open device: No such file or directory, Try again...
      [ 4] Failed to open device: No such file or directory, Try again...
      [ 5] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory.
      QLibraryPrivate::unload succeeded on "/usr/lib/plugins/egldeviceintegrations/libqeglfs-viv-integration.so"
      QLibraryPrivate::unload succeeded on "/usr/lib/plugins/platforms/libqeglfs.so"
      [ 6] Failed to open device: No such file or directory, Try again...
      [ 7] Failed to open device: No such file or directory, Try again...
      [ 8] Failed to open device: No such file or directory, Try again...
      [ 9] Failed to open device: No such file or directory, Try again...
      [ 10] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory.

      What is missing? library, device, environment variable?

      All libQt5 libraries are installed, and same for plugins.

      I export these parameters:
      export QT_QPA_PLATFORM=eglfs
      export QT_QPA_EGLFS_INTEGRATION=eglfs_viv

      Thanks for help.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Francois-W said in eglfs_viv: Failed to open device:

      [ 5] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory

      Have you checked this error?

      What is missing? library, device, environment variable?

      Not that I have much experience with IMX6 devices myself, but given the error above, it looks like you have some issues with the EGLFS device, and I'd say not related to Qt framework.

      Have you tried running some other non-Qt application under EGLFS just to try your environment in the device?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

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