From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 86043] Optimus issue with libdrm 2.4.58 Date: Mon, 02 Mar 2015 19:39:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0441342212==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3DC566E4C1 for ; Mon, 2 Mar 2015 11:39:57 -0800 (PST) In-Reply-To: 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 --===============0441342212== Content-Type: multipart/alternative; boundary="1425325197.8eCd44.29518"; charset="UTF-8" --1425325197.8eCd44.29518 Date: Mon, 2 Mar 2015 19:39:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=86043 --- Comment #10 from Vedran Rodic --- I don't have pre 3.16 kernel easily available. export GAME_DEBUGGER=gdb still makes the game crash before it runs it with the debugger. I've tried various things to make it work (modifying the game startup shell script) but without success. When I put the older version of libdrm (86b37c61c78edd1353a3f76f678c39e2ec168771, before Tvrtkos change), gdb runs normally for the game. So the steam binary actually crashes, not the game itself. It's funny because steam binary is 32bit, Dota 2 binary is 64 bit, and only changing the 64bit version of libdrm_intel.so affects this bug. I've tried debugging steam with export DEBUGGER=gdb, but it seems spawn multiple threads and I'm not experienced with multithreaded debugging. I did manage to run steam with valgrind, I'll add an attachment now. -- You are receiving this mail because: You are the assignee for the bug. --1425325197.8eCd44.29518 Date: Mon, 2 Mar 2015 19:39:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 86043 from
I don't have pre 3.16 kernel easily available. 

export GAME_DEBUGGER=gdb still makes the game crash before it runs it with the
debugger.

I've tried various things to make it work (modifying the game startup shell
script) but without success. 

When I put the older version of libdrm
(86b37c61c78edd1353a3f76f678c39e2ec168771, before Tvrtkos change), gdb runs
normally for the game. So the steam binary actually crashes, not the game
itself. 

It's funny because steam binary is 32bit, Dota 2 binary is 64 bit, and only
changing the 64bit version of libdrm_intel.so affects this bug. 

I've tried debugging steam with export DEBUGGER=gdb, but it seems spawn
multiple threads and I'm not experienced with multithreaded debugging. 

I did manage to run steam with valgrind, I'll add an attachment now.


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