https://bugs.freedesktop.org/show_bug.cgi?id=99403
Bug ID: 99403 Summary: Graphical glitches in witcher-1 with wine nine and r600g (rv740). Product: Mesa Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: roman.elshin@gmail.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 128941 --> https://bugs.freedesktop.org/attachment.cgi?id=128941&action=edit screenshot
Very similar (but visually not exactly identical) glitches exists without nine, but there are workaround in wine: [HKEY_CURRENT_USER\Software\Wine\Direct3D] CheckFloatConstants="enabled" which helps with it. This key does not make a difference with nine. There are no such problem with nouveau (750ti) here, os ubuntu-16.04 with oibaf and commendsarnex ppa.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #1 from ilia inferrna@gmail.com --- Experienced the same problem on stock mesa from https://launchpad.net/~inferrna/+archive/ubuntu/featured-mesa/ (nine enabled) and wine from commendsarnex ppa.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #2 from iive@yahoo.com --- Could you try the patch from this bugreport : https://bugs.freedesktop.org/show_bug.cgi?id=94459
If the bug is still present, please make an d3d9 apitrace of the game that shows the bug. The smaller the file the better. Upload it on the Ixit Nine ftp or some filesharing service (like google drive).
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #3 from Roman Elshin roman.elshin@gmail.com --- I am not sure about compiling 32 bit mesa on 64 bit system, but will try.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #4 from Roman Elshin roman.elshin@gmail.com --- patch from 94459 does not help, d3d9 apitrace (witcher.trace.7z - 170M): https://drive.google.com/file/d/11yogHC1q45emz3hOQOkJ70wW_xzhjOP8/view?usp=s...
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #5 from Patrick Rudolph siro@das-labor.org --- Tested on llvmpipe and nvc0 (card NVD9): The bug isn't visible. Tested on radeonsi (card AMD TAHITI): The bug is visible.
csmt_force makes no difference.
Mark as AMD bug.
Tested with mesa 17.3.0.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #6 from ilia inferrna@gmail.com --- Glitches disappeared for me after graphics card upgrade to radeon 560. It very possible means that amdgpu driver is not affected by this problem. http://storage6.static.itmages.com/i/18/0402/h_1522696416_2964411_ae68ba0d5e...
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #7 from iive@yahoo.com --- It's not driver specific bug.
I should have followed the hint that there is a registry entry to workaround this problem with wined3d. It turns out that this registry entry is specifically for this bug. The analysis and possible solutions could be found here:
https://bugs.winehq.org/show_bug.cgi?id=34052#c42
Also, this bug is also tracked at: https://github.com/iXit/Mesa-3D/issues/312
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #8 from iive@yahoo.com --- This patch seems to fix rendering on Evergreen: https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=91808&att...
Now, it remains to find out why it is reproducible on Tahiti.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #9 from iive@yahoo.com --- The fix for r600/Evergreen has been committed: https://cgit.freedesktop.org/mesa/mesa/commit/?id=ce027ac5c798b39582288e5d7d...
The Tahiti issue remains under investigation.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #10 from Roman Elshin roman.elshin@gmail.com --- so it may be closed? p.s. thanks a lot to all participated
https://bugs.freedesktop.org/show_bug.cgi?id=99403
--- Comment #11 from iive@yahoo.com --- (In reply to Roman Elshin from comment #10)
so it may be closed? p.s. thanks a lot to all participated
If it works OK for you, you are free to close it. You may also mark it as duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=91808 Since both issues seems to be fixed by same change.
About the problem still existing on Tahiti, the issue might be some other (similar) bug. I've been told that you can't just port that fix to radeonsi/gcn as they work differently.
But it is not problem to open a new issue for it.
https://bugs.freedesktop.org/show_bug.cgi?id=99403
Roman Elshin roman.elshin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #12 from Roman Elshin roman.elshin@gmail.com ---
*** This bug has been marked as a duplicate of bug 91808 ***
dri-devel@lists.freedesktop.org