Bug 67513 - [SNB] two monitors each show half of screen with extend mode
Summary: [SNB] two monitors each show half of screen with extend mode
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 03:03 UTC by cancan,feng
Modified: 2017-10-06 14:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
System boot messages (123.61 KB, text/plain)
2013-07-30 03:03 UTC, cancan,feng
no flags Details
scrot picture (1.20 MB, image/png)
2013-07-30 03:05 UTC, cancan,feng
no flags Details
DVI monitor picture (1.50 MB, image/jpeg)
2013-07-30 03:06 UTC, cancan,feng
no flags Details
DP monitor picture (1.67 MB, image/jpeg)
2013-07-30 03:07 UTC, cancan,feng
no flags Details
Xorg.0.log (15.58 KB, text/plain)
2013-07-31 06:31 UTC, cancan,feng
no flags Details
system dmesg fae5cb (123.72 KB, text/plain)
2013-07-31 07:56 UTC, cancan,feng
no flags Details
just rotation (15.58 KB, text/plain)
2013-07-31 07:57 UTC, cancan,feng
no flags Details

Description cancan,feng 2013-07-30 03:03:53 UTC
Created attachment 83250 [details]
System boot messages

System Environment:
--------------------------------------------
Kernel: (drm-intel-next-queued)fae5cbff3e3e4097de2e76178d462b90626c2bdb
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Jul 21 21:37:09 2013 +0200

    drm/i915: clean up crtc timings computation

Bug detailed description:
--------------------------------------------
With two monitros plugged in(DVI and DP), extend mode displays wrong under gnome-session. Two monitors can only show half screen, the other screen shows black. I will attach the pictures I got by using scrot and camera. 

Reproduce steps:
--------------------------------------------
1. plug in DVI and DP
2. xinit&
3. gnome-session&
4. xrandr --output HDMI3 --left-of DP2
Comment 1 cancan,feng 2013-07-30 03:05:10 UTC
Created attachment 83251 [details]
scrot picture
Comment 2 cancan,feng 2013-07-30 03:06:39 UTC
Created attachment 83252 [details]
DVI monitor picture
Comment 3 cancan,feng 2013-07-30 03:07:22 UTC
Created attachment 83253 [details]
DP monitor picture
Comment 4 Chris Wilson 2013-07-30 08:20:02 UTC
Interesting, can you also please attach Xorg.0.log and xrandr output. Please tell me this a kernel regression... :)
Comment 5 cancan,feng 2013-07-31 06:29:47 UTC
(In reply to comment #4)
> Interesting, can you also please attach Xorg.0.log and xrandr output. Please
> tell me this a kernel regression... :)

I'm afraid it's not a regression, I can't find a good commit.. :(

xrandr:

Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 641mm x 401mm
   1920x1200      60.0*
   1600x1200      60.0
   1280x1024      75.0     60.0
   1280x800       59.9
   1152x864       75.0
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
DP2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 580mm x 360mm
   1920x1200      60.0*+
   1600x1200      60.0
   1680x1050      60.0
   1280x1024      75.0     60.0
   1152x864       75.0
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
DP3 disconnected (normal left inverted right x axis y axis)
Comment 6 cancan,feng 2013-07-31 06:31:15 UTC
Created attachment 83344 [details]
Xorg.0.log
Comment 7 Chris Wilson 2013-07-31 07:33:40 UTC
The last change in the Xorg.0.log is:

[   525.169] (II) intel(0): resizing framebuffer to 3840x1200
[   525.169] (II) intel(0): switch to mode 1920x1200 on pipe 0 using HDMI3
[   525.196] (II) intel(0): switch to mode 1920x1200 on pipe 1 using DP2
[   525.212] (II) intel(0): switch to mode 1920x1200 on pipe 0 using HDMI3

but xrandr still believes that the current fb is 1920 x 1200 with the two outputs in clone mode. Prior to that modeset, the two outputs were indeed mirrored (with a 1920x1200 fb). Can you please confirm that the xrandr is from after 525s? dmesg also believes that the two pipes should be in an extended configuration.
Comment 8 cancan,feng 2013-07-31 07:55:00 UTC
(In reply to comment #7)
> The last change in the Xorg.0.log is:
> 
> [   525.169] (II) intel(0): resizing framebuffer to 3840x1200
> [   525.169] (II) intel(0): switch to mode 1920x1200 on pipe 0 using HDMI3
> [   525.196] (II) intel(0): switch to mode 1920x1200 on pipe 1 using DP2
> [   525.212] (II) intel(0): switch to mode 1920x1200 on pipe 0 using HDMI3
> 
> but xrandr still believes that the current fb is 1920 x 1200 with the two
> outputs in clone mode. Prior to that modeset, the two outputs were indeed
> mirrored (with a 1920x1200 fb). Can you please confirm that the xrandr is
> from after 525s? dmesg also believes that the two pipes should be in an
> extended configuration.

Hmm, here I attach a new dmesg and Xorg.0.log which after system boots I just start X and gnome, then do rotation. Maybe these info is a little more clear :)
Comment 9 cancan,feng 2013-07-31 07:56:10 UTC
Created attachment 83346 [details]
system dmesg fae5cb
Comment 10 cancan,feng 2013-07-31 07:57:01 UTC
Created attachment 83347 [details]
just rotation
Comment 11 Chris Wilson 2013-08-01 11:43:54 UTC
I don't think this is a kernel/Xorg bug. The modesetting sequences and hardware programming look valid, and that is confirmed by the scrot pricture. I think gnome-shell is misrendering.
Comment 12 Elizabeth 2017-10-06 14:44:33 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.