Bug 99403 - Graphical glitches in witcher-1 with wine nine and r600g (rv740).
Summary: Graphical glitches in witcher-1 with wine nine and r600g (rv740).
Status: RESOLVED DUPLICATE of bug 91808
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
Depends on:
Reported: 2017-01-13 21:03 UTC by Roman Elshin
Modified: 2018-05-13 07:12 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

screenshot (2.88 MB, image/png)
2017-01-13 21:03 UTC, Roman Elshin

Description Roman Elshin 2017-01-13 21:03:42 UTC
Created attachment 128941 [details]

Very similar (but visually not exactly identical) glitches exists without nine, but there are workaround in wine:
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.
Comment 1 ilia 2017-03-21 07:38:55 UTC
Experienced the same problem on stock mesa from https://launchpad.net/~inferrna/+archive/ubuntu/featured-mesa/ (nine enabled) and wine from commendsarnex ppa.
Comment 2 i.kalvachev 2018-04-01 10:16:25 UTC
Could you try the patch from this bugreport :

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).
Comment 3 Roman Elshin 2018-04-01 12:42:29 UTC
I am not sure about compiling 32 bit mesa on 64 bit system, but will try.
Comment 4 Roman Elshin 2018-04-01 20:01:37 UTC
patch from 94459 does not help, d3d9 apitrace (witcher.trace.7z - 170M):
Comment 5 Patrick Rudolph 2018-04-02 08:48:50 UTC
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.
Comment 6 ilia 2018-04-02 19:20:26 UTC
Glitches disappeared for me after graphics card upgrade to radeon 560. It very possible means that amdgpu driver is not affected by this problem.
Comment 7 i.kalvachev 2018-04-06 15:27:11 UTC
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:


Also, this bug is also tracked at:
Comment 8 i.kalvachev 2018-05-09 15:11:42 UTC
This patch seems to fix rendering on Evergreen:

Now, it remains to find out why it is reproducible on Tahiti.
Comment 9 i.kalvachev 2018-05-10 15:25:06 UTC
The fix for r600/Evergreen has been committed:

The Tahiti issue remains under investigation.
Comment 10 Roman Elshin 2018-05-12 05:36:51 UTC
so it may be closed?
p.s. thanks a lot to all participated
Comment 11 i.kalvachev 2018-05-12 11:49:12 UTC
(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
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.
Comment 12 Roman Elshin 2018-05-13 07:12:11 UTC

*** This bug has been marked as a duplicate of bug 91808 ***

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.