Bug 94922

Summary: XServer Freeze after a while using DRI_PRIME=1
Product: xorg Reporter: vilsol2000
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Full Log Extraction
none
Installed Packages
none
DMESG
none
New DMESG none

Description vilsol2000 2016-04-13 14:44:17 UTC
Created attachment 122895 [details]
Full Log Extraction

While I am playing something, if I use DRI_PRIME=1, at a random point it will simply freeze the XServer forever.

I have a 7970M and I have attached my installed X packages.

While I have the full log attached above, it is essentially this repeated 10 times (and then infinitely more hidden)
Comment 1 vilsol2000 2016-04-13 14:44:36 UTC
Created attachment 122896 [details]
Installed Packages
Comment 2 vilsol2000 2016-04-13 14:47:15 UTC
Comment on attachment 122896 [details]
Installed Packages

ii  xserver-xorg-video-ati                                      1:7.7.99+git1604121932.1ca677~gd~w                        amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-intel                                    2:2.99.917+git1604101930.a7526e~gd~w                      amd64        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64                                   6.9.5-1                                                   amd64        X.Org X server -- ATI Mach64 display driver
rc  xserver-xorg-video-modesetting                              0.9.0+git20140806.1e4cb922-0ubuntu0sarvatt                amd64        X.Org X server -- Generic modesetting driver
ii  xserver-xorg-video-openchrome                               1:0.3.3-1ubuntu1.1                                        amd64        X.Org X server -- VIA display driver
ii  xserver-xorg-video-qxl                                      0.1.4-3ubuntu1                                            amd64        X.Org X server -- QXL display driver
ii  xserver-xorg-video-r128                                     6.10.0-1                                                  amd64        X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon                                   1:7.7.99+git1604121932.1ca677~gd~w                        amd64        X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-tdfx                                     1:1.4.6-1                                                 amd64        X.Org X server -- tdfx display driver
ii  xserver-xorg-video-vmware                                   1:13.1.0-0ubuntu1build2                                   amd64        X.Org X server -- VMware display driver
Comment 3 Alex Deucher 2016-04-13 15:14:50 UTC
Please attach your dmesg output when the issue happens.
Comment 4 vilsol2000 2016-04-13 17:15:14 UTC
Created attachment 122902 [details]
DMESG

I can no longer get the X server to freeze completely, but now it is even weirder. It seems like the specific GPU using app freezes, and after that DRI no longer works on anything.
Comment 5 vilsol2000 2016-04-13 18:29:13 UTC
Created attachment 122903 [details]
New DMESG

Ok, I managed to freeze it again. Here is what happens when it freezes.
Comment 6 Martin Peres 2019-11-19 07:56:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/158.

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.