#1152791 lsdisplay: Does not properly render rotated displays

#1152791#5
Date:
2026-11-01 16:31:01 UTC
From:
To:
I use a setup with two displays, the left one left-rotated, the right one
in its natural position. lsdisplay propelry renders the information about
my displays, but the presented layout is misleading, as it implies two
landscape monitors with an overlapping area:

/------------------------------------------------------------
| $ lsdisplay
| CONNECTED DISPLAYS
| ==================
|
|   HDMI-A-1     1920x1200+0+0           24"  60Hz  Dell DELL U2413      HDMI         S/N:9XMH361NAR1L    rot=left
|   DP-1         3840x2160+1200+0        28"  60Hz  Acer CB282K          DisplayPort  S/N:71378123
|
| Total: 2 displays connected
|
| LAYOUT
| ======
|
|   +--------------------------+------------------------------------------+
|   |                |         |                                          |
|   |                |         |                                          |
|   |                |         |                                          |
|   |         HDMI-A-1         |                                          |
|   |                |         |                                          |
|   |                |         |                                          |
|   |                |         |              DP-1                        |
|   +--------------------------+                                          |
|                    |                                                    |
|                    |                                                    |
|                    |                                                    |
|                    |                                                    |
|                    |                                                    |
|                    |                                                    |
|                    +----------------------------------------------------+
\------------------------------------------------------------


I would expect the layout to render something more like:

  +---------------------------------------------------------------------+
  |                |                                                    |
  |                |                                                    |
  |                |                                                    |
  |   HDMI-A-1     |                                                    |
  |                |                                                    |
  |                |                                                    |
  |                |                        DP-1                        |
  |                |                                                    |
  |                |                                                    |
  |                |                                                    |
  |                |                                                    |
  |                |                                                    |
  +----------------+                                                    |
                   |                                                    |
                   +----------------------------------------------------+

Thanks!

 — Gunnar.