RandR 1.5 Monitors: "No monitor named '...'"

Nathan Schulte nmschulte at gmail.com
Mon Sep 12 03:29:19 UTC 2016


I'm using X.org w/ Debian Sid:

> nmschulte at desmas-l:~$ Xorg -version
>
> X.Org X Server 1.18.4
> Release Date: 2016-07-19
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
> Current Operating System: Linux desmas-l 4.7.0-1-amd64 #1 SMP Debian 4.7.2-1 (2016-08-28) x86_64
> Kernel command line: BOOT_IMAGE=/vmlinuz-4.7.0-1-amd64 root=UUID=f5ba8b5c-63aa-4a67-a07c-dd8d3297b2d3 ro quiet i915.enable_dp_mst=0
> Build Date: 06 September 2016  01:32:44PM
> xorg-server 2:1.18.4-2 (https://www.debian.org/support)
> Current version of pixman: 0.33.6
> 	Before reporting problems, check http://wiki.x.org
> 	to make sure that you have the latest version.

I'm playing around with the new Monitors support which came with RandR 
1.5 support.  Thanks for this awesome kit; it's extremely useful, and 
awesome that there's full-stack support for this virtualization concept 
finally.

Anyway, it seems I've been able to make RandR very confused; I cannot 
delete a monitor which xrandr tells me exists:

> nmschulte at desmas-l:~$ xrandr --listmonitors
> Monitors: 2
>  0: +*eDP1 1920/340x1080/190+0+0  eDP1
>  1: dp2_0 0/0x0/0+0+0
> nmschulte at desmas-l:~$ xrandr --delmonitor dp2_0
> No monitor named 'dp2_0'
> nmschulte at desmas-l:~$ xrandr --setmonitor dp2_0 auto eDP1
> output list eDP1
> add monitor eDP1
> output name eDP1
> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  140 (RANDR)
>   Minor opcode of failed request:  43 ()
>   Value in failed request:  0x2c0
>   Serial number of failed request:  43
>   Current serial number in output stream:  44
> nmschulte at desmas-l:~$ xrandr --listmonitors
> Monitors: 2
>  0: +*eDP1 1920/340x1080/190+0+0  eDP1
>  1: dp2_0 0/0x0/0+0+0

Below is my setup; this is on a laptop with Intel Haswell / Intel HD 
4600 graphics, as well as an AMD Radeon HD 8970M gpu (no heads; render 
offload hybrid graphics setup).

> nmschulte at desmas-l:~$ xrandr
> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
> eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
>    1920x1080     60.00*+  59.93    50.00
>    1680x1050     59.95    59.88
>    1600x1024     60.17
>    1400x1050     59.98
>    1600x900      60.00
>    1280x1024     60.02
>    1440x900      59.89
>    1280x960      60.00
>    1368x768      60.00
>    1360x768      59.80    59.96
>    1152x864      60.00
>    1280x720      60.00
>    1024x768      60.00
>    1024x576      60.00
>    960x540       60.00
>    800x600       60.32    56.25
>    864x486       60.00
>    640x480       59.94
>    720x405       60.00
>    640x360       60.00
> DP1 disconnected (normal left inverted right x axis y axis)
> DP2 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)
> HDMI3 disconnected (normal left inverted right x axis y axis)
> VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Also, can anyone explain the VIRTUAL1 output?  I wonder why it exists, 
what purpose it serves.

As well, this laptop "only" has three external output connectors; on 
mini DisplayPort, one DisplayPort, and one HDMI.  Do the two other HDMI 
outputs show in the list because the DisplayPort connectors are 
dual-mode DisplayPort / DisplayPort++?  If so, is there any part of the 
stack that can communicate this (to user-space)?  I don't believe it's 
possible to use the HDMI and DP outputs at the same time for a single 
DP++ port, so it's somewhat confusing that they're listed in the list, 
if what I'm suggesting above is the case.

Thanks.

--
Nate


More information about the xorg mailing list