Open Dinth opened 3 years ago
I think display output might be changing due to which it is not able to capture. Others are facing similar issues. Need to make the retry more robust for this.
Hulloo..
Having the same error message. Any idea how to mitigate it?
Newly released v2.9 has modified retry behavior which might fix this issue.
Hi. Im finding out the new version much more stable than it used to be, but it still crashes quite often and sometimes doesnt restart on its own:
2022-01-09 15:55:49 [ERROR] [9] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 9d3958]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-01-09 15:55:49 [INFO] [9] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 9d3958]: Waiting before next screen capture attempt
2022-01-09 15:55:52 [ERROR] [9] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 9d3958]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-01-09 15:55:52 [INFO] [9] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 9d3958]: Waiting before next screen capture attempt
2022-01-09 15:56:44 [INFO] [1] HyperionScreenCap.MainForm.ShowSetupFrom:0 - Loading SetupForm
2022-01-09 15:56:45 [INFO] [1] HyperionScreenCap.SetupForm..ctor:0 - Instantiating SetupForm
2022-01-09 15:56:45 [INFO] [1] HyperionScreenCap.SetupForm.LoadSettings:0 - Loading settings using SettingsManager
2022-01-09 15:56:45 [INFO] [1] HyperionScreenCap.SettingsManager.LoadSetttings:0 - Loading settings from user.config
2022-01-09 15:56:45 [INFO] [1] HyperionScreenCap.SettingsManager.LoadSetttings:0 - Loaded settings from user.config
2022-01-09 15:56:45 [INFO] [1] HyperionScreenCap.SetupForm.LoadSettings:0 - Finished loading settings using SettingsManager
2022-01-09 15:56:45 [INFO] [1] HyperionScreenCap.SetupForm..ctor:0 - SetupForm Instantiated
at this point only restarting it by "Stop Capture" and "Start Capture" helps. Anyhow, great work with 2.9 - i returned to Flat Buffers and still the capture works most of the times.
Having same issue I think. Lights go out pretty frequently, Tray icon still says enabled. Log (if helpful):
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 14:58:47 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 15:03:33 [ERROR] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 15:03:33 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 15:38:13 [ERROR] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 15:38:13 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 15:48:15 [ERROR] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 15:48:15 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 15:48:16 [ERROR] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Exception in screen capture attempt: 2
System.Exception: Error occured while sending image to server: HRESULT: [0x80070005], Module: [General], ApiCode: [E_ACCESSDENIED/General access denied error], Message: Access is denied.
---> SharpDX.SharpDXException: HRESULT: [0x80070005], Module: [General], ApiCode: [E_ACCESSDENIED/General access denied error], Message: Access is denied.
at SharpDX.Result.CheckError() in C:\projects\sharpdx\Source\SharpDX\Result.cs:line 195
at SharpDX.DXGI.Output1.DuplicateOutput(IUnknown deviceRef) in C:\projects\sharpdx\Source\SharpDX.DXGI\Generated\DESKTOP_APP\Interfaces.cs:line 3770
at HyperionScreenCap.DX11ScreenCapture.InitDesktopDuplicator()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 15:48:16 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 16:02:00 [ERROR] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 16:02:00 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 16:02:19 [ERROR] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Exception in screen capture attempt: 1
System.Exception: Error occured while sending image to server: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: The keyed mutex was abandoned.
at HyperionScreenCap.DX11ScreenCapture.ManagedCapture()
at HyperionScreenCap.DX11ScreenCapture.Capture()
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
--- End of inner exception stack trace ---
at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame()
at HyperionScreenCap.Helper.HyperionTask.StartCapture()
2022-02-06 16:02:19 [INFO] [8] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: 4792cd]: Waiting before next screen capture attempt
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.MainForm.ShowSetupFrom:0 - Loading SetupForm
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.SetupForm..ctor:0 - Instantiating SetupForm
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.SetupForm.LoadSettings:0 - Loading settings using SettingsManager
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.SettingsManager.LoadSetttings:0 - Loading settings from user.config
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.SettingsManager.LoadSetttings:0 - Loaded settings from user.config
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.SetupForm.LoadSettings:0 - Finished loading settings using SettingsManager
2022-02-06 16:02:28 [INFO] [1] HyperionScreenCap.SetupForm..ctor:0 - SetupForm Instantiated
Edit: Just saw another issue saying flat buffers isn't stable and to try protocol buffers instead. Will try this.
same thing is happening to me too, it'll auto-restart and then crash again, mainly when in game. attached my logs in case it's helpful
same is happening to me with version 2.9
2022-08-03 07:13:15 [ERROR] [7] HyperionScreenCap.Helper.HyperionTask.StartCapture:0 - HyperionTask[ConfigurationId: b2b53c]: Exception in screen capture attempt: 2 System.Exception: Error occured while sending image to server: HRESULT: [0x80070005], Module: [General], ApiCode: [E_ACCESSDENIED/General access denied error], Message: Access is denied. ---> SharpDX.SharpDXException: HRESULT: [0x80070005], Module: [General], ApiCode: [E_ACCESSDENIED/General access denied error], Message: Access is denied.
at SharpDX.Result.CheckError() in C:\projects\sharpdx\Source\SharpDX\Result.cs:line 195 at SharpDX.DXGI.Output1.DuplicateOutput(IUnknown deviceRef) in C:\projects\sharpdx\Source\SharpDX.DXGI\Generated\DESKTOP_APP\Interfaces.cs:line 3770 at HyperionScreenCap.DX11ScreenCapture.InitDesktopDuplicator() at HyperionScreenCap.DX11ScreenCapture.Capture() at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame() --- End of inner exception stack trace --- at HyperionScreenCap.Helper.HyperionTask.TransmitNextFrame() at HyperionScreenCap.Helper.HyperionTask.StartCapture()
I had the exact same issue, but I managed to find what triggers it - in my case it happened every time Windows UAC dims the screen (for example, when executing an application as administrator). Since my C# skills are low, I implemented a very dirty workaround in the problematic part of the code - execute a bat file which kills and restarts the process whenever this error happens :D
I had the exact same issue, but I managed to find what triggers it - in my case it happened every time Windows UAC dims the screen (for example, when executing an application as administrator). Since my C# skills are low, I implemented a very dirty workaround in the problematic part of the code - execute a bat file which kills and restarts the process whenever this error happens :D
here I am having a constant problem with Hyperion Screen Capture that it ends after it presents an error after a few minutes open, it is always the same error where it presents a message in red saying that the problem ended the capture, Hyperion works normally, but the Screen Capture stops working. Do you have any news of what might cause these issues. I noticed that this started happening after I updated the version of W-LED and Hyperion, both updated and the problem persists.
Im getting this at least once per day. It usually stops capturing when i start video (change of refresh rate?) but sometimes it stops capturing out of the blue in the middle of watching a vid.