Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 09:34:56 +0200
From:      Jakob Alvermark <jakob@alvermark.net>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Cc:        Anders Bolt-Evensen <andersbo87@icloud.com>
Subject:   Re: SV: UEFI boot fail on higher resolutions (Re: Acer E3-112 and UEFI)
Message-ID:  <13068595-3B9C-4F96-9ECC-DAB4CFA245EF@alvermark.net>
In-Reply-To: <056801d0c12f$78d800f0$6a8802d0$@icloud.com>
References:  <20876.213.113.68.53.1419950410.squirrel@webmail.alvermark.net> <54A2CC2D.3040105@freebsd.org> <42818.213.113.68.53.1420039470.squirrel@webmail.alvermark.net> <E86A0514-6C11-4592-BB62-0F992727AFDC@alvermark.net> <24273.85.229.92.85.1435690356.squirrel@webmail.alvermark.net> <056801d0c12f$78d800f0$6a8802d0$@icloud.com>

index | next in thread | previous in thread | raw e-mail


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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13068595-3B9C-4F96-9ECC-DAB4CFA245EF>