<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Qt Applications won't start on the dedicated GPU (SIGABRT)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90182">90182</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Qt Applications won't start on the dedicated GPU (SIGABRT)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.5
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paul@konecny.at
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=115334" name="attach_115334" title="GLXINFO of radeon">attachment 115334</a> <a href="attachment.cgi?id=115334&action=edit" title="GLXINFO of radeon">[details]</a></span>
GLXINFO of radeon

Hi, I was trying to test the new kdenlive development build I noticed that it
wouldn't even start with DRI_PRIME=1 kdenlive.
I immediatedly got a SIGABRT
Same happened with an easy example program from the Qt project "openglunderqml"

"LANG=C R600_DEBUG=cs DRI_PRIME=1 QSG_INFO=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.                                    
Abgebrochen (Speicherabzug geschrieben)"

As Xonotic worked more or less ok on the radeon I filed a bug report at the Qt
project <a href="https://bugreports.qt.io/browse/QTBUG-45686">https://bugreports.qt.io/browse/QTBUG-45686</a>
Laszlo Agocs from the Qt project states the following: 
"Might be a difficult one and not just because we lack any such hw to test on.
Cannot do much when glXMakeCurrent() crashes deep inside the driver.
Any chance for a backtrace with symbols? In the absence of that running with
QSG_INFO=1 could be helpful too.
Anyway, it's most likely happening in QGLXContext::queryDummyContext() where we
attempt to make a pbuffer surface current in order to query a few GL things.
Other apps may not rely on pbuffers and thus may not exhibit the issue."

I'm not a programmer so please go easy on me. If you need additional info let
me know (and maybe tell me how to fetch it for you ;) )

Thanks!

Hardware: HP EliteBook 850 G1 with Intel (HD4400) / AMD (HD8750M, OLAND) hybrid
graphics
Software:
ArchLinux (Antergos)
Linux 3.19.3
mesa 10.5.4 Intel / Radeon exact glxinfo outputs are attached
Qt 5.4.1</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>