doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.03k stars 836 forks source link

Question about new transform feedback support: Metro LL still gets "Rasterized stream not supported".. #698

Closed oscarbg closed 6 years ago

oscarbg commented 6 years ago

Hi, with a quick test on 0.9.0+ new NV drivers I see Unity Adam demo is rendering correctly finally!! and Metro LL launches now without: d3d11.fakeStreamOutSupport = True

but in MetroLL_d3d11.log

errors before were:

err:   D3D11: CreateGeometryShaderWithStreamOutput:
  Transform feedback not supoorted by device

now are:

err: D3D11: CreateGeometryShaderWithStreamOutput: Rasterized stream not supported

so question "Rasterized stream not supported" is because VK ext. limitations or DXVK limitation? thanks..

shmerl commented 6 years ago

Are you using patched Wine? Wine upstream didn't catch up to it yet.

doitsujin commented 6 years ago

Simultaneous stream output and rasterization is currently not supported in DXVK. The Vulkan extension allows it, but it's somewhat painful to implement, and I wasn't aware of any game that needs it.

Given that both versions of Last Light have native Linux support I'm not sure if I really care though. Was this with the original version of the game or with the Redux version?

oscarbg commented 6 years ago

@shmerl using patched Wine.. @doitsujin original version.. not really a problem, as you say Redux versions have native Linux binaries.. anyway good to know Vulkan ext. supports simultaneous stream output and rasterization anyway.. Closing..

mrdeathjr28 commented 5 years ago

Toukiden Kiwami show this:

err: D3D11: CreateGeometryShaderWithStreamOutput: Rasterized stream not supported

psy-q commented 5 years ago

Nioh shows this as well.

doitsujin commented 5 years ago

They might show it, but I haven't seen a single game which actually requires the rasterization so far (it's not very useful anyway since it only supports points, not triangles). Some games specify a rasterized stream but then choose not bind any render targets, or even write to SV_POSITION in their geometry shader.

psy-q commented 5 years ago

Ah, thank you for clarifying. That's rather odd behavior from the games' side, then. I'll keep my hopes up for Nioh one day :)

doitsujin commented 5 years ago

afaik Nioh is being held back by wine issues.

root2185 commented 5 years ago

I had the same error while playing Dead or Alive 6. It seems that is this error that prevent me to play, other people can (except the story mode). err: D3D11: CreateGeometryShaderWithStreamOutput: Rasterized stream not supported

doitsujin commented 5 years ago

It seems that is this error that prevent me to play, other people can (except the story mode).

No, it isn't.

root2185 commented 5 years ago

Why can't I play then?

doitsujin commented 5 years ago

Don't know? Also, please don't hijack unrelated issues.

ap4y commented 5 years ago

@doitsujin now that nioh semi-works I noticed weird issues with transparency effects and was wondering if it's related to stream rasterization? Mostly happens when things fade in/out, for example for the guardian spirit in the main menu when you press "Continue". I tried to capture it but it's not extremely obvious:

2019-05-04-145451_3360x2560_scrot

Basically transparent objects have a strange dot pattern on them. I don't have access to windows so I scanned through youtube videos and didn't notice it in this video:

2019-05-04-150441_3360x2560_scrot

Sorry if it's not the right place to post, please let me know if it will be better to track this as a separate issue.

doitsujin commented 5 years ago

No it's not related. If you think this is a bug, please record an apitrace and then open a new issue.

psy-q commented 5 years ago

@ap4y The effect is also there on Windows. There is a similar one when e.g. a door or other solid object is between your character and the camera, the closer it is the more it dissolves into dots.

ap4y commented 5 years ago

@psy-q ok, thanks for confirming that. it's not a big deal, just looks weird.