On Tue, May 20, 2014 at 08:56:27PM +1000, Jonathan Gray wrote:
> On Tue, May 20, 2014 at 10:05:07AM +0200, [email protected] wrote:
> > >Synopsis:  Intel HD Graphics 4000, only one monitor detected
> > >Category:  
> > >Environment:
> >     System      : OpenBSD 5.5
> >     Details     : OpenBSD 5.5-current (GENERIC.MP) #136: Mon May 19 
> > 09:40:42 MDT 2014
> >                      
> > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > 
> >     Architecture: OpenBSD.amd64
> >     Machine     : amd64
> > >Description:
> >     I have two identical monitors connected to my Intel HD Graphics 4000
> >     on DisplayPort and HDMI respectively. Usually there was no problem
> >     detecting them both and split my desktop across both monitors. But
> >     somewhere between
> >     OpenBSD 5.5-beta (GENERIC.MP) #284: Mon Feb  3 07:57:32 MST 2014
> >     and
> >     OpenBSD 5.5-beta (GENERIC.MP) #287: Fri Feb  7 11:45:09 MST 2014
> >     something happened. The monitor on HDMI is mirroring the DisplayPort
> >     and it is not detected properly by xrand.
> > 
> >     After doing xrandr --auto the monitor on HDMI turns black and is not
> >     detected at all by xrand.
> 
> That is around the timeframe of the xf86-video-intel update to
> 2.99.909 from 2.20.19.  Currently we have 2.99.910.
> 
> I don't see any likely commits in the kernel around that timeframe.
> 
> 2.99.911 has since been released
> http://lists.freedesktop.org/archives/xorg/2014-March/056491.html
> 
> When I get a chance I'll test it here and send you a patch to see
> if that changes anything.

Patch can be found here, a bit large to inline:
http://jsg.id.au/openbsd/xf86-video-intel-2.99.911.diff

To apply:
cd /usr/xenocara/driver/xf86-video-intel/
patch -p1 < /path/to/xf86-video-intel-2.99.911.diff

Then rebuild xenocara and restart Xorg.

You should see an entry in /var/log/Xorg.0.log to the effect of

[ 17346.336] (II) LoadModule: "intel"
[ 17346.336] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[ 17346.355] (II) Module intel: vendor="X.Org Foundation"
[ 17346.355]    compiled for 1.15.1, module version = 2.99.911
[ 17346.355]    Module class: X.Org Video Driver
[ 17346.355]    ABI class: X.Org Video Driver, version 15.0

if everything worked.

Only lightly tested on gen5/ironlake so far.

Reply via email to