Check out our Monthly Survey Page to see what our users are running.
Space Engineers.
pepihax Oct 15, 2018
Hey.

So i am trying to get Space Engineers to work through wine, now that DXVK supports stream output and Wine supports dotnet 4.6.1.

And i have gotten as far as having the Space Engineers start logo come up and disappear again, and just at the part where the screen normally would go black it crashes.

And i was wondering if anyone in here has ever seen this bug before or know anything about where to ask about this sort of thing?

Spoiler, click me

2018-10-15 15:08:39.605 - Thread: 1 -> MyVideoModeManager.LogEnvironmentInformation - END
2018-10-15 15:08:39.605 - Thread: 1 -> MySandboxGame.Initialize() - START
2018-10-15 15:08:39.759 - Thread: 1 -> MyGuiGameControlsHelpers()
2018-10-15 15:08:41.118 - Thread: 1 -> Havok: Physics.Init
2018-10-15 15:08:41.118 - Thread: 1 -> Havok: Version: Release(0), 1800, [S]
2018-10-15 15:08:41.380 - Thread: 1 -> HkGameName: SpaceEngineers Release
2018-10-15 15:08:41.404 - Thread: 1 -> MySandboxGame.LoadData() - START
2018-10-15 15:08:41.421 - Thread: 1 -> MyDefinitionManager.PreloadDefinitions() - START
2018-10-15 15:08:42.145 - Thread: 1 -> Loading sound definitions
2018-10-15 15:08:43.593 - Thread: 1 -> Loading shadow textures definitions
2018-10-15 15:08:43.593 - Thread: 1 -> WARNING: Unexpected behaviour may occur due to redefinition of 'Text shadow sets'
2018-10-15 15:08:43.600 - Thread: 1 -> MyDefinitionManager.PreloadDefinitions() - END
2018-10-15 15:08:43.611 - Thread: 1 -> MyAudio.LoadData - START
2018-10-15 15:08:44.049 - Thread: 1 -> MyAudio.CreateX3DAudio - Device: Pulseaudio - Channel #: 2 - Sample rate: 44100
2018-10-15 15:08:44.167 - Thread: 17 -> MyDefinitionManager.PrepareBaseDefinitions() - START
2018-10-15 15:08:48.765 - Thread: 17 -> MyDefinitionManager.PrepareBaseDefinitions() - END
2018-10-15 15:08:49.584 - Thread: 1 -> Exception occured: SharpDX.SharpDXException: HRESULT: [0x80004002], Module: [General], ApiCode: [E_NOINTERFACE/No such interface supported], Message: Unknown
at SharpDX.Result.CheckError()
at SharpDX.ComObject.QueryInterface(Guid guid, IntPtr& outPtr)
at SharpDX.XAPO.AudioProcessorParamNative`1.NativePointerUpdated(IntPtr oldPointer)
at SharpDX.CppObject.set_NativePointer(IntPtr value)
at SharpDX.Utilities.CreateComInstance(Guid clsid, CLSCTX clsctx, Guid riid, ComObject comObject)
at SharpDX.XAudio2.Fx.Reverb..ctor(XAudio2 device, Boolean isUsingDebug)
at VRage.Audio.MyCueBank..ctor(XAudio2 audioEngine, ListReader`1 cues, VoiceSendDescriptor[] gameDesc, VoiceSendDescriptor[] hudDesc)
at VRage.Audio.MyXAudio2.LoadData(MyAudioInitParams initParams, ListReader`1 sounds, ListReader`1 effects)
at VRage.Audio.MyAudio.LoadData(MyAudioInitParams initParams, ListReader`1 sounds, ListReader`1 effects)
at Sandbox.MySandboxGame.LoadData()
at Sandbox.MySandboxGame.Initialize()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
2018-10-15 15:08:49.586 - Thread: 1 -> Hiding window
2018-10-15 15:08:49.586 - Thread: 1 -> Hiding window done
2018-10-15 15:08:49.586 - Thread: 1 -> Showing message

And i'm running this with the newest wine-staging, DXVK 0.90 and NVIDIA 390.87.
Ehvis Oct 15, 2018
Running DXVK with the 390.87 driver should end in failure anyway since it is below the minimum requirement.

However, the immediate problem appears to be in the audio part, which I can't really say much about.
tuubi Oct 15, 2018
As Ehvis said, DXVK requires Nvidia's latest Vulkan beta driver 396.54.09 to support stream output for now. If you're on Ubuntu or a derivative, you can use this PPA.

@Ehvis, I don't think this is audio related. The relevant line seems to be about SharpDX, which is "an open-source managed .NET wrapper of the DirectX API":

2018-10-15 15:08:49.584 - Thread: 1 -> Exception occured: SharpDX.SharpDXException: HRESULT: [0x80004002], Module: [General], ApiCode: [E_NOINTERFACE/No such interface supported], Message: Unknown


Either .NET or graphics related. Updating the driver might help, but I wouldn't bet on it.
Ehvis Oct 15, 2018
Quoting: tuubi@Ehvis, I don't think this is audio related.

Yes, but a little further it has this one:

SharpDX.XAPO.AudioProcessorParamNative

Which is why I think it's audio.
tuubi Oct 15, 2018
Quoting: Ehvis
Quoting: tuubi@Ehvis, I don't think this is audio related.

Yes, but a little further it has this one:

SharpDX.XAPO.AudioProcessorParamNative

Which is why I think it's audio.
You're right of course.
pepihax Oct 15, 2018
Quoting: tuubiAs Ehvis said, DXVK requires Nvidia's latest Vulkan beta driver 396.54.09 to support stream output for now. If you're on Ubuntu or a derivative, you can use this PPA.

@Ehvis, I don't think this is audio related. The relevant line seems to be about SharpDX, which is "an open-source managed .NET wrapper of the DirectX API":

2018-10-15 15:08:49.584 - Thread: 1 -> Exception occured: SharpDX.SharpDXException: HRESULT: [0x80004002], Module: [General], ApiCode: [E_NOINTERFACE/No such interface supported], Message: Unknown


Either .NET or graphics related. Updating the driver might help, but I wouldn't bet on it.

Thank you Ehvis and tuubi, i installede the newest driver with the PPA and then the error log changed.

Spoiler, click me

2018-10-15 21:22:50.977 - Thread: 1 -> Log Started
2018-10-15 21:22:50.977 - Thread: 1 -> Timezone (local - UTC): 2h
2018-10-15 21:22:50.977 - Thread: 1 -> App Version: 01_187_209
2018-10-15 21:22:50.977 - Thread: 1 -> Steam build: Always true
2018-10-15 21:22:50.977 - Thread: 1 -> Is official: True [NO][IS][NAMP]
2018-10-15 21:22:50.977 - Thread: 1 -> Environment.ProcessorCount: 12
2018-10-15 21:22:51.090 - Thread: 1 -> Environment.OSVersion: Microsoft Windows 7 Professional (Microsoft Windows NT 6.1.7601 Service Pack 1)
2018-10-15 21:22:51.090 - Thread: 1 -> Environment.CommandLine: "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\SpaceEngineers.exe"
2018-10-15 21:22:51.090 - Thread: 1 -> Environment.Is64BitProcess: True
2018-10-15 21:22:51.090 - Thread: 1 -> Environment.Is64BitOperatingSystem: True
2018-10-15 21:22:51.090 - Thread: 1 -> Environment.Version: 4.6.1 or later (394271)
2018-10-15 21:22:51.090 - Thread: 1 -> Environment.CurrentDirectory: C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64
2018-10-15 21:22:51.344 - Thread: 1 -> CPU Info:
2018-10-15 21:22:51.344 - Thread: 1 -> IntPtr.Size: 8
2018-10-15 21:22:51.344 - Thread: 1 -> Default Culture: da-DK
2018-10-15 21:22:51.344 - Thread: 1 -> Default UI Culture: da-DK
2018-10-15 21:22:51.345 - Thread: 1 -> IsAdmin: True
2018-10-15 21:22:51.346 - Thread: 1 -> MyConfig.Load() - START
2018-10-15 21:22:51.360 - Thread: 1 -> Path: C:\users\hax\Application Data\SpaceEngineers\SpaceEngineers.cfg
2018-10-15 21:22:51.360 - Thread: 1 -> Config file not found! C:\users\hax\Application Data\SpaceEngineers\SpaceEngineers.cfg
2018-10-15 21:22:51.361 - Thread: 1 -> MyConfig.Load() - END
2018-10-15 21:22:51.361 - Thread: 1 -> Checksum file is missing, game will run as usual but file integrity won't be verified
2018-10-15 21:22:53.724 - Thread: 1 -> Exception occured: SharpDX.SharpDXException: HRESULT: [0x887A0004], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_UNSUPPORTED/Unsupported], Message: Unknown
at SharpDX.Result.CheckError()
at SharpDX.DXGI.DXGI.CreateDXGIFactory1(Guid riid, IntPtr& factoryOut)
at SharpDX.DXGI.Factory1..ctor()
at VRageRender.MyRender11.GetFactory()
at VRageRender.MyRender11.CreateAdaptersList()
at SpaceEngineers.MyProgram.InitializeRender()
at SpaceEngineers.MyProgram.Main(String[] args)
2018-10-15 21:22:53.726 - Thread: 1 -> Hiding window
2018-10-15 21:22:53.726 - Thread: 1 -> Hiding window done
2018-10-15 21:22:53.726 - Thread: 1 -> Showing message

My displayport output also stopped working with the new driver, so win a little and lose a little i guess.

Anyways thanks for the help guys :D
Ehvis Oct 15, 2018
Displayport should work fine though.

But for DXGI errors you should check the DXVK logs.
pepihax Oct 16, 2018
Okay so after some more playing around, i found out that the driver wasnt loading, because the old driver left some garbage in dkms that had to be cleared first, and fixing that also brough my displayport back.

Anyways i found a d3d11 log, which i guess would also be the dxvk log?

Spoiler, click me
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
info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
warn: D3D11Device: No matching border color found for (-3.40282e+38,-3.40282e+38,-3.40282e+38,-3.40282e+38)
err: D3D11: CreateGeometryShaderWithStreamOutput:
Transform feedback not supoorted by device
err: D3D11: CreateGeometryShaderWithStreamOutput:
Transform feedback not supoorted by device
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
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
warn: D3D11Device: No matching border color found for (-3.40282e+38,-3.40282e+38,-3.40282e+38,-3.40282e+38)
err: D3D11: CreateGeometryShaderWithStreamOutput:
Transform feedback not supoorted by device
err: D3D11: CreateGeometryShaderWithStreamOutput:
Transform feedback not supoorted by device
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
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
warn: D3D11Device: No matching border color found for (-3.40282e+38,-3.40282e+38,-3.40282e+38,-3.40282e+38)
err: D3D11: CreateGeometryShaderWithStreamOutput:
Transform feedback not supoorted by device
err: D3D11: CreateGeometryShaderWithStreamOutput:
Transform feedback not supoorted by device
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context
err: D3D11: Flush called on a deferred context

Any i seems to suggests that Transform feedback isnt supported. I find this kinda wierd since the change logs said that it was supported in this version of dxvk.
Ehvis Oct 16, 2018
Quoting: pepihaxAny i seems to suggests that Transform feedback isnt supported. I find this kinda wierd since the change logs said that it was supported in this version of dxvk.

Don't know the consequences of those 'flush' errors. You'd have to check with the DXVK dev if that's a problem.

Transform Feedback is only supported if you have the 396.54.09 driver *and* a Wine version patched with the latest Vulkan version.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.