Dual monitors recognised as single giant screen #265

Closed
qjqqyy opened this Issue Aug 13, 2014 · 19 comments

Comments

Projects
None yet

qjqqyy commented Aug 13, 2014

SDDM�appears to not recognise the 2 physical X�monitors and display things as if it is a single big screen.
The login prompt is placed right in the middle.
theme: breeze

@plfiorini plfiorini added this to the 1.0.0 milestone Aug 13, 2014

@plfiorini plfiorini added the bug label Aug 13, 2014

@plfiorini plfiorini self-assigned this Aug 13, 2014

Owner

plfiorini commented Aug 13, 2014

to make multi monitor work better and also for wayland i plan to create one window per output.. one giant window may also hit hw limits so in all cases this has to be done.

plfiorini added a commit to plfiorini/sddm that referenced this issue Aug 17, 2014

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and
it helps the Wayland port as a nice side effect.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Aug 17, 2014

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and
it helps the Wayland port as a nice side effect.

Porting notes for theme authors:

Theme authors should keep in mind that the "screenModel" context
property is removed and a new "primaryScreen" boolean context
property is added.

Create the background item without a repeater and anchors it to fill
the parent.

The greeter now should be a component loaded by a Loader only when
"primaryScreen" is tree (unless you want a greeter for each and
every screen.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Aug 18, 2014

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

Porting notes for theme authors:

The "screenModel" context property was removed, we now have a new
"primaryScreen" boolean context property.

Your QML file is now loaded for each screen.

Create the background item without a repeater and anchors it to fill
the parent.

The greeter must be a component loaded by a Loader only when
"primaryScreen" is true.

See the themes shipped by SDDM for reference.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

It can also use the same strategy as ubuntu login.
It only shows the login components on the screen the mouse is over. It might be easy to associate a mouseleave/mouseover event on the login window to a hide/show of login components.

Multiple login components is not visually clean.

@plfiorini plfiorini modified the milestones: 1.0.0, 0.10.0 Oct 12, 2014

lnxslck commented Jan 28, 2015

I use 2 monitors and i can't reproduce this bug. To me SDDM appears in 2 different monitors

I can reproduce it with the breeze login screen, but not with other login screens. I'm thinking it might be an issue with that theme.

lnxslck commented Jan 29, 2015

@brenns10 I also have the breeze login screen

Same here. With dual monitor and breeze theme, the login screen is placed in the middle of / between the two screens.

ava1ar commented Mar 11, 2015

Used to work good, but now also shows the login screen improperly. May be this is theme related, but not only breeze theme shows this weird behavior.

I also see the login screen right in the middle. Which is bad, because the other "screen" is my TV plugged in using HDMI, and always disabled in KDE settings when not used.

Contributor

eliasp commented Mar 28, 2015

For me, the results vary wildly.
One time I get a clone on both screens, where the clone on the larger screen is a horribly scaled up version of the smaller screen.
Next time, it's a clone too, but this time with the proper size/resolution on the larger screen and the smaller screen showing the same picture, but with the not-fitting content moved off the screen.
And I don't know what kind of scenarios I've seen beyond that - I should probably start taking pictures whenever I reboot my laptop every 2 weeks or so ;)

I'm also using breeze theme and the login screen creates one big across all my 3 screens. Then the splash screen happens individually on each screen stuttering when showing up and going away.

Dav1dK commented Apr 11, 2015

The issue with the breeze theme should be fixed in Plasma-workspace 5.3, there should be a login prompt on every screen.
See also: http://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=1985e8bf6bbc6044bd5ffac3c1b501536f2d1dd2

This workaround could be revoked as soon as sddm reaches version 1.0 and is widely spread.

Contributor

eliasp commented Apr 12, 2015

Looks now like this here:
sddm dual-screen, dual-panel :).

Dav1dK commented Apr 12, 2015

@eliasp : Which sddm version and which plasma-workspace version are you using?
This seems also to be an issue with your xorg configuration, as the second monitor is just a mirror of the first one (you have the mouse on both screens). If you configure xorg to have 2 indepent screens, it should work fine. But there is also an issue with sddm/qt, as sddm thinks there are 2 screens, while there is just one. Though I'm no xorg expert, it could be helpful to upload your xorg.conf files.

Contributor

eliasp commented Apr 13, 2015

@flyingdavid Latest sddm + Plasma 5 from git on top of Qt 5.4.1.
X.org is autoconfigured (primary screen is 1920x1080, secondary connected via DP is 2560x1440).

Dav1dK commented Apr 17, 2015

I submitted a patch which should improve you situation, as there will be only one login bar. But it will not fit on both monitors, because of your xorg autoconfiguration which makes this impossible. You should configure xorg yourself to make one screen at the side/on top of the other to fix completely.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jun 21, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Jul 5, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.

plfiorini added a commit to plfiorini/sddm that referenced this issue Aug 17, 2015

Create a window per screen
A big window for all screens may hit hardware limits and it often has
a bad alignment as reported by #265.

Creating a window per screen doesn't suffer from these problems and,
as a nice side effects, it helps the Wayland port.

[ChangeLog][Greeter][Behavioral Change] Create a window per screen.
Owner

plfiorini commented Aug 17, 2015

This might be fixed now, could someone do some more test with the master branch and see if it's fixed?

Owner

plfiorini commented Sep 5, 2015

I'll leave this open for further testing but it will be moved to 0.13

@plfiorini plfiorini modified the milestones: 0.13, 0.12 Sep 5, 2015

Owner

plfiorini commented Oct 17, 2015

With #511 multiple screens should be good now, please reopen if you still see issues.

@plfiorini plfiorini closed this Oct 17, 2015

muesli commented Mar 28, 2017

I'm seeing something rather similar with 0.14. Setup consists of three monitors, from left to right: 4k, 1080p, 1080p. The third monitor's view is displayed on the top-left of the primary 4k monitor, so I'm seeing two login screens on that monitor.

Noteworthy: the third monitor is usually turned off during login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment