Bug 1015012 (Mesa) - [Mesa/Drivers/Gallium/radeonsi] Graphics lockup while playing tf2
Summary: [Mesa/Drivers/Gallium/radeonsi] Graphics lockup while playing tf2
Status: RESOLVED FIXED
Alias: Mesa
Product: openSUSE Distribution
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Leap 42.2
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Max Staudt
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-11 08:01 UTC by Mikhail Kasimov
Modified: 2017-05-19 06:40 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kasimov 2016-12-11 08:01:06 UTC
References: 
==================================================================
[1] https://github.com/ValveSoftware/Source-1-Games/issues/1943
[2] https://bugs.freedesktop.org/show_bug.cgi?id=93649
[3] https://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc96de303290e8d1fc294da478c4f370be98dea
==================================================================

[3]: This fixes random radeonsi GPU hangs in Batman Arkham: Origins (Wine) and probably many other games too. cso_cache deletes sampler states when the cache size is too big and doesn't check which sampler states are bound, causing use-after-free in drivers. Because of that, radeonsi uploaded garbage sampler states and the hardware went bananas. Other drivers may have experienced similar issues.
Comment 1 Stefan Dirsch 2016-12-11 13:27:39 UTC
Max, also a candidate for sle12-sp2.
Comment 3 Bernhard Wiedemann 2016-12-12 15:04:27 UTC
This is an autogenerated message for OBS integration:
This bug (1015012) was mentioned in
https://build.opensuse.org/request/show/445424 13.2 / Mesa
https://build.opensuse.org/request/show/445425 42.1 / Mesa
https://build.opensuse.org/request/show/445426 42.2 / Mesa
https://build.opensuse.org/request/show/445455 Factory / Mesa
Comment 5 Andreas Stieger 2016-12-13 19:55:36 UTC
In openSUSE Leap 42.2 maintenance, this fails to build for aarm64.
openSUSE:Maintenance:6057/Mesa.openSUSE_Leap_42.2_Update
https://build.opensuse.org/package/live_build_log/openSUSE:Maintenance:6057/Mesa.openSUSE_Leap_42.2_Update/openSUSE_Leap_42.2_Update_ports/aarch64

[  796s] Processing files: Mesa-dri-nouveau-11.2.2-161.1.aarch64
[  796s] error: File not found: /home/abuild/rpmbuild/BUILDROOT/Mesa-11.2.2-161.1.aarch64/usr/lib64/dri/nouveau_dri.so
[  796s] error: File not found: /home/abuild/rpmbuild/BUILDROOT/Mesa-11.2.2-161.1.aarch64/usr/lib64/dri/nouveau_vieux_dri.so
[  796s] 
[  796s] 
[  796s] RPM build errors:
[  796s]     File not found: /home/abuild/rpmbuild/BUILDROOT/Mesa-11.2.2-161.1.aarch64/usr/lib64/dri/nouveau_dri.so
[  796s]     File not found: /home/abuild/rpmbuild/BUILDROOT/Mesa-11.2.2-161.1.aarch64/usr/lib64/dri/nouveau_vieux_dri.so
[  796s]     File not found: /home/abuild/rpmbuild/BUILDROOT/Mesa-11.2.2-161.1.aarch64/usr/lib64/dri/nouveau_dri.so
[  796s]     File not found: /home/abuild/rpmbuild/BUILDROOT/Mesa-11.2.2-161.1.aarch64/usr/lib64/dri/nouveau_vieux_dri.so

Looking at the diff between the SLE package and openSUSE one this should be a straightforward fix. Is that something that you would want to include for 42.2 for this update round?
Comment 6 Max Staudt 2016-12-14 11:12:22 UTC
Thanks for spotting that!

I've updated the .spec file at:

  https://build.opensuse.org/package/show/home:mstaudt:1015012boo-mesa-cso-patch/Mesa.openSUSE_Leap_42.2_Update
Comment 8 Bernhard Wiedemann 2016-12-16 09:00:46 UTC
This is an autogenerated message for OBS integration:
This bug (1015012) was mentioned in
https://build.opensuse.org/request/show/446597 42.2 / Mesa
Comment 9 Max Staudt 2016-12-19 11:04:41 UTC
Pushed the patches, closing.
Comment 10 Swamp Workflow Management 2016-12-22 14:08:34 UTC
openSUSE-RU-2016:3231-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1015012
CVE References: 
Sources used:
openSUSE Leap 42.2 (src):    Mesa-11.2.2-162.1
openSUSE Leap 42.1 (src):    Mesa-11.0.8-154.2
openSUSE 13.2 (src):    Mesa-10.3.7-91.24.2
Comment 11 Swamp Workflow Management 2017-05-18 16:23:00 UTC
SUSE-RU-2017:1334-1: An update that has three recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1015012,981975,985650
CVE References: 
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP1 (src):    Mesa-10.0.2-102.7.7
SUSE Linux Enterprise Software Development Kit 12-SP1 (src):    Mesa-10.0.2-102.7.7
SUSE Linux Enterprise Server 12-SP1 (src):    Mesa-10.0.2-102.7.7
SUSE Linux Enterprise Desktop 12-SP1 (src):    Mesa-10.0.2-102.7.7
Comment 12 Swamp Workflow Management 2017-05-18 16:25:58 UTC
SUSE-RU-2017:1338-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 1015012
CVE References: 
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP2 (src):    Mesa-11.2.1-104.3.3
SUSE Linux Enterprise Software Development Kit 12-SP2 (src):    Mesa-11.2.1-104.3.3
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    Mesa-11.2.1-104.3.3
SUSE Linux Enterprise Server 12-SP2 (src):    Mesa-11.2.1-104.3.3
SUSE Linux Enterprise Desktop 12-SP2 (src):    Mesa-11.2.1-104.3.3