Bug 111125 - [RADV] Graphic glitches regression in The Witcher 3 with DXVK on AMD Radeon HD7850
Summary: [RADV] Graphic glitches regression in The Witcher 3 with DXVK on AMD Radeon H...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-14 03:37 UTC by zefkerrigan
Modified: 2019-09-18 20:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
These red spots very quickly run all over the body and on the hat and the blue spots on Geralt. (3.33 MB, image/png)
2019-07-14 03:37 UTC, zefkerrigan
Details
The Witcher 3 with AMDVLK looks right, just the way it should be. (3.25 MB, image/png)
2019-07-14 05:27 UTC, zefkerrigan
Details
My The Witcher 3 save game (2.54 MB, application/x-xz)
2019-09-04 18:20 UTC, zefkerrigan
Details

Description zefkerrigan 2019-07-14 03:37:19 UTC
Created attachment 144784 [details]
These red spots very quickly run all over the body and on the hat and the blue spots on Geralt.

A regression appeared on Mesa, as a result of which in Witcher 3, on my model, the distortion of graphics on individual elements, which now look in psychedelic colors. That is, before this was not.
And when I installed AMDVLK - everything looks and works fine on it. These red spots very quickly run all over the body and on the hat, so it looks as if the peasant has a red back all over. And almost the same applies to the blue spots on Geralt, but spots on it run only along the edges. There was no such problem with Mesa 18.3 + LLVM 8.0.0, but it definitely happens with Mesa 19.1 and Mesa-git. I also tried LLVM-git, but it did not help. I'm not sure if this happens to Mesa 19.0, because I did not try to run The Witcher 3 when Mesa 19.0 was in the Arch Linux stable repository. Please tell me if you need any additional information or any logs. I use the usual Wine Staging from Arch Linux repositories. 

In addition, I also tried Mesa with ACO shader compiler and with it, these glitches do not happen, but then the animation of vegetation is exhausted and instead of it the vegetation simply jerks, instantly switching to its extreme positions of bends, instead of smooth animation of bending of vegetation. And also, ACO only works if Mesa is compiled with LLVM 8, but if I compiled Mesa (ACO  version) with LLVM-git (9), then the GPU hangs. The GPU hang does not happen in any case if I use the regular version of Mesa without ACO.

Thanks you.
Comment 1 zefkerrigan 2019-07-14 05:27:12 UTC
Created attachment 144785 [details]
The Witcher 3 with AMDVLK looks right, just the way it should be.
Comment 2 zefkerrigan 2019-07-14 05:33:29 UTC
This happens in any case with Mesa 19.1 and with Mesa-git, but there is absolutely no problem with AMDVLK.
Comment 3 Rhys Perry 2019-07-19 15:11:17 UTC
ACO builds of Mesa hanging with LLVM-git should be fixed with latest versions.

Are you sure you were using ACO? Seems the Radeon HD7850 is a GCN 1 card, which is currently unsupported and should fall back to using LLVM.

You can find out if ACO is used by looking at the DXVK HUD. It should show "AMD RADV/ACO ... (LLVM ...)" instead of "AMD RADV ... (LLVM ...)" if ACO is used.
Comment 4 Samuel Pitoiset 2019-08-20 17:04:24 UTC
Are you still able to reproduce the problem?
Comment 5 zefkerrigan 2019-08-30 14:29:52 UTC
(In reply to Samuel Pitoiset from comment #4)
> Are you still able to reproduce the problem?

Yes, it's still here with the latest Mesa commit.
Comment 6 Samuel Pitoiset 2019-09-03 12:15:38 UTC
What LLVM/Mesa versions are you using (sha1) ?
What game settings are you using?
Can you eventually record a capture with renderdoc or upload a savegame?

Last time (~2 week ago) I tried, I didn't notice anything wrong.
Comment 7 zefkerrigan 2019-09-04 17:56:54 UTC
(In reply to Samuel Pitoiset from comment #6)
> What LLVM/Mesa versions are you using (sha1) ?
> What game settings are you using?
> Can you eventually record a capture with renderdoc or upload a savegame?
> 
> Last time (~2 week ago) I tried, I didn't notice anything wrong.

I use Arch Linux with the latest Mesa-git and stable LLVM version from Arch Linux official repositories, but since you are asking me to do this, I will try Mesa-git with LLVM-git and then tell you what result I got after that. I use the smallest possible graphics settings, because now I have an old computer that can handle even this end-to-end.
Comment 8 zefkerrigan 2019-09-04 18:20:12 UTC
Created attachment 145266 [details]
My The Witcher 3 save game

Pay attention to the trembling animation of vegetation instead of smoothly swaying in the wind.
Comment 9 zefkerrigan 2019-09-04 19:06:33 UTC
(In reply to zefkerrigan from comment #7)
> (In reply to Samuel Pitoiset from comment #6)
> > What LLVM/Mesa versions are you using (sha1) ?
> > What game settings are you using?
> > Can you eventually record a capture with renderdoc or upload a savegame?
> > 
> > Last time (~2 week ago) I tried, I didn't notice anything wrong.
> 
> I use Arch Linux with the latest Mesa-git and stable LLVM version from Arch
> Linux official repositories, but since you are asking me to do this, I will
> try Mesa-git with LLVM-git and then tell you what result I got after that. I
> use the smallest possible graphics settings, because now I have an old
> computer that can handle even this end-to-end.

I just double-checked it again, and now I can say with confidence that for me with Mesa-git 1591d1fee5016a21477edec0d2eb6b2d24221952 (https://gitlab.freedesktop.org/mesa/mesa/commit/1591d1fee5016a21477edec0d2eb6b2d24221952) and with LLVM-git 7238353da24, this issue with the trembling animation of vegetation instead of smoothly swaying in the wind, sadly, but it is still exists.
Comment 10 GitLab Migration User 2019-09-18 20:08:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/866.


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.