On Fri, Feb 14, 2014 at 08:48:04AM +0100, Markus Bergkvist wrote:
> I did an update to recent snapshot
> OpenBSD 5.5-beta (GENERIC.MP) #287: Fri Feb  7 11:45:09 MST 2014
> 
> I have two identical monitors connected to my Intel HD Graphics 4000
> on DisplayPort and HDMI respectively. Usually there is 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 by xrand.
> 
> Output from xrandr, diff between previous and current dmesg and a
> complete dmesg below.
> 
> Any suggestion on what might be wrong? Any more information I can provide?

The xf86-video-intel driver was recently updated, this triggered
a bug in copying data out of the kernel that was previously hidden
which affects xrandr.

It would be interesting to see if compiling your own kernel
sometime after the following commit by kettenis@ helps:

CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2014/02/13 05:33:08

Modified files:
        sys/dev/pci/drm: drm_crtc.c 

Log message:
Make sure we copy out the right amount of data in the various copyout() calls
that replace the put_user() calls in the Linux code by using sizeof on the
appropriate variables instead of explicit uint32_t/uint64_t types.  Fixes a
case where we accidentally copied out only 32 bits of a 64-bit value,
uncovered by xf86-video-intel 2.99.909.

ok jsg@, matthieu@

Reply via email to