ipisoft.com
https://forum.ipisoft.com/

Dual Kinect v2 iPi Recorder HRESULT error 0x80070057
https://forum.ipisoft.com/viewtopic.php?f=5&t=10121
Page 1 of 1

Author:  LordBlackwood [ Fri May 10, 2019 8:47 am ]
Post subject:  Dual Kinect v2 iPi Recorder HRESULT error 0x80070057

Config:
HP ZBook 17
Intel Core i5-4200M CPU @ 2.50 GHz
8 GB RAM
Intel(R) HD Graphics 4600
NVIDIA Quadro K610M
Intel 8 Series/C220 Series USB EHCI #1 - 8C26
Intel 8 Series/C220 Series USB EHCI #2 - 8C2D
Intel USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
USB Root Hub (USB 3.0)
Windows 10

Problem:

Installed iPi Recorder & usbdk with no problems. Plugged in 2 Kinect v2s into 2 USB 3 ports. Added both devices using "Kinect 2 for Windows (multiple sensors per PC)" with no problems. Disabled all other types of cameras in iPi Recorder.

When i click "Record Video" i get the following error:

iPi Recorder 4.3.0.73

OS: Microsoft Windows NT 10.0.17134.0 (64 bits)
.NET: 4.7.2.461808
CPU count: 4
GC: workstation (Interactive)
Running in 64 bits

SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.

at SharpDX.Result.CheckError()
at SharpDX.Direct3D9.Device.CreateTexture(Int32 width, Int32 height, Int32 levels, Int32 usage, Format format, Pool pool, Texture textureOut, IntPtr sharedHandleRef)
at iPiDXTools.D3DImageTextureHandler.SetSourceTexture(Texture2DBase source)
at iPiDXTools.D3DImageGraphicsPresenter.RecreateRenderChain()
at iPiDXTools.D3DImageGraphicsPresenter..ctor(GraphicsDevice device, PresentationParameters parameters, ID3DImageContainer imageContainer)
at iPiRecorder.Rendering.SharpDX.CameraRenderingPipelineFactory.CreateGraphicsDeviceAndPresenter(D3DImageVideoPanelChannel channnel)
at iPiRecorder.Rendering.SharpDX.CameraRenderingPipelineFactory.CreateInternal(RenderChannelDescriptor descriptor, Byte[] backgroundData, IVideoPanelChannel destination)
at #=zy2DhwFrFUT_I9xY57AUP0osULTvO.CreateWithoutBackground(RenderChannelDescriptor #=zaGu8KbzfPsKa, IVideoPanelChannel #=znAOHs3A=)
at iPiRecorder.Recorder.Bundles.VideoSourceBundle.#=zKwuSQjA=.#=zFdSpY2aw1YYE(#=zmBuIMUH7Eqp6 #=zxooMOZA=, ChannelDescriptor #=zAQF8wONt8K_L, #=zFldGmMiWSOPJE1i$zA== #=zJ9V3eyo=, Boolean #=z75q_mQeBTu2VoRaXHA==)
at iPiRecorder.Recorder.Bundles.VideoSourceBundle.#=zKwuSQjA=.#=zlfRfKUkq5t$r0sJEAQ==(Boolean #=z75q_mQeBTu2VoRaXHA==)
at iPiRecorder.Recorder.Bundles.VideoSourceBundle.#=zKwuSQjA=.#=zto$BzJP_Xs7D(VideoMode #=zOSkRxrM=)
at iPiRecorder.Recorder.Bundles.VideoSourceBundle.#=zto$BzJP_Xs7D(CompoundVideoMode #=zOSkRxrM=)
at iPiRecorder.Recorder.ViewModel.RecorderViewModel.Setup_SelectedVideoModeChanged()
at iPiRecorder.Recorder.ViewModel.RecorderViewModel.Setup_PropertyChanged(Object source, PropertyChangedEventArgs args)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at iPiHelpers.DelegateHelper.RaiseEvent(Object sender, PropertyChangedEventHandler handler, String propertyName)
at iPiRecorder.Recorder.ViewModel.SetupStageViewModel.OnPropertyChanged(String propertyName)
at iPiRecorder.Recorder.ViewModel.SetupStageViewModel.set_SelectedVideoMode(CompoundVideoMode value)
at iPiRecorder.Recorder.ViewModel.SetupStageViewModel.RefreshVideoModes(VideoSourceBundle videoSourceBundle, CompoundVideoMode preferredMode)
at iPiRecorder.Recorder.ViewModel.RecorderViewModel.bundleManager_RecreatedBundles(Object sender, EventArgs e)
at iPiHelpers.DelegateHelper.RaiseEvent(Object sender, EventHandler handler)
at #=z6L9hk1nANV3MwNSOKmyA2YMaNdPgk9Uhcw==.#=zzp4_0eoZPBJP4i$sncAFZ9W9vXIs.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at iPiRecorder.Recorder.ViewModel.RecorderViewModel.<RecreateSourceBundlesAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Author:  vmaslov [ Sat May 11, 2019 3:33 am ]
Post subject:  Re: Dual Kinect v2 iPi Recorder HRESULT error 0x80070057

Hi
Please ensure you have the latest drivers for both GPUs available from their manufacturers (not from HP).
If that doesn't help try to set iPi Recorder to use another GPU than it does now. You should be able to switch between Intel/NVidia for specific programs in NVidia control panel. Below article shows how to switch for iPi Mocap Studio, but it's similar for any program.
http://docs.ipisoft.com/Laptops_with_Switchable_Graphics

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/