Bug 76269 - xrandr shows no output and exits with error if using intel-virtual-output with rotated display
Summary: xrandr shows no output and exits with error if using intel-virtual-output wit...
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-17 14:49 UTC by Kirill Müller
Modified: 2014-03-24 09:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (130.27 KB, text/plain)
2014-03-18 16:18 UTC, Kirill Müller
no flags Details

Description Kirill Müller 2014-03-17 14:49:07 UTC
When I use intel-virtual-output with rotated display, calling xrandr without parameters shows the following:

xrandr: output VIRTUAL5 cannot use rotation "left" reflection "none"

Here's the output of `DISPLAY=:8 xrandr` with rotation enabled (tri-head, DP-2 is rotated):

Screen 0: minimum 8 x 8, current 4720 x 1920, maximum 16384 x 16384
VGA-0 disconnected primary (normal left inverted right x axis y axis)
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
DP-2 connected 1200x1920+1920+0 left (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

Here's the output of `xrandr` with rotation temporarily disabled:

Screen 0: minimum 320 x 200, current 5440 x 1200, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900       60.0*+   40.0  
   1440x900       59.9  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected
VIRTUAL2 disconnected
VIRTUAL3 disconnected
VIRTUAL4 connected 1920x1200+1600+0 0mm x 0mm
   VIRTUAL4.639-1920x1200   60.0* 
   VIRTUAL4.640-1920x1080   60.0  
   VIRTUAL4.641-1680x1050   60.0  
   VIRTUAL4.642-1600x1200   60.0  
   1440x900       59.9  
   VIRTUAL4.644-1280x1024   60.0  
   VIRTUAL4.645-1280x960   60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
VIRTUAL5 connected 1920x1200+3520+0 0mm x 0mm
   VIRTUAL4.639-1920x1200   60.0* 
   VIRTUAL4.640-1920x1080   60.0  
   VIRTUAL4.641-1680x1050   60.0  
   VIRTUAL4.642-1600x1200   60.0  
   1440x900       59.9  
   VIRTUAL4.644-1280x1024   60.0  
   VIRTUAL4.645-1280x960   60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
VIRTUAL6 disconnected
VIRTUAL7 disconnected
VIRTUAL8 disconnected
VIRTUAL9 disconnected

I'll be glad to test the Git tip and supply more input.
Comment 1 Chris Wilson 2014-03-17 15:37:45 UTC
That looks to be too old...
Comment 2 Kirill Müller 2014-03-18 14:40:02 UTC
Sorry, forgot to `git pull`. The issue persists with "ecc20fb intel-virtual-output: Discard unwanted events from the mouse recorder", and also with "dc66e66 sna: Improve guard against loading palettes whilst headless". Posting updated output of DISPLAY=:8 xrandr

Screen 0: minimum 8 x 8, current 3120 x 1920, maximum 16384 x 16384
VGA-0 disconnected primary (normal left inverted right x axis y axis)
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
DP-2 connected 1200x1920+1920+0 left (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

and xrandr with only two displays:

Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900       60.0*+   40.0  
   1440x900       59.9  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected
VIRTUAL2 disconnected
VIRTUAL3 disconnected
VIRTUAL4 connected 1920x1200+1600+0 0mm x 0mm
   VIRTUAL4.639-1920x1200   60.0* 
   VIRTUAL4.640-1920x1080   60.0  
   VIRTUAL4.641-1680x1050   60.0  
   VIRTUAL4.642-1600x1200   60.0  
   1440x900       59.9  
   VIRTUAL4.644-1280x1024   60.0  
   VIRTUAL4.645-1280x960   60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
VIRTUAL5 connected
   VIRTUAL4.639-1920x1200   60.0  
   VIRTUAL4.640-1920x1080   60.0  
   VIRTUAL4.641-1680x1050   60.0  
   VIRTUAL4.642-1600x1200   60.0  
   1440x900       59.9  
   VIRTUAL4.644-1280x1024   60.0  
   VIRTUAL4.645-1280x960   60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
VIRTUAL6 disconnected
VIRTUAL7 disconnected
VIRTUAL8 disconnected
VIRTUAL9 disconnected
Comment 3 Chris Wilson 2014-03-18 15:12:18 UTC
Ok, this looks to be current then. Do you mind recompiling the ddx with ./configure --enable-debug=full and attaching the Xorg.0.log after setting up the remote displays and triggering the xrandr error?
Comment 4 Chris Wilson 2014-03-18 15:13:35 UTC
(In reply to comment #2)
> Sorry, forgot to `git pull`. The issue persists with "ecc20fb
> intel-virtual-output: Discard unwanted events from the mouse recorder", and
> also with "dc66e66 sna: Improve guard against loading palettes whilst
> headless".
> and xrandr with only two displays:
> 
> Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 32767 x 32767

Oops, should have actually read the output first. This is an old ddx, the current xf86-video-intel.git will read minimum 8x8, maximum 32767x32767.
Comment 5 Kirill Müller 2014-03-18 16:18:47 UTC
Created attachment 96011 [details]
Xorg.0.log

I have just reinstalled from master, but to me it looks like the packaged version takes precedence -- rather unintuitive, I'd guess.?

Anyway, attaching Xorg.0.log.
Comment 6 Chris Wilson 2014-03-18 16:36:14 UTC
(In reply to comment #5)
> Created attachment 96011 [details]
> Xorg.0.log
> 
> I have just reinstalled from master, but to me it looks like the packaged
> version takes precedence -- rather unintuitive, I'd guess.?

Yeah, it's an oddity. ./configure by defaults installs into /usr/local/, but X doesn't look in /usr/local/ first. If you use ./configure --prefix=/usr $foo it will overwrite the /usr/lib/xorg/modules/intel_drv.so. Then the next time you install the Ubuntu package it will restore it back to system defaults. (Or apt-get reinstall xserver-xorg-video-intel)
Comment 7 Kirill Müller 2014-03-24 09:02:31 UTC
Does not occur when using Git tip of xserver-xorg-video-intel installed by `./configure --prefix=/usr`.
Comment 8 Chris Wilson 2014-03-24 09:03:38 UTC
Good to know, as this bug had me worried!


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.