-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
virtual display driver not getting installed properly #6280
Comments
i am using aspia in the screenshots but rustdesk gets unresponsive if i click on virtual monitor, rustdesk freezes. sometimes it unsticks, sometimes i have to reconnect |
@fufesou let's still follow it up here. |
This is similar to #4974. |
Thanks |
@shamirahim111 Hi, thanks for your feedback and the logs. I can only see the driver is not installed properly in the logs.
Can you please show me the win10 version? Can you please manually remove the driver in the device manager, then try this test app? |
Create device begin Press key execute: |
Please run as Administrator |
@fufesou yes. run as administrator on RustDeskIddApp.exe. same thing |
It looks like the device already exists. https://github.com/fufesou/RustDeskIddDriver/issues/3 I'll try to find out the reason. |
@shamirahim111 Hi, it seems another running process is holding the SwDevice handle. https://github.com/fufesou/RustDeskIddDriver/issues/3#issuecomment-1798616957 Can you please try find the process, or simple sign out, then try the test app again? |
@fufesou this worked. i installed the latest test app and that did not throw any error but device manager still says driver is not properly installed. second, i tried "a" for plug in to monitor and got the errors
|
1 similar comment
@fufesou this worked. i installed the latest test app and that did not throw any error but device manager still says driver is not properly installed. second, i tried "a" for plug in to monitor and got the errors
|
You should run "i", before "a". |
RustDesk may work without the dirver issue now. Did you kill some processes, sign out or restart the OS? |
@fufesou nope. i tried c>i>a but got same error no. i am using rustdesk connection itself to install the software but it did not work |
i have not done any restart in between. |
What's the output after "i"? |
Install or update driver begin |
Strange, here's no error when creating a sw device and installing the driver. And "a" reports:
Error code The most likely reason is "the driver is not correctly installed". Can you please check if the "RustDeskIddDriver Device":
|
@fufesou "c" and "i" gives me incorrectly installed rustdesk driver. it appears to me that the driver is not getting installed but your testapp is not correctly checking the install status. it is reporting correctly installed when it is not installed |
Frankly, I cannot find out why "c" and "i" both report success, while the driver device is not installed. There're only two Windows API used for the operations.
Can you try again:
If the second process resports "RustDeskIdd: SwDeviceCreate failed with 0x800700b7", the SwDevice handle must be hold by the first process. If the reason is still unclear, please try:
😢 |
@Sven1403 Hi, please try the https://github.com/fufesou/rustdesk/releases/tag/tmp This is a debug build from my PC. I cannot log the valid backtrace on release profile for rustdesk.
|
@fufesou |
I need the log when you see the driver dialog. The log will show the call backtrace. |
okay. Since i cant reproduce it, let hope it will come up soon :D |
@fufesou this Build is correct? |
Yes. Is there any problem? |
all good :) it only says my version is outdated |
@fufesou the driver installation dialog came up today. Here is the log file. You need more logs or can i reinstall the current nightly build? :) |
@Sven1403 Thanks for your help. Did you see it after booting? I've read the log. It says RustDesk could not detect a display or only one display that all resolutions (w,h) < 1024. Maybe we need to add a delay to detect the displays after booting or starting the process. Can you please run #6280 (comment) again? |
@fufesou i think i know what it cause. I configured in BIOS that my work computer will boot in the morning. My displays arent on at this time, so i guess RustDesk didnt detect the displays then. |
So yeah this would be a good idea =) |
Why detecting monitor at boot? |
Yes, RustDesk should not detect monitors. There's sth wrong. Let me check the code again.
|
Line 101 in 7960b2c
RustDesk will try adding a default video service of the primary display. This service can be added later after one connection is established. I'll fix it. |
@fufesou can i use a parameter when i install rustdesk to not install the cert? And which features could not work anymore when i not install the cert on all computer in my company? |
There's no parameter. The installation wizard is enough. If you do not install the cert, the "virtual display", "privacy mode" and "headless" features will not be supported. BTW, I've submit a PR #6446. The dialog should not show anymore for you. |
Do you mean the installation wizard? If the option is not checked. The cert will not be installed.
There's no other place to install the cert. But you can double click the cert file to install it.
|
@shamirahim111 roshkins/IddSampleDriver#4 (comment)
usbmmidd_v2 has the signature. |
Hey @fufesou Some people get the driver install dialog randomly. Me too. Yesterday it didnt appear and today it was there. Isnt this solved? Here is my server log from today: Is there any way to prevent this? Like deleting something or set something in the config/registry? |
@Sven1403 please try out latest build. |
This indicates there is no display. Do you only have one monitor and the resolution is less than 1024 in width and height? RustDesk will try to create a virtual display in this case. rustdesk/src/server/display_service.rs Line 361 in f6509e3
|
My 2 displays arent on when my computer is booting automatically in the morning. So thats why its not indicates a display. Is this behavior also with the latest build? |
No, you can try the latest build. It should not detect the displays until you connect to that peer. |
@fufesou Hello :) Greetings |
No driver will be installed in 1.2.3-1. So it will not show the dialog. But you still cannot connect the peer when peer has no dislays. |
Bug Description
i am on latest nightly versions, 4/11 on local side (linux-wayland) and 31/10 on remote side (windows 10 ltsc)
i am trying to use virtual monitor but the drvier is not installed properly.
i tried to update driver with the dll files but that did not work.
How to Reproduce
try to use virtual display driver. in device manager it says not installed properly
Expected Behavior
it should get installed
Operating system(s) on local side and remote side
linux>windows
RustDesk Version(s) on local side and remote side
1.2.3>1.2.4
Screenshots
Additional Context
No response
The text was updated successfully, but these errors were encountered: