QT tx2nx glDrawArrays(GL_TRIANGLES, 0, 6) Segmentation fault

Here is the config of qt backend

QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ no
  LinuxFB ................................ yes
  VNC .................................... yes
  Mir client ............................. no

Here is my code

#include <QtGui>
#include <QLayout>
#include <QCloseEvent>
#include <nvidia/nvbuf_utils.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>
#include <QDebug>

JetsonVideoView::JetsonVideoView(QWidget* parent):QOpenGLWidget(parent)
{
    QSurfaceFormat format;
    format.setDepthBufferSize(24);
    format.setStencilBufferSize(8);
    format.setVersion(3, 2);
    format.setProfile(QSurfaceFormat::CoreProfile);
    setFormat(format);
}

JetsonVideoView::~JetsonVideoView()
{
    Close();
}

int JetsonVideoView::Init(int width, int height)
{
    m_width = 3840;
    m_height = 2160;
    Close();
    if (context() && m_width && m_height)
    {
        makeCurrent();
        glClearColor(0.0f, 0.0f, 0.3f, 0.0f);
        glViewport(0, 0, m_width, m_height);

        glScissor(0, 0, m_width, m_height);

        if (InitializeShaders() < 0)
        {
            printf("Error while initializing shaders\n");
            return -1;
        }
        CreateTexture();
        doneCurrent();
    }
    return 0;
}

void JetsonVideoView::Close()

{
    if (context())
    {
        if (m_textureId)
        {
            makeCurrent();
            glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
            glClear(GL_COLOR_BUFFER_BIT);
            glDeleteTextures(1, &m_textureId);
            doneCurrent();
        }
    }
}

int JetsonVideoView::DrawDmaHandle(int dma_fd)
{
    if (!context())
    return 0;
    if (this->isHidden())
    {
        printf("window is hidden.\n");
        return 0;
    }
    m_lock.lock();
    m_listDmaFd.push_back(dma_fd);
    m_lock.unlock();
    QMetaObject::invokeMethod(this, "update");
    return 0;
}

void JetsonVideoView::initializeGL()
{
    initializeOpenGLFunctions();
    glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)eglGetProcAddress("glEGLImageTargetTexture2DOES");
    if (!glEGLImageTargetTexture2DOES)
        qDebug("ERROR getting proc addr of glEGLImageTargetTexture2DOES\n");
    Init(m_width, m_height);
}

void JetsonVideoView::paintGL()
{
    int dma_fd = 0;
    m_lock.lock();
    if (m_listDmaFd.size())
    dma_fd = m_listDmaFd.back();
    m_listDmaFd.clear();
    m_lock.unlock();
    if (!dma_fd)
        return;
    if (isHidden())
    {
        qDebug("isHidden");
        return;
    }
    EGLDisplay egl_display = eglGetCurrentDisplay();
    if (!egl_display)
    {
        qDebug("egl_display not found");
        return;
    }

    EGLImageKHR hEglImage;
    int iErr;
    hEglImage = NvEGLImageFromFd(egl_display, dma_fd);
    if (!hEglImage)
    {
        qDebug("Could not get EglImage from fd. Not rendering");
        return;
    }
    makeCurrent();
    glActiveTexture(GL_TEXTURE0);
    glBindTexture(GL_TEXTURE_EXTERNAL_OES, m_textureId);
    glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, hEglImage);
    glDrawArrays(GL_TRIANGLES, 0, 6);
    iErr = glGetError();
    if (iErr != GL_NO_ERROR)
    {
        qDebug("glDrawArrays arrays failed: %d\n", iErr);
    }
    doneCurrent();
    NvDestroyEGLImage(egl_display, hEglImage);
}

void JetsonVideoView::resizeGL(int w, int h)
{

}

void JetsonVideoView::CreateShader(GLuint program, GLenum type, const char *source, int size)
{
    char log[4096];
    int result = GL_FALSE;
    GLuint shader = glCreateShader(type);
    glShaderSource(shader, 1, &source, &size);
    glCompileShader(shader);
    glGetShaderiv(shader, GL_COMPILE_STATUS, &result);
    if (!result)
    {
        glGetShaderInfoLog(shader, sizeof(log), NULL, log);
        qDebug("Got Fatal Log as %s\n", log);
    }
    glAttachShader(program, shader);
    if (glGetError() != GL_NO_ERROR)
    {
        qDebug("Got gl error as %d\n", glGetError());
    }
}

int JetsonVideoView::InitializeShaders(void)
{
    GLuint program;
    int result = GL_FALSE;
    char log[4096];
    uint32_t pos_location = 0;

    // pos_x, pos_y, uv_u, uv_v
    GLfloat vertexTexBuf[24] = {
        -1.0f, -1.0f, 0.0f, 1.0f,
        -1.0f, 1.0f, 0.0f, 0.0f,
        1.0f, 1.0f, 1.0f, 0.0f,
        -1.0f, -1.0f, 0.0f, 1.0f,
        1.0f, 1.0f, 1.0f, 0.0f,
        1.0f, -1.0f, 1.0f, 1.0f,
    };

    static const char kVertexShader[] = "varying vec2 interp_tc;\n"
    "attribute vec4 in_pos;\n"
    "void main() { \n"
    "interp_tc = in_pos.zw; \n" "gl_Position = vec4(in_pos.xy, 0, 1); \n" "}\n";

    static const char kFragmentShader[] =
    "#extension GL_OES_EGL_image_external : require\n"
    "precision mediump float;\n" "varying vec2 interp_tc; \n"
    "uniform samplerExternalOES tex; \n" "void main() {\n"
    "gl_FragColor = texture2D(tex, interp_tc);\n" "}\n";

    glEnable(GL_SCISSOR_TEST);
    program = glCreateProgram();
    CreateShader(program, GL_VERTEX_SHADER, kVertexShader, sizeof(kVertexShader));
    CreateShader(program, GL_FRAGMENT_SHADER, kFragmentShader, sizeof(kFragmentShader));
    glLinkProgram(program);
    if (glGetError() != GL_NO_ERROR)
    {
        printf("Got gl error as %d\n", glGetError());
        return -1;
    }

    glGetProgramiv(program, GL_LINK_STATUS, &result);
    if (!result)
    {
        glGetShaderInfoLog(program, sizeof(log), NULL, log);
        printf("Error while Linking %s\n", log);
        return -1;
    }

    glUseProgram(program);
    if (glGetError() != GL_NO_ERROR)
    {
        printf("Got gl error as %d\n", glGetError());
        return -1;
    }

    GLuint vbo; // Store vetex and tex coords
    glGenBuffers(1, &vbo);
    glBindBuffer(GL_ARRAY_BUFFER, vbo);
    glBufferData(GL_ARRAY_BUFFER, sizeof(vertexTexBuf), vertexTexBuf, GL_STATIC_DRAW);
    glBindBuffer(GL_ARRAY_BUFFER, 0);

    pos_location = glGetAttribLocation(program, "in_pos");

    glBindBuffer(GL_ARRAY_BUFFER, vbo);
    glEnableVertexAttribArray(pos_location);

    glActiveTexture(GL_TEXTURE0);
    glUniform1i(glGetUniformLocation(program, "texSampler"), 0);
    if (glGetError() != GL_NO_ERROR)
    {
        qDebug("Got gl error as %d", glGetError());
        return -1;
    }
    qDebug("Shaders intialized");
    return 0;
}

int JetsonVideoView::CreateTexture()
{
    int viewport[4];
    glGetIntegerv(GL_VIEWPORT, viewport);
    glViewport(viewport[0], viewport[1], viewport[2], viewport[3]);
    glScissor(viewport[0], viewport[1], viewport[2], viewport[3]);
    glGenTextures(1, &m_textureId);
    glBindTexture(GL_TEXTURE_EXTERNAL_OES, m_textureId);
    return 0;
}

Here is my log

qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu", "eglfs_kms_egldevice")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_kms_egldevice", "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
qt.qpa.eglfs.kms: Using backend-provided DRM device drm-nvdc
qt.qpa.eglfs.kms: Creating display
e[9;0]qt.qpa.eglfs.kms: Atomic reported as supported
qt.qpa.eglfs.kms: Atomic enabled
qt.qpa.eglfs.kms: Found 8 planes
qt.qpa.eglfs.kms: plane 0: id = 4000 countFormats = 34 possibleCrtcs = 0x1 supported formats = RA12 AR15 RA15 RG16 XR24 XB24 AR24 AB24 AR30 AB30 AB4H R101 R100 B101 B100 AS24 XS24 YUYV UYVY NV12 NV21 NV16 NV61 NV24 NV42 YU12 YV12 YU24 YV24 P210 P010 P012 HD01 UHD0 
qt.qpa.eglfs.kms:   property 0: id = 40000 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40001 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40002 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40003 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40004 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 10, possible values are:
qt.qpa.eglfs.kms:     10
qt.qpa.eglfs.kms:   property 5: id = 40005 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40006 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40007 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40008 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40009 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40010 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40011 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40012 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40013 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40014 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40015 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40016 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 1: id = 4001 countFormats = 34 possibleCrtcs = 0x1 supported formats = RA12 AR15 RA15 RG16 XR24 XB24 AR24 AB24 AR30 AB30 AB4H R101 R100 B101 B100 AS24 XS24 YUYV UYVY NV12 NV21 NV16 NV61 NV24 NV42 YU12 YV12 YU24 YV24 P210 P010 P012 HD01 UHD0 
qt.qpa.eglfs.kms:   property 0: id = 40017 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40018 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40019 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40020 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40021 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 20, possible values are:
qt.qpa.eglfs.kms:     20
qt.qpa.eglfs.kms:   property 5: id = 40022 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40023 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40024 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40025 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40026 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40027 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40028 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40029 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40030 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40031 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40032 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40033 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 2: id = 4002 countFormats = 34 possibleCrtcs = 0x1 supported formats = RA12 AR15 RA15 RG16 XR24 XB24 AR24 AB24 AR30 AB30 AB4H R101 R100 B101 B100 AS24 XS24 YUYV UYVY NV12 NV21 NV16 NV61 NV24 NV42 YU12 YV12 YU24 YV24 P210 P010 P012 HD01 UHD0 
qt.qpa.eglfs.kms:   property 0: id = 40034 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40035 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40036 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40037 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40038 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 30, possible values are:
qt.qpa.eglfs.kms:     30
qt.qpa.eglfs.kms:   property 5: id = 40039 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40040 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40041 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40042 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40043 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40044 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40045 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40046 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40047 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40048 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40049 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40050 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 3: id = 4003 countFormats = 2 possibleCrtcs = 0x1 supported formats = AR24 AR15 
qt.qpa.eglfs.kms:   property 0: id = 40051 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40052 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40053 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40054 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40055 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 40, possible values are:
qt.qpa.eglfs.kms:     40
qt.qpa.eglfs.kms:   property 5: id = 40056 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40057 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40058 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40059 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40060 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40061 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40062 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40063 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40064 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40065 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40066 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40067 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 2, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 4: id = 4004 countFormats = 34 possibleCrtcs = 0x2 supported formats = RA12 AR15 RA15 RG16 XR24 XB24 AR24 AB24 AR30 AB30 AB4H R101 R100 B101 B100 AS24 XS24 YUYV UYVY NV12 NV21 NV16 NV61 NV24 NV42 YU12 YV12 YU24 YV24 P210 P010 P012 HD01 UHD0 
qt.qpa.eglfs.kms:   property 0: id = 40068 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40069 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40070 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40071 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40072 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 10, possible values are:
qt.qpa.eglfs.kms:     10
qt.qpa.eglfs.kms:   property 5: id = 40073 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40074 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40075 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40076 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40077 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40078 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40079 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40080 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40081 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40082 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40083 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40084 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 5: id = 4005 countFormats = 34 possibleCrtcs = 0x2 supported formats = RA12 AR15 RA15 RG16 XR24 XB24 AR24 AB24 AR30 AB30 AB4H R101 R100 B101 B100 AS24 XS24 YUYV UYVY NV12 NV21 NV16 NV61 NV24 NV42 YU12 YV12 YU24 YV24 P210 P010 P012 HD01 UHD0 
qt.qpa.eglfs.kms:   property 0: id = 40085 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40086 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40087 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40088 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40089 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 20, possible values are:
qt.qpa.eglfs.kms:     20
qt.qpa.eglfs.kms:   property 5: id = 40090 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40091 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40092 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40093 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40094 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40095 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40096 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40097 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40098 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40099 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40100 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40101 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 6: id = 4006 countFormats = 34 possibleCrtcs = 0x2 supported formats = RA12 AR15 RA15 RG16 XR24 XB24 AR24 AB24 AR30 AB30 AB4H R101 R100 B101 B100 AS24 XS24 YUYV UYVY NV12 NV21 NV16 NV61 NV24 NV42 YU12 YV12 YU24 YV24 P210 P010 P012 HD01 UHD0 
qt.qpa.eglfs.kms:   property 0: id = 40102 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40103 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40104 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40105 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40106 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 30, possible values are:
qt.qpa.eglfs.kms:     30
qt.qpa.eglfs.kms:   property 5: id = 40107 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40108 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40109 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40110 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40111 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40112 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40113 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40114 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40115 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40116 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40117 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40118 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: plane 7: id = 4007 countFormats = 2 possibleCrtcs = 0x2 supported formats = AR24 AR15 
qt.qpa.eglfs.kms:   property 0: id = 40119 name = 'SRC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 1: id = 40120 name = 'SRC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 2: id = 40121 name = 'SRC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 3: id = 40122 name = 'SRC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 4: id = 40123 name = 'zpos'
qt.qpa.eglfs.kms:   type is RANGE, value is 40, possible values are:
qt.qpa.eglfs.kms:     40
qt.qpa.eglfs.kms:   property 5: id = 40124 name = 'alpha'
qt.qpa.eglfs.kms:   type is RANGE, value is 255, possible values are:
qt.qpa.eglfs.kms:     255
qt.qpa.eglfs.kms:   property 6: id = 40125 name = 'CRTC_X'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 7: id = 40126 name = 'CRTC_Y'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 8: id = 40127 name = 'CRTC_W'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 9: id = 40128 name = 'CRTC_H'
qt.qpa.eglfs.kms:   type is RANGE, value is 0, possible values are:
qt.qpa.eglfs.kms:     0
qt.qpa.eglfs.kms:   property 10: id = 40129 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 11: id = 40130 name = 'FB_ID'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 12: id = 40131 name = 'IN_FENCE_FD'
qt.qpa.eglfs.kms:   type is OBJECT
qt.qpa.eglfs.kms:   property 13: id = 40132 name = 'IN_FORMATS'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 14: id = 40133 name = 'pixel blend mode'
qt.qpa.eglfs.kms:   type is ENUM, value is 1, possible values are:
qt.qpa.eglfs.kms:     enum 0: None - 0
qt.qpa.eglfs.kms:     enum 1: Pre-multiplied - 1
qt.qpa.eglfs.kms:     enum 2: Coverage - 2
qt.qpa.eglfs.kms:   property 15: id = 40134 name = 'color range'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 16: id = 40135 name = 'type'
qt.qpa.eglfs.kms:   type is ENUM, value is 2, possible values are:
qt.qpa.eglfs.kms:     enum 0: Primary - 0
qt.qpa.eglfs.kms:     enum 1: Overlay - 1
qt.qpa.eglfs.kms:     enum 2: Cursor - 2
qt.qpa.eglfs.kms: "HDMI1" mode count: 42 crtc index: 0 crtc id: 1000
qt.qpa.eglfs.kms: mode 0 3840 x 2160 @ 60 hz
qt.qpa.eglfs.kms: mode 1 720 x 400 @ 70 hz
qt.qpa.eglfs.kms: mode 2 640 x 480 @ 59 hz
qt.qpa.eglfs.kms: mode 3 640 x 480 @ 67 hz
qt.qpa.eglfs.kms: mode 4 640 x 480 @ 72 hz
qt.qpa.eglfs.kms: mode 5 640 x 480 @ 75 hz
qt.qpa.eglfs.kms: mode 6 800 x 600 @ 56 hz
qt.qpa.eglfs.kms: mode 7 800 x 600 @ 60 hz
qt.qpa.eglfs.kms: mode 8 800 x 600 @ 72 hz
qt.qpa.eglfs.kms: mode 9 800 x 600 @ 75 hz
qt.qpa.eglfs.kms: mode 10 832 x 624 @ 75 hz
qt.qpa.eglfs.kms: mode 11 1024 x 768 @ 60 hz
qt.qpa.eglfs.kms: mode 12 1024 x 768 @ 70 hz
qt.qpa.eglfs.kms: mode 13 1024 x 768 @ 75 hz
qt.qpa.eglfs.kms: mode 14 1280 x 1024 @ 75 hz
qt.qpa.eglfs.kms: mode 15 1152 x 864 @ 75 hz
qt.qpa.eglfs.kms: mode 16 1920 x 1080 @ 60 hz
qt.qpa.eglfs.kms: mode 17 1680 x 1050 @ 59 hz
qt.qpa.eglfs.kms: mode 18 1440 x 900 @ 59 hz
qt.qpa.eglfs.kms: mode 19 1280 x 1024 @ 60 hz
qt.qpa.eglfs.kms: mode 20 1280 x 720 @ 60 hz
qt.qpa.eglfs.kms: mode 21 1280 x 960 @ 60 hz
qt.qpa.eglfs.kms: mode 22 1600 x 900 @ 60 hz
qt.qpa.eglfs.kms: mode 23 1920 x 1080 @ 60 hz
qt.qpa.eglfs.kms: mode 24 2560 x 1440 @ 59 hz
qt.qpa.eglfs.kms: mode 25 640 x 480 @ 59 hz
qt.qpa.eglfs.kms: mode 26 720 x 480 @ 59 hz
qt.qpa.eglfs.kms: mode 27 720 x 576 @ 50 hz
qt.qpa.eglfs.kms: mode 28 1280 x 720 @ 50 hz
qt.qpa.eglfs.kms: mode 29 1920 x 1080 @ 50 hz
qt.qpa.eglfs.kms: mode 30 3840 x 2160 @ 50 hz
qt.qpa.eglfs.kms: mode 31 3840 x 2160 @ 60 hz
qt.qpa.eglfs.kms: mode 32 3840 x 2160 @ 30 hz
qt.qpa.eglfs.kms: mode 33 3840 x 2160 @ 30 hz
qt.qpa.eglfs.kms: mode 34 3840 x 2160 @ 25 hz
qt.qpa.eglfs.kms: mode 35 3840 x 2160 @ 24 hz
qt.qpa.eglfs.kms: mode 36 1920 x 1080 @ 59 hz
qt.qpa.eglfs.kms: mode 37 1280 x 720 @ 59 hz
qt.qpa.eglfs.kms: mode 38 3840 x 2160 @ 59 hz
qt.qpa.eglfs.kms: mode 39 3840 x 2160 @ 29 hz
qt.qpa.eglfs.kms: mode 40 3840 x 2160 @ 29 hz
qt.qpa.eglfs.kms: mode 41 3840 x 2160 @ 23 hz
qt.qpa.eglfs.kms: Selected mode 0 : 3840 x 2160 @ 60 hz for output "HDMI1"
qt.qpa.eglfs.kms: Physical size is QSizeF(0, 0) mm for output "HDMI1"
qt.qpa.eglfs.kms: Format is 34325258 requested_by_user = false for output "HDMI1"
Framebuffer size format is invalid.
qt.qpa.eglfs.kms: Output "HDMI1" framebuffer size is  QSize(3840, 2160)
qt.qpa.eglfs.kms:   property 0: id = 30000 name = 'CRTC_ID'
qt.qpa.eglfs.kms:   property 1: id = 30001 name = 'Content Protection'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:   property 2: id = 30002 name = 'HDCP Content Type'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:   property 0: id = 10000 name = 'MODE_ID'
qt.qpa.eglfs.kms:   property 1: id = 10001 name = 'ACTIVE'
qt.qpa.eglfs.kms:   property 2: id = 10002 name = 'HDR_SUPPORTED'
qt.qpa.eglfs.kms:   property 3: id = 10003 name = 'HDR_METADATA_SMPTE_2086_ID'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms:   property 4: id = 10004 name = 'OUTPUT_FORMAT'
qt.qpa.eglfs.kms:   type is ENUM, value is 0, possible values are:
qt.qpa.eglfs.kms:     enum 0: OUTPUT_FORMAT_AUTO - 0
qt.qpa.eglfs.kms:     enum 1: OUTPUT_FORMAT_YCBCR422_30 - 1
qt.qpa.eglfs.kms:     enum 2: OUTPUT_FORMAT_YCBCR422_36 - 2
qt.qpa.eglfs.kms:     enum 3: OUTPUT_FORMAT_YCBCR444_36 - 3
qt.qpa.eglfs.kms:     enum 4: OUTPUT_FORMAT_RGB_30 - 4
qt.qpa.eglfs.kms:     enum 5: OUTPUT_FORMAT_RGB_36 - 5
qt.qpa.eglfs.kms:   property 5: id = 10005 name = 'OutputColorRange'
qt.qpa.eglfs.kms:   type is ENUM, value is 2, possible values are:
qt.qpa.eglfs.kms:     enum 0: Full - 0
qt.qpa.eglfs.kms:     enum 1: Limited - 1
qt.qpa.eglfs.kms:   property 6: id = 10006 name = 'CTM'
qt.qpa.eglfs.kms:   type is BLOB
qt.qpa.eglfs.kms: Output HDMI1 can use 4 planes: 4000 4001 4002 4003 
qt.qpa.eglfs.kms: Output eglfs plane is: 4002
qt.qpa.eglfs.kms: No EDID data for output "HDMI1"
qt.qpa.eglfs.kms: Creating new global mouse cursor
qt.qpa.eglfs.kms: Skipping disconnected output "DP1"
qt.qpa.eglfs.kms: Sorted screen list: QVector(OrderedScreen(QPlatformScreen=0x243ae400 ("HDMI1") : 2147483647 / QPoint(0,0) / primary: false))
qt.qpa.eglfs.kms: Adding QPlatformScreen 0x243ae400 ( "HDMI1" ) to QPA with geometry QRect(0,0 3840x2160) and isPrimary= false
qt.qpa.input: evdevkeyboard: Using device discovery
qt.qpa.input: static device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Keyboard)
Device discovery cannot open device "/dev/input/event0"
Device discovery cannot open device "/dev/input/event1"
Device discovery cannot open device "/dev/input/event2"
Device discovery cannot open device "/dev/input/event3"
Device discovery cannot open device "/dev/input/event4"
Device discovery cannot open device "/dev/input/event5"
qt.qpa.input: doing static device discovery for  "/dev/input/js0"
Device discovery cannot open device "/dev/input/mice"
Device discovery cannot open device "/dev/input/mouse0"
qt.qpa.input: Found matching devices ()
qt.qpa.input: evdevmouse: Using device discovery
qt.qpa.input: static device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Mouse|Device_Touchpad)
Device discovery cannot open device "/dev/input/event0"
Device discovery cannot open device "/dev/input/event1"
Device discovery cannot open device "/dev/input/event2"
Device discovery cannot open device "/dev/input/event3"
Device discovery cannot open device "/dev/input/event4"
Device discovery cannot open device "/dev/input/event5"
qt.qpa.input: doing static device discovery for  "/dev/input/js0"
Device discovery cannot open device "/dev/input/mice"
Device discovery cannot open device "/dev/input/mouse0"
qt.qpa.input: Found matching devices ()
qt.qpa.input: evdevtouch: Using device discovery
qt.qpa.input: static device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Touchpad|Device_Touchscreen)
Device discovery cannot open device "/dev/input/event0"
Device discovery cannot open device "/dev/input/event1"
Device discovery cannot open device "/dev/input/event2"
Device discovery cannot open device "/dev/input/event3"
Device discovery cannot open device "/dev/input/event4"
Device discovery cannot open device "/dev/input/event5"
qt.qpa.input: doing static device discovery for  "/dev/input/js0"
Device discovery cannot open device "/dev/input/mice"
Device discovery cannot open device "/dev/input/mouse0"
qt.qpa.input: Found matching devices ()
Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
	EGL_BUFFER_SIZE: 32
	EGL_ALPHA_SIZE: 8
	EGL_BLUE_SIZE: 8
	EGL_GREEN_SIZE: 8
	EGL_RED_SIZE: 8
	EGL_DEPTH_SIZE: 0
	EGL_STENCIL_SIZE: 0
	EGL_CONFIG_CAVEAT: 12344
	EGL_CONFIG_ID: 4
	EGL_LEVEL: 0
	EGL_MAX_PBUFFER_HEIGHT: 32768
	EGL_MAX_PBUFFER_PIXELS: 1073741824
	EGL_MAX_PBUFFER_WIDTH: 32768
	EGL_NATIVE_RENDERABLE: 0
	EGL_NATIVE_VISUAL_ID: 0
	EGL_NATIVE_VISUAL_TYPE: 12344
	EGL_SAMPLES: 0
	EGL_SAMPLE_BUFFERS: 0
	EGL_SURFACE_TYPE: 2049
	EGL_TRANSPARENT_TYPE: 12344
	EGL_TRANSPARENT_BLUE_VALUE: 0
	EGL_TRANSPARENT_GREEN_VALUE: 0
	EGL_TRANSPARENT_RED_VALUE: 0
	EGL_BIND_TO_TEXTURE_RGB: 0
	EGL_BIND_TO_TEXTURE_RGBA: 0
	EGL_MIN_SWAP_INTERVAL: 0
	EGL_MAX_SWAP_INTERVAL: 0
Creating decoder in blocking mode
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 279 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 279 
Starting decoder capture loop thread
CDmstVcli::Create<165>: <rev1-48504> ����<4> ����<700-2>
qt.qpa.eglfs.kms: Creating stream
qt.qpa.eglfs.kms: Created stream 0x24556b41 on display 0x2437a680
qt.qpa.eglfs.kms: Using EGLStream mailbox mode
qt.qpa.eglfs.kms: Output has 6 layers
qt.qpa.eglfs.kms: Searching for id: 1000
qt.qpa.eglfs.kms:   [0] layer 0x24377131 - crtc 1000
qt.qpa.eglfs.kms:   [1] layer 0x2438df31 - crtc 1001
qt.qpa.eglfs.kms:   [2] layer 0x2438df61 - plane 4001
qt.qpa.eglfs.kms:   [3] layer 0x2438df91 - plane 4002
qt.qpa.eglfs.kms:   [4] layer 0x2438dfc1 - plane 4005
qt.qpa.eglfs.kms:   [5] layer 0x2438dc71 - plane 4006
qt.qpa.eglfs.kms: Using layer 0x24377131
qt.qpa.eglfs.kms: Stream producer format is QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 0, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.qpa.eglfs.kms: Creating stream producer surface of size 3840x2160
qt.qpa.eglfs.kms: Created stream producer surface 0x2441aa81
Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 0, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
	EGL_BUFFER_SIZE: 32
	EGL_ALPHA_SIZE: 8
	EGL_BLUE_SIZE: 8
	EGL_GREEN_SIZE: 8
	EGL_RED_SIZE: 8
	EGL_DEPTH_SIZE: 0
	EGL_STENCIL_SIZE: 0
	EGL_CONFIG_CAVEAT: 12344
	EGL_CONFIG_ID: 4
	EGL_LEVEL: 0
	EGL_MAX_PBUFFER_HEIGHT: 32768
	EGL_MAX_PBUFFER_PIXELS: 1073741824
	EGL_MAX_PBUFFER_WIDTH: 32768
	EGL_NATIVE_RENDERABLE: 0
	EGL_NATIVE_VISUAL_ID: 0
	EGL_NATIVE_VISUAL_TYPE: 12344
	EGL_SAMPLES: 0
	EGL_SAMPLE_BUFFERS: 0
	EGL_SURFACE_TYPE: 2049
	EGL_TRANSPARENT_TYPE: 12344
	EGL_TRANSPARENT_BLUE_VALUE: 0
	EGL_TRANSPARENT_GREEN_VALUE: 0
	EGL_TRANSPARENT_RED_VALUE: 0
	EGL_BIND_TO_TEXTURE_RGB: 0
	EGL_BIND_TO_TEXTURE_RGBA: 0
	EGL_MIN_SWAP_INTERVAL: 0
	EGL_MAX_SWAP_INTERVAL: 0
Created context for format QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) with config:
	EGL_BUFFER_SIZE: 32
	EGL_ALPHA_SIZE: 8
	EGL_BLUE_SIZE: 8
	EGL_GREEN_SIZE: 8
	EGL_RED_SIZE: 8
	EGL_DEPTH_SIZE: 24
	EGL_STENCIL_SIZE: 8
	EGL_CONFIG_CAVEAT: 12344
	EGL_CONFIG_ID: 1
	EGL_LEVEL: 0
	EGL_MAX_PBUFFER_HEIGHT: 32768
	EGL_MAX_PBUFFER_PIXELS: 1073741824
	EGL_MAX_PBUFFER_WIDTH: 32768
	EGL_NATIVE_RENDERABLE: 0
	EGL_NATIVE_VISUAL_ID: 0
	EGL_NATIVE_VISUAL_TYPE: 12344
	EGL_SAMPLES: 0
	EGL_SAMPLE_BUFFERS: 0
	EGL_SURFACE_TYPE: 2049
	EGL_TRANSPARENT_TYPE: 12344
	EGL_TRANSPARENT_BLUE_VALUE: 0
	EGL_TRANSPARENT_GREEN_VALUE: 0
	EGL_TRANSPARENT_RED_VALUE: 0
	EGL_BIND_TO_TEXTURE_RGB: 0
	EGL_BIND_TO_TEXTURE_RGBA: 0
	EGL_MIN_SWAP_INTERVAL: 0
	EGL_MAX_SWAP_INTERVAL: 0
Shaders intialized
Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 0, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
	EGL_BUFFER_SIZE: 32
	EGL_ALPHA_SIZE: 8
	EGL_BLUE_SIZE: 8
	EGL_GREEN_SIZE: 8
	EGL_RED_SIZE: 8
	EGL_DEPTH_SIZE: 0
	EGL_STENCIL_SIZE: 0
	EGL_CONFIG_CAVEAT: 12344
	EGL_CONFIG_ID: 4
	EGL_LEVEL: 0
	EGL_MAX_PBUFFER_HEIGHT: 32768
	EGL_MAX_PBUFFER_PIXELS: 1073741824
	EGL_MAX_PBUFFER_WIDTH: 32768
	EGL_NATIVE_RENDERABLE: 0
	EGL_NATIVE_VISUAL_ID: 0
	EGL_NATIVE_VISUAL_TYPE: 12344
	EGL_SAMPLES: 0
	EGL_SAMPLE_BUFFERS: 0
	EGL_SURFACE_TYPE: 2049
	EGL_TRANSPARENT_TYPE: 12344
	EGL_TRANSPARENT_BLUE_VALUE: 0
	EGL_TRANSPARENT_GREEN_VALUE: 0
	EGL_TRANSPARENT_RED_VALUE: 0
	EGL_BIND_TO_TEXTURE_RGB: 0
	EGL_BIND_TO_TEXTURE_RGBA: 0
	EGL_MIN_SWAP_INTERVAL: 0
	EGL_MAX_SWAP_INTERVAL: 0
Video Resolution:  3840 x 2160
Decoder colorspace ITU-R BT.601 with standard range luma (16-235)
Query and set capture successful
4226210169 0
qt.qpa.eglfs.kms: Mode already set
Segmentation fault (core dumped)

I found that the NVRender has the x_displayer(x11).
I config qt egl_kms_egldevice.
Must I have the x11?

Hi,
We would suggest use X11(or Wayland). For using QT, would need other users to share experience.

Do you observe the segment fault with default X11? Would like to clarify if calling glDrawArrays() works properly in X11.

Hello
I want to qt+drm.
I want qt widget is on the first layout and video is on the second.
Can tx2nx do it?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.