-
Notifications
You must be signed in to change notification settings - Fork 327
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
Multiscreen support is very limited #966
Comments
The expected behaviour is to have sddm display on all attached screens. So there is no concept of a "primary monitor". Can you upload the sddm log? |
There is a primary monitor. It'll have the it's first textbox focused. see #602, #573, #268, ... It appears in /src/greeter/ScreenModel.cpp#L49-L52. I can reproduce the black screen on Kubuntu bionic beta 2 (SDDM v0.17.0). I've grabbed a log from
These are the entries after I unplugged the external monitor(
The SIGTERM after that is me forcefully shutting down, after I wasn't able to login blindly or switch to a TTY or get any form of control over the system. The earlier entries are identical to a successful login, so that seems to be all she wrote.
|
Yes, but outside of that it's not treated specially.
Indicates that sddm shows two greeters. DP-2-2 is black? |
No. Both show their greeter, DP-2-2 gets disconnected, eDP-1 goes black. |
I've had the same thing happen when booting without DP-2-2 and then connecting DP-2-2 or starting with the laptop closed and then opening thelaptop, thus "adding" eDP-1. |
I have a Laptop and an external display. I encounted these 3 problems:
a) If I am on the SDDM screen with the external display disconnected and then I decide to connect the external display to my laptop, then happens a black screen. I managed to "partially" solve the problem by executing editing the file /usr/share/sddm/scripts/Xsetup
and then adding:
intern=eDP-1
extern=DP-1
if xrandr | grep "$extern disconnected"; then
xrandr --output "$extern" --off --output "$intern" --auto
else
xrandr --output "$intern" --off --output "$extern" --auto
fi
Now if I connect the screen, I won't get a black screen, but the external display won't display anything till I login. It is okay for me, but it would be of course better if we can really fix this.
b) You cannot really choose which display will be your primary. Although in KDE settings my primary desktop was the external one, I had some trouble with SDDM: always with the same tweak that I wrote above, in a), I solved the problem. I think we should make easily possible for people to choose which display should be the primary, which one should be left placed, which one should be placed to the right, and which shouldn't be displayed at all, at least till they log into the KDE Plasma desktop.
c) After making the tweak in a), the display that gets shown is now the correct one. There is still a minor bug now: when I power my machine and I see the SDDM Login screen on my DP-1 display, the mouse cursor is not centered like with the laptop screen, but is horizontally set more to the right. Vertically is correct, because it is in the middle. Just horizontally not. It would be pleasant to see the cursor in the center of the screen.
Except while connecting my laptop to an external display through a Display Port cable, I haven't encounted any other bugs. Thank you for reading my bug report!
The text was updated successfully, but these errors were encountered: