| Summary: | UEFI system and 2 displays (with different resolution): Invisible disk password prompt at boot | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dan Fandrich <dan> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | basesystem, ouaurelien |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dracut-051-4.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
Image from HD monitor
Image from sub-HD monitor |
||
|
Description
Dan Fandrich
2021-07-02 23:28:54 CEST
Created attachment 12842 [details]
Image from HD monitor
Created attachment 12843 [details]
Image from sub-HD monitor
Hi, thanks reporting this. Can you provide us output of: $ inxi -MSGxx CC:
(none) =>
ouaurelien $ inxi -MSGxx
System: Host: haxn Kernel: 5.10.46-desktop-1.mga8 x86_64 bits: 64 compiler: gcc
v: 10.3.0 Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM
Distro: Mageia 8 mga8
Machine: Type: Desktop Mobo: ASUSTeK model: M5A99X EVO v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 1708 date: 04/10/2013
Graphics: Device-1: AMD Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
vendor: PC Partner Limited driver: amdgpu v: kernel bus ID: 01:00.0
chip ID: 1002:683f
Display: x11 server: Mageia X.org 1.20.11 compositor: kwin_x11
driver: amdgpu,v4l resolution: 1: 1600x900~60Hz 2: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: AMD Radeon HD 7700 Series (VERDE DRM 3.40.0
5.10.46-desktop-1.mga8 LLVM 11.0.1)
v: 4.6 Mesa 21.1.3 direct render: Yes
Yeah, normally your system uses amdgpu. dracut uses a hardcoded value to display our splash screen and for asking password. There is a process runs each boot named "mga-bg-res" that resizes the splash screen to best value. That process should done with only one screen to prevent unexpected results. Unplug the lowest resolution display. Run as root dracut -f Restart. It should display well now. I disconnected the smaller screeen, ran "sudo dracut -f", plugged in the screen and rebooted, but there was no difference. I then tried disconnecting the smaller screen and then rebooting, and that was fine! The password entry box displayed as expected on the one connected hi-res screen. Status:
NEEDINFO =>
NEW (In reply to Dan Fandrich from comment #6) > I disconnected the smaller screeen, ran "sudo dracut -f", plugged in the > screen and rebooted, but there was no difference. I then tried disconnecting > the smaller screen and then rebooting, and that was fine! The password entry > box displayed as expected on the one connected hi-res screen. Huh. So, with only one screen (the Hi-Res one), the password prompt is well seen? And with 2 screens this is impossible as they don't have same resolution? Status:
NEW =>
NEEDINFO Reporter, could you please reply to the previous question? If you don't reply within two weeks from now, I will have to close this bug as OLD. Thank you. Keywords:
(none) =>
NEEDINFO Comment #7 is correct. The password prompt is fine with only the one screen plugged in at boot, but can't be seen (except for a couple of pixels) if both screens are plugged in at boot. Status:
NEEDINFO =>
NEW (In reply to Aurelien Oudelet from comment #7) > (In reply to Dan Fandrich from comment #6) > > I disconnected the smaller screeen, ran "sudo dracut -f", plugged in the > > screen and rebooted, but there was no difference. I then tried disconnecting > > the smaller screen and then rebooting, and that was fine! The password entry > > box displayed as expected on the one connected hi-res screen. > > Huh. > So, with only one screen (the Hi-Res one), the password prompt is well seen? > And with 2 screens this is impossible as they don't have same resolution? (In reply to Dan Fandrich from comment #9) > Comment #7 is correct. The password prompt is fine with only the one screen > plugged in at boot, but can't be seen (except for a couple of pixels) if > both screens are plugged in at boot. Well. So, potential cause here is multifactors: - dracut, which does not seem to support multi-monitors with different screen resolution. - use of Kernel ModeSettings drivers which gives console to be displayed on all screens. - UEFI boot which uses native screen resolution. Unsure if this is fixable. Assigning to Kernel and Drivers maintainers CC'd Basesystem. Potential workaround: remove 'splash quiet' from kernel command-line under /etc/grub/default and regenerate grub with a 'update-grub' command. This will propose a non-graphical password prompt that should be correctly displayed. Assignee:
bugsquad =>
kernel |