* Intel Driver and 4K video output @ 2015-04-22 14:07 Lukas Hejtmanek 2015-04-22 14:27 ` Chris Wilson 0 siblings, 1 reply; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-22 14:07 UTC (permalink / raw) To: intel-gfx 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 Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767 eDP1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 310mm x 174mm 2560x1440 60.0*+ 1920x1440 60.0 1856x1392 60.0 1792x1344 60.0 1920x1200 60.0 1920x1080 59.9 1600x1200 60.0 1680x1050 60.0 59.9 1600x1024 60.2 1400x1050 60.0 1280x1024 60.0 1440x900 59.9 1280x960 60.0 1360x768 59.8 60.0 1152x864 60.0 1024x768 60.0 800x600 60.3 56.2 640x480 59.9 DP1 disconnected (normal left inverted right x axis y axis) DP1-8 connected (normal left inverted right x axis y axis) 1920x2160 60.0 + DP1-9 connected (normal left inverted right x axis y axis) 1920x2160 60.0 + 1920x1200 59.9 1920x1080 60.0 1600x1200 60.0 1680x1050 60.0 1280x1024 75.0 60.0 1280x800 59.8 1152x864 75.0 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 DP2 disconnected (normal left inverted right x axis y axis) DP2-1 connected (normal left inverted right x axis y axis) 1920x1200 60.0 + 1920x1080 60.0 1600x1200 60.0 1680x1050 59.9 1280x1024 60.0 1280x960 60.0 1024x768 60.0 800x600 60.3 640x480 60.0 720x400 70.1 DP2-2 disconnected (normal left inverted right x axis y axis) DP2-3 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) So, I suppose, I have to use MST to have 3840x2160. However, how to do it using xrandr? Is is possible to do it with xrandr 1.4? xrandr -v xrandr program version 1.4.1 Server reports RandR version 1.4 I can set auto do DP1-8 output, which works, however, display shows 1920x2160 resolution scaled to the whole screen. I cannot set auto to DP1-9: xrandr --output DP1-9 --auto xrandr: Configure crtc 1 failed So, is there a way for now to display 4k on the external monitor? -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-22 14:07 Intel Driver and 4K video output Lukas Hejtmanek @ 2015-04-22 14:27 ` Chris Wilson 2015-04-23 8:39 ` Lukas Hejtmanek 0 siblings, 1 reply; 14+ messages in thread From: Chris Wilson @ 2015-04-22 14:27 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: intel-gfx 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 on X1). > > It has Intel HD 5500 graphics. > > using xrandr, I can see: > > xrandr > Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767 > eDP1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 310mm x 174mm > 2560x1440 60.0*+ > 1920x1440 60.0 > 1856x1392 60.0 > 1792x1344 60.0 > 1920x1200 60.0 > 1920x1080 59.9 > 1600x1200 60.0 > 1680x1050 60.0 59.9 > 1600x1024 60.2 > 1400x1050 60.0 > 1280x1024 60.0 > 1440x900 59.9 > 1280x960 60.0 > 1360x768 59.8 60.0 > 1152x864 60.0 > 1024x768 60.0 > 800x600 60.3 56.2 > 640x480 59.9 > DP1 disconnected (normal left inverted right x axis y axis) > DP1-8 connected (normal left inverted right x axis y axis) > 1920x2160 60.0 + > DP1-9 connected (normal left inverted right x axis y axis) > 1920x2160 60.0 + > 1920x1200 59.9 > 1920x1080 60.0 > 1600x1200 60.0 > 1680x1050 60.0 > 1280x1024 75.0 60.0 > 1280x800 59.8 > 1152x864 75.0 > 1024x768 75.1 60.0 > 800x600 75.0 60.3 > 640x480 75.0 60.0 > 720x400 70.1 > DP2 disconnected (normal left inverted right x axis y axis) > DP2-1 connected (normal left inverted right x axis y axis) > 1920x1200 60.0 + > 1920x1080 60.0 > 1600x1200 60.0 > 1680x1050 59.9 > 1280x1024 60.0 > 1280x960 60.0 > 1024x768 60.0 > 800x600 60.3 > 640x480 60.0 > 720x400 70.1 > DP2-2 disconnected (normal left inverted right x axis y axis) > DP2-3 disconnected (normal left inverted right x axis y axis) > HDMI1 disconnected (normal left inverted right x axis y axis) > HDMI2 disconnected (normal left inverted right x axis y axis) > VIRTUAL1 disconnected (normal left inverted right x axis y axis) > > So, I suppose, I have to use MST to have 3840x2160. However, how to do it using xrandr? > Is is possible to do it with xrandr 1.4? > > xrandr -v > xrandr program version 1.4.1 > Server reports RandR version 1.4 > > I can set auto do DP1-8 output, which works, however, display shows 1920x2160 > resolution scaled to the whole screen. > > I cannot set auto to DP1-9: > > xrandr --output DP1-9 --auto > xrandr: Configure crtc 1 failed > > So, is there a way for now to display 4k on the external monitor? Try $ xrandr \ --output eDP1 --primary --preferred \ --output DP1-8 --preferred --right-of eDP1 \ --output DP1-9 --preferred --right-of DP1-8 -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-22 14:27 ` Chris Wilson @ 2015-04-23 8:39 ` Lukas Hejtmanek 2015-04-23 9:22 ` Chris Wilson 0 siblings, 1 reply; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-23 8:39 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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@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@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@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@60.0 on DP1-9 using pipe 1, position (0, 0), rotation normal, reflection none [116241.928] (II) intel(0): switch to mode 1920x2160@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@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none [116243.364] (II) intel(0): switch to mode 1920x2160@60.0 on DP1-9 using pipe 1, position (0, 0), rotation normal, reflection none [116275.265] (II) intel(0): resizing framebuffer to 2560x1440 -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-23 8:39 ` Lukas Hejtmanek @ 2015-04-23 9:22 ` Chris Wilson 2015-04-23 10:03 ` Lukas Hejtmanek 0 siblings, 1 reply; 14+ messages in thread From: Chris Wilson @ 2015-04-23 9:22 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: intel-gfx 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@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@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@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@60.0 on DP1-9 using pipe 1, position (0, 0), rotation normal, reflection none > [116241.928] (II) intel(0): switch to mode 1920x2160@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@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none > [116243.364] (II) intel(0): switch to mode 1920x2160@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 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-23 9:22 ` Chris Wilson @ 2015-04-23 10:03 ` Lukas Hejtmanek 2015-04-23 10:19 ` Chris Wilson 0 siblings, 1 reply; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-23 10:03 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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 --preferred --right-of DP1-8 --crtc 2 well, this one works! Two caveats, have to switch DP1-8 and DP1-9, otherwise, I have switched sides. However, I would like to have a clone. But this seems to be a bit tricky, I can say same-as, bud not as a conjunction of both DP1-8 and DP1-9. Is there any possibility to mirror eDP to both DP1-8 and DP1-9? Or the best I can get is independent screens? On NVIDIA, I had to setup xinerama to have a big single screen. However, with xinerama, xrandr is inoperational. So no luck here? -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-23 10:03 ` Lukas Hejtmanek @ 2015-04-23 10:19 ` Chris Wilson 2015-04-23 10:36 ` Lukas Hejtmanek 2015-04-24 12:19 ` Lukas Hejtmanek 0 siblings, 2 replies; 14+ messages in thread From: Chris Wilson @ 2015-04-23 10:19 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: intel-gfx 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-8 --preferred --right-of eDP1 --crtc 1 \ > > --output DP1-9 --preferred --right-of DP1-8 --crtc 2 > > well, this one works! > > Two caveats, have to switch DP1-8 and DP1-9, otherwise, I have switched sides. > > However, I would like to have a clone. But this seems to be a bit tricky, > I can say same-as, bud not as a conjunction of both DP1-8 and DP1-9. > > Is there any possibility to mirror eDP to both DP1-8 and DP1-9? Or the best > I can get is independent screens? 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 xrandr \ --output eDP1 --primary --preferred --crtc 0 \ --output DP1-8 --preferred --scale 1.3333x0.6666 --position 1280x0 --crtc 1 \ --output DP1-9 --preferred --scale 1.3333x0.6666 --position 0x0 --crtc 2 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 \ --output DP1-9 --preferred --position 0x0 -crtc 1 \ --output DP1-8 --preferred --position 1920x0 -crtc 1 \ That way we should be able to use the panel fitter for hardware downscaling. But there are all sorts of bandwidth caveats that I may have violated, as well as the code being untested! However, the mouse will be the wrong size. :| > On NVIDIA, I had to setup xinerama to have a big single screen. However, with > xinerama, xrandr is inoperational. So no luck here? It's being worked on. The concept of logical screens is being brought to xrandr, along with exporting enough information for display mangers to automatically reconstruct the logical monitor from the tiles. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-23 10:19 ` Chris Wilson @ 2015-04-23 10:36 ` Lukas Hejtmanek 2015-04-24 12:19 ` Lukas Hejtmanek 1 sibling, 0 replies; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-23 10:36 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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 \ > --output DP1-9 --preferred --position 0x0 -crtc 1 \ > --output DP1-8 --preferred --position 1920x0 -crtc 1 \ > > That way we should be able to use the panel fitter for hardware > downscaling. But there are all sorts of bandwidth caveats that I may have > violated, as well as the code being untested! However, the mouse will be > the wrong size. :| well, this one does not work, but I found this command working like a charm: xrandr --output eDP1 --panning 3840x2160 xrandr --output DP1-9 --preferred --pos 0x0 --crtc 1 --output DP1-8 --preferred --pos 1920x0 --crtc 2 than I have one big screen as desired and window manager is completely happy with it, i.e., window maximizing really maximizes the window to 3840x2160. So really happy with it. Maybe, one day someone proposes a window manager that rearrange windows on resolution change ;) -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-23 10:19 ` Chris Wilson 2015-04-23 10:36 ` Lukas Hejtmanek @ 2015-04-24 12:19 ` Lukas Hejtmanek 2015-04-24 12:24 ` Chris Wilson 1 sibling, 1 reply; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-24 12:19 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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 while display is turned off? What I do is: xrandr --output eDP1 --panning 3840x2160 xrandr --output DP1-9 --preferred --pos 0x0 --crtc 1 --output DP1-8 --preferred --pos 1920x0 --crtc 2 xrandr --output eDP1 --off if I do not turn eDP1 off, things work pretty well. However, as soon as I turn eDP1 off, window manager thinks I have two separate screens 1920x2160, e.g., xfce panel shrinks to a half of size. I do all this to switch desktop to external diplay while in office. So I would like to have eDP1 turned off and use only the external display while being able to switch them on the fly using xrandr. -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-24 12:19 ` Lukas Hejtmanek @ 2015-04-24 12:24 ` Chris Wilson 2015-04-24 13:04 ` Lukas Hejtmanek 0 siblings, 1 reply; 14+ messages in thread From: Chris Wilson @ 2015-04-24 12:24 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: intel-gfx 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 try something like > > well, if anything is possible, can I keep virtual size 4k while display is > turned off? > > What I do is: > xrandr --output eDP1 --panning 3840x2160 > xrandr --output DP1-9 --preferred --pos 0x0 --crtc 1 --output DP1-8 > --preferred --pos 1920x0 --crtc 2 > xrandr --output eDP1 --off > > if I do not turn eDP1 off, things work pretty well. However, as soon as I turn > eDP1 off, window manager thinks I have two separate screens 1920x2160, e.g., > xfce panel shrinks to a half of size. > > I do all this to switch desktop to external diplay while in office. So I would > like to have eDP1 turned off and use only the external display while being > able to switch them on the fly using xrandr. 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 -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-24 12:24 ` Chris Wilson @ 2015-04-24 13:04 ` Lukas Hejtmanek 2015-04-24 13:15 ` Chris Wilson 0 siblings, 1 reply; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-24 13:04 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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 this: xrandr --output eDP1 --off --fb 3840x2160 then nope, logical screen size is shrunk to 1920x2160. The logical means, that maximizing windows results in a half wide windows and the same is for xfce panel. The display is 3840x2160 as expected. Moreover, if I unplug display port cable while eDP1 is off, I don't have any screen and it is hard to get at least some display. I thought that this is kind of hotplug, i.e., something happens on plug/unplung and that the result is different of all black screen. Also, plugging display port cable back does not restore display at least on the external monitor, so I have both of them black only.. -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-24 13:04 ` Lukas Hejtmanek @ 2015-04-24 13:15 ` Chris Wilson 2015-04-27 11:19 ` Lukas Hejtmanek 0 siblings, 1 reply; 14+ messages in thread From: Chris Wilson @ 2015-04-24 13:15 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: intel-gfx 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 > > touch the screen size. Hopefully. > > -Chris > > if you meant something like this: > xrandr --output eDP1 --off --fb 3840x2160 > > then nope, logical screen size is shrunk to 1920x2160. > > The logical means, that maximizing windows results in a half wide windows and > the same is for xfce panel. The display is 3840x2160 as expected. Check panning afterwards? What does xrandr --verbose say before/after? > Moreover, if I unplug display port cable while eDP1 is off, I don't have any > screen and it is hard to get at least some display. I thought that this is > kind of hotplug, i.e., something happens on plug/unplung and that the result > is different of all black screen. Also, plugging display port cable back does > not restore display at least on the external monitor, so I have both of them > black only.. MST is special in this regard as the outputs do disappear. hotplug is ordinarily handled in userspace (so you need a daemon to restore the configuration and the X setup should only change due to RandR requests.) Except that I detect an error and disable unused functions... (And tell the clients to do something about the new config.) Let's just say we haven't quite got this perfectly polished yet. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-24 13:15 ` Chris Wilson @ 2015-04-27 11:19 ` Lukas Hejtmanek 2015-04-27 13:26 ` Chris Wilson 0 siblings, 1 reply; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-27 11:19 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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, disconnected are not counted. pitty I cannot use VIRTUAL1 for this purpose. xrandr --verbose Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767 eDP1 connected (normal left inverted right x axis y axis) Identifier: 0x43 Timestamp: 308974 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: EDID: 00ffffffffffff0030e4190400000000 00170103a01f1178024295a15a579427 0d505400000001010101010101010101 010101010101e45c00a0a0a011503020 230036ae1000001a0000000000000000 00000000000000000000000000fe004c 4720446973706c61790a2020000000fe 004c503134305148312d5350423100bc BACKLIGHT: 852 range: (0, 852) Backlight: 852 range: (0, 852) scaling mode: Full aspect supported: None, Full, Center, Full aspect Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on 2560x1440 (0x4a) 237.8MHz +HSync -VSync +preferred h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 87.4KHz v: height 1440 start 1442 end 1445 total 1457 clock 60.0Hz 1920x1440 (0xdf) 234.0MHz -HSync +VSync h: width 1920 start 2048 end 2256 total 2600 skew 0 clock 90.0KHz v: height 1440 start 1441 end 1444 total 1500 clock 60.0Hz 1856x1392 (0xe0) 218.3MHz -HSync +VSync h: width 1856 start 1952 end 2176 total 2528 skew 0 clock 86.4KHz v: height 1392 start 1393 end 1396 total 1439 clock 60.0Hz 1792x1344 (0xe1) 204.8MHz -HSync +VSync h: width 1792 start 1920 end 2120 total 2448 skew 0 clock 83.7KHz v: height 1344 start 1345 end 1348 total 1394 clock 60.0Hz 1920x1200 (0xe2) 154.0MHz +HSync -VSync h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 74.0KHz v: height 1200 start 1203 end 1209 total 1235 clock 60.0Hz 1920x1080 (0xe3) 138.5MHz +HSync -VSync h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.6KHz v: height 1080 start 1083 end 1088 total 1111 clock 59.9Hz 1600x1200 (0xe4) 162.0MHz +HSync +VSync h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.0KHz v: height 1200 start 1201 end 1204 total 1250 clock 60.0Hz 1680x1050 (0xe5) 146.2MHz -HSync +VSync h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz 1680x1050 (0xe6) 119.0MHz +HSync -VSync h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz 1600x1024 (0xe7) 103.1MHz +HSync +VSync h: width 1600 start 1600 end 1656 total 1664 skew 0 clock 62.0KHz v: height 1024 start 1024 end 1029 total 1030 clock 60.2Hz 1400x1050 (0xe8) 122.0MHz +HSync +VSync h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.9KHz v: height 1050 start 1052 end 1064 total 1082 clock 60.0Hz 1280x1024 (0xe9) 108.0MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz 1440x900 (0xea) 106.5MHz -HSync +VSync h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.9KHz v: height 900 start 903 end 909 total 934 clock 59.9Hz 1280x960 (0xeb) 108.0MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz v: height 960 start 961 end 964 total 1000 clock 60.0Hz 1360x768 (0xec) 84.8MHz -HSync +VSync h: width 1360 start 1432 end 1568 total 1776 skew 0 clock 47.7KHz v: height 768 start 771 end 781 total 798 clock 59.8Hz 1360x768 (0xed) 72.0MHz +HSync -VSync h: width 1360 start 1408 end 1440 total 1520 skew 0 clock 47.4KHz v: height 768 start 771 end 781 total 790 clock 60.0Hz 1152x864 (0xee) 81.6MHz -HSync +VSync h: width 1152 start 1216 end 1336 total 1520 skew 0 clock 53.7KHz v: height 864 start 865 end 868 total 895 clock 60.0Hz 1024x768 (0xef) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 800x600 (0xf0) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 800x600 (0xf1) 36.0MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz v: height 600 start 601 end 603 total 625 clock 56.2Hz 640x480 (0xf2) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 59.9Hz DP1 disconnected (normal left inverted right x axis y axis) Identifier: 0x44 Timestamp: 308974 Subpixel: unknown Clones: HDMI1 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 DP1-8 connected 1920x2160+1920+0 (0xf5) normal (normal left inverted right x axis y axis) 527mm x 296mm Identifier: 0xf3 Timestamp: 308974 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: DP1-9 CRTC: 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: EDID: 00ffffffffffff0010ac9c404c363031 13180104b5351e783a1df5ae4f35b325 0d505400000001010101010101010101 0101010101014d6c80a070703e803020 3a000f282100001a000000ff00575752 48433435383130364c0a000000fc0044 454c4c20555032343134510a000000fd 001d4b1f8c1e000a2020202020200138 7012790000120016821010007f076f08 000000000044454c9c404c3630310000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000001a90 Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on 1920x2160 (0xf5) 277.2MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 133.3KHz v: height 2160 start 2163 end 2173 total 2222 clock 60.0Hz DP1-9 connected 1920x2160+0+0 (0xf5) normal (normal left inverted right x axis y axis) 527mm x 296mm Identifier: 0xf4 Timestamp: 308974 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: DP1-8 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: EDID: 00ffffffffffff0010ac9c404c363031 13180104b5351e783a1df5ae4f35b325 0d5054a54b008100b300d100714fa940 8180d1c001014d6c80a070703e803020 3a000f282100001a000000ff00575752 48433435383130364c0a000000fc0044 454c4c20555032343134510a000000fd 001d4b1f8c1e000a2020202020200116 7012790000120016821000007f076f08 000000000044454c9c404c3630310000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000002a90 Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on 1920x2160 (0xf5) 277.2MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 133.3KHz v: height 2160 start 2163 end 2173 total 2222 clock 60.0Hz 1920x1200 (0xf6) 193.2MHz -HSync +VSync h: width 1920 start 2056 end 2256 total 2592 skew 0 clock 74.6KHz v: height 1200 start 1203 end 1209 total 1245 clock 59.9Hz 1920x1080 (0xf7) 172.8MHz -HSync +VSync h: width 1920 start 2040 end 2248 total 2576 skew 0 clock 67.1KHz v: height 1080 start 1081 end 1084 total 1118 clock 60.0Hz 1600x1200 (0xe4) 162.0MHz +HSync +VSync h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.0KHz v: height 1200 start 1201 end 1204 total 1250 clock 60.0Hz 1680x1050 (0xe5) 146.2MHz -HSync +VSync h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz 1280x1024 (0xf8) 135.0MHz +HSync +VSync h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz 1280x1024 (0xe9) 108.0MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz 1280x800 (0xf9) 83.5MHz +HSync -VSync h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.7KHz v: height 800 start 803 end 809 total 831 clock 59.8Hz 1152x864 (0xfa) 108.0MHz +HSync +VSync h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.5KHz v: height 864 start 865 end 868 total 900 clock 75.0Hz 1024x768 (0xfb) 78.8MHz +HSync +VSync h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.1KHz v: height 768 start 769 end 772 total 800 clock 75.1Hz 1024x768 (0xef) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 800x600 (0xfc) 49.5MHz +HSync +VSync h: width 800 start 816 end 896 total 1056 skew 0 clock 46.9KHz v: height 600 start 601 end 604 total 625 clock 75.0Hz 800x600 (0xf0) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 640x480 (0xfd) 31.5MHz -HSync -VSync h: width 640 start 656 end 720 total 840 skew 0 clock 37.5KHz v: height 480 start 481 end 484 total 500 clock 75.0Hz 640x480 (0xfe) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 60.0Hz 720x400 (0xff) 28.3MHz -HSync +VSync h: width 720 start 738 end 846 total 900 skew 0 clock 31.5KHz v: height 400 start 412 end 414 total 449 clock 70.1Hz DP2 disconnected (normal left inverted right x axis y axis) Identifier: 0x45 Timestamp: 308974 Subpixel: unknown Clones: HDMI2 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 HDMI1 disconnected (normal left inverted right x axis y axis) Identifier: 0x46 Timestamp: 308974 Subpixel: unknown Clones: DP1 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 HDMI2 disconnected (normal left inverted right x axis y axis) Identifier: 0x47 Timestamp: 308974 Subpixel: unknown Clones: DP2 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 VIRTUAL1 disconnected (normal left inverted right x axis y axis) Identifier: 0x48 Timestamp: 308974 Subpixel: no subpixels Clones: CRTCs: 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-27 11:19 ` Lukas Hejtmanek @ 2015-04-27 13:26 ` Chris Wilson 2015-04-27 11:39 ` Lukas Hejtmanek 0 siblings, 1 reply; 14+ messages in thread From: Chris Wilson @ 2015-04-27 13:26 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: intel-gfx 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 > > no luck. > > looks like you need at least one outout that keeps fb/panning, disconnected > are not counted. > > pitty I cannot use VIRTUAL1 for this purpose. 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 -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Intel Driver and 4K video output 2015-04-27 13:26 ` Chris Wilson @ 2015-04-27 11:39 ` Lukas Hejtmanek 0 siblings, 0 replies; 14+ messages in thread From: Lukas Hejtmanek @ 2015-04-27 11:39 UTC (permalink / raw) To: Chris Wilson, intel-gfx 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 ;) xfce-panel recognizes a single whole screen. openbox does not. I.e., xfce-panel spans whole width, maximized windows span half screen size. Slightly wondering how is this even possible (different views with different apps). Maybe I should be satisfied with this :) Mainly because the DPMS thing is a bit worse than this and not wanting you to get exhausted because of crappy apps.. -- Lukáš Hejtmánek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2015-04-27 13:39 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-04-22 14:07 Intel Driver and 4K video output Lukas Hejtmanek 2015-04-22 14:27 ` Chris Wilson 2015-04-23 8:39 ` Lukas Hejtmanek 2015-04-23 9:22 ` Chris Wilson 2015-04-23 10:03 ` Lukas Hejtmanek 2015-04-23 10:19 ` Chris Wilson 2015-04-23 10:36 ` Lukas Hejtmanek 2015-04-24 12:19 ` Lukas Hejtmanek 2015-04-24 12:24 ` Chris Wilson 2015-04-24 13:04 ` Lukas Hejtmanek 2015-04-24 13:15 ` Chris Wilson 2015-04-27 11:19 ` Lukas Hejtmanek 2015-04-27 13:26 ` Chris Wilson 2015-04-27 11:39 ` Lukas Hejtmanek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox