Display distortion while booting in native UEFI mode

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Display distortion while booting in native UEFI mode

Lukasz Jendrysik
Hello,

Today I tried for first time installing openBSD on a physical machine.
You probably figured out that I'm new to openBSD and I hope for your
understanding.

Now to the point: when I boot in UEFI native mode (without CSM), my
display gets crazy producing fancy glitch art, see attached glitch.png.

I also attach dmesg from both boot modes -- UEFI Hybrid (with CSM) and
UEFI Native (without CSM). Didn't notice any meaningful differences though.

Tested on HP EliteBook 2570p and openBSD 6.1 amd64. Unfortunately I
didn't test -current yet.
Please let me know if I can provide you with any details regarding this
issue.

Regards,
Lukasz Jendrysik

glitch.jpg (171K) Download Attachment
dmesgHybrid (5K) Download Attachment
dmesgNative (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

Lukasz Jendrysik
On 06/11/2017 07:24 PM, Łukasz Jendrysik wrote:

> Hello,
>
> Today I tried for first time installing openBSD on a physical machine.
> You probably figured out that I'm new to openBSD and I hope for your
> understanding.
>
> Now to the point: when I boot in UEFI native mode (without CSM), my
> display gets crazy producing fancy glitch art, see attached glitch.png.
>
> I also attach dmesg from both boot modes -- UEFI Hybrid (with CSM) and
> UEFI Native (without CSM). Didn't notice any meaningful differences though.
>
> Tested on HP EliteBook 2570p and openBSD 6.1 amd64. Unfortunately I
> didn't test -current yet.
> Please let me know if I can provide you with any details regarding this
> issue.
>
> Regards,
> Lukasz Jendrysik

Hi,

I confirm that this issue also occurs on the latest snapshot from 12th June.

Regards,
Lukasz Jendrysik

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
I have the same problem.
diff for Your files:
< efifb0 at mainbus0: 1024x768, 32bpp -> Hybrid
---
> efifb0 at mainbus0: 1366x768, 32bpp -> Native
"Didn't notice any meaningful differences though" too :)

On Tue, Jun 13, 2017 at 9:24 PM, Lukasz Jendrysik <[hidden email]> wrote:

> On 06/11/2017 07:24 PM, Łukasz Jendrysik wrote:
>
>> Hello,
>>
>> Today I tried for first time installing openBSD on a physical machine.
>> You probably figured out that I'm new to openBSD and I hope for your
>> understanding.
>>
>> Now to the point: when I boot in UEFI native mode (without CSM), my
>> display gets crazy producing fancy glitch art, see attached glitch.png.
>>
>> I also attach dmesg from both boot modes -- UEFI Hybrid (with CSM) and
>> UEFI Native (without CSM). Didn't notice any meaningful differences though.
>>
>> Tested on HP EliteBook 2570p and openBSD 6.1 amd64. Unfortunately I
>> didn't test -current yet.
>> Please let me know if I can provide you with any details regarding this
>> issue.
>>
>> Regards,
>> Lukasz Jendrysik
>
> Hi,
>
> I confirm that this issue also occurs on the latest snapshot from 12th June.
>
> Regards,
> Lukasz Jendrysik
>



--
Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

Lukasz Jendrysik
On 06/13/2017 08:11 PM, dmitry.sensei wrote:

> I have the same problem.
> diff for Your files:
> < efifb0 at mainbus0: 1024x768, 32bpp -> Hybrid
> ---
>> efifb0 at mainbus0: 1366x768, 32bpp -> Native
> "Didn't notice any meaningful differences though" too :)
>
> On Tue, Jun 13, 2017 at 9:24 PM, Lukasz Jendrysik <[hidden email]> wrote:
>> On 06/11/2017 07:24 PM, Łukasz Jendrysik wrote:
>>
>>> Hello,
>>>
>>> Today I tried for first time installing openBSD on a physical machine.
>>> You probably figured out that I'm new to openBSD and I hope for your
>>> understanding.
>>>
>>> Now to the point: when I boot in UEFI native mode (without CSM), my
>>> display gets crazy producing fancy glitch art, see attached glitch.png.
>>>
>>> I also attach dmesg from both boot modes -- UEFI Hybrid (with CSM) and
>>> UEFI Native (without CSM). Didn't notice any meaningful differences though.
>>>
>>> Tested on HP EliteBook 2570p and openBSD 6.1 amd64. Unfortunately I
>>> didn't test -current yet.
>>> Please let me know if I can provide you with any details regarding this
>>> issue.
>>>
>>> Regards,
>>> Lukasz Jendrysik
>> Hi,
>>
>> I confirm that this issue also occurs on the latest snapshot from 12th June.
>>
>> Regards,
>> Lukasz Jendrysik
>>
>
>
Hello,


Yes, that's the one thing. 1366 isn't the best power of two sum, so it
might be that something failed to account for alignment.

Maybe in native UEFI mode it does not detect the inteldrm or just locks
somewhere.


Have you debug it further?


Regards,

Lukasz Jendrysik

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

YASUOKA Masahiko-3
In reply to this post by Lukasz Jendrysik
Hi,

On Sun, 11 Jun 2017 19:24:45 +0200
Łukasz Jendrysik <[hidden email]> wrote:

> Today I tried for first time installing openBSD on a physical machine.
> You probably figured out that I'm new to openBSD and I hope for your
> understanding.
>
> Now to the point: when I boot in UEFI native mode (without CSM), my
> display gets crazy producing fancy glitch art, see attached glitch.png.
>
> I also attach dmesg from both boot modes -- UEFI Hybrid (with CSM) and
> UEFI Native (without CSM). Didn't notice any meaningful differences though.
>
> Tested on HP EliteBook 2570p and openBSD 6.1 amd64. Unfortunately I
> didn't test -current yet.
> Please let me know if I can provide you with any details regarding this
> issue.

Can you test the diff attached at last or

  http://yasuoka.net/~yasuoka/BOOTX64.EFI

The boot program is launched, please type "machine test<Enter>" and
show me the result?

diff --git a/sys/arch/amd64/stand/efiboot/efiboot.c b/sys/arch/amd64/stand/efiboot/efiboot.c
index 9b6d5fc00fd..0f2613a2a15 100644
--- a/sys/arch/amd64/stand/efiboot/efiboot.c
+++ b/sys/arch/amd64/stand/efiboot/efiboot.c
@@ -855,3 +855,59 @@ Xpoweroff_efi(void)
  EFI_CALL(RS->ResetSystem, EfiResetShutdown, EFI_SUCCESS, 0, NULL);
  return (0);
 }
+
+
+int
+Xtest(void)
+{
+ int i, bestmode = -1;
+ EFI_STATUS status;
+ EFI_GRAPHICS_OUTPUT *gop;
+ EFI_GRAPHICS_OUTPUT_MODE_INFORMATION
+ *gopi = NULL;
+ UINTN sz, gopsiz, bestsiz = 0;
+
+ status = EFI_CALL(BS->LocateProtocol, &gop_guid, NULL, (void **)&gop);
+ if (!EFI_ERROR(status)) {
+ for (i = 0; i < gop->Mode->MaxMode; i++) {
+ status = EFI_CALL(gop->QueryMode, gop, i, &sz, &gopi);
+ if (EFI_ERROR(status))
+ continue;
+ gopsiz = gopi->HorizontalResolution *
+    gopi->VerticalResolution;
+ if (gopsiz > bestsiz) {
+ bestmode = i;
+ bestsiz = gopsiz;
+ }
+ }
+ if (bestmode >= 0) {
+ status = EFI_CALL(gop->SetMode, gop, bestmode);
+ if (EFI_ERROR(status) && gop->Mode->Mode != bestmode)
+ printf("GOP setmode failed(%d)\n", status);
+ }
+ gopi = gop->Mode->Info;
+ printf(
+    "FrameBufferBase = 0x%lx\n"
+    "FrameBufferSize = 0x%x\n"
+    "VerticalResolution = %u\n"
+    "HorizontalResolution = %u\n"
+    "PixelsPerScanLine = %u\n"
+    "PixelFormat = %d\n"
+    "    RedMask = 0x%lx\n"
+    "    GreenMask = 0x%lx\n"
+    "    BlueMask = 0x%lx\n"
+    "    ReservedMask = 0x%lx\n",
+    gop->Mode->FrameBufferBase,
+    gop->Mode->FrameBufferSize,
+    gopi->VerticalResolution,
+    gopi->HorizontalResolution,
+    gopi->PixelsPerScanLine,
+    gopi->PixelFormat,
+    gopi->PixelInformation.RedMask,
+    gopi->PixelInformation.GreenMask,
+    gopi->PixelInformation.BlueMask,
+    gopi->PixelInformation.ReservedMask);
+ }
+
+ return (0);
+}
diff --git a/sys/arch/amd64/stand/libsa/cmd_i386.c b/sys/arch/amd64/stand/libsa/cmd_i386.c
index 592cca49547..d5c014ad31b 100644
--- a/sys/arch/amd64/stand/libsa/cmd_i386.c
+++ b/sys/arch/amd64/stand/libsa/cmd_i386.c
@@ -40,6 +40,7 @@
 #ifdef EFIBOOT
 #include "efiboot.h"
 #include "efidev.h"
