Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to run app as eglfs ubuntu 18?
Forum Updated to NodeBB v4.3 + New Features

How to run app as eglfs ubuntu 18?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 1.5k 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.
  • mikedevM Offline
    mikedevM Offline
    mikedev
    wrote on last edited by
    #1

    Hi,

    I have a very simple QML project that renders a video into a full screen window. I'd like to run this app without a window manager. When I run my application with:

    QT_QPA_EGLFS_INTEGRATION=none ./video_qt -platform eglfs

    I get this error:

    Cannot find EGLConfig, returning null config
    EGL Error : Could not create the egl surface: error = 0x3005

    Can anyone help please?

    Thanks

    Pablo J. RoginaP 1 Reply Last reply
    0
    • mikedevM mikedev

      Hi,

      I have a very simple QML project that renders a video into a full screen window. I'd like to run this app without a window manager. When I run my application with:

      QT_QPA_EGLFS_INTEGRATION=none ./video_qt -platform eglfs

      I get this error:

      Cannot find EGLConfig, returning null config
      EGL Error : Could not create the egl surface: error = 0x3005

      Can anyone help please?

      Thanks

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

      @mikedev are you positive you have EGLFS properly installed/configured in your Ubuntu setup?
      And just to confirm: X11 is not running, right?

      This post may also shade some light on your issue.

      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
      • mikedevM Offline
        mikedevM Offline
        mikedev
        wrote on last edited by
        #3

        Hi @Pablo-J-Rogina,

        Yes, I've double checked my configure flags and -eglfs and -kms was set. I've stopped gdm and I'm running the application from console.

        Since yesterday I've got different issues now, it looks more positive but I'm not sure what to do next:

        QT_QPA_EGLFS_INTEGRATION=eglfs_kms_egldevice ./cube -platform eglfs
        qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu", "eglfs_kms_egldevice", "eglfs_kms")
        qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_kms_egldevice", "eglfs_kms", "eglfs_emu")
        qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_kms_egldevice"
        qt.qpa.eglfs.kms: New DRM/KMS on EGLDevice integration created
        qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_kms_egldevice"
        qt.qpa.eglfs.kms: platformInit: Opening DRM device
        qt.qpa.eglfs.kms: Found 1 EGL devices
        Failed to query device name from EGLDevice

        If I run the same with sudo I just get this: Could not open DRM (NV) device

        Thanks again

        1 Reply Last reply
        1
        • mikedevM Offline
          mikedevM Offline
          mikedev
          wrote on last edited by
          #4

          Can anyone help me on this please?! I'm really stuck with this.

          Thanks.

          J 1 Reply Last reply
          0
          • mikedevM mikedev

            Can anyone help me on this please?! I'm really stuck with this.

            Thanks.

            J Offline
            J Offline
            jsmith883
            wrote on last edited by
            #5

            @mikedev, did you figure this out? I'm having the same issue.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              Vladimir Sazonov
              wrote on last edited by
              #6

              Hello! Try this QT_QPA_EGLFS_INTEGRATION=eglfs_kms

              1 Reply Last reply
              0

              • Login

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