Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various games - artifacts with forced AF #1666

Closed
aufkrawall opened this issue Jun 14, 2020 · 7 comments
Closed

various games - artifacts with forced AF #1666

aufkrawall opened this issue Jun 14, 2020 · 7 comments

Comments

@aufkrawall
Copy link

aufkrawall commented Jun 14, 2020

There are colored border artifacts when forcing AF via DXVK config:
MazeGame-Win32-Shipping_2020_06_14_16_22_00_596

Forcing AF works without artifacts with Nvidia driver and native D3D9.

Software information

Latest game version via Steam, maxed out details (issue doesn't show up with lowest details setting)

System information

  • GPU: GTX 1070
  • Driver: 451.22
  • Wine version: Windows 10
  • DXVK version: dxvk-master.9525f53d00e2d6f9597a93ffac3f91b561ab5dc7

I think I already had this issue with radv on Linux some months ago.

Apitrace file(s)

https://drive.google.com/file/d/1ecpHmCtTnqjKRiV4MoHLya9Twm9GFh6W/view?usp=sharing

Log files

Edit: Reopening with more appropriate title, as also other games and D3D11 seem affected as well.

Repository owner deleted a comment from TjReiny Jun 15, 2020
@doitsujin
Copy link
Owner

doitsujin commented Jun 18, 2020

tbh I don't think this is worth spending time on since you're using a non-default configuration on a game that may rely on exact behaviour. The fact that it works on native D3D9 doesn't really matter; native drivers may have better (and, of course, completely undocumented) heuristics on when to apply the override that we don't, but in the end, changing the configuration isn't expected to work in all cases.

@aufkrawall
Copy link
Author

Can totally understand this. Though, If I'm not utterly mistaken, I think it was possible to force AF via RADV without those artifacts.
It should be possible to force AF for Vulkan outside of DXVK with libstrangle or VkGHL also with Nvidia, but I'd have to install Linux first to be able to try this. :(

@aufkrawall
Copy link
Author

I've installed Linux and either RADV handles it better or my memory betrayed me: There are also these artifacts when forcing AF via libstrangle on Nvidia. Thus closing. :)

@aufkrawall aufkrawall changed the title [d3d9] Lili Child of Geos - artifacts with forced AF various games - artifacts with forced AF Jul 5, 2020
@aufkrawall
Copy link
Author

There was this PR by @CME42 , which in its updated form seems to fix the issue for D3D9 without side effects:
#1673

Though D3D11 seems to show the same issue in The Forest (Unity Engine):
theforest

Perhaps it can be fixed in the same way like for D3D9?

Apitrace:
https://drive.google.com/file/d/1Lb3Fo1E4THuwWtzbbxNiEEGC7p1qXlXm/view?usp=sharing

Logs:
TheForest_dxgi.log
TheForest_d3d11.log

@aufkrawall aufkrawall reopened this Jul 5, 2020
@doitsujin
Copy link
Owner

D3D11 samplers are't tied to textures like in D3D9, so no, the fix isn't portable and I don't intend to work around bugs caused by what is literally a hack. If it's broken, don't use it.

@aufkrawall
Copy link
Author

aufkrawall commented Jul 6, 2020

Sure, no biggie.
If someone came around with a patch for D3D11 I'd gladly try it though (and test a variety of titles).

@aufkrawall
Copy link
Author

aufkrawall commented Aug 4, 2020

Funny, my memory didn't trick me: The issue in The Forest (Unity Engine) indeed doesn't occur when using an AMD GPU (both radv & amdvlk).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants