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

meta-b2qt-embedded-qbsp-x86_64-jetson-tx2-devkit-6.4.3 cannot start EGLFS programs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 6.4.3
    • QPA: EGLFS
    • None
    • boot2qt yocto image
      Nvidia TX2 devkit
    • Linux/Yocto

    Description

      It seems like EGLFS programs cannot run successfully on boot2qt version 6.x. On the demo image, the program startupscreen fails to run correctly. Instead, the screen just goes blank and seems to lose any signal.

      To investigate, I logged in using ssh, disabled startupscreen using systemctl, and ran a simple qt app (hellocube from qtquick3d) using eglfs. This also produces the error; lost signal to the screen. When starting the program, dmesg gives the following messages, which stop once I end the program:

      [   63.330375] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.369365] extcon-disp-state external-connection:disp-state: cable 47 state 0
      [   63.369368] Extcon AUX1(HDMI) disable
      [   63.396022] tegra_nvdisp_handle_pd_disable: Powergated Head2 pd
      [   63.396144] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
      [   63.397195] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
      [   63.436311] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.443054] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.449878] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.457958] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.465988] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.476568] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.484551] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.494776] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.503690] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.513376] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.521144] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.531571] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.539483] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.548668] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.558748] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.569259] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.579465] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.588723] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.598846] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.609043] tegradc 15210000.nvdisplay: blank - powerdown
      [   63.619087] tegradc 15210000.nvdisplay: blank - powerdown
      ......
      

      Reproduction steps:

      1. Download the meta-b2qt-embedded-qbsp-x86_64-jetson-tx2-devkit-6.4.3.qbsp from https://account.qt.io/s/downloads
      2. Extracte qbsp file.
      3. Extract the file 6.4.3-20230312190102image.7z inside
      4. Extract the file b2qt-embedded-qt6-image-jetson-tx2-devkit.tegraflash.tar.gz inside into a subdir "tegraflash".
      5. From subdir, run ./prepare-image.sh
      6. Flash onto tx2 devkit by running sudo ./doflash.sh
      7. When system has booted up, the screen goes black and does not get a signal.

      I also tried this with boot2qt qbsp 6.2.13 with the same results. I also built an image myself from version v6.2.12-lts.xml, also with the same results. A custom build of boot2qt 5.15.15 did not have the problem, suggesting it was introduced with qt6.

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            kalj Karl Ljungkvist
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes