protonscr

d3d9.forceSwapchainMSAA = 16 Causes "could not initalize renderer" error

dxvkclosed not a bug
doitsujin/dxvk#2627 · opened 2022-04-21 by LethalManBoob · updated 2022-04-21 · 12 comments · github
LLethalManBoob 2022-04-21 github

https://gist.github.com/LethalManBoob/b91334617d753f8a2f1e21a3227427f0
2 different games same issue. Although in killing floors case, it just hangs at a black screen on boot.
It used to work on both games. Not anymore.

DDadSchoorse 2022-04-21 github

Nobody except Intel supports MSAA x16, try x8.

Ddoitsujin maintainer 2022-04-21 github

As was mentioned, most GPUs can't do MSAAx16 and a 3070 is no exception.

LLethalManBoob 2022-04-21 github

As was mentioned, most GPUs can't do MSAAx16 and a 3070 is no exception.

Thats strange. It worked fine on windows. I suppose this is a linux thing huh?

But it USED TO WORK. Thats the main complain I have. On linux, 16x used to work.

It would be nice if we could address this before shutting me down.

DDadSchoorse 2022-04-21 github

Even if it used to work (which I doubt, nvidia never supported x16 afaik), this isn't about DXVK. DXVK just exposes the MSAA levels supported by the vulkan driver, and your driver only supports a maximum of x8.

LLethalManBoob 2022-04-21 github

Even if it used to work (which I doubt, nvidia never supported x16 afaik), this isn't about DXVK. DXVK just exposes the MSAA levels supported by the vulkan driver, and your driver only supports a maximum of x8.

I dont see a reason to doubt me. I know i used it before. Distincltly lutris had an antialiasing option in the past. and I could utilize 16x through there. Also 16x is avaliable in the nvidia settings app and i can use it in opengl games np.

KK0bin maintainer 2022-04-21 github

Either way, the Vulkan driver doesn't support it and never has.

Ddoitsujin maintainer 2022-04-21 github

It would be nice if we could address this before shutting me down.

There's nothing to address here. Nvidia does not support 16x MSAA on current drivers, period. Neither does AMD and never has. If this has "worked in the past" then I strongly suspect that the option just didn't get applied on your end.

LLethalManBoob 2022-04-21 github

There's nothing to address here. Nvidia does not support 16x MSAA on current drivers, period. Neither does AMD and never has. If this has "worked in the past" then I strongly suspect that the option just didn't get applied on your end.

So then why does 16xmsaa work on opengl games? Demonstrably?

Ddoitsujin maintainer 2022-04-21 github

OpenGL isn't Vulkan for starters.

We could emulate 16xMSAA for D3D9, but there are no plans to do so since it's kind of pointless and no shipping game requires that. D3D11 only requires x4 anyway with x2 and x8 being optional.

KK0bin maintainer 2022-04-21 github

So then why does 16xmsaa work on opengl games? Demonstrably?

Most likely just lying to the user and uses 8x instead internally.

LLethalManBoob 2022-04-21 github

OpenGL isn't Vulkan for starters.

We could emulate 16xMSAA for D3D9, but there are no plans to do so since it's kind of pointless and no shipping game requires that. D3D11 only requires x4 anyway with x2 and x8 being optional.

dgvoodoo uses 16xmsaa and it does help in some old games that dont like high resolutions.

I understand it may seem pointless but a lot of people would appreciate the additional anti aliasing. I was around the guru 3d forums a few years ago researchings sgssaa flags. The difference is huge when you have go above the traditional 8x.

Im talking about alpha and inner surface aliasing. Some games really benefit from the fix.

As an example. The the id tech 5 games, 16x msaa is a HUGE step up from 8x due to inner surface aliasing.

https://youtu.be/NbrA4Nxd8Vo?t=269 This is what i am talking about

Ddoitsujin maintainer 2022-04-21 github

Feel free to file a pull request.

That said, again, Vulkan is not OpenGL and it's also not D3D9. Things like this aren't trivial to support when the underlying Vulkan driver doesn't, and in general it's not very useful for us to invest significant amounts of time into something that a single-digit number of users would actually benefit from.

Nothing extracted yet.