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

2015-04-27 Thread Lukas Hejtmanek
On Mon, Apr 27, 2015 at 02:26:36PM +0100, Chris Wilson wrote: > Hmm, you probably could... > > Try > xrandr --newmode v4k 712.34 3840 4152 4576 5312 2160 2161 2164 2235 -HSync > +Vsync > xrandr --addmode VIRTUAL1 v4k > xrandr --output VIRTUAL1 --mode v4k well, this is a half way through ;) xf

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

2015-04-27 Thread Chris Wilson
On Mon, Apr 27, 2015 at 01:19:01PM +0200, Lukas Hejtmanek wrote: > On Fri, Apr 24, 2015 at 02:15:09PM +0100, Chris Wilson wrote: > > Check panning afterwards? What does xrandr --verbose say before/after? > > even with explicit: > xrandr --output eDP1 --off --fb 3840x2160 --panning 3840x2160 > > n

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

2015-04-27 Thread Lukas Hejtmanek
On Fri, Apr 24, 2015 at 02:15:09PM +0100, Chris Wilson wrote: > Check panning afterwards? What does xrandr --verbose say before/after? even with explicit: xrandr --output eDP1 --off --fb 3840x2160 --panning 3840x2160 no luck. looks like you need at least one outout that keeps fb/panning, disconn

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

2015-04-24 Thread Chris Wilson
On Fri, Apr 24, 2015 at 03:04:37PM +0200, Lukas Hejtmanek wrote: > On Fri, Apr 24, 2015 at 01:24:56PM +0100, Chris Wilson wrote: > > iirc xrandr automatically chooses a fb size for your based on the > > remaining outputs. > > > > If you add --fb 3840x2160 to each of your invocations, it shouldn't

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

2015-04-24 Thread Lukas Hejtmanek
On Fri, Apr 24, 2015 at 01:24:56PM +0100, Chris Wilson wrote: > iirc xrandr automatically chooses a fb size for your based on the > remaining outputs. > > If you add --fb 3840x2160 to each of your invocations, it shouldn't > touch the screen size. Hopefully. > -Chris if you meant something like t

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

2015-04-24 Thread Chris Wilson
On Fri, Apr 24, 2015 at 02:19:25PM +0200, Lukas Hejtmanek wrote: > Chris, > > On Thu, Apr 23, 2015 at 11:19:50AM +0100, Chris Wilson wrote: > > Anything is possible... Considering that the two halves are different > > sizes to the eDP, you can either scale the DP or scale the panel. You > > can tr

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

2015-04-24 Thread Lukas Hejtmanek
Chris, On Thu, Apr 23, 2015 at 11:19:50AM +0100, Chris Wilson wrote: > Anything is possible... Considering that the two halves are different > sizes to the eDP, you can either scale the DP or scale the panel. You > can try something like well, if anything is possible, can I keep virtual size 4k w

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

2015-04-23 Thread Lukas Hejtmanek
On Thu, Apr 23, 2015 at 11:19:50AM +0100, Chris Wilson wrote: > I probably have the scaling inverted. What should also work, but we may > have to beat the kernel up to fix a few bugs... > > xrandr --addmode eDP1 3840x2160 \ > --output eDP1 --primary --mode 3840x2160 --crtc 0 \ > --outp

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

2015-04-23 Thread Chris Wilson
On Thu, Apr 23, 2015 at 12:03:24PM +0200, Lukas Hejtmanek wrote: > On Thu, Apr 23, 2015 at 10:22:31AM +0100, Chris Wilson wrote: > > $ xrandr --output eDP1 --off --output DP1-8 --off --output DP1-9 --off ; \ > > xrandr \ > > --output eDP1 --primary --preferred --crtc 0 \ > > --output DP1-

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

2015-04-23 Thread Lukas Hejtmanek
On Thu, Apr 23, 2015 at 10:22:31AM +0100, Chris Wilson wrote: > $ 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 --prefe

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

2015-04-23 Thread Chris Wilson
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 -

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

2015-04-23 Thread Lukas Hejtmanek
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 --pri

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

2015-04-22 Thread Chris Wilson
On Wed, Apr 22, 2015 at 04:07:47PM +0200, Lukas Hejtmanek wrote: > Hello, > > not sure whether this list is send-patch-only or for support as well. > > However, I have Lenovo X1 Carbon 3rd gen, with 2560x1440 local panel and 4k > (3840x2160) external display connected via display port (directly o

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

2015-04-22 Thread Lukas Hejtmanek
Hello, not sure whether this list is send-patch-only or for support as well. However, I have Lenovo X1 Carbon 3rd gen, with 2560x1440 local panel and 4k (3840x2160) external display connected via display port (directly on X1). It has Intel HD 5500 graphics. using xrandr, I can see: xrandr Scre