-
Notifications
You must be signed in to change notification settings - Fork 58
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
Monitor (LVDS) blacks out when adding external monitor #87
Comments
Does the log contain any useful information perhaps? |
Sure. Didn't think it was necessary (thought the issue would be easy to spot), but I'll grab a log. |
Towards the end is when I inserted the HDMI cable. Doesn't seem to mention anything about powering off LVDS (but it definitely is).
|
It's only the hot-plugging that has an issue. If I boot with HDMI plugged in during startup, there's no issues with LVDS.
|
That could very likely be a drm driver (kernel) issue, although I have no idea really. |
The issue isn't present with X. If it was a kernel issue, wouldn't I see it
in both X and Wayland?
|
Nah, wayland stuff stresses different parts of the code in the driver. In the early days of wayland and orbment things would break quite often, in some cases orbments fault (page flipping) and in the others the driver. When the next kernel rolled out some of these problems just went away. |
Something seems to break during the hot plugging. |
Which device is it saying is full?
|
The error message may be garbage. I don't think the drm function that fails sets errno, so it just says "No space left on device". (Should be fixed). But nevertheless the card page flipping starts failing after you plug the monitor. This might be issue with either drm or wlc causing race condition during hotplug. |
My GPU does crash a fair amount, that could be it. I don't see anything in |
This same problem is also discussed at swaywm/sway#960 |
I've a log with also WLC debug enabled, if it can help: http://paste.fedoraproject.org/489432/14800674/ The WLC debug option:
|
I’m not sure if this is relevant but I made the following observation:
I’m tested on the following versions:
|
Just to add to the above I noticed the same except that when starting sway AFTER plugging in the monitor, then removing and reinserting although both displays work the number of workspaces increases by one. |
I'm not sure if I'm having the same bug or a new one, but when I plug in my Thunderbolt dock, the external monitor turns on and my laptop display turns off as well as every other device plugged into the dock. Unlike some previous comments, it doesn't matter if I start Sway before or after. I get the same effect either way. It only works if it's plugged in before I start Sway, and never on plugging back in after disconnecting. |
Upon plugging in an HDMI monitor to my laptop, the LVDS/internal screen powers off and I cannot see anything on it. Unplugging the HDMI cable does not turn the LVDS screen back on either.
The text was updated successfully, but these errors were encountered: