aesophor / aesophor/wmderland

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

Đang mở
#55 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
408
Fork
14
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.