Thanks. It works for me.
1366 - Evil intrigues of Microsoft 👹👹👹

On Mon, Aug 14, 2017 at 6:59 PM, YASUOKA Masahiko <[email protected]>
wrote:

> Hello,
>
> On Mon, 14 Aug 2017 17:01:20 +0500
> "dmitry.sensei" <[email protected]> wrote:
> > In https://lists.freebsd.org/pipermail/freebsd-bugs/2016-
> September/069781.html
> > they advise to force the screen resolution to 1024x768.
> > My be this woraround will be work?
>
> Thank you for the info.  That workaround seems to be work.
>
> Please try the diff or
>
>   http://yasuoka.net/~yasuoka/BOOTX64.EFI
>   http://yasuoka.net/~yasuoka/BOOTIA32.EFI
>
> ?
>
> Index: sys/arch/amd64/stand/efiboot/efiboot.c
> ===================================================================
> RCS file: /var/cvs/openbsd/src/sys/arch/amd64/stand/efiboot/efiboot.c,v
> retrieving revision 1.23
> diff -u -p -r1.23 efiboot.c
> --- sys/arch/amd64/stand/efiboot/efiboot.c      7 Aug 2017 19:34:53
> -0000       1.23
> +++ sys/arch/amd64/stand/efiboot/efiboot.c      14 Aug 2017 13:52:52 -0000
> @@ -738,6 +738,8 @@ efi_makebootargs(void)
>                         status = EFI_CALL(gop->QueryMode, gop, i, &sz,
> &info);
>                         if (EFI_ERROR(status))
>                                 continue;
> +                       if (info->HorizontalResolution == 1366)
> +                               continue;
>                         gopsiz = info->HorizontalResolution *
>                             info->VerticalResolution;
>                         if (gopsiz > bestsiz) {
>
>
> --yasuoka
>



-- 
Dmitry Orlov

Reply via email to