QtWayalnd compositors and qml applications without X11



  • Hello. I was builded qt5 with no support for xcb, and tried to run qtwayland example compositors with eglfs platform plugin. Everything was fine, but applications that uses opengl not runs with compositor. I get the error when try to run qtquick or any other opengl application:

    • with wayland platform plugin:

    Failed to determine what client buffer integration to use
    Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)

    and segfault...

    • with wayland-egl platform plugin:

    Using Wayland-EGL
    failed to initialize EGL display
    Cannot find EGLConfig, returning null config
    Cannot find EGLConfig, returning null config
    QWaylandGLContext: failed to create EGLContext, error=3008
    Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)

    and segfault...

    Applications that not uses opengl works fine. How to fix this problem and run qtquick application under qtwayland compositor?

    System archlinux
    Qt5 from git
    Opensource radeon drivers

    Thank =)



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.