All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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	[thread overview]
Message-ID: <bug-104193-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2148 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104193

            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=136068&action=edit
The Witcher 3: rotfiends radeonsi freeze

Wine has an issue with distorted monsters in The Witcher 3. Józef 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=43872#c8

He provided a patch:
https://bugs.winehq.org/attachment.cgi?id=59848&action=diff&context=patch&collapsed=&headers=1&format=raw

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ózef 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 Wine
using just that patch, and one staging patch for performance: 

https://raw.githubusercontent.com/wine-compholio/wine-staging/master/patches/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.

[-- Attachment #1.2: Type: text/html, Size: 4113 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2017-12-10 14:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10 14:28 bugzilla-daemon [this message]
2017-12-21 15:42 ` [Bug 104193] [radeonsi] The Witcher 3 freezes the system with no attachments calls & transform feedback Wine patch bugzilla-daemon
2017-12-24  0:29 ` bugzilla-daemon
2017-12-29  4:53 ` bugzilla-daemon
2018-01-28 19:21 ` bugzilla-daemon
2018-03-02 21:37 ` bugzilla-daemon
2018-03-04  1:38 ` bugzilla-daemon
2018-03-04  2:58 ` bugzilla-daemon
2018-03-23  1:37 ` bugzilla-daemon
2018-03-23  7:56 ` [Bug 104193] [radeonsi] The Witcher 3 freezes the system (POLARIS10) bugzilla-daemon
2018-03-25 17:21 ` bugzilla-daemon
2018-07-25 18:50 ` bugzilla-daemon
2019-09-25 18:01 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-104193-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.