2014-02-26 8:52 GMT+01:00 Mark Kettenis <mark.kette...@xs4all.nl>: >> Date: Wed, 26 Feb 2014 07:38:29 +0100 >> From: Markus Bergkvist <mar...@familjenbergkvist.net> >> >> 2014-02-14 15:15 GMT+01:00 Markus Bergkvist <mar...@familjenbergkvist.net>: >> > Synced and verified that kettenis patch was there but unfortunately it >> > did not help with a new kernel. >> > >> > >> > >> > 2014-02-14 9:54 GMT+01:00 Jonathan Gray <j...@jsg.id.au>: >> >> 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@ >> >> Updated to recent snapshot. Monitor on HDMI-port is detected but is >> disconnected? > > What does xrandr --verbose say?
$ xrandr --verbose Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767 VGA1 disconnected (normal left inverted right x axis y axis) Identifier: 0x43 Timestamp: 14879 Subpixel: unknown Clones: CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: HDMI1 disconnected 1920x1200+0+0 (0x4a) normal (normal left inverted right x axis y axis) 0mm x 0mm Identifier: 0x44 Timestamp: 14879 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: Broadcast RGB: Full supported: Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on HDMI2 disconnected (normal left inverted right x axis y axis) Identifier: 0x45 Timestamp: 14879 Subpixel: unknown Clones: CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: Broadcast RGB: Full supported: Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on DP1 disconnected (normal left inverted right x axis y axis) Identifier: 0x46 Timestamp: 14879 Subpixel: unknown Clones: CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: Broadcast RGB: Full supported: Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on DP2 connected 1920x1200+0+0 (0x4a) normal (normal left inverted right x axis y axis) 518mm x 324mm Identifier: 0x47 Timestamp: 14879 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 1 CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff000469a32401010101 07170104a53420783a4ca5a7554da226 105054230800818081409500a940b300 d1c001010101283c80a070b023403020 360006442100001a000000fd00323d1e 5311000a202020202020000000fc0050 423234380a20202020202020000000ff 0044324c4d51533032383531300a01ca 020318f14b900504030201111213141f 23090707830100001a3680a070381e40 3020350006442100001a662156aa5100 1e30468f330006442100001e011d0072 51d01e206e28550006442100001e8c0a d08a20e02d10103e9600064421000018 011d8018711c1620582c250006442100 009e0000000000000000000000000088 Broadcast RGB: Full supported: Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on 1920x1200 (0x4a) 154.0MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 74.0KHz v: height 1200 start 1203 end 1209 total 1235 clock 60.0Hz 1920x1080 (0xa9) 148.5MHz +HSync +VSync h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.2KHz v: height 1080 start 1084 end 1089 total 1125 clock 50.0Hz 1920x1080 (0xaa) 138.5MHz +HSync -VSync h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.6KHz v: height 1080 start 1083 end 1088 total 1110 clock 60.0Hz 1920x1080i (0xab) 74.2MHz +HSync +VSync Interlace h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 28.1KHz v: height 1080 start 1084 end 1094 total 1125 clock 50.0Hz 1600x1200 (0xac) 162.0MHz +HSync +VSync h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.0KHz v: height 1200 start 1201 end 1204 total 1250 clock 60.0Hz 1680x1050 (0xad) 146.2MHz -HSync +VSync h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz 1280x1024 (0xae) 108.0MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz 1440x900 (0xaf) 106.5MHz -HSync +VSync h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.9KHz v: height 900 start 903 end 909 total 934 clock 59.9Hz 1280x960 (0xb0) 108.0MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz v: height 960 start 961 end 964 total 1000 clock 60.0Hz 1366x768 (0xb1) 85.5MHz +HSync +VSync h: width 1366 start 1436 end 1579 total 1792 skew 0 clock 47.7KHz v: height 768 start 771 end 774 total 798 clock 59.8Hz 1280x720 (0xb2) 74.2MHz +HSync +VSync h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.5KHz v: height 720 start 725 end 730 total 750 clock 50.0Hz 1024x768 (0xb3) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 800x600 (0xb4) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 800x600 (0xb5) 36.0MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz v: height 600 start 601 end 603 total 625 clock 56.2Hz 720x576 (0xb6) 27.0MHz -HSync -VSync h: width 720 start 732 end 796 total 864 skew 0 clock 31.2KHz v: height 576 start 581 end 586 total 625 clock 50.0Hz 720x480 (0xb7) 27.0MHz -HSync -VSync h: width 720 start 736 end 798 total 858 skew 0 clock 31.5KHz v: height 480 start 489 end 495 total 525 clock 59.9Hz 640x480 (0xb8) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 60.0Hz 640x480 (0xb9) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 59.9Hz VIRTUAL1 disconnected (normal left inverted right x axis y axis) Identifier: 0x48 Timestamp: 14879 Subpixel: no subpixels Clones: CRTCs: 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: