The intel xorg driver requires inteldrm for mode setting. Initial support for Broadwell/5500 was added to inteldrm after 5.8 and is available in -current/snapshots.
On Mon, Dec 14, 2015 at 05:29:19PM +0000, Mark Carroll wrote: > I'm following the OPENBSD_5_8 tag for src and xenocara on a system that > reports, > > vga1 at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09 > intagp at vga1 not configured > > pcidump reports that as, > > 0:2:0: Intel HD Graphics 5500 > 0x0000: Vendor ID: 8086 Product ID: 1616 > > I set machdep.allowaperture=2 and have been using xorg and it defaults > to 1920x1080 on monitors for which that is fine. However, today I tried > it on a monitor for which the best resolution is 1360x768 and I just > can't get xorg to do that: > > On a Linux system (with a Radeon card) I just set an appropriate > modeline in xorg.conf and the radeon driver happily takes it and gives > me that mode. Indeed, even if I don't supply a modeline on my OpenBSD > system, the Xorg.0.log still reports something similar from EDID, > > (II) VESA(0): Modeline "1366x768"x59.8 84.75 1366 1431 1567 1776 768 771 > 781 798 -hsync +vsync (47.7 kHz e) > > However, as you can see, it's VESA looking at this. Whether I name > "1366x768" or my other modeline or whatever, it just says "no mode of > this name" and goes to 1920x1080. (Indeed, I can imagine it's not a VESA > mode!) > > The intel driver does report itself, e.g., > > (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 > (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 > (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300 > (II) VESA: driver for VESA chipsets: vesa > (II) Loading sub module "vbe" > (II) LoadModule: "vbe" > ... but then it's all VESA thereafter in the log. > > If I try setting Driver "intel" in xorg.conf it promptly fails, > > (EE) No devices detected. > (EE) no screens found(EE) > > I'm happy to share fuller dmesg[1], xorg.conf, Xorg.0.log, etc. if that > would help. (The xorg.conf that works for this monitor from Linux just > sets the modeline.) But, from this summary, does anyone have a clue > what's going on? Why's the intel driver not handling everything, instead > leaving me stuck with vesa and not letting me set the mode myself? (Of > course, xrandr in that environment reports only VESA modes.) > > [1] dmesg from an identical system is > http://permalink.gmane.org/gmane.os.openbsd.misc/226800 > > ... is this even the correct place to ask? Is it an OpenBSD issue or a > more general one with xorg's intel driver? (I don't know to what extent > kernel support could be an issue.) > > -- Mark