Skip to content

Extreme performance issues while taking screenshot #273

@LeonardBaranski

Description

@LeonardBaranski

Please include the following information:

vncdotool version
1.2.0

VNC server and version
TightVNC -> version unclear

Steps to reproduce

  • def run_vnc():
    client = api.connect("localhost", password="password")

    client.captureScreen(f"screenshot1.png")
    print("Test")
    client.captureScreen(f"screenshot2.png")
    print("Test2")
    client.disconnect()
    run_vnc()

  • we are trying to get a screenshot from a vnc device.

  • the first screnshot returns just a black screen

  • the second screenshot takes around 135 seconds every time, But returns the expected result.

  • Why does it take so long to take a screenshot?

Additional information
Furthermore the programm does not finish the process. The process is stuck and never gets finished.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions