Bug 103848 - Unsynchronized rendering with MST monitor (between tiles, nogenlock)
Summary: Unsynchronized rendering with MST monitor (between tiles, nogenlock)
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 17:16 UTC by Paul Menzel
Modified: 2018-04-26 07:10 UTC (History)
3 users (show)

See Also:
i915 platform: SKL
i915 features: display/DP MST


Attachments
Linux 4.14.2 message with `drm.debug=0x1e log_buf_len=5M` (6.71 MB, text/plain)
2017-11-30 12:04 UTC, Paul Menzel
no flags Details

Description Paul Menzel 2017-11-22 17:16:27 UTC
Linux 4.14, X.Org server 1.9.5, and the modesetting driver are used.

```
$ lspci -nn -s 0:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
```

The monitor Dell UP3214Q is connected over DisplayPort, and DP 1.2 is used with MST (Multi-Stream Transport) as two panels are used to render 3840 x 2160 at 60 Hz.

```
$ xrandr --listmonitorsMonitors: 1
 0: +Auto-Monitor-1 3840/698x2160/392+0+0  DP-2-9 DP-2-8
```

Using Xfce 4.12 and putting a window over the common border of the two panels, and moving it around, it’s clearly not in sync. The same can for example be seen, when scrolling a Web site with Firefox 57.0, where the window covers both panels.
Comment 1 Elizabeth 2017-11-29 22:30:36 UTC
Hello Paul, could you please attach logs as described in https://01.org/linuxgraphics/documentation/how-report-bugs?
Thank you.
Comment 2 Paul Menzel 2017-11-30 11:58:00 UTC
Hi, does it make sense, that this issue was kind of fixed between Linux 4.12 and Linux 4.12.2? At least scrolling with the mouse wheel in Mozilla Firefox 57, Mozilla Thunderbird 54.5.0, and GNOME Terminal doesn’t show this problem anymore so *extremely*.

Using the scroll bar to move the content fast, still shows the problem though.
Comment 3 Paul Menzel 2017-11-30 12:04:18 UTC
Created attachment 135829 [details]
Linux 4.14.2 message with `drm.debug=0x1e log_buf_len=5M`

(In reply to Elizabeth from comment #1)
> Hello Paul, could you please attach logs as described in
> https://01.org/linuxgraphics/documentation/how-report-bugs?
> Thank you.

```
$ uname -m
x86_64
$ uname -r
4.14.2.mx64.190
$ xrandr --verbose
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 8192 x 8192
HDMI-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  23705
	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: 
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	link-status: Good 
		supported: Good, Bad
DP-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  23705
	Subpixel:   unknown
	Clones:     HDMI-2
	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: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	link-status: Good 
		supported: Good, Bad
HDMI-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x44
	Timestamp:  23705
	Subpixel:   unknown
	Clones:     DP-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: 
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	link-status: Good 
		supported: Good, Bad
DP-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x45
	Timestamp:  23705
	Subpixel:   unknown
	Clones:     HDMI-3
	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: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	link-status: Good 
		supported: Good, Bad
HDMI-3 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x46
	Timestamp:  23705
	Subpixel:   unknown
	Clones:     DP-2
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	link-status: Good 
		supported: Good, Bad
DP-3 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x47
	Timestamp:  23705
	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: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	link-status: Good 
		supported: Good, Bad
DP-2-8 connected 1920x2160+1920+0 (0x4b) normal (normal left inverted right x axis y axis) 698mm x 392mm
	Identifier: 0x48
	Timestamp:  23705
	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: 
	TILE: 1 1 2 1 1 0 1920 2160 
	EDID: 
		00ffffffffffff0010ac934050313031
		24180104b54627783a73e0a35336b626
		0d515300000001010101010101010101
		0101010101014d6c80a070703e803020
		3a00ba882100001a000000ff004b3352
		3930343934313031500a000000fc0044
		454c4c20555033323134510a000000fd
		001d4b1f8c1e000a2020202020200121
		7012790000120016821010007f076f08
		000000000044454c9340503130310000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000002490
	link-status: Good 
		supported: Good, Bad
  1920x2160 (0x4b) 277.250MHz +HSync -VSync *current +preferred
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 133.29KHz
        v: height 2160 start 2163 end 2173 total 2222           clock  59.99Hz
DP-2-9 connected 1920x2160+0+0 (0x4b) normal (normal left inverted right x axis y axis) 698mm x 392mm
	Identifier: 0x49
	Timestamp:  23705
	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: 
	TILE: 1 1 2 1 0 0 1920 2160 
	EDID: 
		00ffffffffffff0010ac934050313031
		24180104b54627783a73e0a35336b626
		0d5153a54b008100b300d100714fa940
		8180d1c001014d6c80a070703e803020
		3a00ba882100001a000000ff004b3352
		3930343934313031500a000000fc0044
		454c4c20555033323134510a000000fd
		001d4b1f8c1e000a20202020202001ff
		7012790000120016821000007f076f08
		000000000044454c9340503130310000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000003490
	link-status: Good 
		supported: Good, Bad
  1920x2160 (0x4b) 277.250MHz +HSync -VSync *current +preferred
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 133.29KHz
        v: height 2160 start 2163 end 2173 total 2222           clock  59.99Hz
  1920x1200 (0x4c) 193.250MHz -HSync +VSync
        h: width  1920 start 2056 end 2256 total 2592 skew    0 clock  74.56KHz
        v: height 1200 start 1203 end 1209 total 1245           clock  59.88Hz
  1920x1080 (0x4d) 148.500MHz -HSync -VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1600x1200 (0x4e) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1680x1050 (0x4f) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x1024 (0x50) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x51) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x800 (0x52) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1152x864 (0x53) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x54) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x55) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x56) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x57) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  640x480 (0x58) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x59) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0x5a) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
```

The Linux messages are attached.
Comment 4 Paul Menzel 2017-11-30 14:20:31 UTC
(In reply to Paul Menzel from comment #2)
> Hi, does it make sense, that this issue was kind of fixed between Linux 4.12
> and Linux 4.12.2? At least scrolling with the mouse wheel in Mozilla Firefox
> 57, Mozilla Thunderbird 54.5.0, and GNOME Terminal doesn’t show this problem
> anymore so *extremely*.
> 
> Using the scroll bar to move the content fast, still shows the problem
> though.

No, with Linux 4.12.2 it’s still present with mouse wheel scrolling.
Comment 5 Elizabeth 2017-11-30 17:40:16 UTC
Thanks for the update.
Comment 6 Jani Saarinen 2018-03-29 07:10:05 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 7 Jani Saarinen 2018-04-25 10:17:24 UTC
Paul, is MST changes in drm-tip now fixing issues you see? See also https://bugs.freedesktop.org/show_bug.cgi?id=103631.
Comment 8 Paul Menzel 2018-04-25 10:21:03 UTC
(In reply to Jani Saarinen from comment #7)
> Paul, is MST changes in drm-tip now fixing issues you see? See also
> https://bugs.freedesktop.org/show_bug.cgi?id=103631.

I currently do not have access to the monitor, as a colleague uses it.


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.