Bug 91922 - [SUMO] Xorg Server crash on launch 3D application using DRI_PRIME, if GLAMOR is used as AccelMethod with radeon driver
Summary: [SUMO] Xorg Server crash on launch 3D application using DRI_PRIME, if GLAMOR ...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 18:46 UTC by russianneuromancer
Modified: 2016-09-14 07:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
gdb (14.86 KB, text/plain)
2015-09-08 18:46 UTC, russianneuromancer
no flags Details
Xorg log (129.51 KB, text/plain)
2015-09-08 18:47 UTC, russianneuromancer
no flags Details
dmesg (73.85 KB, text/plain)
2015-09-08 18:47 UTC, russianneuromancer
no flags Details
lspci (2.92 KB, text/plain)
2015-09-08 18:48 UTC, russianneuromancer
no flags Details
xorg.conf (188 bytes, text/plain)
2015-09-08 18:48 UTC, russianneuromancer
no flags Details

Description russianneuromancer 2015-09-08 18:46:22 UTC
Launching Steam via DRI_PRIME cause Xorg Server crash, if glamor is used as AcceleMethod with radeon driver. This crash happen only with radeon+glamor combination, and does not happen with radeon+exa and modesetting+glamor combination. Please look into attached logs.

Software:
Kubuntu 15.10 x86_64
Mesa: 10.6.3
libdrm-radeon1: 2.4.64
xserver-xorg-video-radeon: 7.5.0+git20150819
xserver-xorg-core: 1.17.2

Hardware:
Acer Aspire 7560G laptop,
AMD APU A8-3500M with integrated Radeon HD 6620G (SUMO)
Discrete AMD Radeon HD 6650M (TURKS)
Comment 1 russianneuromancer 2015-09-08 18:46:54 UTC
Created attachment 118142 [details]
gdb
Comment 2 russianneuromancer 2015-09-08 18:47:09 UTC
Created attachment 118143 [details]
Xorg log
Comment 3 russianneuromancer 2015-09-08 18:47:35 UTC
Created attachment 118144 [details]
dmesg
Comment 4 russianneuromancer 2015-09-08 18:48:04 UTC
Created attachment 118145 [details]
lspci
Comment 5 russianneuromancer 2015-09-08 18:48:20 UTC
Created attachment 118146 [details]
xorg.conf
Comment 6 russianneuromancer 2015-09-18 23:49:57 UTC
I want to add that this crash is not reproducible with DRI3.
Comment 7 russianneuromancer 2015-09-24 04:22:44 UTC
Seems like reproducible only with DRI2, not with DRI3.
Comment 8 Michel Dänzer 2016-09-14 07:33:53 UTC
Should be fixed in xf86-video-ati Git master:

commit e91858e435672c32f9c4a854b3dec048199d6f7f
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Mon Sep 12 18:02:07 2016 +0900

    glamor: Fix radeon_glamor_share_pixmap_backing for priv->bo == NULL


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.