Comments (27)
The abnormal memory usage can be reproduced on mac m1.
from rustdesk.
Mac has not used GPU decode yet, pure software (We do windows/linux/android hardware codec first, later we will do mac). vpx software decode is faster.
from rustdesk.
Neverthless, @21pages let us fix memory accumulation issue because of software decode slow
We had a fix before about this,
Let's verify again.
from rustdesk.
@alexandru-bagu we decrease the fps automatically when seeing the frame accumulation, then memory usage will drop. Could not you see?
from rustdesk.
Mac has not used GPU decode yet, pure software (We do windows/linux/android hardware codec first, later we will do mac). vpx software decode is faster.
Interesting. Any idea when that is going to be implemented? Is ffmpeg being used to accelerate development? It seems that avcodec_find_decoder_by_name("h264_vda")
is an option for hw accelerated decoding in ffmpeg for macOS.
@alexandru-bagu we decrease the fps automatically when seeing the frame accumulation, then memory usage will drop. Can not you see?
My tests did not show that though, the fps did not really decrease for me and if I had not changed tabs in chrome my system would have become frozen due to no ram being available. If the fps did indeed decrease it didn't have the desired effect.
from rustdesk.
an option
Yes, for you, it is just an option, but not for us. :(
from rustdesk.
an option
Yes, for you, it is just an option, but not for us. :(
Why is that?
I did see that the fps decreased to 18 at some point but it was too late by then. Rustdesk was using upwards of 6 GB out of my 8 GB.
from rustdesk.
It remains 6G, will not drop any more?
from rustdesk.
If I don't manually intervene the system will run out of memory. It has happened at least once, I don't really feel like rebooting my system again.
Even so, even if it would hang around 6 GB, my system would be unusable and that is not a good option either.
from rustdesk.
Could you test vp9/vp8 codec of RustDesk?
from rustdesk.
Just tested vp9. RustDesk did not stop eating ram. It got to the point where the whole system was responding very slow. Had to kill rustdesk
from rustdesk.
Could you check whether the memory usage of RustDesk is growing rapidly or gradually, and what is the rate of growth? Please kill RustDesk first before testing.
from rustdesk.
Here is an updated video with VP9.
https://drive.google.com/file/d/10k9AejIQGbuOtjyKj3Rr8zEIQ_G6yufZ/view?usp=sharing
I also managed to catch a bug where the video does not render at all unless I go in fullscreen. Oddly enough, the ram kept going up.
from rustdesk.
The bug regarding video not rendering happens every once in a while when the application is not fullscreen. It doesn't really bother me as I pretty much always have it full screen but it is annoying if you are not aware of it.
from rustdesk.
Thanks, both not rendering and memory usage are abnormal, and fps control can be improved, we'll try to reproduce and fix them.
from rustdesk.
Here is an another video where you can see how the rendering is resolved once I go fullscreen.
https://drive.google.com/file/d/1w_BYNGSWT-NVc1mYGI2L6lRfQfsdJDJf/view?usp=sharing
from rustdesk.
The new nightly build with the fix is ready now. https://github.com/rustdesk/rustdesk/releases/tag/nightly
Please try it out
from rustdesk.
Just tested. The issue is not resolved.
The change did not really help with the memory issue.
from rustdesk.
Does the nightly fix the delay?
https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64-x86_64-texture-render.dmg
This program includes pr 8137 and use rgba texture render, should fix all the issues, could you try it ? Rgba texture render was removed because of #6296.
from rustdesk.
Cannot start this version.
Process: RustDesk [96571]
Path: /Users/USER/Downloads/RustDesk.app/Contents/MacOS/RustDesk
Identifier: com.carriez.rustdesk
Version: 1.2.4 (39)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: RustDesk [96571]
User ID: 502
Date/Time: 2024-05-24 15:10:36.549 +0300
OS Version: Mac OS X 10.15.7 (19H2026)
Report Version: 12
Anonymous UUID: 8D515FF7-14E7-101C-F8D9-434C655A7A89
Sleep/Wake UUID: 70BFD24A-7EB4-4F50-AE6E-047A59931B78
Time Awake Since Boot: 340000 seconds
Time Since Wake: 74000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x5] Code Signature
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/FlutterMacOS.framework/Versions/A/FlutterMacOS
Referenced from: /Users/USER/Downloads/RustDesk.app/Contents/MacOS/RustDesk
Reason: no suitable image found. Did find:
/Users/a.bagu/Downloads/RustDesk.app/Contents/MacOS/../Frameworks/FlutterMacOS.framework/Versions/A/FlutterMacOS: code signature in (/Users/a.bagu/Downloads/RustDesk.app/Contents/MacOS/../Frameworks/FlutterMacOS.framework/Versions/A/FlutterMacOS) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
Binary Images:
0x109054000 - 0x10905bfff +com.carriez.rustdesk (1.2.4 - 39) <8E853059-DF60-3EE4-B425-61238A5E42B8> /Users/USER/Downloads/RustDesk.app/Contents/MacOS/RustDesk
0x10e668000 - 0x10e6fa267 dyld (750.7) <9F48F7F8-94D0-3793-99B7-DDEF657EF956> /usr/lib/dyld
0x7fff29073000 - 0x7fff2926eff8 com.apple.avfoundation (2.0 - 1855.3) <0837D912-3783-35D6-A94A-E474E18600CF> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff2aa87000 - 0x7fff2b845ffb com.apple.AppKit (6.9 - 1894.70.110) <058D0F31-D353-36D9-83CD-1709EBB1390E> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff644bc000 - 0x7fff644bdfff libSystem.B.dylib (1281.100.1) <5A20AE6C-BF4D-3689-B7D2-19F0721F6375> /usr/lib/libSystem.B.dylib
0x7fff6631e000 - 0x7fff66351fde libobjc.A.dylib (787.1) <6DF81160-5E7F-3E31-AA1E-C875E3B98AF6> /usr/lib/libobjc.A.dylib
0x7fff66ee9000 - 0x7fff66ef2fff libswiftCoreMIDI.dylib (??? - ???) <81408BBB-9648-37CB-8646-707C7CDCE15C> /usr/lib/swift/libswiftCoreMIDI.dylib
0x7fff67185000 - 0x7fff6718af47 libswiftOSLog.dylib (??? - ???) <5DCDF2D6-91E8-36D1-AB51-B6B0B592D543> /usr/lib/swift/libswiftOSLog.dylib
Model: iMac18,3, BootROM 451.140.1.0.0, 4 processors, Quad-Core Intel Core i5, 3,4 GHz, 8 GB, SMC 2.41f2
Graphics: kHW_AMDRadeonPro570Item, Radeon Pro 570, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/DIMM0, 4 GB, DDR4 SO-DIMM, 2400 MHz, 0x802C, 0x344154463531323634485A2D3247334532202020
Memory Module: BANK 1/DIMM0, 4 GB, DDR4 SO-DIMM, 2400 MHz, 0x802C, 0x344154463531323634485A2D3247334532202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x16F), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1615.7)
Bluetooth: Version 7.0.6f8, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: APPLE HDD ST1000DM003, 1 TB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Lenovo USB Optical Mouse
USB Device: Lenovo Traditional USB Keyboard
Thunderbolt Bus: iMac, Apple Inc., 41.4
from rustdesk.
Then 1.2.3-2 should not have the memory issue, because it uses the rgba texture render.
from rustdesk.
1.2.3-2 doesn't have H264 either. I can test with VP9 though.
from rustdesk.
You can test once #8138 is merged
from rustdesk.
I tested 1.2.3-2 and you are correct. Memory is not going past about 800M. Testing nightly build now.
from rustdesk.
Only the reaction delay is needed to be tested for nightly
from rustdesk.
Please help test the nightly build
from rustdesk.
The ram issue is resolved.
Any idea when hardware decoding will be available on mac?
from rustdesk.
Related Issues (20)
- Lag in input 5 seconds or more
- Some noise is heard on the local side HOT 4
- Rustdesk Running crash in macos HOT 2
- Key mismatch HOT 6
- Failed to create capturer HOT 1
- iPad -> Manjaro KDE 6 Wayland really bumpy, only parts of screen available HOT 2
- Wrong physical keyboard layout iPad -> Linux HOT 1
- Remote low resolution Android tablet display is too small HOT 1
- Trivial to circumvent protection to modify remote configuration HOT 1
- Duplicate menu icon on Mac
- Windows to MacOs - keyboard issue HOT 11
- Automatic Winget submission is broken HOT 1
- Closing RustDesk via Tray Icon deletes the windows Service?
- Pressing the physical middle mouse button on the touchpad does not work HOT 1
- when connect to android7.1 the home button is huge then android12 HOT 1
- When using /r to force relay connection file transfer ingore this setting HOT 2
- Incorrect Cursor Without Physical Mouse HOT 1
- Black screen with remote pc's laptop lid open, image only shows when closing lid HOT 1
- Always pop a window of "Failed to stop voice call" when closing a connection between two Android mobile phones, both with rustdesk v1.2.6 HOT 2
- x11 forwarding could not authenticate the unlock setting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustdesk.