misyltoad / d9vk

A Direct3D9 to Vulkan layer using the DXVK backend. [Upstreamed to DXVK]
https://github.com/doitsujin/dxvk
zlib License
838 stars 42 forks source link

Witcher has (many) lighting artefacts and glitches. #411

Closed RobertZenz closed 5 years ago

RobertZenz commented 5 years ago

"The Witcher: Enhanced Edition" works but suffers from various lighting issues. One of them is that interiors are not correctly lit, for example here in the crypt:

witcher lighting artefact

As you can see, the floor tile is not being correctly lit, if I move forward a few centimeters it will get differently lit.

In other instances the lighting on objects changes with instances (for example the goose change how they are lighted depending on distance it seems, so it might have something to do with some LOD implementation). Also some buildings interiors are brightly lit while posters in the city are pitch black.

I can provide you with a copy of the game on GOG and save games showcasing the issue if you want.

Software information

System information

Apitrace file(s)

Log files

misyltoad commented 5 years ago

Looks like the issue is baked into your trace.

Are you using native d3dcompiler and d3d9x?

NerosTie commented 5 years ago

Can you upload you save file please? (btw your driver is a little bit old now)

RobertZenz commented 5 years ago

Are you using native d3dcompiler and d3d9x?

If you mean whether I've installed a DirectX package, then the answer is No (as said I above, I'm unsure about exactly that). I didn't see such a requirement in the README, if I need one, which one? Otherwise, how do I check what I'm using?

Can you upload you save file please?

Sure.

btw your driver is a little bit old now

Yes, there don't seem to be updates for my system anymore (Ubuntu 16.04), or at least none that are packaged, so it's going to stay that way until I upgrade (which is planned for the end of 2021).

NerosTie commented 5 years ago

I see no difference with or without d9vk (#894):

https://imgur.com/RfA8sa9

But when I retrace your trace, I can see the glitch.

edmondo commented 5 years ago

This youtube video shows the exactly same issue on windows: https://www.youtube.com/watch?v=YrBoax13By4&feature=youtu.be&t=1355

Also on my setup it looks the same: 2019-10-06-124523_1920x1080_scrot

Let's close this issue, since the bug seems to be in the game and not related to d9vk.

misyltoad commented 5 years ago

This is a setup issue then.

You can use winetricks to install d3d9x and the different versions of d3dcompiler.

I'd also reccomend to update your suuuper old driver 🐸

RobertZenz commented 5 years ago

Uhm, can we add that requirement then to README and maybe the setup script, please? Because I could find it in neither of them and as you've pointed out in the release notes, that seems kinda important.

Also, crap, after some more trial and error I figured out that Witcher is broken with d3dx9_43, it works with d3dx9_35 without any of the issues I mentioned. So sorry to bother you with that.

misyltoad commented 5 years ago

No. I shouldn't have to put workarounds for Wine bugs in the project. Their d3d9x and d3dcompiler implementations been broken and unusable since forever.

RobertZenz commented 5 years ago

Huh? That I don't get, adding a note to the README should spare you some trouble down the road...whether to add it to the install script or not is debatable, though.

K0bin commented 5 years ago

grafik

misyltoad commented 5 years ago

Stuff in releases is there only so you can actually use the project. It's not a solution or something I want to rely on. It's not my bug that the Wine implementations are broken in every game that uses them.

misyltoad commented 5 years ago

-> https://bugs.winehq.org