+int Xtest(void);
 #endif
 
 extern const char version[];
@@ -64,6 +65,7 @@ const struct cmd_table cmd_machine[] = {
  { "video", CMDT_CMD, Xvideo_efi },
  { "exit", CMDT_CMD, Xexit_efi },
  { "poweroff", CMDT_CMD, Xpoweroff_efi },
+ { "test", CMDT_CMD, Xtest },
 #endif
 #ifdef DEBUG
  { "regs", CMDT_CMD, Xregs },

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
Hi.
Thanks. I'll test it asap

On June 15, 2017 10:53:21 AM GMT+05:00, YASUOKA Masahiko <[hidden email]> wrote:

>Hi,
>
>On Sun, 11 Jun 2017 19:24:45 +0200
>Łukasz Jendrysik <[hidden email]> wrote:
>> Today I tried for first time installing openBSD on a physical
>machine.
>> You probably figured out that I'm new to openBSD and I hope for your
>> understanding.
>>
>> Now to the point: when I boot in UEFI native mode (without CSM), my
>> display gets crazy producing fancy glitch art, see attached
>glitch.png.
>>
>> I also attach dmesg from both boot modes -- UEFI Hybrid (with CSM)
>and
>> UEFI Native (without CSM). Didn't notice any meaningful differences
>though.
>>
>> Tested on HP EliteBook 2570p and openBSD 6.1 amd64. Unfortunately I
>> didn't test -current yet.
>> Please let me know if I can provide you with any details regarding
>this
>> issue.
>
>Can you test the diff attached at last or
>
>  http://yasuoka.net/~yasuoka/BOOTX64.EFI
>
>The boot program is launched, please type "machine test<Enter>" and
>show me the result?
>
>diff --git a/sys/arch/amd64/stand/efiboot/efiboot.c
>b/sys/arch/amd64/stand/efiboot/efiboot.c
>index 9b6d5fc00fd..0f2613a2a15 100644
>--- a/sys/arch/amd64/stand/efiboot/efiboot.c
>+++ b/sys/arch/amd64/stand/efiboot/efiboot.c
>@@ -855,3 +855,59 @@ Xpoweroff_efi(void)
> EFI_CALL(RS->ResetSystem, EfiResetShutdown, EFI_SUCCESS, 0, NULL);
> return (0);
> }
>+
>+
>+int
>+Xtest(void)
>+{
>+ int i, bestmode = -1;
>+ EFI_STATUS status;
>+ EFI_GRAPHICS_OUTPUT *gop;
>+ EFI_GRAPHICS_OUTPUT_MODE_INFORMATION
>+ *gopi = NULL;
>+ UINTN sz, gopsiz, bestsiz = 0;
>+
>+ status = EFI_CALL(BS->LocateProtocol, &gop_guid, NULL, (void
>**)&gop);
>+ if (!EFI_ERROR(status)) {
>+ for (i = 0; i < gop->Mode->MaxMode; i++) {
>+ status = EFI_CALL(gop->QueryMode, gop, i, &sz, &gopi);
>+ if (EFI_ERROR(status))
>+ continue;
>+ gopsiz = gopi->HorizontalResolution *
>+    gopi->VerticalResolution;
>+ if (gopsiz > bestsiz) {
>+ bestmode = i;
>+ bestsiz = gopsiz;
>+ }
>+ }
>+ if (bestmode >= 0) {
>+ status = EFI_CALL(gop->SetMode, gop, bestmode);
>+ if (EFI_ERROR(status) && gop->Mode->Mode != bestmode)
>+ printf("GOP setmode failed(%d)\n", status);
>+ }
>+ gopi = gop->Mode->Info;
>+ printf(
>+    "FrameBufferBase = 0x%lx\n"
>+    "FrameBufferSize = 0x%x\n"
>+    "VerticalResolution = %u\n"
>+    "HorizontalResolution = %u\n"
>+    "PixelsPerScanLine = %u\n"
>+    "PixelFormat = %d\n"
>+    "    RedMask = 0x%lx\n"
>+    "    GreenMask = 0x%lx\n"
>+    "    BlueMask = 0x%lx\n"
>+    "    ReservedMask = 0x%lx\n",
>+    gop->Mode->FrameBufferBase,
>+    gop->Mode->FrameBufferSize,
>+    gopi->VerticalResolution,
>+    gopi->HorizontalResolution,
>+    gopi->PixelsPerScanLine,
>+    gopi->PixelFormat,
>+    gopi->PixelInformation.RedMask,
>+    gopi->PixelInformation.GreenMask,
>+    gopi->PixelInformation.BlueMask,
>+    gopi->PixelInformation.ReservedMask);
>+ }
>+
>+ return (0);
>+}
>diff --git a/sys/arch/amd64/stand/libsa/cmd_i386.c
>b/sys/arch/amd64/stand/libsa/cmd_i386.c
>index 592cca49547..d5c014ad31b 100644
>--- a/sys/arch/amd64/stand/libsa/cmd_i386.c
>+++ b/sys/arch/amd64/stand/libsa/cmd_i386.c
>@@ -40,6 +40,7 @@
> #ifdef EFIBOOT
> #include "efiboot.h"
> #include "efidev.h"
>+int Xtest(void);
> #endif
>
> extern const char version[];
>@@ -64,6 +65,7 @@ const struct cmd_table cmd_machine[] = {
> { "video", CMDT_CMD, Xvideo_efi },
> { "exit", CMDT_CMD, Xexit_efi },
> { "poweroff", CMDT_CMD, Xpoweroff_efi },
>+ { "test", CMDT_CMD, Xtest },
> #endif
> #ifdef DEBUG
> { "regs", CMDT_CMD, Xregs },

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

Lukasz Jendrysik
In reply to this post by YASUOKA Masahiko-3
Hello,


Please accept my apologies for this delay.

Picture attached since it seems that's not possible to save the output
on EFI System Partition.


On 06/15/2017 07:53 AM, YASUOKA Masahiko wrote:
> Can you test the diff attached at last or
>
>   http://yasuoka.net/~yasuoka/BOOTX64.EFI
>
> The boot program is launched, please type "machine test<Enter>" and
> show me the result?

results.jpg (139K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
FrameBufferBase = 0xc0000000
FrameBufferSize = 0x40000000
VerticalResolution = 768
HorizontalResolution = 1366
PixelsPerScanLine = 1366
PixelFormat = 1
    RedMask = 0x0
    GreenMask = 0x0
    BlueMask = 0x0
    ReservedMask = 0x0

On Fri, Jun 16, 2017 at 12:42 AM, Lukasz Jendrysik <[hidden email]> wrote:

> Hello,
>
>
> Please accept my apologies for this delay.
>
> Picture attached since it seems that's not possible to save the output
> on EFI System Partition.
>
>
> On 06/15/2017 07:53 AM, YASUOKA Masahiko wrote:
>> Can you test the diff attached at last or
>>
>>   http://yasuoka.net/~yasuoka/BOOTX64.EFI
>>
>> The boot program is launched, please type "machine test<Enter>" and
>> show me the result?



--
Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

YASUOKA Masahiko-3
Hi,

On Fri, 16 Jun 2017 09:29:50 +0500
"dmitry.sensei" <[hidden email]> wrote:

> FrameBufferBase = 0xc0000000
> FrameBufferSize = 0x40000000
> VerticalResolution = 768
> HorizontalResolution = 1366
> PixelsPerScanLine = 1366
> PixelFormat = 1
>     RedMask = 0x0
>     GreenMask = 0x0
>     BlueMask = 0x0
>     ReservedMask = 0x0

Thanks,

Can you test the diff for the kernel?

diff --git a/sys/arch/amd64/amd64/efifb.c b/sys/arch/amd64/amd64/efifb.c
index 2418354beaf..3e73fe5fafe 100644
--- a/sys/arch/amd64/amd64/efifb.c
+++ b/sys/arch/amd64/amd64/efifb.c
@@ -361,6 +361,7 @@ int
 efifb_cnattach(void)
 {
  struct efifb *fb = &efifb_console;
+ int pixpsl;
 
  if (bios_efiinfo == NULL || bios_efiinfo->fb_addr == 0)
  return (-1);
@@ -373,8 +374,8 @@ efifb_cnattach(void)
  fb->depth = max(fb->depth, fls(bios_efiinfo->fb_green_mask));
  fb->depth = max(fb->depth, fls(bios_efiinfo->fb_blue_mask));
  fb->depth = max(fb->depth, fls(bios_efiinfo->fb_reserved_mask));
- fb->psize = bios_efiinfo->fb_height *
-    bios_efiinfo->fb_pixpsl * (fb->depth / 8);
+ pixpsl = (bios_efiinfo->fb_pixpsl + 7) & 7; /* align 8 bytes */
+ fb->psize = bios_efiinfo->fb_height * pixpsl * (fb->depth / 8);
 
  efifb_rasops_init();
 

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
Yes. If You send link to binary

On June 22, 2017 11:27:21 AM GMT+05:00, YASUOKA Masahiko <[hidden email]> wrote:

>Hi,
>
>On Fri, 16 Jun 2017 09:29:50 +0500
>"dmitry.sensei" <[hidden email]> wrote:
>> FrameBufferBase = 0xc0000000
>> FrameBufferSize = 0x40000000
>> VerticalResolution = 768
>> HorizontalResolution = 1366
>> PixelsPerScanLine = 1366
>> PixelFormat = 1
>>     RedMask = 0x0
>>     GreenMask = 0x0
>>     BlueMask = 0x0
>>     ReservedMask = 0x0
>
>Thanks,
>
>Can you test the diff for the kernel?
>
>diff --git a/sys/arch/amd64/amd64/efifb.c
>b/sys/arch/amd64/amd64/efifb.c
>index 2418354beaf..3e73fe5fafe 100644
>--- a/sys/arch/amd64/amd64/efifb.c
>+++ b/sys/arch/amd64/amd64/efifb.c
>@@ -361,6 +361,7 @@ int
> efifb_cnattach(void)
> {
> struct efifb *fb = &efifb_console;
>+ int pixpsl;
>
> if (bios_efiinfo == NULL || bios_efiinfo->fb_addr == 0)
> return (-1);
>@@ -373,8 +374,8 @@ efifb_cnattach(void)
> fb->depth = max(fb->depth, fls(bios_efiinfo->fb_green_mask));
> fb->depth = max(fb->depth, fls(bios_efiinfo->fb_blue_mask));
> fb->depth = max(fb->depth, fls(bios_efiinfo->fb_reserved_mask));
>- fb->psize = bios_efiinfo->fb_height *
>-    bios_efiinfo->fb_pixpsl * (fb->depth / 8);
>+ pixpsl = (bios_efiinfo->fb_pixpsl + 7) & 7; /* align 8 bytes */
>+ fb->psize = bios_efiinfo->fb_height * pixpsl * (fb->depth / 8);
>
> efifb_rasops_init();
>

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

Lukasz Jendrysik
In reply to this post by YASUOKA Masahiko-3
Hi,


I will try to get it done tonight (CEST).

I will let you know once it's done.

On 06/22/2017 08:27 AM, YASUOKA Masahiko wrote:

> Can you test the diff for the kernel?

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

Lukasz Jendrysik
Okay, so I finally have a while to test your diff.
Unfortunately the issue still persists, but dmesg output is different
now especially when it comes to efifb.

dmesgNative:efifb0 at mainbus0: 1366x768, 32bpp
dmesgNative:wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation),
using wskbd0
dmesgNativePatched:efifb at mainbus0 not configured

Full dmesg output attached.

Please let me know if I can provide you with any other information
required for further analysis.

Thanks.

> On 06/22/2017 08:27 AM, YASUOKA Masahiko wrote:
>
>> Can you test the diff for the kernel?

dmesgNativePatched (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

YASUOKA Masahiko-4
Thanks,

The diff doesn't seem to fix the problem.

I think horizontal resolution 1366 is the key of the problem and efifb
need a workaround for it.

On Thu, 22 Jun 2017 23:14:47 +0200
Lukasz Jendrysik <[hidden email]> wrote:

> Okay, so I finally have a while to test your diff.
> Unfortunately the issue still persists, but dmesg output is different
> now especially when it comes to efifb.
>
> dmesgNative:efifb0 at mainbus0: 1366x768, 32bpp
> dmesgNative:wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation),
> using wskbd0
> dmesgNativePatched:efifb at mainbus0 not configured
>
> Full dmesg output attached.
>
> Please let me know if I can provide you with any other information
> required for further analysis.
>
> Thanks.
>
>> On 06/22/2017 08:27 AM, YASUOKA Masahiko wrote:
>>
>>> Can you test the diff for the kernel?

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

Lukasz Jendrysik
I have to admit that 1366 is not the best power of two sum.
Unfortunately I'm not able to help you with the fix, but please let me
know if there is any information I could provide you with.

On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
> I think horizontal resolution 1366 is the key of the problem and efifb
> need a workaround for it.

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
In build from 20179629 is not fixed yet

On Sun, Jun 25, 2017 at 12:45 AM, Lukasz Jendrysik <[hidden email]> wrote:
> I have to admit that 1366 is not the best power of two sum.
> Unfortunately I'm not able to help you with the fix, but please let me
> know if there is any information I could provide you with.
>
> On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
>> I think horizontal resolution 1366 is the key of the problem and efifb
>> need a workaround for it.
>



--
Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
96 = 06 :D

On Sat, Jul 1, 2017 at 12:30 PM, dmitry.sensei <[hidden email]> wrote:

> In build from 20179629 is not fixed yet
>
> On Sun, Jun 25, 2017 at 12:45 AM, Lukasz Jendrysik <[hidden email]> wrote:
>> I have to admit that 1366 is not the best power of two sum.
>> Unfortunately I'm not able to help you with the fix, but please let me
>> know if there is any information I could provide you with.
>>
>> On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
>>> I think horizontal resolution 1366 is the key of the problem and efifb
>>> need a workaround for it.
>>
>
>
>
> --
> Dmitry Orlov



--
Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
Dear, Masahiko Yasuoka
You can try to repeat this problem using qemu-kvm with OVMF (UEFI)
bios (https://www.linux-kvm.org/page/OVMF)

On Sat, Jul 1, 2017 at 12:31 PM, dmitry.sensei <[hidden email]> wrote:

> 96 = 06 :D
>
> On Sat, Jul 1, 2017 at 12:30 PM, dmitry.sensei <[hidden email]> wrote:
>> In build from 20179629 is not fixed yet
>>
>> On Sun, Jun 25, 2017 at 12:45 AM, Lukasz Jendrysik <[hidden email]> wrote:
>>> I have to admit that 1366 is not the best power of two sum.
>>> Unfortunately I'm not able to help you with the fix, but please let me
>>> know if there is any information I could provide you with.
>>>
>>> On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
>>>> I think horizontal resolution 1366 is the key of the problem and efifb
>>>> need a workaround for it.
>>>
>>
>>
>>
>> --
>> Dmitry Orlov
>
>
>
> --
> Dmitry Orlov



--
Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

YASUOKA Masahiko-3
Hi,

I'm using OVMF and qemu.  I don't know how to configure it to use 1366
for the video.  Do know the config?

On Thu, 3 Aug 2017 10:03:14 +0500
"dmitry.sensei" <[hidden email]> wrote:

> Dear, Masahiko Yasuoka
> You can try to repeat this problem using qemu-kvm with OVMF (UEFI)
> bios (https://www.linux-kvm.org/page/OVMF)
>
> On Sat, Jul 1, 2017 at 12:31 PM, dmitry.sensei <[hidden email]> wrote:
>> 96 = 06 :D
>>
>> On Sat, Jul 1, 2017 at 12:30 PM, dmitry.sensei <[hidden email]> wrote:
>>> In build from 20179629 is not fixed yet
>>>
>>> On Sun, Jun 25, 2017 at 12:45 AM, Lukasz Jendrysik <[hidden email]> wrote:
>>>> I have to admit that 1366 is not the best power of two sum.
>>>> Unfortunately I'm not able to help you with the fix, but please let me
>>>> know if there is any information I could provide you with.
>>>>
>>>> On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
>>>>> I think horizontal resolution 1366 is the key of the problem and efifb
>>>>> need a workaround for it.
>>>>
>>>
>>>
>>>
>>> --
>>> Dmitry Orlov
>>
>>
>>
>> --
>> Dmitry Orlov
>
>
>
> --
> Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
Sorry. I'll check it.

On Sun, Aug 6, 2017 at 11:38 AM, YASUOKA Masahiko <[hidden email]> wrote:

> Hi,
>
> I'm using OVMF and qemu.  I don't know how to configure it to use 1366
> for the video.  Do know the config?
>
> On Thu, 3 Aug 2017 10:03:14 +0500
> "dmitry.sensei" <[hidden email]> wrote:
>> Dear, Masahiko Yasuoka
>> You can try to repeat this problem using qemu-kvm with OVMF (UEFI)
>> bios (https://www.linux-kvm.org/page/OVMF)
>>
>> On Sat, Jul 1, 2017 at 12:31 PM, dmitry.sensei <[hidden email]> wrote:
>>> 96 = 06 :D
>>>
>>> On Sat, Jul 1, 2017 at 12:30 PM, dmitry.sensei <[hidden email]> wrote:
>>>> In build from 20179629 is not fixed yet
>>>>
>>>> On Sun, Jun 25, 2017 at 12:45 AM, Lukasz Jendrysik <[hidden email]> wrote:
>>>>> I have to admit that 1366 is not the best power of two sum.
>>>>> Unfortunately I'm not able to help you with the fix, but please let me
>>>>> know if there is any information I could provide you with.
>>>>>
>>>>> On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
>>>>>> I think horizontal resolution 1366 is the key of the problem and efifb
>>>>>> need a workaround for it.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Dmitry Orlov
>>>
>>>
>>>
>>> --
>>> Dmitry Orlov
>>
>>
>>
>> --
>> Dmitry Orlov



--
Dmitry Orlov

Reply | Threaded
Open this post in threaded view
|

Re: Display distortion while booting in native UEFI mode

dmitry.sensei
Sorry. I can't find the settings.
I did test on my laptop (1366x768). dmesg shows efifb0 at mainbus0
2048x2048 32bpp.
It was an incorrect proposal on my part :(

On Sun, Aug 6, 2017 at 6:59 PM, dmitry.sensei <[hidden email]> wrote:

> Sorry. I'll check it.
>
> On Sun, Aug 6, 2017 at 11:38 AM, YASUOKA Masahiko <[hidden email]> wrote:
>> Hi,
>>
>> I'm using OVMF and qemu.  I don't know how to configure it to use 1366
>> for the video.  Do know the config?
>>
>> On Thu, 3 Aug 2017 10:03:14 +0500
>> "dmitry.sensei" <[hidden email]> wrote:
>>> Dear, Masahiko Yasuoka
>>> You can try to repeat this problem using qemu-kvm with OVMF (UEFI)
>>> bios (https://www.linux-kvm.org/page/OVMF)
>>>
>>> On Sat, Jul 1, 2017 at 12:31 PM, dmitry.sensei <[hidden email]> wrote:
>>>> 96 = 06 :D
>>>>
>>>> On Sat, Jul 1, 2017 at 12:30 PM, dmitry.sensei <[hidden email]> wrote:
>>>>> In build from 20179629 is not fixed yet
>>>>>
>>>>> On Sun, Jun 25, 2017 at 12:45 AM, Lukasz Jendrysik <[hidden email]> wrote:
>>>>>> I have to admit that 1366 is not the best power of two sum.
>>>>>> Unfortunately I'm not able to help you with the fix, but please let me
>>>>>> know if there is any information I could provide you with.
>>>>>>
>>>>>> On 06/23/2017 01:07 AM, YASUOKA Masahiko wrote:
>>>>>>> I think horizontal resolution 1366 is the key of the problem and efifb
>>>>>>> need a workaround for it.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dmitry Orlov
>>>>
>>>>
>>>>
>>>> --
>>>> Dmitry Orlov
>>>
>>>
>>>
>>> --
>>> Dmitry Orlov
>
>
>
> --
> Dmitry Orlov



--
Dmitry Orlov

12