From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104193] [radeonsi] The Witcher 3 freezes the system with no attachments calls & transform feedback Wine patch Date: Sun, 10 Dec 2017 14:28:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0036166186==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 91D0089DA8 for ; Sun, 10 Dec 2017 14:28:25 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0036166186== Content-Type: multipart/alternative; boundary="15129161050.fc45Da.21105"; charset="UTF-8" --15129161050.fc45Da.21105 Date: Sun, 10 Dec 2017 14:28:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104193 Bug ID: 104193 Summary: [radeonsi] The Witcher 3 freezes the system with no attachments calls & transform feedback Wine patch Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: shtetldik@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 136068 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136068&action=3Dedit The Witcher 3: rotfiends radeonsi freeze Wine has an issue with distorted monsters in The Witcher 3. J=C3=B3zef Kucia identified the problem as follows: * wined3d doesn't support draw calls with no attachments, * wined3d tries to map transform feedback buffers while transform feedback = is paused. See https://bugs.winehq.org/show_bug.cgi?id=3D43872#c8 He provided a patch: https://bugs.winehq.org/attachment.cgi?id=3D59848&action=3Ddiff&context=3Dp= atch&collapsed=3D&headers=3D1&format=3Draw However applying it, is causing a system freeze (with radeonsi) after such = kind of monsters are encountered in the game and fighting them for some time. See attached savegame for example with rotfiends. Interestingly, J=C3=B3zef Kucia couldn't reproduce this freeze with radeon = driver, so it appears to be radeonsi specific. You can apply the above Wine patch to Wine git master to test it (I build W= ine using just that patch, and one staging patch for performance:=20 https://raw.githubusercontent.com/wine-compholio/wine-staging/master/patche= s/wined3d-buffer_create/0001-wined3d-Do-not-pin-large-buffers.patch My last test environment: OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.= 18.0 / 4.13.0-1-amd64, LLVM 5.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.4.0-devel (git-b926da241a) --=20 You are receiving this mail because: You are the assignee for the bug.= --15129161050.fc45Da.21105 Date: Sun, 10 Dec 2017 14:28:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 104193
Summary [radeonsi] The Witcher 3 freezes the system with no attachmen= ts calls & transform feedback Wine patch
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter shtetldik@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 136068 [details]
The Witcher 3: rotfiends radeonsi freeze

Wine has an issue with distorted monsters in The Witcher 3. J=C3=B3zef Kucia
identified the problem as follows:

* wined3d doesn't support draw calls with no attachments,
* wined3d tries to map transform feedback buffers while transform feedback =
is
paused.

See https://=
bugs.winehq.org/show_bug.cgi?id=3D43872#c8

He provided a patch:
=
https://bugs.winehq.org/attachment.cgi?id=3D59848&action=3Ddiff&con=
text=3Dpatch&collapsed=3D&headers=3D1&format=3Draw

However applying it, is causing a system freeze (with radeonsi) after such =
kind
of monsters are encountered in the game and fighting them for some time. See
attached savegame for example with rotfiends.

Interestingly, J=C3=B3zef Kucia couldn't reproduce this freeze with radeon =
driver,
so it appears to be radeonsi specific.

You can apply the above Wine patch to Wine git master to test it (I build W=
ine
using just that patch, and one staging patch for performance:=20

https://raw.githubusercontent.com/wine-compholio/wine-staging/master/p=
atches/wined3d-buffer_create/0001-wined3d-Do-not-pin-large-buffers.patch

My last test environment:

OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.=
18.0
/ 4.13.0-1-amd64, LLVM 5.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.4.0-devel
(git-b926da241a)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15129161050.fc45Da.21105-- --===============0036166186== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0036166186==--