aesophor / aesophor/wmderland

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

未关闭
#55 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
408
派生
14
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。