Bug 1184309 - Graphical "Please enter passphrase" prompt for disk encryption upon startup is unreadable on HiDPI - XPS 13 9360
Summary: Graphical "Please enter passphrase" prompt for disk encryption upon startup i...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Cliff Zhao
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 12:01 UTC by Michiel Janssens
Modified: 2022-07-29 17:45 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
plymouth-debug.log (98.96 KB, text/x-log)
2021-04-02 12:01 UTC, Michiel Janssens
Details
Plymouth passphrase prompt internal HiDPI screen (4.42 MB, image/jpeg)
2021-04-02 12:02 UTC, Michiel Janssens
Details
support-log (2.56 MB, application/x-xz-compressed-tar)
2021-04-02 12:58 UTC, Michiel Janssens
Details
plymouth-debug.log with external 2 screens via dock, lid closed (164.57 KB, text/x-log)
2021-04-08 09:32 UTC, Michiel Janssens
Details
plymouth-debug.log with external 2 screens via dock, lid open (150.70 KB, text/x-log)
2021-04-08 09:32 UTC, Michiel Janssens
Details
plymouth-debug_internal_screeen_332.19 (52.90 KB, text/x-log)
2021-04-21 11:18 UTC, Michiel Janssens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel Janssens 2021-04-02 12:01:13 UTC
Created attachment 847950 [details]
plymouth-debug.log

Hi, as advised in following bug report I filed a separate report for my system.
https://bugzilla.opensuse.org/show_bug.cgi?id=1183425
So a possible duplicate.

Steps to reproduce:
- boot the laptop with no external screens attached, just internal screen active.
- Wait for the dialog "Please enter passphrase" to appear.
- see attached screenshot
- The text is displayed twice and very small, left and right above the input frame, just as in the other report.
- booting with an external screen, via a dock, 24inch (1920x1200), lid closed, text on the external screen is displayed once in normal size, in the center just below the input frame.

Hardware: Dell XPS 13 9360 (HiDPI screen internal 3200 x 1800)
Tumbleweed snapshot 20210330
Comment 1 Michiel Janssens 2021-04-02 12:02:34 UTC
Created attachment 847951 [details]
Plymouth passphrase prompt internal HiDPI screen
Comment 2 Cliff Zhao 2021-04-02 12:46:52 UTC
Nice, thank you!
And please upload the support-log.
Comment 3 Michiel Janssens 2021-04-02 12:58:09 UTC
Created attachment 847953 [details]
support-log
Comment 4 Cliff Zhao 2021-04-06 17:38:57 UTC
And what will be the result of the below command in your machine?
"~>$ xdpyinfo |grep dot"
Comment 5 Gerald Pfeifer 2021-04-06 17:56:33 UTC
(In reply to Cliff Zhao from comment #4)
> And what will be the result of the below command in your machine?
> "~>$ xdpyinfo |grep dot"

> xdpyinfo | grep dot
  resolution:    96x96 dots per inch
Comment 6 Gerald Pfeifer 2021-04-06 19:32:27 UTC
(In reply to Gerald Pfeifer from comment #5)
>   resolution:    96x96 dots per inch

Ah, sorry - wrong bug report. Please ignore, this is not the system
which this report is about!
Comment 7 Michiel Janssens 2021-04-06 21:02:00 UTC
Same here:
~> xdpyinfo |grep dot
  resolution:    96x96 dots per inch
Comment 8 Cliff Zhao 2021-04-07 16:39:15 UTC
And you said that "- booting with an external screen, via a dock, 24inch (1920x1200), lid closed, text on the external screen is displayed once in normal size, in the center just below the input frame."
Could you upload a plymouth-debug.log in this situation? 
And what will happen when you open the lid with together the external screen? (plymouth-debug.log)
Thank you so much!
Comment 9 Michiel Janssens 2021-04-08 09:32:34 UTC
Created attachment 848116 [details]
plymouth-debug.log with external 2 screens via dock, lid closed
Comment 10 Michiel Janssens 2021-04-08 09:32:59 UTC
Created attachment 848117 [details]
plymouth-debug.log with external 2 screens via dock, lid open
Comment 11 Michiel Janssens 2021-04-08 09:38:18 UTC
lid closed, 2 external screens via dock:
Text displayed once per external screen, normal size, in center below input box

lid open, 2 external screens via dock: 
Text displayed once per external screen, normal size, in center below input box
Text twice displayed on internal screen, small size, as in screenshot.
Comment 12 Cliff Zhao 2021-04-10 01:37:34 UTC
Could you also take a try of the test RPMs just as same as bsc#1183425, when it  runs with the internal screen, please upload the plymouth-debug.log.
You could launch rpm -qa |grep 'plymouth\|libply' to show which package need to be installed. And in additional there has a package named "plymouth-branding-openSUSE" which comes from the installation ISO, not in the URL.
Thank you!

[1] https://build.opensuse.org/package/binaries/home:qzhao:branches:Base:System/plymouth/openSUSE_Factory
Comment 13 Cliff Zhao 2021-04-12 10:15:03 UTC
Hi Michiel:
Do you have any trouble in the test? Maybe I could help a little...
Comment 14 Michiel Janssens 2021-04-21 11:17:33 UTC
Hi Cliff,

Sorry I didn't reply earlier.
Here are the results of what you asked me to execute.

Before testing:
~> rpm -qa |grep 'plymouth\|libply'
plymouth-plugin-two-step-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-branding-openSUSE-84.87.20200106-2.1.noarch
libply-splash-graphics5-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-scripts-0.9.5+git20201026+53c83cc-3.3.noarch
plymouth-theme-bgrt-0.9.5+git20201026+53c83cc-3.3.noarch
libply5-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-dracut-0.9.5+git20201026+53c83cc-3.3.x86_64
libply-boot-client5-0.9.5+git20201026+53c83cc-3.3.x86_64
libply-splash-core5-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-plugin-script-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-plugin-label-0.9.5+git20201026+53c83cc-3.3.x86_64
plymouth-theme-spinner-0.9.5+git20201026+53c83cc-3.3.noarch
plymouth-plugin-label-ft-0.9.5+git20201026+53c83cc-3.3.x86_64

Now I added your repo and upgraded the packages from there.
~> sudo zypper ar https://download.opensuse.org/repositories/home:/qzhao:/branches:/Base:/System/openSUSE_Factory/home:qzhao:branches:Base:System.repo
~> sudo zypper dup --from home_qzhao_branches_Base_System 

Reboot, and just to make sure, dracut -f, and another reboot.

~> rpm -qa |grep 'plymouth\|libply'
libply-boot-client5-0.9.5+git20201026+53c83cc-332.19.x86_64
libply-splash-graphics5-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-dracut-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-plugin-script-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-plugin-two-step-0.9.5+git20201026+53c83cc-332.19.x86_64
libply5-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-branding-openSUSE-84.87.20200106-2.1.noarch
plymouth-plugin-label-ft-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-plugin-label-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-scripts-0.9.5+git20201026+53c83cc-332.19.noarch
libply-splash-core5-0.9.5+git20201026+53c83cc-332.19.x86_64
plymouth-theme-spinner-0.9.5+git20201026+53c83cc-332.19.noarch
plymouth-theme-bgrt-0.9.5+git20201026+53c83cc-332.19.noarch

Result: nothing visually changed, so still the same as the earlier screenshots.
The debug log from this state is attached.

I reverted by snapper rollback, and did another dracut -f to be sure.

After this I also did the steps 3,4 and 5 from https://bugzilla.suse.com/show_bug.cgi?id=1183425#c19

~> sudo rm -f /usr/share/plymouth/themes/bgrt/bgrt.plymouth
~> sudo cp bgrt.plymouth /usr/share/plymouth/themes/bgrt/bgrt.plymouth
~> sudo dracut -f
reboot

Text is still displayed twice at the same spot, but size has doubled, so it's readable now.
Perhaps that a little bigger font size would do too.
Comment 15 Michiel Janssens 2021-04-21 11:18:29 UTC
Created attachment 848589 [details]
plymouth-debug_internal_screeen_332.19