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

Linux: SIGABRT when using dedicated GPU in hybrid graphics notebook

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.4.1
    • GUI: OpenGL, QPA: X11/XCB
    • None
    • Hardware: HP EliteBook 850 G1 with Intel (HD4400) / AMD (HD8750M) hybrid graphics
      Software:
      ArchLinux (Antergos)
      Linux 3.19.3
      mesa 10.5.3 Intel / Radeon exact glxinfo outputs are attached
      Qt 5.4.1

    Description

      While trying to investigate https://bugs.kde.org/show_bug.cgi?id=346213 we encountered what we believe to be a Qt bug.
      It appears that neither kdenlive nor your official example program openglunderqml (qt/examples/quick/scenegraph/openglunderqml/) were able to allocate textures and aborted.

      Steps to Reproduce:
      1.Set radeon as hybrid GPU with xrandr --setprovideroffloadsink radeon Intel
      2.run gdb and kdenlive or openglunderqml on the dedicated GPU with DRI_PRIME=1 gdb kdenlive
      DRI_PRIME=1 '/home/paul/hybrid test/build-openglunderqml-Desktop-Debug/openglunderqml'
      3.(gdb) set logging file prime.log
      4.(gdb) set logging on
      5.(gdb)run
      6.Program received signal SIGABRT, Aborted.

      The pure console output gives us this:
      LANG=C DRI_PRIME=1 '/home/paul/hybrid test/build-openglunderqml-Desktop-Debug/openglunderqml'
      QML debugging is enabled. Only use this in a safe environment.
      openglunderqml: dri2.c:518: dri2_allocate_textures: Assertion `drawable->textures[statt]' failed.

      The backtraces are attached as kdenlive.log and openglunderqml.log respectively.

      As other non-Qt programs seem to run fine on the dedicated GPU (Steam, Xonotic) and statements of kdenlive's main developer suggested that this could be a Qt issue I decided to report it here.
      I hope this helps.
      Thank you!

      Attachments

        1. glxinfo-intel.log
          22 kB
        2. glxinfo-radeon.log
          19 kB
        3. kdenlive.log
          7 kB
        4. mesa-debug-openglunderqml.log
          6 kB
        5. openglunderqml.log
          4 kB
        6. qsginfo-amd.log
          4 kB
        7. qsginfo-intel.log
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            pkonecny Paul Konecny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes