You can sign up to get a daily email of our articles, see the Mailing List page!
Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through Paypal, Flattr and Liberapay.!
Space Engineers.
pepihax commented on 15 October 2018 at 1:33 pm UTC

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 commented on 15 October 2018 at 1:55 pm UTC

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 commented on 15 October 2018 at 2:37 pm UTC

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 commented on 15 October 2018 at 3:49 pm UTC

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 commented on 15 October 2018 at 5:37 pm UTC

Ehvis
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 commented on 15 October 2018 at 7:48 pm UTC

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

Ehvis commented on 15 October 2018 at 9:18 pm UTC

Displayport should work fine though.

But for DXGI errors you should check the DXVK logs.

pepihax commented on 16 October 2018 at 9:28 pm UTC

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 commented on 16 October 2018 at 11:51 pm UTC

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.

Due to spam you need to Register and Login to comment.


Or login with...

Livestreams & Videos
Community Livestreams
  • Everspace - Live. Fight. Die. Repeat.
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts