From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 90182] Qt Applications won't start on the dedicated GPU (SIGABRT) Date: Sun, 26 Apr 2015 09:24:17 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0972321808==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F7C06E2DC for ; Sun, 26 Apr 2015 02:24:17 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0972321808== Content-Type: multipart/alternative; boundary="1430040257.A8fF8dfa0.30259"; charset="UTF-8" --1430040257.A8fF8dfa0.30259 Date: Sun, 26 Apr 2015 09:24:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=90182 Bug ID: 90182 Summary: Qt Applications won't start on the dedicated GPU (SIGABRT) Product: Mesa Version: 10.5 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: paul@konecny.at QA Contact: dri-devel@lists.freedesktop.org Created attachment 115334 --> https://bugs.freedesktop.org/attachment.cgi?id=115334&action=edit 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 https://bugreports.qt.io/browse/QTBUG-45686 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 -- You are receiving this mail because: You are the assignee for the bug. --1430040257.A8fF8dfa0.30259 Date: Sun, 26 Apr 2015 09:24:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 90182
Summary Qt Applications won't start on the dedicated GPU (SIGABRT)
Product Mesa
Version 10.5
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter paul@konecny.at
QA Contact dri-devel@lists.freedesktop.org

Created attachment 115334 [details]
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 https://bugreports.qt.io/browse/QTBUG-45686
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


You are receiving this mail because:
  • You are the assignee for the bug.
--1430040257.A8fF8dfa0.30259-- --===============0972321808== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0972321808==--