Bug 76035 - DRI_PRIME with anything but 0 or 1 crashes X if rendering is offloaded
Summary: DRI_PRIME with anything but 0 or 1 crashes X if rendering is offloaded
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.7 (2012.06)
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-11 14:43 UTC by Stefan Dirsch
Modified: 2018-07-17 10:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stefan Dirsch 2014-03-11 14:43:51 UTC
This is seen with render offloading on Radeon with any Intel gfx (Nvidia not
tested)

"DRI_PRIME=2 glxinfo" crashes X. It happens with any program. It happens only
if rendering is offloaded. Without association the Intel gfx is accessed.
Comment 1 Michel Dänzer 2014-03-12 06:40:39 UTC
Please attach the Xorg log file and the output of dmesg, and if possible a gdb backtrace of the crash.
Comment 2 Stefan Dirsch 2014-04-16 13:03:36 UTC
Michal Srb fixed this meanwhile and sent a patch to the xorg-devel list.

http://lists.x.org/archives/xorg-devel/2014-April/041880.html
Comment 3 Stefan Dirsch 2018-07-17 10:05:00 UTC
This fix came in with

commit 3dba171f5e82101aa8ea2e47d2253c3410907f6a
Author: Michal Srb <msrb@suse.com>
Date:   Tue Apr 15 18:54:35 2014 +0300

    dri2: Fix detection of wrong prime_id in GetScreenPrime.

Fixed with xorg-server 1.16. Closing as fixed.


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.