Bug 91922

Summary: [SUMO] Xorg Server crash on launch 3D application using DRI_PRIME, if GLAMOR is used as AccelMethod with radeon driver
Product: xorg Reporter: russianneuromancer
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
gdb
none
Xorg log
none
dmesg
none
lspci
none
xorg.conf none

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.