[Bug 862961] New: Prompt for encrypted partition password not visible (off screen) when external monitor plugged in
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c0 Summary: Prompt for encrypted partition password not visible (off screen) when external monitor plugged in Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bdimm@hotneuron.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Booting a laptop with an encrypted partition. When no external monitor is attached, the prompt for the password for the encrypted partition is positioned along the bottom edge of the screen. When an external monitor is attached, the password prompt is either partially or entirely off the bottom of the screen, depending on the monitor. I'm talking here about the graphical password prompt (I don't know if it is part of KDE or something else that starts before KDE), not the text prompt you see if you hit ESC to escape the graphical overlay and see the plain text boot messages. Probably related: The laptop seems to be driving the external monitor at the laptop screen's native resolution rather than at the external monitor's resolution (even when the laptop is in a docking station and the screen is closed [but still seems to be on?]). Maybe the positioning of the password dialog is being computed from the external monitor's native resolution even though that is not the resolution being displayed. Even if this is just a side-effect of some other problem causing the monitor to be driven at the wrong resolution, trying to position the password input along the bottom edge of the screen (rather than the center) seems like a risky and odd choice. Reproducible: Always Steps to Reproduce: 1. Configure laptop to have an encrypted partition. 2. Plug in an external monitor (probably needs to have more vertical pixels than laptop screen). 3. Boot and wait for the password prompt for the encrypted partition. Actual Results: Password prompt is partially or completely off the bottom of the screen, possibly leaving the user completely unaware that there is a prompt and thinking that the system is stuck. Expected Results: Password prompt should be on the screen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |systemd-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2014-02-13 10:38:51 UTC --- Why do you think this is a bug of the prompting command? How should this command know about a wrong sized external monitor? IMHO there is no way to know about this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c2 --- Comment #2 from Bill Dimm <bdimm@hotneuron.com> 2014-02-13 19:32:02 UTC --- The OS is apparently choosing, for whatever reason, to drive the external monitor at 1600x900 (the native resolution of the laptop screen). The password prompt is apparently trying to render the screen at 1920x1080 (the native resolution of the external monitor), meaning that part or all of the password prompt is rendered outside of the area that the OS is actually providing for rendering. How is it *not* a bug to render a screen at a resolution different from what the OS is providing? Furthermore, this is a usability disaster. I'm running a fresh OpenSUSE 12.3 install. It is not doing this because I messed up the configuration -- this is how it behaves out of the box, at least on my hardware. I boot the machine and, depending on the resolution of the external monitor, I may not see the password prompt at all, just a blank screen with a SUSE logo. How is the user supposed to know when the system is waiting for a password if they can't see the prompt? I don't really care whether it happens because the prompting command is getting the screen resolution from the wrong place, or whether it happens because Xorg is lying to the prompting command about the screen resolution -- it is not working the way it should. It is not usable the way it is. It is a bug. Putting all of the arguing about the screen resolution aside, this would not be a significant problem for most people if the password prompt was positioned at the center of the screen, rather than along the bottom edge, as I suggested in the first place. Is there any benefit at all to putting the prompt along the bottom edge, where there is a risk that it will be invisible if anything goes wrong, rather than in the center of the screen? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c3 --- Comment #3 from Bill Dimm <bdimm@hotneuron.com> 2014-02-16 18:36:47 UTC --- I've done some additional testing and I've found that my initial hypothesis for the cause of the problem is wrong. Useful observations: 1) When I boot with the laptop in the docking station with an external monitor turned on, the encrypted partition password prompt is not visible at all on the laptop screen (native resolution 1600x900). It is partially visible on the external monitor (tried monitors with 1920x1080 and 1680x1050 native resolution) but is shifted partially off the bottom of the screen. On the external monitor there is about an inch of black along the top edge and a half inch of black along the left edge of the screen (may not be obvious without looking carefully since the password screen background is almost black). It appears that the entire display on the external monitor is shifted somewhat down and to the right, and that is the cause of the password prompt being partially off the screen, not incorrect resolution. If the external monitor was being driven at 1600x900 (the laptop screen's native resolution) as I initially thought, the display should be the same on the laptop screen and the external monitor, but it is not -- the laptop screen does not show the password prompt at all. After entering the password for the encrypted partition, the login prompt comes up and the screen is NOT shifted for the login screen, so there is some sort of difference between how the display is being driven for the encrypted partition password prompt vs. the login prompt. 2) I noticed that the background for the encrypted partition password screen on the laptop screen seemed to be truncated along the right and bottom edge when an external monitor was connected, so I used a ruler to measure the size of the gecko in the OpenSUSE logo on that screen and also on the login screen that came up after entering the encrypted partition password (which does not seem to be truncated along the right and bottom edges). The gecko was noticeably bigger on the encrypted partition password screen than on the login screen on the laptop screen. On the external monitor, the gecko was the same size on both screens. This leads me to believe that the external monitor is being driven at the same resolution for both the encrypted partition password entry screen and the login screen (or at least that the password screen is being rendered at the resolution the OS is sending to the monitor), but the laptop's screen is being driven at different resolutions for the encrypted partition password entry screen vs. the login screen, causing the prompt for the encrypted password to be completely off-screen on the laptop screen due to that screen being driven at the wrong resolution. 3) The exact same effect is seen when the laptop is taken out of the docking station and the external monitor is plugged directly into the VGA port on the laptop. In fact, the phenomena is observed even if the external monitor is turned off. Just to reiterate, if you have an external monitor connected (directly or via docking station), even if that external monitor is TURNED OFF, you will not see the encrypted partition password prompt on the laptop's screen, i.e. if the external monitor is turned off you will not see the password prompt anywhere. To summarize: If an external monitor is plugged in, even if that monitor is turned off, the screen that prompts for the encrypted partition password distorts (e.g. gecko is bigger) on the laptop screen in a way that causes the password prompt to be completely off the laptop screen (not visible) even though that may be the only monitor where you might hope to find it (only monitor turned on). Furthermore, if the external monitor is turned on, the screen is shifted in a way that puts the password prompt partially off the bottom of the screen on the external monitor. This distortion of the display on the laptop screen and shifting of the display on the external monitor is not seen on the user login screen, only on the encrypted partition password prompt screen. Again, I will point out that regardless of what is causing the display to be distorted or shifted, it would not be nearly such a big problem if the password prompt were positioned at the center of the screen instead of along the edge where there is a risk of it falling off the screen and being completely unseen if anything goes wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c4 Bill Dimm <bdimm@hotneuron.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #4 from Bill Dimm <bdimm@hotneuron.com> 2014-02-16 18:51:54 UTC --- Reopened - plugging in a monitor that is not even turned on should not leave the user with no password prompt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c5 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO CC| |kigurame@opensuse.org, | |systemd-maintainers@suse.de InfoProvider| |bdimm@hotneuron.com --- Comment #5 from Dr. Werner Fink <werner@suse.com> 2014-02-17 10:12:57 UTC --- It is not clear what systemd should do here? This because systemd simply prompts for the password nothing more and nothing less. It does not handle with resolutions nor with frame buffer device(s). Does it work if you *disable* plymouth? That is *no* graphical boot screen of any kind what so ever. If not sure what I'm talking about do systemctl disable plymouth rpm -e plymouth --force --nodeps mkinitrd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862961 https://bugzilla.novell.com/show_bug.cgi?id=862961#c6 --- Comment #6 from Bill Dimm <bdimm@hotneuron.com> 2014-02-18 06:17:17 UTC --- Werner, I'm not sure why you are bringing up systemd. I never said this problem was due to systemd -- I don't know enough about the boot process to know what to blame it on; I just know that the behavior is bad. If I hit ESC to see the text from the boot process, the encrypted partition password prompt (in plain text) is at the bottom of the laptop screen and works fine. On the external monitor it is somewhat above the bottom of the screen (as if it is displaying at 1600x900 with the remaining native resolution pixels unused). The problem is purely with the graphical prompt for the encrypted partition password. Is that sufficient to answer your question, or do I really need to mess around with plymouth? I've taken some photos of the screen that will hopefully make things clearer. First, the laptop screen with no external monitor attached -- everything is fine (I'm showing the encrypted partition password screen and then the login screen so you can see that the SUSE gecko and the branch it stands on looks the same for both screens): http://www.hotneuron.com/tmp/suse/laptop_screen_no_extern_monitor.jpg Next, the laptop screen when the external monitor is plugged in. Note how the gecko looks bigger on the encrypted partition password screen and the branch the gecko stands on is partially off the screen. The password prompt is completely off the screen, but the login screen is fine: http://www.hotneuron.com/tmp/suse/laptop_screen_with_extern_monitor.jpg Finally, the external monitor. The gecko looks to be the same size for both the encrypted partition password screen and the login screen, but the encrypted partition password screen is shifted (I've added yellow arrows in the upper left corner showing that) and the password entry is almost completely off the screen: http://www.hotneuron.com/tmp/suse/external_monitor.jpg To summarize, the login screen looks right in all circumstances; it is just the encrypted partition password screen that is messed up when an external monitor is plugged in. The image on the laptop screen appears to be too big to fit on the screen, causing the actual password prompt to be off the screen. The image on the external monitor appears to be the right size, but the the image is shifted so the password prompt is partially off the screen. None of these problems would be too damaging if the graphical encrypted partition password screen were aiming to put the password prompt at the center of the screen, but there is no margin for error if the password prompt is positioned along the bottom edge of the screen where a problem with the display can make it fall off the edge of the screen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com