protonscr

GTA Vice city & San Andreas transparency issues on cars (windows 10)

dxvkclosed d3d9
doitsujin/dxvk#2283 · opened 2021-09-09 by Mrblubb · updated 2022-08-12 · 14 comments · github
MMrblubb 2021-09-09 github

The games have weird pixelated glass bug on cars which flickers when moving the mouse. Especially noticeable on infernus in vice city and taxi on san andreas. Could be possible on other cars as well. Running without dxvk fixes the issue.

DXVK with & without Async have the same issue.

Running both games with skygfx, project2dfx mod on Windows 10 with NVIDIA driver 471.41.

With SA when rendering pipeline is used neo in skygfx, the issue is gone (probably due to different reflection shader) but always happen in VC on every reflection setting.

Also turning off MSAA doesn't fix the issue.

Screenshots

-San Andreas

Grand Theft Auto  San Andreas Screenshot 2021 09 09 - 19 50 12 63
Grand Theft Auto  San Andreas Screenshot 2021 09 09 - 19 51 00 22

-Vice City

Grand Theft Auto Vice City Screenshot 2021 09 09 - 19 43 57 78

Software information

GTA San Andreas/Vice City, MAX settings, SKYGFX, Project2DFX, 4X AA / 1920x1080

System information

  • GPU: GTX 1060 6GB
  • Driver: 471.41
  • Wine version: None
  • DXVK version: 1.9.1/ 1.9.1 Async Patched (latest releases)

Apitrace file(s)

  • (Not available)

Log files

GTA SA

GTA VC

Ddoitsujin maintainer 2021-09-09 github

Apitrace file(s)
(Not available)

..............................

MMrblubb 2021-09-09 github

I don't know how to use Apitrace.

GGreyXor 2021-09-09 github

@Mrblubb Thank you for your feedback. Here is a small guide to follow to make an apitrace. it will be very useful to determine more quickly the source of the problem. https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace

MMrblubb 2021-09-09 github

Thanks for the help. But the problem is I can't use both Dxvk & Apitrace at the same time since they have same dll names d3d9.dll & the mods already use other dll names like for eg. ASI loader d3d8 etc.

Ddoitsujin maintainer 2021-09-09 github

you're not supposed to use apitrace and dxvk at the same time, just apitrace.

MMrblubb 2021-09-09 github

oh ok got it ! but didn't knew it was so resource heavy & made my game almost unplayable. Not to mention the huge file it generates. I quickly reproduced the issue again then quit the game lol. Now the size is somewhat bearable.
Here it is for VC
https://we.tl/t-mk52L1qlBq

Also SA doesn't launch with apitrace for some reason. Shows this error
Screenshot (19)

HHunterCZ122 2021-11-17 github

Reproduced this issue.
Native D3D9
DXVK
Apitrace

MMrblubb 2021-11-18 github

Reproduced this issue. Native D3D9 DXVK Apitrace

Glad to see I'm not the only one experiencing this. Thanks man. Hope this gets fixed soon, after what the travesty remasters are already!

BBlisto91 2022-07-07 github

@Mrblubb @HunterCZ122 Could i get you guys to test this issue again?
Maybe even with latest master as a bunch of the codebase have been touched lately. You can grab a build here https://github.com/doitsujin/dxvk/actions/runs/2615690694

HHunterCZ122 2022-07-07 github

@Mrblubb @HunterCZ122 Could i get you guys to test this issue again? Maybe even with latest master as a bunch of the codebase have been touched lately. You can grab a build here https://github.com/doitsujin/dxvk/actions/runs/2615690694

Issue still occurs with your mentioned build and also dynamic-rendering branch
Screenshot_20220707_131535

BBlisto91 2022-07-07 github

Thanks for checking.
I will try to do some testing when i have some time.

HHunterCZ122 2022-07-07 github

Have some news.
The issue goes away when I disable dualPass option inside skygfx.ini.
I really don't know how it works, but I think it's calling some stuff from RenderWare SDK.
https://github.com/aap/skygfx/blob/926616a3f31deaf0d300b3752383314db28994f0/src/skygfx.h#L283
@aap

KK0bin maintainer 2022-07-07 github
HHunterCZ122 2022-08-12 github

Can't reproduce it anymore on GTA San Andreas and Vice City. Maybe recent commits fixed it somehow. I think the issue can be closed. The broken HUD is different issue, which is already reported.
Screenshot_20220813_004904
Screenshot_20220813_004407

DLLs