Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very low fps #301

Open
ElYaiko opened this issue Aug 26, 2023 · 10 comments
Open

Very low fps #301

ElYaiko opened this issue Aug 26, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@ElYaiko
Copy link

ElYaiko commented Aug 26, 2023

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 ElYaiko added the bug Something isn't working label Aug 26, 2023
@palexdev
Copy link

palexdev commented Oct 4, 2023

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
Copy link

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
Copy link

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
Copy link

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

@derkrasseleo
Copy link

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
Copy link

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

@derkrasseleo
Copy link

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
Copy link

hexsix commented Mar 22, 2024

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

@electricar
Copy link

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
Copy link

Re-s commented May 8, 2024

me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants