Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101010

Failed attempt to initialize platform resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12.12
    • QPA: KMS
    • None

    Description

      Hello Qt team,

      We’ve faced with async (it happens very rear) initialization problem of platform resources, that leads to fail of render thread.

      Based on error output:

      121982 104.6424 26 VD HCEN DFLT info [HmiPostProcessorAdapter::onGLInited] fbo = 1 size = QSize(1920, 720)
      122003 104.7436 27 VD HCEN DFLT warn [] Failed to create KMS FB!
      

      It looks like that it happened here: https://code.woboq.org/qt5/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmscreen.cpp.html#83

      System logs tell about invalid mmap:

      122336 104.8977 72 VD SYS JOUR fatal 2022/02/07 01:56:08.792000 104.407470 QSGRenderThread[1928]: Emergency: ANOM_ABEND auid=4294967295 uid=1076 gid=1076 ses=4294967295 pid=1928 comm="QSGRenderThread" exe="/usr/bin/HMI" sig=11
      122337 104.8978 73 VD SYS JOUR info  2022/02/07 01:56:08.810027 104.407945 HMI[1928]: Informational: drm_mode_addfb2_fe - mmap failed
      

      Is the problem related to Qt or parallel initialization of resources, or it's just a platform issue?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alexander.zaikin Alexander Zaikin
            alexander.zaikin Alexander Zaikin
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes