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

Starting wmderland with external monitor connected results in black screen when switching to laptop monitor #55

Open
9las opened this issue Jun 18, 2021 · 0 comments

Comments

@9las
Copy link

9las commented Jun 18, 2021

Hi @aesophor, I am experiencing a problem where if I start wmderland with my external monitor connected to my laptop it results in a black screen when I switch the output to my laptop display. The output will first be shown on both monitors when starting wmderland. I then use the command xrandr --output eDP-1-1 --auto --output DP-2 --off to switch to only my laptop monitor. If I use the command xrandr --output eDP-1-1 --off --output DP-2 --auto to switch to only my external monitor I do no get a black screen on my external monitor.

The black screen does have a cursor and when I hover the cursor over e.g. where polybar should be the cursor changes to a hand, so it still seems to be there just totally black.

I am not having the issues with the black screen if I change my .xinitrc file to start e.g. xterm instead. I do not have issues either if I have my external monitor disconnected when starting wmderland, then plug in my external monitor, and switch between the two monitors.

My laptop is an Legion Y540-15IRH Laptop (Lenovo) - Type 81SX (81SX0008MX).
It uses the NVIDIA Optimus technology. I am only having the issue with the black screen in wmderland if I use my NVIDIA GPU only. In hybrid mode I am not experiencing the issue. In this case however my laptop does not output to both monitors at first, but only my laptop monitor, which might be the reason why it works in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant