Re: SV: UEFI boot fail on higher resolutions (Re: Acer E3-112 and UEFI)

From: Jakob Alvermark <jakob_at_alvermark.net>
Date: Thu, 13 Aug 2015 09:34:56 +0200
On 18 jul 2015, at 09:57, Anders Bolt-Evensen wrote:

> <Another update!
> <
> <As I found out the EFI loader has the capability to change screen modes I
> dumped refind and started playing with this again.
> <"mode 5" gives me 1024x768 and a panic:
> <
> <---
> <kernel trap 12 with interrupts disabled
> <
> <
> <Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00
> <fault virtual address	= 0x1f2d0ec
> <fault code		= supervisor read data, page not present
> <Instruction pointer	= 0x20:0xffffffff8030003d
> <stack pointer	        = 0x28:0xffffffff81616f70
> <frame pointer	        = 0x28:0x0
> <code segment		= base 0x0, limit 0xfffff, type 0x1b
> <			= DPL 0, pres 1, long 1, def32 0, gran 1
> <processor eflags	= resume, IOPL = 0
> <current process		= 0 ()
> <---
> <
> <What struck me then was this line:
> <instruction pointer	= 0x20:0xffffffff8030003d
> <and the fact that:
> <EFI framebuffer information:
> <addr, size          0x80000000, 0x300000
> <
> <Coincidence? Maybe not.
> <In sys/dev/vt/hw/efifb/efifb.c I changed this line:
> <
> <info->fb_vbase = PHYS_TO_DMAP(efifb->fb_addr);
> <
> <Into this hack:
> <
> <info->fb_vbase = PHYS_TO_DMAP(0x90000000);
> <
> <Recompile kernel and now it boots at native resolution (1366x768)!
> <
> <Any thoughts on this?
> <
> <Thanks,
> <
> <Jakob
> 
> I tried your hack on my Acer Aspire V17 Nitro with a 1920x1080 display, and
> it seems that your hack works on my computer as well.
> Before I tried your hack, I was basically unable to do a UEFI boot unless I
> tried the rEFInd method, but thanks to your hack I am now able to do a
> regular UEFI boot at the native resolution of 1920x1080. :D
> Thank you so much for your tip. :)

This appears to have been fixed by r286667
(At least on the Acer laptop, haven't tested on any other machine)
Thanks!

Jakob
Received on Thu Aug 13 2015 - 06:04:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC