[Intel-gfx] Intel Driver and 4K video output

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 23 02:22:31 PDT 2015


On Thu, Apr 23, 2015 at 10:39:54AM +0200, Lukas Hejtmanek wrote:
> Chris,
> 
> On Wed, Apr 22, 2015 at 03:27:51PM +0100, Chris Wilson wrote:
> > Try
> > $ xrandr \
> > 	--output eDP1 --primary --preferred \
> > 	--output DP1-8 --preferred --right-of eDP1 \
> > 	--output DP1-9 --preferred --right-of DP1-8
> 
> anubis: ~ $ xrandr \
> Continue>         --output eDP1 --primary --preferred \
> Continue>         --output DP1-8 --preferred --right-of eDP1 \
> Continue>         --output DP1-9 --preferred --right-of DP1-8
> xrandr: Configure crtc 1 failed
> 
> I can turn on either DP1-8 *or* DP1-9. But not both. No matter which one
> I start, the other one fails with crtc 1 failed.
> 
> below I provide driver version:
> intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20141121
> intel(0): SNA compiled from 2.99.916-145-g6c2707d
> 
> and this is from log while trying set the output:
> [116082.906] (II) intel(0): Enabled output DP2-1
> [116082.906] (II) intel(0): Enabled output DP2-2
> [116082.906] (II) intel(0): Enabled output DP2-3
> [116082.906] (II) intel(0): Enabled output DP1-8
> [116082.907] (II) intel(0): Enabled output DP1-9
> [116082.995] (II) intel(0): resizing framebuffer to 6400x2160
> [116083.043] (II) intel(0): switch to mode 1920x2160 at 60.0 on DP1-8, DP1-9 using pipe 1, position (2560, 0), rotation normal, reflection none
> [116083.047] (EE) intel(0): failed to set mode: Invalid argument [22]
> [116083.380] (II) intel(0): resizing framebuffer to 2560x1440
> [116083.393] (II) intel(0): switch to mode 2560x1440 at 60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
> [116164.838] (II) intel(0): resizing framebuffer to 4480x2160
> [116164.880] (II) intel(0): switch to mode 1920x2160 at 60.0 on DP1-8 using pipe 1, position (2560, 0), rotation normal, reflection none
> [116206.941] (II) intel(0): resizing framebuffer to 2560x1440
> [116212.223] (II) intel(0): resizing framebuffer to 2560x2160
> [116212.243] (II) intel(0): switch to mode 1920x2160 at 60.0 on DP1-9 using pipe 1, position (0, 0), rotation normal, reflection none
> [116241.928] (II) intel(0): switch to mode 1920x2160 at 60.0 on DP1-8, DP1-9 using pipe 1, position (0, 0), rotation normal, reflection none
> [116242.255] (EE) intel(0): failed to set mode: Invalid argument [22]
> [116242.577] (II) intel(0): switch to mode 2560x1440 at 60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
> [116243.364] (II) intel(0): switch to mode 1920x2160 at 60.0 on DP1-9 using pipe 1, position (0, 0), rotation normal, reflection none
> [116275.265] (II) intel(0): resizing framebuffer to 2560x1440

Weird, xrandr first tries to setup DP1-8 on the same crtc as DP1-9,
which despite the kernel setting possible_clones, is not a valid clone.
Let's be even more explicit then....

$ xrandr --output eDP1 --off --output DP1-8 --off --output DP1-9 --off ; \
  xrandr \
	--output eDP1 --primary --preferred --crtc 0 \
	--output DP1-8 --preferred --right-of eDP1 --crtc 1 \
	--output DP1-9 --preferred --right-of DP1-8 --crtc 2

-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list