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?
> 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)
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"