rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

Very low fps

Open ElYaiko opened this issue 2 years ago • 36 comments

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

  • Install environment: docker
  • If available, the docker-compose.yaml file:
 version: '3'

networks:
  rustdesk-net:
    external: false

services:
  hbbs:
    container_name: hbbs
    ports:
      - 21115:21115
      - 21116:21116
      - 21116:21116/udp
      - 21118:21118
    image: rustdesk/rustdesk-server:latest
    command: hbbs
    volumes:
      - ./hbbs:/root
    # network_mode: "host"
    networks:
      - rustdesk-net
    depends_on:
      - hbbr
    restart: unless-stopped

  hbbr:
    container_name: hbbr
    ports:
      - 21117:21117
      - 21119:21119
    image: rustdesk/rustdesk-server:latest
    command: hbbr
    volumes:
      - ./hbbr:/root
    # network_mode: "host"
    networks:
      - rustdesk-net
    restart: unless-stopped

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

  • Please write in english only. If you provide some images in different languages, you're required to write a translation in english.
  • In any case, NEVER put here the content if your id_ed25519 file

ElYaiko avatar Aug 26 '23 10:08 ElYaiko

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

palexdev avatar Oct 04 '23 19:10 palexdev

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

adriadam10 avatar Oct 11 '23 17:10 adriadam10

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.

paulsommer avatar Oct 24 '23 21:10 paulsommer

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

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.

derkrasseleo avatar Mar 08 '24 08:03 derkrasseleo

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

adriadam10 avatar Mar 13 '24 12:03 adriadam10

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.

derkrasseleo avatar Mar 13 '24 16:03 derkrasseleo

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

hexsix avatar Mar 22 '24 12:03 hexsix

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.

electricar avatar Mar 27 '24 11:03 electricar

me too

Re-s avatar May 08 '24 12:05 Re-s

me three

sanwacompany avatar Jul 24 '24 04:07 sanwacompany

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

londek avatar Aug 04 '24 17:08 londek