dcs_on_linux icon indicating copy to clipboard operation
dcs_on_linux copied to clipboard

Smoke Effects

Open QuicksilverBR opened this issue 4 years ago • 7 comments

As noted here already, smoke does not render correctly:

Smoke1

Smoke2

I asked on r/hoggit to see if anyone had resolved this issue on Windows, and was led to this post, explaining that the issue experienced there was a lack of GPU tesselation (the option was disabled in the driver software).

Assuming we just have to wait for Vulkan to drop (from Proton thread) and see if that resolves it, but I think it's worth leaving this here so others know the issue has been noticed.

QuicksilverBR avatar Jan 21 '21 10:01 QuicksilverBR

Oh nice, I was suspected wit was something like that, good to have it confirmed.

Like you said, I guess we'll just have to wait for vulkan (or dive into DXVK and implement tesselation :P)

Let's hope the new upcomming fancy clouds don't also use tesselation because then things might look slightly weirder :D

TheZoq2 avatar Jan 21 '21 11:01 TheZoq2

Googling around a bit it looks like there is already some support for tesselation in DXVK so it's a bit odd that it wouldn't work at all.

There is also https://github.com/doitsujin/dxvk/blob/master/dxvk.conf#L121 which allows overriding the desselation factor, though I have no idea what the default is. Maybe it would be worth playing around with that value

TheZoq2 avatar Jan 21 '21 11:01 TheZoq2

Googling around a bit it looks like there is already some support for tesselation in DXVK so it's a bit odd that it wouldn't work at all.

There is also https://github.com/doitsujin/dxvk/blob/master/dxvk.conf#L121 which allows overriding the desselation factor, though I have no idea what the default is. Maybe it would be worth playing around with that value

Any idea where dxvk.conf is for DCS via Lutris? Searching it returns plenty of dxvk_config.dlls for my Steam games but nothing in DCS' wineprefix or a system-wide file.

Edit: Found this post for another game, where the user copied the .conf from Github then placed it in a game folder. Will try a few folders that make sense and see if there's any difference.

QuicksilverBR avatar Jan 21 '21 11:01 QuicksilverBR

Edit: Found this post for another game, where the user copied the .conf from Github then placed it in a game folder. Will try a few folders that make sense and see if there's any difference.

No observable effect, though I'm not sure that I'm using dxvk.conf correctly. Either way, the paths I tried:

  • /dcs-world/drive_c/windows/system32/,
  • /dcs-world/drive_c/windows/syswow64/,
  • /dcs-world/drive_c/users/bradleyr/Saved Games/DCS.openbeta/, also copied in d3d9.dll, d3d11.dll and dxgi.dll in a similar fashion to the Reddit post,
  • /dcs-world/, the wineprefix itself.

I tried all these paths with the value of dxvk.conf's line 121 set to both 8 and 64.

Even if it doesn't prove to be a fix, I'm glad I was at least able to confirm the cause of the issue. Hoping volumetric clouds aren't implemented a similar way as you say - might make for some interesting looking missions if they do use tessellation.

QuicksilverBR avatar Jan 21 '21 12:01 QuicksilverBR

Was browsing around the forums today and found some more evidence to confirm it to be a tessellation issue:

79497802_DCSBetterSmokev6SPBetaContrail png cba9cdc562f4774f09993f62910cf1a6

(In the past Cotton Ball Smoke / Contrails was caused by my AMD Card being set with too low of a Tesselation value)

QuicksilverBR avatar Jan 21 '21 21:01 QuicksilverBR

Update for 2.7:

unknown

Pleased to report that the new volumetric clouds do not appear to be affected in any way, so it's solely contrails and smoke. Hopefully Vulkan brings a fix.

QuicksilverBR avatar Apr 15 '21 12:04 QuicksilverBR

Any updates on this thing? Same problem. Would not be such a big deal, but missile trails become virtually invisible.

dmitryr117 avatar Apr 02 '23 02:04 dmitryr117