veracrypt / VeraCrypt-DCS

VeraCrypt EFI Bootloader for EFI Windows system encryption (LGPL)
GNU Lesser General Public License v3.0
128 stars 55 forks source link

Font size for password prompt on UEFI bootloader is very small #26

Open kq01526 opened 3 years ago

kq01526 commented 3 years ago

Hi,

The password prompt of the UEFI bootloader uses a very small font size.

It is already small on displays with a large/standard pixel pitch (i.e. low DPI/PPI).

But on small displays and/or displays with a high resolution, i.e. with a low pixel pitch (i.e. high DPI/PPI), the text becomes very tiny.

Is there any chance this could be fixed?

Or is the font/size caused by the UEFI firmware itself?

Regards

kavsrf commented 3 years ago

Use efi shell and "dcscfg.dcs -gl" or PlarformInfo to view list of possible resolutions.

Set it in DcsProp

  <!-- GraphDevice 
    -1  - initialize + autodetect
    -2  - ignore
    <n> - number in list of devices (see PlatformInfo or use DcsCfg.dcs -gl )
    -->
    <config key="GraphDevice">-1</config>

    <!-- GraphMode 
    -1 default (see PlatformInfo. or use DcsCfg.dcs -gm <n> to test)
    -->
    <config key="GraphMode">-1</config>

Note: It is better to test via efi shell

kq01526 commented 3 years ago

Thanks a lot for the swift reply, much appreciated.

@kavsrf wrote:

list of possible resolutions

What resolution does the VeryCrypt UEFI bootloader choose by default?

Does it use the highest possible resolution detected? Or does it use the native resolution?

When doing DcsCfg.dcs -gl on the VirtualBox EFI Shell, it lists very high resolutions which are not actually being used though (the VirtualBox EFI boot seems to use 1024x768 for everything - DcsCfg.dcs -gl lists much higher resolutions though).

So how does the VeraCrypt UEFI bootloader know which resolution to select? It seems to use the native resolution by default? But how does it know which one is the native resolution?

Regards

kavsrf commented 3 years ago

Boot loader does not change resolution selected by EFI. Mode is selected by BIOS developers.