-
Notifications
You must be signed in to change notification settings - Fork 39
Adrilight not capture screen #108
Description
Hello!
as the title suggests I can not capture the colors of the screen.
as soon as I load the code on arduino I see the rainbow in motion but when I set the com and send the data the rainbow remains stationary.
from the logs I detect
020-12-30 13:16:54.1748 DEBUG adrilight.SerialStream Exception catched. System.IO.IOException: Un dispositivo collegato al sistema non e in funzione.
in System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
in System.IO.Ports.SerialStream.EndWrite(IAsyncResult asyncResult)
in System.IO.Ports.SerialStream.Write(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
in System.IO.Ports.SerialPort.Write(Byte[] buffer, Int32 offset, Int32 count)
in adrilight.SerialStream.DoWork(Object tokenObject)
2020-12-30 13:17:00.0203 DEBUG adrilight.SerialStream Exception catched. System.IO.IOException: Un dispositivo collegato al sistema non e in funzione.
in System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
in System.IO.Ports.SerialStream.EndWrite(IAsyncResult asyncResult)
in System.IO.Ports.SerialStream.Write(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
in System.IO.Ports.SerialPort.Write(Byte[] buffer, Int32 offset, Int32 count)
in adrilight.SerialStream.DoWork(Object tokenObject)
2020-12-30 13:17:10.6680 ERROR adrilight.DesktopDuplicatorReader GetNextFrame() failed. adrilight.DesktopDuplication.DesktopDuplicationException: Failed to acquire next frame. ---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: Mutex con chiave abbandonata.
in SharpDX.Result.CheckError()
in adrilight.DesktopDuplication.DesktopDuplicator.RetrieveFrame()
--- Fine della traccia dello stack dell'eccezione interna ---
in adrilight.DesktopDuplication.DesktopDuplicator.RetrieveFrame()
in adrilight.DesktopDuplication.DesktopDuplicator.GetLatestFrame(Bitmap reusableImage)
in adrilight.DesktopDuplicatorReader.GetNextFrame(Bitmap reusableBitmap)
2020-12-30 13:48:46.5037 ERROR adrilight.DesktopDuplicatorReader GetNextFrame() failed. adrilight.DesktopDuplication.DesktopDuplicationException: Failed to acquire next frame. ---> SharpDX.SharpDXException: HRESULT: [0x887A0026], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_ACCESS_LOST/AccessLost], Message: Mutex con chiave abbandonata.
in SharpDX.Result.CheckError()
in adrilight.DesktopDuplication.DesktopDuplicator.RetrieveFrame()
--- Fine della traccia dello stack dell'eccezione interna ---
in adrilight.DesktopDuplication.DesktopDuplicator.RetrieveFrame()
in adrilight.DesktopDuplication.DesktopDuplicator.GetLatestFrame(Bitmap reusableImage)
in adrilight.DesktopDuplicatorReader.GetNextFrame(Bitmap reusableBitmap)
what could it have depended on?
thanks.