Bug 95360 - [IVB] xrandr eDP1 scale-from hangs with external displays
Summary: [IVB] xrandr eDP1 scale-from hangs with external displays
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-12 01:05 UTC by Chris Bainbridge
Modified: 2017-05-24 05:50 UTC (History)
1 user (show)

See Also:
i915 platform: IVB
i915 features: display/eDP


Attachments
xorg-log (110.99 KB, text/plain)
2016-05-17 13:35 UTC, Chris Bainbridge
no flags Details
dmesg-drm (250.47 KB, text/plain)
2016-05-17 13:36 UTC, Chris Bainbridge
no flags Details
xorg-log-full (1021.10 KB, text/plain)
2016-05-17 13:48 UTC, Chris Bainbridge
no flags Details
dmesg-drm-full (731.44 KB, text/plain)
2016-05-17 13:53 UTC, Chris Bainbridge
no flags Details

Description Chris Bainbridge 2016-05-12 01:05:08 UTC
With two external DP rotated displays enabled, turning on eDP1:

$ xrandr --output eDP1 --mode 2560x1600 --scale-from 1280x800

Results in:

[  5718.080] (II) intel(0): resizing framebuffer to 2100x1680
[  5721.746] (II) intel(0): switch to mode 2560x1600@60.0 on eDP1 using pipe 2, position (0, 0), rotation normal, reflection none
[  5721.997] (EE) intel(0): Page flipping failed, disabling TearFree

Seems hung - windows are still updated but there is no response to mouse or keyboard.
Scaling works ok with only eDP1 (no external displays).
Comment 1 Chris Wilson 2016-05-12 08:49:09 UTC
Compiling xf86-video-intel wtith ./configure --enable-debug=full will give you more insight into what X is trying to do after the kernel reports a failure. A drm.debug=0xe will hopefully tell us why the kernel failed.
Comment 2 Chris Bainbridge 2016-05-17 13:35:29 UTC
Created attachment 123824 [details]
xorg-log

Xorg log at fail point, problem seems to be:

[    62.270] (EE) Backtrace:
[    62.270] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x564fed368d46]
[    62.270] (EE) 1: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f839b38d000+0xb03d4) [0x7f839b43d3d4]
[    62.270] (EE) 2: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f839b38d000+0xc9888) [0x7f839b456888]
[    62.270] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f839b38d000+0x8fa74) [0x7f839b41ca74]
[    62.270] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f839b38d000+0x9125d) [0x7f839b41e25d]
[    62.270] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f839b38d000+0xce32c) [0x7f839b45b32c]
[    62.270] (EE) 6: /usr/bin/X (BlockHandler+0x4a) [0x564fed20df2a]
[    62.270] (EE) 7: /usr/bin/X (WaitForSomething+0x132) [0x564fed365f62]
[    62.270] (EE) 8: /usr/bin/X (0x564fed1b2000+0x57211) [0x564fed209211]
[    62.270] (EE) 9: /usr/bin/X (0x564fed1b2000+0x5b596) [0x564fed20d596]
[    62.270] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f839f115b45]
[    62.270] (EE) 11: /usr/bin/X (0x564fed1b2000+0x4590e) [0x564fed1f790e]
[    62.270] (EE) 
[    62.270] (EE) 
Fatal server error:
[    62.270] (EE) get_fb:548 assertion '8*bo->pitch >= width * scrn->bitsPerPixel' failed
Comment 3 Chris Bainbridge 2016-05-17 13:36:41 UTC
Created attachment 123825 [details]
dmesg-drm

kernel drm log up to fail point and Xorg restart
Comment 4 Chris Bainbridge 2016-05-17 13:48:50 UTC
Created attachment 123826 [details]
xorg-log-full

Full xorg log, same assert error as before
Comment 5 Chris Bainbridge 2016-05-17 13:53:55 UTC
Created attachment 123827 [details]
dmesg-drm-full

Corresponding dmesg log

`xrandr --output eDP1 --mode 2560x1600 --scale-from 1280x800` executed at [ 875.16 ]


After that logged errors are:

[  875.927050] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe B
[  875.927060] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe C
[  875.927069] [drm:intel_check_pch_fifo_underruns] *ERROR* pch fifo underrun on pch transcoder B

[  875.937153] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe B
[  875.937156] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe C
[  875.937165] [drm:intel_check_pch_fifo_underruns] *ERROR* pch fifo underrun on pch transcoder B

[  875.950244] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe C

[  876.503832] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe B
[  876.503836] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe C
[  876.503844] [drm:intel_check_pch_fifo_underruns] *ERROR* pch fifo underrun on pch transcoder B

[  876.546722] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe B
[  876.546726] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo underrun on pipe C
[  876.546734] [drm:intel_check_pch_fifo_underruns] *ERROR* pch fifo underrun on pch transcoder B
[  876.546740] [drm:intel_check_pch_fifo_underruns] *ERROR* pch fifo underrun on pch transcoder C
Comment 6 Jani Saarinen 2016-12-09 10:57:45 UTC
Reporter, still issue seen?
Comment 7 Chris Bainbridge 2016-12-13 00:25:25 UTC
Yes 4.9.0 hangs Xorg on "xrandr --output eDP1 --mode 2560x1600 --scale-from 1280x800"
Comment 8 Jani Saarinen 2017-03-08 07:59:01 UTC
With latest atomic and watermark work done, still valid using drm-tip?
Comment 9 Jani Saarinen 2017-05-22 09:44:06 UTC
Chris, is issue still valid?
Comment 10 Jani Saarinen 2017-05-24 05:50:49 UTC
No feedback, closing.


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.