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

Unable to interact if laptop lid is closed (TV works) #4296

Open
Snuupy opened this issue May 7, 2023 · 7 comments
Open

Unable to interact if laptop lid is closed (TV works) #4296

Snuupy opened this issue May 7, 2023 · 7 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Snuupy
Copy link

Snuupy commented May 7, 2023

Bug Description

on any laptop, if you close the laptop lid, you cannot control the remote desktop. This is true even if you have the virtual display installed from nightly.

old

On any laptop with switchable graphics (i.e. igpu + dgpu), if you close the laptop lid you cannot control the remote desktop.

This is true even if you have the virtual display installed from nightly. I tested this on 2 laptops.

My test setup is a T470p with an intel 630 igpu and a NVidia 940MX dgpu. I also briefly tested this on a P52 with an intel 630 igpu and P3200 dgpu. It does not work on both. As soon as you open the lid, you are able to resume controlling the desktop.

On a laptop with /only/ igpu, you can control the desktop if the lid is closed.

I tested this with hardware acceleration both turned on (default) and off. In both cases, the result was the same (could not interact with remote desktop).

Are there any (recommended) fixes for this, either through software, system settings (BIOS, LidAlwaysOpen, or otherwise) or hardware?

How to Reproduce

install rustdesk on any laptop
try to control it with the lid closed

Expected Behavior

should be able to control remote desktop.

Operating system(s) on local side and remote side

Windows 11 -> Windows 11

RustDesk Version(s) on local side and remote side

1.2.0 nightly -> 1.2.0 nightly (both Oct 20, 2022)

Screenshots

N/A, screen just stays stuck

Additional Context

No response

@Snuupy Snuupy added the bug Something isn't working label May 7, 2023
@rustdesk rustdesk added the wontfix This will not be worked on label May 7, 2023
@rustdesk rustdesk closed this as completed May 7, 2023
@Snuupy
Copy link
Author

Snuupy commented May 7, 2023

I would like to note: for comparison, this edge case works on teamviewer. I don't know what they're doing to make it work, but it does. Switchable graphics are also quite common. There are many laptops with both an igpu + dgpu combination sold so this "edge case" actually appears frequently in the wild.

@rustdesk rustdesk changed the title Unable to interact if laptop lid is closed + switchable/dgpu Unable to interact if laptop lid is closed + switchable/dgpu (TV works) May 7, 2023
@Nitrowolf
Copy link

Nitrowolf commented Dec 18, 2023

I'm having this issue as well. Most modern laptops have switchable GPUs/dGPUs... saying it's a corner case is tone-deaf. It's not. Anydesk handles this just fine, so does Teamviewer.

However, I just tested this on my Samsung Galaxy Book 3 360, which only has Iris XE graphics and it does the same thing. Lid closed -> no screen update and no interaction. Lid open -> works just fine.

This doesn't appear to be isolated to dGPU/iGPU issues on laptop... this affects iGPUs as well.

@rustdesk
Copy link
Owner

We do not have clue to solve this issue yet, help wanted.

@rustdesk rustdesk changed the title Unable to interact if laptop lid is closed + switchable/dgpu (TV works) Unable to interact if laptop lid is closed (TV works) Dec 18, 2023
@Snuupy
Copy link
Author

Snuupy commented Dec 18, 2023

afaik it is done through the virtual monitor driver but I don't know more than that, something about a generic pnp monitor

I've been using a HDMI dummy dongle for the time being

@Nitrowolf
Copy link

We do not have clue to solve this issue yet, help wanted.

How can I help? If there's something I can do from this end, I'll be happy to do it.

@christopherpohl
Copy link

Had the same issue with an iGPU. With the RD ending up somewhere between extremely unresponsive and downright stuck.

So I thought that maybe it could be linked to Windows putting your Laptop into low-power mode if you close the lid. Throttling down the CPU and therefore also the GPU.
My first idea was to disable the power savings settings in the BIOS, which at least made it feel faster initially, but still left me with some weird issues controlling some programs like RDP.
My second idea was just completely breaking the lid driver which actually fixed the issue but I am not sure how viable you'd consider that for your situation. The Screen still dims itself for some reason but it doesn't seem to slow down the processing anymore.

  1. Open Device Manager
  2. System Devices -> Find the ACPI Lid
  3. Open properties and go into the Drivers Tab
  4. Select Update Drivers
  5. Select "Browse my Computer for Driver Software" and "Let me pick"
  6. Uncheck "Show Compatible Hardware"
  7. Select something like the Volume Manager and then restart the PC.

Maybe that can also fix your full screen freeze.

@Snuupy
Copy link
Author

Snuupy commented Dec 19, 2023

same issue with an iGPU

same issue with an iGPU

I recently tested it on a laptop with only an igpu and closed the lid, I did run into the same issue. I will correct my post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants