Created attachment 142123 [details]
The Witcher 3
CPU: Inter core I5 4200M
RAM: 6 GB
GPU: AMD HD 8750M
Driver: Mesa 18.3 with the RADV patches for VK_EXT_transform_feedback
Wine version: esync-staging-pba-3.18
DXVK version: 0.90
Games like The Witcher 3 and Mafia 3 produce weird graphic shapes after using Mesa 18.3 with the RADV patches for VK_EXT_transform_feedback.
Created attachment 142124 [details]
The faces looks weird and the games is unplayable.
Thanks for testing, although its kind of strange to use bugzilla to report issues in patches that have not landed yet. You may wish to report this type of thing on the mailing list in future.
Anyway my guess is this could be due to us not keeping the xfb varyings in sync. I've made a few suggestions to Samuel in this area during review and hopefully it will fix these issues for you.
I'll leave this bug open for now but we expect a v2 of this series so keep an eye out.
Thanks. Where is the mailing list?
I am sorry. You mean email@example.com ?
(In reply to Ahmed Elsayed from comment #4)
> I am sorry. You mean firstname.lastname@example.org ?
Created attachment 142145 [details]
It gets better and better :D
Does Mesa 18.2.4 secdueled to release at the end of Oct will have VK_EXT_transform_feedback patches?
No, 18.2.X are bugfixes releases, we don't backport features. We might be able to merge it in time for 18.3.
(In reply to Samuel Pitoiset from comment #8)
> No, 18.2.X are bugfixes releases, we don't backport features. We might be
> able to merge it in time for 18.3.
So it will land on December or may be sooner than that?
VK_EXT_transform_feedback is upstream. Please rebase and try to reproduce your problem now. Thanks!
I made a system restore to roll back to the stable Mesa release, and installed the new Mesa 18.3 driver released yesterday.
The Witcher III: still the same.
Mafia III: the graphic glitches decreased but still exist.
Created attachment 142271 [details]
Mafia 3 after the last update
It looks better now, but still needs some improvements.
Can you please record a renderdoc capture of the problem?
I tried many times to record both games with DXVK on but it failed to run. But when I opened both games with DXVK off, the textures were very dark but there were no graphic glitches.
It crashes with DXVK because I use the Windows version of RenderDoc. I will use the Linux version of RenderDoc.
renderdoccmd wine game.exe crashing too?
(In reply to Vladimir from comment #16)
> renderdoccmd wine game.exe crashing too?
The stable version (1.1) doesn't crash but it doesn't show the objects effected by VK_EXT_transform_feedback, so it doesn't help at all.
The last version in github crashes at the beginning of loading the game. I guess it is a problem between the last Vulkan version + renderdoc.
Can I just record in OpenGL mode instead of Vulkan? Would that helps in any way?
Yes, please use apitrace if renderdoc crashes.
RenderDoc (OpenGL) record of The Witcher 3
Is this record enough or do you need something else? Please, tell me.
After updating Kernel to 4.19, the problem is fixed!
Actually, that fixed The Witcher III, but Mafia III doesn't start at all, I will upload GPU hand report.
Created attachment 142366 [details]
GPU hang report for Mafia III.
You closed the DXVK issue, what's the status of this bug report?
With kernel 4.19 all the games need transform_feedback work well except Mafia III which I don't have it any more. Sorry for bothering you and thanks for trying to help me. Have a good day.
One more thing that I forgot to add: All the games that I used with Wined3d, the textures are so dark. It is described in this issue: