Comments (50)
I want to analyze the encoded video, when you're home, could you connect to your phone with the i5-7300U with H265, then record the connection with rustdesk, and send the mp4 to my email?
Sure, I will do that when home
from rustdesk.
@21pages
I sent the video.
from rustdesk.
@mikekgr Thanks for your feedback, could you give the related log here? Here are steps:
- Enable the
Transfer file
permission (Make it able to write external stroage) and restart android app. - Use auto codec to connect to your android
- The log is in External stroage -> RustDesk -> Logs -> rs_rCurrent.log
- You can
- remove server info and send the log file to my email:
cGFnZXMyMUAxNjMuY29tCg==
(base64), - or paste the log start with:
scrap::common::hwcodec: all codec info:
andscrap::common::hwcodec: available H265 encoders:
,scrap::common::codec: new encoder: HWRAM(HwRamEncoderConfig
, and see if there are manyhwcodec::ffmpeg_ram::encode: Error encode: -1
, serveral failed encoding is normal.
from rustdesk.
@mikekgr Thanks for your feedback, could you give the related log here? Here are steps:
- Enable the
Transfer file
permission (Make it able to write external stroage) and restart android app.- Use auto codec to connect to your android
- The log is in External stroage -> RustDesk -> Logs -> rs_rCurrent.log
- You can
- remove server info and send the log file to my email:
cGFnZXMyMUAxNjMuY29tCg==
(base64),- or paste the log start with:
scrap::common::hwcodec: all codec info:
andscrap::common::hwcodec: available H265 encoders:
,scrap::common::codec: new encoder: HWRAM(HwRamEncoderConfig
, and see if there are manyhwcodec::ffmpeg_ram::encode: Error encode: -1
, serveral failed encoding is normal.
OK I sent you the log from my email : bWlrZWtAb3BlbmZvcmFsbC5jb20=
Tell me if you need anything more. Thanks
from rustdesk.
Thanks for the log, there are not many Error encode: -1
,
- If you control it while it's playing video, will there be hundreds of
Error encode: -1
? - Enable quality monitor, is fps always zero?
from rustdesk.
Thanks for the log, there are not many
Error encode: -1
,
- If you control it while it's playing video, will there be hundreds of
Error encode: -1
?- Enable quality monitor, is fps always zero?
Well, in case of manual codec selection e.g. VP9 or AV1, (not the case of log file that was the try of H265) then the fsp IS NOT zero although I did not tried to play video. If you need more testing, I will try anything you need but after 1-1,5 hours.
Send me what do you need to check and I will reply after 1-1.5 hours.
from rustdesk.
Take your time, there's no rush.
And use this windows client to control other devices (or even itself) through h265 to see if the windows client can display h265 images normally.
from rustdesk.
@21pages
Well after return home, I did some new tests, this time using my laptop (Dell Latitude 7280, i5-7300U CPU @ 2.60GHz) having Windows 11 pro.
In these tests, the Auto codec was working fine even with the H265 that was again the preselected. Also I test the rest of the codecs and all went fine. my conclusion in this case is: My previous PC (HP Compaq Elite 8300 SFF, i7-3770 CPU @ 3.40GHz) having Windows 10 pro, definitely doesn't support H265 and the only mistake that I can see is the Auto codec logic that pre-select a codec that this PC doesn't support...
That's all I can report.
Thanks and Best Regards.
Mike Kranidis
from rustdesk.
Thanks for your feedback, when the previous pc is available, could you provide the file %appdata%/rustdesk/config/RustDesk_hwcodec.toml
? It should support H265 decode, and notice whether fps is zero.
from rustdesk.
Thanks for your feedback, when the previous pc is available, could you provide the file
%appdata%/rustdesk/config/RustDesk_hwcodec.toml
? It should support H265 decode, and notice whether fps is zero.
Yes, tomorrow I will do it and I will report here
from rustdesk.
Here are some debug tips:
After connection with H265, look the latest date file in directory %appdata%/RustDesk/log
(not sub directory), there should have logs start with try create vram decoder
or try create ram decoder
, that is the decoder used for decoding, and you can find the decoder in %appdata%/rustdesk/config/RustDesk_hwcodec.toml
, you can remove the used one and connect again, btw, vram decoders have higher priority than ram decoders, hope you can find some clues.
from rustdesk.
According to https://en.wikipedia.org/wiki/Intel_Graphics_Technology#Capabilities_(GPU_video_acceleration), i7-3770 CPU (Ivy Bridge) doesn't support H265. The reason may be that the current detection mistakenly think that d3d11 h265 decode acceleration is supported.
Please provide old %appdata%/rustdesk/config/RustDesk_hwcodec.toml
and run new https://github.com/21pages/test/releases/download/test/decode_check.exe in termial to verify it. I willl do more to improve the support check.
And try https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64-more-hwcodec-check.exe, maybe this version will make h265 normal. If not, please give %appdata%/rustdesk/config/RustDesk_hwcodec.toml
of this version.
from rustdesk.
According to https://en.wikipedia.org/wiki/Intel_Graphics_Technology#Capabilities_(GPU_video_acceleration), i7-3770 CPU (Ivy Bridge) doesn't support H265. The reason may be that the current detection mistakenly think that d3d11 h265 decode acceleration is supported.
Please provide old
%appdata%/rustdesk/config/RustDesk_hwcodec.toml
and run new https://github.com/21pages/test/releases/download/test/decode_check.exe in termial to verify it. I willl do more to improve the support check.And try https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64-more-hwcodec-check.exe, maybe this version will make h265 normal. If not, please give
%appdata%/rustdesk/config/RustDesk_hwcodec.toml
of this version.
Well the result of running decode_check.exe is:
vram decoders:
[2024-05-21T03:45:41Z ERROR hwcodec] [FFMPEG_VRAM_DEC] unsupported data format
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), `anonymous-namespace'::VplDecoder::init, Query at D:\rustdesk\hwcodec\cpp\mfx\mfx_decode.cpp:110
[2024-05-21T03:45:41Z ERROR hwcodec] [MFXDEC] Queryfailed, sts=-3
DecodeContext { device: None, driver: FFMPEG, luid: 40330, api: API_DX11, data_format: H264 }
DecodeContext { device: None, driver: MFX, luid: 40330, api: API_DX11, data_format: H264 }
[2024-05-21T03:45:41Z ERROR hwcodec] [FFMPEG_RAM_DEC] Failed to check support hevc
[2024-05-21T03:45:41Z ERROR hwcodec] [FFMPEG_RAM_DEC] check_support failed
[2024-05-21T03:45:41Z DEBUG hwcodec::ffmpeg_ram::decode] name:hevc device:AV_HWDEVICE_TYPE_D3D11VA new failed:12.4932ms
ram decoders:
CodecInfo { name: "h264", mc_name: None, format: H264, priority: 0, hwdevice: AV_HWDEVICE_TYPE_D3D11VA }
CodecInfo { name: "h264", mc_name: None, format: H264, priority: 3, hwdevice: AV_HWDEVICE_TYPE_NONE }
CodecInfo { name: "hevc", mc_name: None, format: H265, priority: 3, hwdevice: AV_HWDEVICE_TYPE_NONE }
The test programm: rustdesk-1.2.4-x86_64-more-hwcodec-check.exe still does not work, still get H265 in the Auto place
The content of: %appdata%/rustdesk/config/RustDesk_hwcodec.toml is:
ram = '''
{
"e": [],
"d": [
{
"name": "h264",
"format": "H264",
"priority": 0,
"hwdevice": "AV_HWDEVICE_TYPE_D3D11VA"
},
{
"name": "h264",
"format": "H264",
"priority": 3,
"hwdevice": "AV_HWDEVICE_TYPE_NONE"
},
{
"name": "hevc",
"format": "H265",
"priority": 3,
"hwdevice": "AV_HWDEVICE_TYPE_NONE"
}
]
}'''
vram = '''
{
"e": [
{
"driver": "FFMPEG",
"luid": 40330,
"api": "API_DX11",
"data_format": "H264"
}
],
"d": [
{
"driver": "FFMPEG",
"luid": 40330,
"api": "API_DX11",
"data_format": "H264"
},
{
"driver": "MFX",
"luid": 40330,
"api": "API_DX11",
"data_format": "H264"
}
]
}'''
Am I forgot something useful to you, don't hesitate to ask me, thanks
from rustdesk.
Could you provide the content of %appdata%/rustdesk/config/RustDesk_hwcodec.toml
after running nigthly RustDesk.exe?
The test programm: rustdesk-1.2.4-x86_64-more-hwcodec-check.exe still does not work, still get H265 in the Auto place
If you connect your phone with the new RustDesk.exe with H265, the image is still not normal? Only software h265 decoder is available now.
from rustdesk.
%appdata%/rustdesk/config/RustDesk_hwcodec.toml
Help me to install the nightly release, after having rustdesk-1.2.4-x86_64-more-hwcodec-check.exe installed, tring to install the nightly release does not give me the known update gui button. How to do it ?
from rustdesk.
Uninstall the current one, and installation is not needed, let's test with portable.
- Click and run nightly first, and show the cotent of
%appdata%/rustdesk/config/RustDesk_hwcodec.toml
nightly: https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64.exe - Click and run
rustdesk-1.2.4-x86_64-more-hwcodec-check.exe
, connect to your phone, the auto codec is H265, and see if the image is normal.
test: https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64-more-hwcodec-check.exe
from rustdesk.
Uninstall the current one, and installation is not needed.
nightly: https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64.exe test: https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.4-x86_64-more-hwcodec-check.exe
I am trying to install the nightly release (after having installed your test release) and I can't . I am pretty sure that this one Build date: 2024-05-21 02:47 is your testy release. Am I right ?
In this case how to force to install the nightly release?
from rustdesk.
Uninstall with windows setting, or uninstall with rustdesk.exe --uninstall
from rustdesk.
Same, see the screenshot, now running the nightly release:
from rustdesk.
Now the fix has not been merged to the ngihtly build, with the nightly build you have installed now, could you provide the content of %appdata%/rustdesk/config/RustDesk_hwcodec.toml
? and what if connect itself, eg: if your ID is 1234567, connect to 1234567
from rustdesk.
%appdata%/rustdesk/config/RustDesk_hwcodec.toml
Here is:
ram = '''
{
"e": [],
"d": [
{
"name": "h264",
"format": "H264",
"priority": 0,
"hwdevice": "AV_HWDEVICE_TYPE_D3D11VA"
},
{
"name": "h264",
"format": "H264",
"priority": 3,
"hwdevice": "AV_HWDEVICE_TYPE_NONE"
},
{
"name": "hevc",
"format": "H265",
"priority": 3,
"hwdevice": "AV_HWDEVICE_TYPE_NONE"
}
]
}'''
vram = '''
{
"e": [
{
"driver": "FFMPEG",
"luid": 40330,
"api": "API_DX11",
"data_format": "H264"
}
],
"d": [
{
"driver": "FFMPEG",
"luid": 40330,
"api": "API_DX11",
"data_format": "H264"
},
{
"driver": "MFX",
"luid": 40330,
"api": "API_DX11",
"data_format": "H264"
}
]
}'''
from rustdesk.
So the contents of RustDesk_hwcodec.toml
are the same. what if connect to another computer which have h265 encoding, still waiting for image?
from rustdesk.
So the contents of
RustDesk_hwcodec.toml
are the same. what if connect itself, eg: if your ID is 1234567, connect to 1234567
I did and I got connection with screen but with chaos as the screens repeat itself
from rustdesk.
Sorry, I provide wrong method, your computer doesn't support h265 encoding, could you connect to my computer with public server? I have sent my RustDesk ID to your email.
from rustdesk.
Sorry, I provide wrong method, your computer doesn't support h265 encoding, could you connect to my computer with public server? I have sent my RustDesk ID to your email.
Please sent me your email here: bWlrZS5rcmFuaWRpc0BnbWFpbC5jb20=
because my main email account has problems receiving emails from Chinese servers, sorry
from rustdesk.
in your connection I had H265 in working condition !
from rustdesk.
Well after return home, I did some new tests, this time using my laptop (Dell Latitude 7280, i5-7300U CPU @ 2.60GHz) having Windows 11 pro.
Did i5-7300U and i7-3770 CPU connect to the same phone? If i5-7300U not connect to the same phone, the problem should still be that the android h265 encoding failed
from rustdesk.
Well after return home, I did some new tests, this time using my laptop (Dell Latitude 7280, i5-7300U CPU @ 2.60GHz) having Windows 11 pro.
Did i5-7300U and i7-3770 CPU connect to the same phone?
Yes these are connecting to my personal OnePlus 9 pro Android phone
from rustdesk.
the problem should still be that the android h265 encoding failed
Yes it remained at Connected, waiting for image...
from rustdesk.
i5-7300U connect to android with H265: good
i7-3770 CPU connect to android with H265: bad
i7-3770 CPU connect to my computer with H265: good
Seems not reasonable, did you remember i5-7300U connect to android with H265 or other codec?
Connect to your phone, and enable file transfer,
- If you control it while it's playing video, will there be hundreds of
Error encode: -1
in the android log? If there are, the reason is android encoding failed. - Enable quality monitor, is fps always zero?
from rustdesk.
i5-7300U connect to android with H265: good i7-3770 CPU connect to android with H265: bad i7-3770 CPU connect to my computer with H265: good
Seems not reasonable, is i5-7300U connect to android with H265?
"is i5-7300U connect to android with H265?"
Sure see the screenshot
from rustdesk.
Ok. connect to your phone with i7-3770 CPU , and enable file transfer,
If you control it while it's playing video, will there be hundreds of Error encode: -1 in the android log? If there are, the reason is android encoding failed.
Enable quality monitor, is fps always zero?
from rustdesk.
i5-7300U connect to android with H265: good i7-3770 CPU connect to android with H265: bad i7-3770 CPU connect to my computer with H265: good
Seems not reasonable, did you remember i5-7300U connect to android with H265 or other codec?
Connect to your phone, and enable file transfer,
- If you control it while it's playing video, will there be hundreds of
Error encode: -1
in the android log? If there are, the reason is android encoding failed.- Enable quality monitor, is fps always zero?
I can do these tests after returned home (8+ hours), where the Dell laptop is. Then I will be happy to send you the information you asked.
from rustdesk.
Thanks, take your time.
from rustdesk.
Ok. connect to your phone with i7-3770 CPU , and enable file transfer,
If you control it while it's playing video, will there be hundreds of Error encode: -1 in the android log? If there are, the reason is android encoding failed. Enable quality monitor, is fps always zero?
I can do this test because I am in front of this pc. Just tell me, using what coder? Obviously not H265 that is not working...
from rustdesk.
Use H265, because H264 is working, I want to know why H265 is not working,
from rustdesk.
Use H265, because H264 is working, I want to know why H265 is not working,
To understand well, you instruct me to connect from my pc having with i7-3770 CPU to my phone using H265 correct?
The problem here is when I trying to connect using H265 (in this setup) I can't get picture at all. How to see the Video? I thing I misunderstood your instructions
from rustdesk.
To understand well, you instruct me to connect from my pc having with i7-3770 CPU to my phone using H265 correct?
Yes
How to see the Video?
Playing video is the method to let android encode many times to see whether it can encode successfully, showing correct image on i7-3770 CPU is not required.
After connection, could you send the android log and the computer log %appdata%/RustDesk/log/rustdesk_rCURRENT.log
to my email
from rustdesk.
To understand well, you instruct me to connect from my pc having with i7-3770 CPU to my phone using H265 correct?
Yes
How to see the Video?
Playing video is the method to let android encode many times to see whether it can encode successfully, showing correct image on i7-3770 CPU is not required.
After connection, could you send the android log and the computer log
%appdata%/RustDesk/log/rustdesk_rCURRENT.log
to my email
email with the requested Android phone log sent
from rustdesk.
[2024-05-21 07:22:14.127371 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.159089 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.168335 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.178180 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.188996 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.201070 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.212365 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.222450 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
[2024-05-21 07:22:14.232572 +03:00] ERROR [src\flutter.rs:432] width/height mismatch: (1080,2412) != (1080,2428)
Thanks, found the reason, I'll try to fix it.
from rustdesk.
@21pages
thanks, glad to help you
from rustdesk.
I want to analyze the encoded video, when you're home, could you connect to your phone with the i5-7300U with H265, then record the connection with rustdesk, and send the mp4 to my email?
from rustdesk.
Thanks
from rustdesk.
Related Issues (20)
- Username not updating in client overview
- Multimonitor: Window Positioning Issues HOT 6
- Windows 10/11 Pro Silent Install Parameter Issue HOT 1
- RustDesk keeps bricking my computer. HOT 1
- Starting service result in program looping. HOT 1
- Connecting to remote side frequently stalls/fails without error
- FTR on a NanoPC-T6 HOT 1
- web client doesn`t work on debian HOT 1
- PC remote Android cannot input Chinese
- Mouse scrollwheel horizontal direction is in reverse HOT 2
- Keys F13-F24 are not going through HOT 2
- --config Invalid HOT 1
- Quitting Rustdesk on Windows causes service removal leads to "lost control disaster"
- connection speed slow HOT 1
- HTTP proxy not working (username insertion disabled) HOT 2
- Rustdesk service not starting on gnome shell login screen HOT 23
- Sharing between mac in fullscreen does not display the same resolution HOT 1
- win10 remote macos Keyboard mapping error HOT 3
- RustDeskIddDriver Device Not Installing - No Monitor plugged in HOT 3
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.