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

client got white blank screen running on windows #418

Closed
Ray8716397 opened this issue Feb 27, 2022 · 53 comments
Closed

client got white blank screen running on windows #418

Ray8716397 opened this issue Feb 27, 2022 · 53 comments
Labels
bug Something isn't working

Comments

@Ray8716397
Copy link

屏幕截图 2022-02-27 115246

please help

@Ray8716397 Ray8716397 added the bug Something isn't working label Feb 27, 2022
@rustdesk
Copy link
Owner

@Ray8716397
Copy link
Author

@rustdesk
Copy link
Owner

@Ray8716397
Copy link
Author

image

tried it before

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2022

It is an old issue, but sadly, I can not reproduce on my PCs and virtual machines.

@Ray8716397
Copy link
Author

image

seems like no error log at all.

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2022

seems like no error log at all.

Embarassing.

@rustdesk
Copy link
Owner

Can you build and run from source code?

@Ray8716397
Copy link
Author

i‘ll try,no rust exprience though.

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2022

i‘ll try,no rust exprience though.

Thanks, if any question please ask.

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2022

@Ray8716397 can you build and run this one, https://gitlab.com/rustdesk-official/rustdesk-debug.git? It only depends on rust-sciter. Please install rust first https://rustup.rs/. Then run it in git bash, cargo run.

@Ray8716397
Copy link
Author

image

@Ray8716397 can you build and run this one, https://gitlab.com/rustdesk-official/rustdesk-debug.git? It only depends on rust-sciter. Please install rust first https://rustup.rs/. Then run it in git bash, cargo run.

@rustdesk
Copy link
Owner

rustdesk commented Feb 28, 2022

Thank you so much, can you replace src/index.html with a very simple one, and run again? like this
xxx

@Ray8716397
Copy link
Author

?how ,sorry i dont undersand

Thank you so much, can you replace src/index.html with a very simple one, and run again? like this xxx

@rustdesk
Copy link
Owner

?how ,sorry i dont undersand

Change the content of https://gitlab.com/rustdesk-official/rustdesk-debug/-/blob/main/src/index.html to xxx

@Ray8716397
Copy link
Author

image

@rustdesk
Copy link
Owner

Could you please git pull? you will see a new directory test. There is an executable scapp.exe. Can you run it and test index.html and xxx.html under the same directory?

@Ray8716397
Copy link
Author

image

@rustdesk
Copy link
Owner

rustdesk commented Feb 28, 2022

@rustdesk
Copy link
Owner

rustdesk commented Feb 28, 2022

Could you tell us the system info of your Windows? Hope @c-smile the author of Sciter can give some advice.

@Ray8716397
Copy link
Author

Ray8716397 commented Feb 28, 2022

ホスト名: DESKTOP-M5VMPFS
OS 名: Microsoft Windows 10 Pro
OS バージョン: 10.0.18362 N/A ビルド 18362
OS 製造元: Microsoft Corporation
OS 構成: スタンドアロン ワークステーション
OS ビルドの種類: Multiprocessor Free

@rustdesk
Copy link
Owner

rustdesk commented Feb 28, 2022

Thanks a lot

@Ray8716397
Copy link
Author

is there a command line version i can run on windows linux sub system?

@rustdesk
Copy link
Owner

is there a command line version i can run on windows linux sub system?

Yes,

fn main() {

But I have not maintained it any more.

@c-smile
Copy link

c-smile commented Feb 28, 2022

Please try the same but from folder/path that contains only ASCII symbols. What you will get?
I suspect problem is in incorrect file:// url encoding so asking.

@rustdesk
Copy link
Owner

rustdesk commented Feb 28, 2022

ASCII

Scapp works fine with non-ASCII path on my Windows, but not sure about @Ray8716397

@c-smile
Copy link

c-smile commented Feb 28, 2022

May I get exact path where scapp fails (to test it here) ?

@rustdesk
Copy link
Owner

rustdesk commented Feb 28, 2022

test it here

I can not reproduce this issue on my Windows. Only @Ray8716397 can

@dinojs
Copy link

dinojs commented May 11, 2022

Facing the same issue on Windows 11.

@rustdesk
Copy link
Owner

Facing the same issue on Windows 11.

Could you run from source and get some clue?
https://rustdesk.com/docs/en/dev/build/windows/

@bay-kah
Copy link

bay-kah commented Jul 19, 2022

This may help,

I get this issue. But also with teamviewer and edge on the same machine. When moving the window edge briefly shows it content then disappears. I am looking to replace teamviewer with rust desk. I'm going to guess its some kind of hardware acceleration issue.

@bay-kah
Copy link

bay-kah commented Jul 19, 2022

This may help,

I get this issue. But also with teamviewer and edge on the same machine. When moving the window edge briefly shows it content then disappears. I am looking to replace teamviewer with rust desk. I'm going to guess its some kind of hardware acceleration issue.

Confirmed. (with edge at least) disabling hardware acceleration for edge restored normal behaviour. So I assume a "disable hardware acceleration" option would resolve this as its not the software itself with the problem its the host machine.

@cmucgit
Copy link

cmucgit commented Aug 31, 2022

Any news on this? I'm having this exact same issue in 2 of my machines

@rustdesk
Copy link
Owner

Rewriting with Flutter desktop.

@cmucgit
Copy link

cmucgit commented Aug 31, 2022

Ok, thanks. Just a quick note for others, I saw the solution somewhere else, downloading and installing this driver fixed the issue for now:
https://www.amyuni.com/downloads/usbmmidd_v2.zip

https://www.amyuni.com/forum/viewtopic.php?t=3030

@rustdesk
Copy link
Owner

rustdesk commented Aug 31, 2022

https://www.amyuni.com/downloads/usbmmidd_v2.zip

Interesting, why is it related to a driver?

@cmucgit
Copy link

cmucgit commented Aug 31, 2022

In my case, I'm trying to run RustDesk on virtual machines and all-in-one compact PCs that I use kind of as a remote console or KVM of some sort to access my servers. These machines have no monitors plugged in, and I get the blank white screen in RustDesk. But when I install the above monitor driver, it works.

@c-smile
Copy link

c-smile commented Aug 31, 2022

By default Sciter works in H/W accelerated mode - that requires video drivers to be present.
It also can operate without video drivers - by using software rasterization.
But that's need to be set on application side.

@rustdesk
Copy link
Owner

software rasterization

We have set this per you suggestion #132 (comment).

sciter::GFX_LAYER::WARP

@wneiner
Copy link

wneiner commented Oct 28, 2022

This issue happened for me during testing to see if this was good to replace teamviewer. I couldn't get it to show anything in the window. In troubleshooting I found that it was Chrome Remote Desktop session that wasn't allowing it to be visible. I closed that and went in through an RDP session and the window was still sitting there but this time it is showing the information, no need to relaunch. Only difference of chrome remote and rdp.

Now it just needs UAC support, and this will be golden.

Thank you,

@grummbeer
Copy link
Contributor

@Ray8716397 @dinojs have you tried the nightly version? https://github.com/rustdesk/rustdesk/releases/tag/nightly

Do you still have the white screen?

probably same as #80

@SystemFuchs
Copy link

A by far better solution for modern Windows versions is the installation of a Indirect Display Driver (IDD). You can find a working sample here (only sharing the link, not my software). https://github.com/ge9/IddSampleDriver.

If you are running a headless Windows system on kvm just install the QXL virtual GFX card & you should be fine.

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2023

a Indirect Display Driver (IDD)

We have done it, but we do not have EV certificate to run it.

@SystemFuchs
Copy link

The guy behind the above link has deployed the driver with the windows package manager Scoop

scoop bucket add extras
scoop bucket add nonportable
scoop install iddsampledriver-ge9-np -g

I've tested this & when you install it this way the driver seems to be signed (maybe self signed). But it does work,
here is also the thread in the original repo where the cert deployment is discussed:

roshkins/IddSampleDriver#26

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2023

But we need more control, e.g. change resolution, disable/enable it when monitor remove/add etc. So we modified it.

@rustdesk
Copy link
Owner

rustdesk commented Feb 27, 2023

The guy behind the above link has deployed the driver with the windows package manager Scoop

scoop bucket add extras
scoop bucket add nonportable
scoop install iddsampledriver-ge9-np -g

I've tested this & when you install it this way the driver seems to be signed (maybe self signed). But it does work, here is also the thread in the original repo where the cert deployment is discussed:

roshkins/IddSampleDriver#26

@fufesou check this, may be we do not have to use EV to sign our ldd driver. I do not think a sample driver has EV signed.

@SystemFuchs
Copy link

If you compile the drive with VS it has a options txt. In this file all resolutions are defined & can be changed through the windows system tool.
image
image
image

@rustdesk
Copy link
Owner

@SystemFuchs Thanks

@fufesou
Copy link
Collaborator

fufesou commented Mar 5, 2023

@SystemFuchs Thanks. I've tried install the driver manually. But I find the released package may be already signed.
I'm not familiar with signing. But we may need more steps to make our driver signed.

And I've asked the author what to do next to sign the driver. roshkins/IddSampleDriver#33

roshkins/IddSampleDriver#26
7c71ed9cd26fb977d621a78502bf507

https://github.com/fufesou/RustDeskIddDriver/releases
80ff36ef044de07def5abe15549b10c

@fufesou
Copy link
Collaborator

fufesou commented Mar 5, 2023

I've found the way to create test cert file. I'll test later.
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/creating-test-certificates

@fufesou
Copy link
Collaborator

fufesou commented Mar 5, 2023

@rustdesk I can sign our driver with a test cert. But I'm not sure if it meets our current needs.
Maybe we can provide a prompt window for user to trust and install the cert?

@rustdesk
Copy link
Owner

rustdesk commented Mar 5, 2023

go ahead with test cert first

@NAKADZI
Copy link

NAKADZI commented Jun 17, 2023

I also encountered this today when I upgraded from Win8.1 Embedded Industry to Win10 LTSC 2019 on an old laptop.

The problem was in the latest version of the driver for the GPU Nvidia GeForce 710M
(it is possible that this can also be manifested on other GPU models built on the same Fermi 2.0 architecture).
The latest available driver version for this GPU "391.35" causes this problem.

The solution to this problem was to install the previous version of the driver "391.24".
But I think I have found the root cause of this problem. At least on the previous version of the driver, it causes this problem again under the following circumstances⤵️

Go to the "Nvidia Control Panel" in the options called "Manage 3D Settings", and switch the "Preferred graphics processor:" option from "Auto-select" to "Nvidia performance..." (this is a rough name for this the option, because I don't remember exactly. I took the screenshot below a couple of hours before writing this comment)⤵️
2023-06-17_164126

After applying these settings, the problem appears.

Currently, I have installed an even older version of the GPU driver "390.65", because the video game "Roblox" (which my nephew regularly plays on this laptop), like RustDesk, refuses to work, showing a solid white window even on the driver version "391.24" on which RustDesk works flawlessly.

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