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

Compositor failures on eglfs_kms_egldevice platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.3
    • 5.9
    • QPA: Wayland
    • None
    • Jetson TX1 (arm64), eglfs_kms_egldevice (no X11), -opengl=es2, Wayland-EGL
    • f1407493d6d25f24a3c71fbcedc00598baa44b56

    Description

      1: simple-qml/pure-qml compositor. Running wiggly example client works ok, but starting qopennglwindow client just causes the compositor to emit the warning "EglClientBufferIntegration: creating texture with no current context" continously.

      Thread 1 "pure-qml" hit Breakpoint 2, WaylandEglClientBufferIntegrationPrivate::init_egl_fd_texture (this=0x5a28a0,  
         buffer=buffer@entry=0x5f8b80, bufferHandle=0x6049a0) 
         at ../../../../hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp:319 
      319             qWarning("EglClientBufferIntegration: creating texture with no current context"); 
      (gdb) where 
      #0  WaylandEglClientBufferIntegrationPrivate::init_egl_fd_texture (this=0x5a28a0, buffer=buffer@entry=0x5f8b80, bufferHandle=0x6049a0) 
         at ../../../../hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp:319 
      #1  0x0000007fa9b2cdc4 in WaylandEglClientBuffer::setCommitted (this=0x5f8b80, damage=...) 
         at ../../../../hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp:520 
      #2  0x0000007fab764108 in QWaylandSurfacePrivate::surface_commit (this=0x51fe60) at compositor_api/qwaylandsurface.cpp:285 
      #3  0x0000007fab7ac6e4 in QtWaylandServer::wl_surface::handle_commit (client=<optimized out>, resource=<optimized out>) 
         at qwayland-server-wayland.cpp:2437 
      #4  0x0000007fb411ae60 in ffi_call_SYSV () from /usr/lib/aarch64-linux-gnu/libffi.so.6 
      #5  0x0000007fb411b7b8 in ffi_call () from /usr/lib/aarch64-linux-gnu/libffi.so.6 
      #6  0x0000007fb3dfa220 in ?? () from /usr/lib/aarch64-linux-gnu/libwayland-server.so.0 
      #7  0x00000000005efc40 in ?? ()
      

       

      2: minimal-cpp: No warning or crash, but the qopenglwindow client is displayed as just a black rectangle.

       

      3: qwindow-compostor: qopenglwindow client runs fine, but compostor crashes when mouse cursor leaves the window. Backtrace:

      #0  QWaylandView::surface (this=this@entry=0x0) at compositor_api/qwaylandview.cpp:132 
      #1  0x0000007fb7f3db50 in QWaylandPointer::sendMouseMoveEvent (this=0x4dfc80, view=0x0, localPos=..., outputSpacePos=...) 
         at compositor_api/qwaylandpointer.cpp:236 
      #2  0x0000007fb7f387b8 in QWaylandSeat::sendMouseMoveEvent (this=this@entry=0x492260, view=view@entry=0x0, localPos=...,  
         outputSpacePos=...) at compositor_api/qwaylandseat.cpp:243 
      #3  0x000000000040a124 in Compositor::handleMouseEvent (this=<optimized out>, target=target@entry=0x0, me=me@entry=0x7fffffe870) 
         at compositor.cpp:469 
      #4  0x00000000004082cc in Window::sendMouseEvent (this=this@entry=0x7ffffff188, e=e@entry=0x7fffffec48, target=target@entry=0x0) 
         at window.cpp:272 
      #5  0x0000000000408584 in Window::mouseMoveEvent (this=0x7ffffff188, e=0x7fffffec48) at window.cpp:239 
      #6  0x0000007fb7b260e0 in QWindow::event (this=0x7ffffff188, ev=<optimized out>) at kernel/qwindow.cpp:2168 
      #7  0x0000007fb7b57358 in QPaintDeviceWindow::event (this=<optimized out>, event=<optimized out>) at kernel/qpaintdevicewindow.cpp:206 
      #8  0x0000007fb76e6e3c in QCoreApplicationPrivate::notify_helper (receiver=receiver@entry=0x7ffffff188, event=event@entry=0x7fffffec48) 
         at kernel/qcoreapplication.cpp:1152 
      #9  0x0000007fb76e6eec in doNotify (receiver=receiver@entry=0x7ffffff188, event=event@entry=0x7fffffec48) 
         at kernel/qcoreapplication.cpp:1093 
      #10 0x0000007fb76e707c in QCoreApplication::notify (this=this@entry=0x7ffffff128, receiver=receiver@entry=0x7ffffff188,  
         event=event@entry=0x7fffffec48) at kernel/qcoreapplication.cpp:1079 
      #11 0x0000007fb7b1545c in QGuiApplication::notify (this=0x7ffffff128, object=0x7ffffff188, event=0x7fffffec48) 
         at kernel/qguiapplication.cpp:1688 
      #12 0x0000007fb76e6fe4 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x7ffffff188, event=0x7fffffec48,  
         event@entry=0x7fffffecb8) at kernel/qcoreapplication.cpp:1018 
      #13 0x0000007fb7b18af4 in QCoreApplication::sendSpontaneousEvent (event=0x7fffffecb8, receiver=0x7ffffff188) 
         at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 
      #14 QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x5691f0) at kernel/qguiapplication.cpp:1949 
      #15 0x0000007fb7b1a3ec in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x5691f0) at kernel/qguiapplication.cpp:1733 
      #16 0x0000007fb7aec268 in QWindowSystemEventHandler::sendEvent (this=this@entry=0x4cf030, e=e@entry=0x5691f0) 
         at kernel/qwindowsysteminterface.cpp:188 
      #17 0x0000007fb7f324b4 in QtWayland::WindowSystemEventHandler::sendEvent (this=0x4cf030, e=0x5691f0) 
         at compositor_api/qwaylandcompositor.cpp:140 
      #18 0x0000007fb7aedb1c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:935 
      #19 0x0000007fb3fe1654 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77 
      #20 0x0000007fb60d01b4 in g_main_context_dispatch () from /lib/aarch64-linux-gnu/libglib-2.0.so.0 
      #21 0x0000007fb60d0408 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0 
      #22 0x0000000000000001 in ?? ()
      

       

      Attachments

        Issue Links

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

          Activity

            People

              johanhelsing Johan Helsing
              vgt Eirik Aavitsland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes