rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
6.43k stars 1.34k forks source link

Very low fps #301

Open ElYaiko opened 1 year ago

ElYaiko commented 1 year ago

Describe the bug I'm using a self hosted rustdesk-server on my Mac with docker. But when connecting to my remote desktop I barely get 20 fps (max) and an average of 14 fps.

Why it is slow? Even is being hosted on my own private network (LAN), I also have the custom image settings at max in the client, but is still slow.

Describe the environment

networks: rustdesk-net: external: false

services: hbbs: container_name: hbbs ports:

How to Reproduce the bug Steps to reproduce the behavior:

  1. Given the previously described environment
  2. Do this and that
  3. I get this error

Expected behavior I should get at least 40 fps > since is being ran LAN...

Additional context Thanks!

Notes

palexdev commented 11 months ago

It's not self-hosted, but I'm having the same issue. I enabled Direct IP on the host, so the connection is direct, but I only get from 4 to 10 fps

Edit: it's like if it doesn't refresh enough. After some time it seems to freeze, and I have to refresh it manually to see the updated screen. More context: I have a virtual display adapter connected to my PC, and I'm using Rustdesk on my tablet as a secondary monitor by showing the virtual screen

Edit: use Anydesk, this software is garbage, just like the support it recieves

adriadam10 commented 11 months ago

I'm having the same problem, in LAN, the connection is p2p and gives 30 fps. But outside LAN the connection is relayed and gives only 5 fps. I tried to change to network_mode host, but it's still getting relayed

paulsommer commented 11 months ago

The same problem here: Self hostet; server and client on the same local network. Another Problem: The upper right corner always overlays the gray box with the fps-info, and I don't know how to switch that off.

NoteToSelfFindGoodNickname commented 9 months ago

Same problem here: Speed 0.0.1kb/S FPS: 1 Self hostet, server and client on the same local network.

derkrasseleo commented 6 months ago

Same problem here: Speed 0.0.1kb/S FPS: 1 Self hostet, server and client on the same local network.

Same here only 1-5 fps and low bitrate on client with local network connection.

adriadam10 commented 6 months ago

i had the same problem and i solved it checking the quality settings in the rustdesk client app

derkrasseleo commented 6 months ago

i had the same problem and i solved it checking the quality settings in the rustdesk client app

Can't confirm, I tried all codecs, which lead to slightly different framerates, but all below 5 fps. I also tried changing to "optimize for reaction time", also didn't work.

hexsix commented 6 months ago

Privacy Mode will lower FPS. From 30fps to <5fps on my test.

electricar commented 5 months ago

I also have rustdesk self hosted on my Synology and have the same issue. No matter what setting I choose, I get 14 fps on average (or even less). Privacy mode is turned off. Tried different settings. When I enable h264 or h265 I get higher average fps (max was around 24fps sometimes), but as soon as I disconnect from the session and reconnect again, the delay shown on the quality monitor jumps up to 3-5s and is therefore unusable.

Re-s commented 4 months ago

me too

sanwacompany commented 1 month ago

me three

londek commented 1 month ago

i see, back to windows built-in remote desktop and for other use cases moonlight + sunshine + zerotier combo

qyx268 commented 1 month ago

me four..

eebssk1 commented 5 days ago

also local direct connection, I can get 20 real fps if i move window real fast. but no more than that.