Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream Output not supported #135

Closed
doitsujin opened this issue Mar 8, 2018 · 65 comments
Closed

Stream Output not supported #135

doitsujin opened this issue Mar 8, 2018 · 65 comments
Labels

Comments

@doitsujin
Copy link
Owner

doitsujin commented Mar 8, 2018

As of now, Stream Output is not supported. This may have a variety of consequences, such as incorrect rendering or crashes, in case a game relies on this feature.

Please do not open new bug reports for a specific game if you see any of the following messages in your log files. Instead, use this thread to report games which need this feature.

err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateGeometryShaderWithStreamOutput: Not implemented

Games that are known to require Stream Output:

  • Battlerite
  • Call of Duty: Ghosts
  • F1 2015
  • Giana Sisters: Twisted Dreams
  • Mafia III
  • Metro Redux
  • Nvidia Hairworks
  • Overwatch
  • Quake Champions
  • Space Engineers
  • The Witcher 3
  • Unity Engine
@soredake
Copy link

Life is Strange: Before the Storm, maybe https://bugs.winehq.org/show_bug.cgi?id=43314

@whizse
Copy link

whizse commented Mar 11, 2018

Outcast Second Contact and Life Is Strange Before the Storm (both Unity games):

err:   D3D11: Unsupported format: 4294967295
err:   D3D11Device: CheckFeatureSupport: Unknown feature: 10
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   DxbcCompiler: Invalid sampled type: DxbcResourceReturnType::Mixed
err:   D3D11Device::CreateGeometryShaderWithStreamOutput: Not implemented

@turtlewit
Copy link

Overwatch seems to require this.
From the d3d11.log:

info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
warn:  DxbcOptions: Growing coordinate vector for Dref operations
warn:  DxbcOptions: Using FMin/FMax/FClamp instead of NMin/NMax/NClamp
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0

@AccountOneOff
Copy link

AccountOneOff commented Apr 3, 2018

Mafia III requires this as well. Just hangs on a black screen currently.

info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
err:   D3D11Device::CreateGeometryShaderWithStreamOutput: Not implemented

@shmerl
Copy link
Contributor

shmerl commented Apr 3, 2018

Just for the reference, I opened this, may be someone from Khronos can comment about their plans for transform feedback / stream output like support in Vulkan.

@shmerl
Copy link
Contributor

shmerl commented Apr 8, 2018

@doitsujin: Can you please comment here, with some details about why it's hard to implement stream output with current Vulkan options? That feedback can be directed to the Vulkan working group and would be valuable. Thanks!

@tonix64
Copy link

tonix64 commented Apr 14, 2018

It should be noted that most Unity5 games are using stream output for gpu skinning (as noted here), some can be worked around on wined3d by using d3d9 or opengl mode, but many just support d3d11.

@dumpsters
Copy link

dumpsters commented Apr 15, 2018

F1 2015 needs it as well

info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
err:   D3D11: Cannot create texture:
  Format:  VK_FORMAT_R8G8B8A8_SRGB
  Extent:  1600x1200x1
  Samples: 1
  Layers:  1
  Levels:  1
  Usage:   1f
err:   D3D11CreateDeviceAndSwapChain: Failed to create swap chain
info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported
err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported

@Nukem9
Copy link

Nukem9 commented May 7, 2018

Metro: Last Light Redux also needs it

info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
...
err:   D3D11Device::CreateGeometryShaderWithStreamOutput: Not implemented
DebugString: "Error: D3D Runtime: CreateGeometryShaderWithStreamOutput errorUnknown error\n"
DebugString: "Error: D3D Runtime: (1,1): error X3000: syntax error: unexpected token '@'\nAttempted to create a device with the debug layer enabled and the layer is not installed.\n"

@pingubot
Copy link
Contributor

pingubot commented Jun 1, 2018

Cod Ghosts needs that feature as well.

@shmerl
Copy link
Contributor

shmerl commented Sep 2, 2018

use transform feedback on OpenGL side

@doitsujin mentioned before, that mixing OpenGL with Vulkan for this is a bad idea. Better wait until Khronos will finish drafting transform feedback spec for Vulkan and drivers will implement it.

@KWottrich
Copy link

It looks like this might be addressed soon! From the Vulkan-Ecosystem github:

Some members of the Vulkan working group are developing a multi-vendor EXT extension for transform feedback with the primary goal of satisfying the needs of the DXVK, vkd3d and ANGLE translation layers. The Vulkan working group does not plan to promote this functionality as a KHR extension or as core functionality because it believes there are better, more forward-looking ways of processing and capturing vertex data with the GPU. The multi-vendor EXT extension should be available soon and is likely to be implemented on those platforms where DXVK, vkd3d and ANGLE translation is required.

@Naliwe
Copy link

Naliwe commented Sep 26, 2018

Hello,

I've been enjoying World of Warcraft on Arch through wine and dxvk for a while now, but since today, this is the result:

err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported

So I guess you can add Wow to the list, sadly.


nvidia-dkms 396.54-6
dxvk-bin 0.80-1
wine-esync-staging-pba 3.16

@doitsujin
Copy link
Owner Author

Only that message or stuff about CreateGeometryShaderWithStreamOutput as well? Because if the latter is missing, the game doesn't need it.

@SveSop
Copy link
Contributor

SveSop commented Sep 27, 2018

@Naliwe What do you mean by "this is the result"?
Is that line just something logged in the logs, and everything works as expected, or are you unable to log in to WoW?

@7oxicshadow
Copy link

I have just tried WoW and was able to log in and play without issues BUT..... I do not have a paid subscription so I can not get into the later parts of the game.

I suspect that the later expansions are a lot more graphically enhanced and that @Naliwe will probably be playing the Battle For Azeroth expansion.

@SveSop
Copy link
Contributor

SveSop commented Sep 27, 2018

@7oxicshadow I just asked cos i do not get that error message when playing. I have BfA xpac.
If it is something that is logged, but still works then i have not checked for that :)

@7oxicshadow
Copy link

@SveSop out of interest do you play on Ultra graphics settings?

@SveSop
Copy link
Contributor

SveSop commented Sep 27, 2018

Nope. "7" on the setting (Guess the recommended).

@Naliwe
Copy link

Naliwe commented Sep 27, 2018

Yeah this one too.
Removing dxvk and going back to pba makes the game run correctly. Performances aren't comparable though ~

@Naliwe
Copy link

Naliwe commented Sep 27, 2018

And no the game doesn't launch at all. I'm playing on "7" setting, everything worked perfectly until the latest patch

@7oxicshadow
Copy link

7oxicshadow commented Sep 27, 2018

@Naliwe does that mean you cant even get to the character selection screen?

This could be really difficult to narrow down as there are a number of things that can cause this problem.

I play quake champions and the game will crash only on certain maps or when certain characters use special attacks. As long as I avoid either of them I can play fine.

With WoW it could be as simple as your character has a special piece of armor/weapon equipped that takes advantage of stream output.

@SveSop
Copy link
Contributor

SveSop commented Sep 28, 2018

@Naliwe Since i have no problems with D3D11_BIND_STREAM_OUTPUT, i can't immediately say that it is something "new" with the latest patch.
Have you checked and double-checked that all the dll's and overrides is correct? And that the wow version is 8.0.1.27843 + perhaps done a "scan and repair" from the blizzard app...

How do you install DXVK? Using the script in the package, or by some distro packaged thing.. or self compiled?

@Naliwe
Copy link

Naliwe commented Sep 28, 2018

@7oxicshadow
No the game doesn't even launch. The launcher does, but as soon a I click "Play", it crashes.
As for the ... volatility of Wow's equipment, nothing changed while I was not logged (that'd be great though). So, apart from my system, and Wow itself, nothing changed between the moment when I disconnected and my previous post.

@SveSop

Alright, strange then. because yes, this is the correct version, yes the overrides are done correctly and scan and repair doesn't change anything.
DXVK is installed through the package I mentionned in my first post (through yaourt on Arch Linux)

@Naliwe
Copy link

Naliwe commented Sep 28, 2018

Oh and I failed to mention I used Lutris to launch the game. But honestly, I've been fiddling so much with the install using my system's executable that I don't think it changes much anymore; the results are the same in both cases.

The game runs almost fine without DXVK, but the perfs are terrible.

@SveSop
Copy link
Contributor

SveSop commented Sep 29, 2018

@Naliwe Have you tried to launch wow directly, and not through the launcher?

I use a script to launch wow, and launch it with wine64 instead of wine (log complains about Agent.exe not being the correct binary whatever, but i see that as a +).

I can paste the script i am using if you think it COULD solve something? The battle.net launcher app may be bugged perhaps? (As getting it to work, you need to disable streaming under options to get stuff to work). I use it only to patch when needed.

@Two-Tone
Copy link

Two-Tone commented Oct 1, 2018 via email

@crusty85
Copy link

crusty85 commented Oct 2, 2018

Battlerite Royale

@pga256
Copy link

pga256 commented Oct 3, 2018

I can't reporduce this error. I play WoW regularly and can launch it via the app or directly from Wow.exe without issues.
Using Arch + wine-staging-3.16 + dxvk-bin (v 0.80 from the aur)
There are reports of stream output types of error from some people using wine but I have never encountered these.
Do you have any addons in the WoW folder? Try renaming the Addons folder before launching the game and see what happens.

@darthrevan
Copy link

darthrevan commented Oct 9, 2018

Reproduces for my World of Warcraft installation as well.
I've deleted my addons folder so it's definitely not an addon messing it up.

Game runs fine with wineprefix that doesn't have DXVK but with DXVK it also produces this error:

err:   D3D11Device::CreateBuffer: D3D11_BIND_STREAM_OUTPUT not supported

I'm running the nvidia 396.54 driver.
Let's wait patiently until the feature is supported and not open any more duplicate issues huh?

@doitsujin
Copy link
Owner Author

@darthrevan again, so you see any issues about CreateGeometryShaderWithStreamOutput? If not, the game doesn't use it.

@SveSop
Copy link
Contributor

SveSop commented Oct 9, 2018

@Naliwe @darthrevan
Not sure why you would get those error messages with World of Warcraft, as this works for many ppl with DXVK (including me).

However, could this somehow be mistaked for the "A streaming error has occurred. (WOW51900322)" bug?
https://appdb.winehq.org/objectManager.php?sClass=version&iId=36961 has info on how to clean out wow cache, and download a "fixed clean" cache someone uploaded from windows...

What does the /World of Warcraft/Logs/gx.log file say?

PS. Perhaps open this issue as a separate issue with WoW, and not a "Stream Output not supported" issue, as i kinda believe WoW does not require this in any way...

@Enelar
Copy link

Enelar commented Nov 3, 2018

Battlerite on intel v0.9 still have invisible characters.
On other manufacturers seems fine.

info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  Enabled device extensions:
info:    VK_EXT_shader_viewport_index_layer
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_dedicated_allocation
info:    VK_KHR_descriptor_update_template
info:    VK_KHR_get_memory_requirements2
info:    VK_KHR_image_format_list
info:    VK_KHR_maintenance1
info:    VK_KHR_maintenance2
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_draw_parameters
info:    VK_KHR_swapchain
info:  DXVK: Read 0 valid state cache entries
info:  DXVK: Using 2 compiler threads
warn:  D3D11DeviceContext::QueryInterface: Unknown interface query
warn:  b4e3c01d-e79e-4637-91b2-510e9f4c9b8f
err:   DXGI: CheckInterfaceSupport: Unsupported interface
err:   54ec77fa-1377-44e6-8c32-88fd5f44c84c
[1103/122512.664:ERROR:angle_platform_impl.cc(54)] populateRenderer11DeviceCaps(906): Error querying driver version from DXGI Adapter.
warn:  D3D11Device::GetDeviceRemovedReason: Stub
[1103/122527.434:ERROR:registration_protocol_win.cc(56)] CreateFile: File not found. (0x2)
[1103/122527.435:INFO:crash_reporting.cc(216)] Crash reporting enabled for process: gpu-process

@doitsujin
Copy link
Owner Author

You need to patch ANV manually as described in #695.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests