TheZoq2 / dcs_on_linux

Instructions for running DCS World on linux. Mostly extracted from https://github.com/ValveSoftware/Proton/issues/1722
79 stars 4 forks source link

Smoke Effects #4

Open QuicksilverBR opened 3 years ago

QuicksilverBR commented 3 years ago

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.

TheZoq2 commented 3 years ago

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 commented 3 years ago

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

QuicksilverBR commented 3 years ago

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 commented 3 years ago

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:

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 commented 3 years ago

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 commented 3 years ago

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.

dmitryr117 commented 1 year ago

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