From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 101881] [regression] 32bit steam games segfault when launched
with DRI_PRIME=1
Date: Sat, 29 Jul 2017 14:17:38 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1144688890=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 2A8EA8825E
for ; Sat, 29 Jul 2017 16:46:26 +0000 (UTC)
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
--===============1144688890==
Content-Type: multipart/alternative; boundary="15013378580.e1b7.9937";
charset="UTF-8"
--15013378580.e1b7.9937
Date: Sat, 29 Jul 2017 14:17:38 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D101881
--- Comment #5 from Rafael Ristovski ---
I can confirm a very similar issue on my SI Cape Verde (HD8850M GCN1.0) usi=
ng
the amdgpu driver with mesa. It happens even if I compile mesa's `xdemos` w=
ith
-m32 in which case most of the binaries produce a segfault pointing to
drmGetVersion().
Can you confirm the same thing on your end?
Steps to reproduce:
1) Compile xdemos with -m32
2) Load `glthreads` in gdb
3) Switch DRI on inside gdb via 'set environment DRI_prime=3D1'
4) After you run the program ('r'), and it segfaults, try and see what 'bt'
produces.
For me its the following:
#0 0xf7a9c001 in ?? () from /lib32/libc.so.6
#1 0xf7a9bceb in strdup () from /lib32/libc.so.6
#2 0xf7735c55 in drmGetVersion () from /usr/lib32/libdrm.so.2
#3 0xf71a1acc in amdgpu_winsys_create () from /usr/lib32/dri/radeonsi_dri.=
so
#4 0xf69152d8 in ?? () from /usr/lib32/dri/radeonsi_dri.so
#5 0xf6de8238 in ?? () from /usr/lib32/dri/radeonsi_dri.so
#6 0xf6de2eb3 in ?? () from /usr/lib32/dri/radeonsi_dri.so
#7 0xf7e0f0c5 in ?? () from /usr/lib32/libGL.so.1
#8 0xf7de040c in ?? () from /usr/lib32/libGL.so.1
#9 0xf7dde789 in glXChooseVisual () from /usr/lib32/libGL.so.1
#10 0x0804a483 in create_window ()
#11 0x0804abe9 in main ()
Note 64bit binaries work flawlessly.
Using gcc 8 alpha here.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15013378580.e1b7.9937
Date: Sat, 29 Jul 2017 14:17:38 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 5
on bug 10188=
1
from Rafael Ristovski
I can confirm a very similar issue on my SI Cape Verde (HD8850=
M GCN1.0) using
the amdgpu driver with mesa. It happens even if I compile mesa's `xdemos` w=
ith
-m32 in which case most of the binaries produce a segfault pointing to
drmGetVersion().
Can you confirm the same thing on your end?
Steps to reproduce:
1) Compile xdemos with -m32
2) Load `glthreads` in gdb
3) Switch DRI on inside gdb via 'set environment DRI_prime=3D1'
4) After you run the program ('r'), and it segfaults, try and see what 'bt'
produces.
For me its the following:
#0 0xf7a9c001 in ?? () from /lib32/libc.so.6
#1 0xf7a9bceb in strdup () from /lib32/libc.so.6
#2 0xf7735c55 in drmGetVersion () from /usr/lib32/libdrm.so.2
#3 0xf71a1acc in amdgpu_winsys_create () from /usr/lib32/dri/radeonsi_dri.=
so
#4 0xf69152d8 in ?? () from /usr/lib32/dri/radeonsi_dri.so
#5 0xf6de8238 in ?? () from /usr/lib32/dri/radeonsi_dri.so
#6 0xf6de2eb3 in ?? () from /usr/lib32/dri/radeonsi_dri.so
#7 0xf7e0f0c5 in ?? () from /usr/lib32/libGL.so.1
#8 0xf7de040c in ?? () from /usr/lib32/libGL.so.1
#9 0xf7dde789 in glXChooseVisual () from /usr/lib32/libGL.so.1
#10 0x0804a483 in create_window ()
#11 0x0804abe9 in main ()
Note 64bit binaries work flawlessly.
Using gcc 8 alpha here.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15013378580.e1b7.9937--
--===============1144688890==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1144688890==--