Closed woodholly closed 1 year ago
Failed to load config: Failed to load configuration file
@21pages remove this message which causes a lot of confusion. If needed, modify the crate.
@rustdesk lol, this is not "absent config" problem
Does the H264/H265 option appear on the remote toolbar codec menu?
There are no H264/H265 options at remote (server), same at client. No idea why H264/H265 absent, Nvidia GPU works fine in all other applications both on the client and server. (I tested coding/decoding with https://github.com/HandBrake)
Yesterday I tried Ubuntu as a client on this PC and H264/H265 options were available on the client, but connection to windows 10 remote was not hardware accelerated, probably because server does not support H264/H265.
PermissionDenied
This may be the reason. The content of RustDesk_hwcodec.toml also shows support. Could you try this? https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.2-x86_64_no_global_var.exe
PermissionDenied
This may be the reason. The content of RustDesk_hwcodec.toml also shows support. Could you try this? https://github.com/21pages/rustdesk/releases/download/nightly/rustdesk-1.2.2-x86_64_no_global_var.exe
With this file H264/H265 options appeared and hardware acceleration finally works!
https://github.com/rustdesk/rustdesk/pull/5197 fixed this? @21pages
I don't know the actual reason, maybe removing global var helps, the exe is compiled by that pr.
Bug Description
Client: Windows 10, nvidia gpu Server: Windows 10, intel gpu + nvidia gpu Whatever I do, hardware acceleration fails. I tried both portable and install mode.
Client check-hwcodec-config/rustdesk_rCURRENT.log:
Last lines report that it cannot load config file, but C:\Users\user\AppData\Roaming\RustDesk\config\RustDesk_hwcodec.toml exists and can be opened, how to debug this error?
RustDesk_hwcodec.toml:
Client general log has "PermissionDenied" message, but no reason for that:
I have tested hardware acceleration coder/decoder on this machine using other software and it works without issues. How to debug this ?
How to Reproduce
n/a
Expected Behavior
n/a
Operating system(s) on local side and remote side
Windows 10 -> Windows 10
RustDesk Version(s) on local side and remote side
1.2.1 -> 1.2.1
Screenshots
n/a
Additional Context
No response