Recent

Author Topic: Remote desktop software in Lazarus  (Read 3451 times)

gidesa

  • Full Member
  • ***
  • Posts: 248
Re: Remote desktop software in Lazarus
« Reply #15 on: April 11, 2026, 02:25:43 pm »
Indeed in procedure TScreenShareThread there a comparison
between the old and new screenshot, described as "Modo delta".
Maye it's not very efficient. I don't see if it compares 2 JPG, or 2 simple bitmaps.

Boleeman

  • Hero Member
  • *****
  • Posts: 1158
Re: Remote desktop software in Lazarus
« Reply #16 on: April 12, 2026, 03:54:26 pm »
Artemis

A remote desktop develop by freepascal.
support file transfer and clipboard sync.
support voice chat.
screen transfer compress by jpg

https://github.com/terrylao/Artemis

or

https://github.com/khongten001/Artemis

Ericktux

  • Sr. Member
  • ****
  • Posts: 394
    • ericksystem software
Re: Remote desktop software in Lazarus
« Reply #17 on: April 12, 2026, 07:12:27 pm »
Thanks so much for sharing, friend. Where can I get the "iLbc" to try out "Artemis"? I can't find that library.
I love desktop software
https://www.ericksystem.com

MathMan

  • Hero Member
  • *****
  • Posts: 504
Re: Remote desktop software in Lazarus
« Reply #18 on: April 12, 2026, 07:28:42 pm »
Thanks so much for sharing, friend. Where can I get the "iLbc" to try out "Artemis"? I can't find that library.

Your search engine of choice might lead you to here: https://www.adaptivedigital.com/ilbc/

Ericktux

  • Sr. Member
  • ****
  • Posts: 394
    • ericksystem software
Re: Remote desktop software in Lazarus
« Reply #19 on: April 12, 2026, 09:57:43 pm »
When I open the "artemis" project, it asks for this file:
Code: Pascal  [Select][+][-]
  1. \iLBCcodec\iLBCcodec.pas
but I can't find it anywhere. Does anyone have it?  :-\
I love desktop software
https://www.ericksystem.com

MathMan

  • Hero Member
  • *****
  • Posts: 504
Re: Remote desktop software in Lazarus
« Reply #20 on: April 12, 2026, 10:50:37 pm »
Maybe this one then - https://github.com/terrylao/iLbc

Ericktux

  • Sr. Member
  • ****
  • Posts: 394
    • ericksystem software
Re: Remote desktop software in Lazarus
« Reply #21 on: April 13, 2026, 08:50:58 am »
Hi everyone, here's an update on my progress.  :-\
I tried to get the "Artemis" project working, but I couldn't. The server loaded, but it didn't detect the clients.
Getting back to my project, as I mentioned, I enabled hardware acceleration, but it's still slow. Then I converted my project to UDP client-to-client hole punching, with the server acting only as a signaler, but it's still slow.
Basically, I discovered that when the controlled PC's resolution is 1920x1080, my program is slow when moving large windows, but if the controlled PC's resolution is 1024x768, it moves faster. Therefore, I was thinking of adding an option so that when the connection starts, the controlled PC's resolution drops to 1024x768, but that doesn't seem very professional.
So, after trying everything, the only thing left to try is using video streaming instead of using compressed JPEG screen sharing.

If anyone knows of or has a project for screen sharing with video streaming in Lazarus Free Pascal, I would greatly appreciate it if you could share it.
I love desktop software
https://www.ericksystem.com

Boleeman

  • Hero Member
  • *****
  • Posts: 1158
Re: Remote desktop software in Lazarus
« Reply #22 on: April 14, 2026, 12:59:14 am »
Hi Erick,

Sorry about the late reply (was chopping down trees the whole day yesterday).

I accidentally stumbled across Artemis (while searching for something else) so I thought I would share the link as you were working on your own Remote desktop software. Never tested it. Apologies.

Also found (but for Delphi):

This might speed things up?
Fast Delphi screen sharing by sending only the pixels that changed.
Great for low-bandwidth or real-time desktop streaming. Included RDP Demo
https://github.com/mben-dz/BitmasterXor.Delphi_Delta_ScreenShot_And_RDP

and others

https://github.com/BitmasterXor/Delphi_Delta_ScreenShot_And_RDP
https://github.com/BitmasterXor/Delphi_Remote_Desktop
https://github.com/BitmasterXor/Delphi_Remote_Access_PC

and

https://github.com/mben-dz/Aegys-Acesso-Remoto


and Lazarus Korg Remote Desktop

https://forum.lazarus.freepascal.org/index.php?topic=52110.0


« Last Edit: April 14, 2026, 09:14:33 am by Boleeman »

Ericktux

  • Sr. Member
  • ****
  • Posts: 394
    • ericksystem software
Re: Remote desktop software in Lazarus
« Reply #23 on: April 15, 2026, 08:47:55 am »
Thanks so much for replying, friend.
I wanted to let you know that I found the cause of the slowness when moving large windows at high resolutions: it was JPEG compression. I'm using "turbojpeg.dll" and it has increased the speed.  :D
I'll keep testing and let you know, friends.
I love desktop software
https://www.ericksystem.com

creaothceann

  • Sr. Member
  • ****
  • Posts: 361
Re: Remote desktop software in Lazarus
« Reply #24 on: April 15, 2026, 10:09:49 am »
Depending on the use case, a very slow or very lossy compression method might not even be needed.

A 1 gigabit LAN connection can ideally transfer 125,000,000 bytes per second; divided by 1920 * 1080 * 3 bytes per pixels results in a framerate of ~20 fps. So if you can use a compression that reduces the data rate to 1/3, you can get a smooth ~60 fps. Reducing the data rate to 1/2 would get you ~40 fps.

 

TinyPortal © 2005-2018