Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Adrilight not capture screen #108

@fabiogfabio

Description

@fabiogfabio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions