On Wed, May 25, 2016 at 7:30 PM, <[email protected]> wrote:
> Hello,
>
> I'm new to OpenBSD. I've recently installed 5.9 -release on a
> MacBook 5,1. The default configuration of Xorg doesn't work for me:
> when I call startx, my screen goes black and the computer seems entirely
> unresponsive to keyboard input; I'm obliged to restart the computer by
> holding down the power button. I'd appreciate seeing how others have
> successfully configured Xorg for the MacBook 5,1. A description of what
> I've attempted so far follows.
>
> xf86(4) and OpenBSD FAQ 11 [*] indicate that, on amd64, the sysctl
> variable "machdep.allowaperture" need be set to a value greater than 0.
> I've tried starting Xorg both with machdep.allowaperture set to 1 and
> with it set to 2; in both cases, the result is as described above.
Add "machdep.allowaperture=2" to /etc/sysctl.conf
Create a /etc/X11/xorg.conf containing:
---8<---
Section "Device"
Identifier "Vesa"
Driver "vesa"
EndSection
---8<---
Ciao!
David