PROPHET/OS

NAME

displays: lists, sets and lays out the screens of every card (R13-GPU-17)

SYNOPSIS

displays [--output NAME [--mode WxH[@HZ[.D]]] [--preferred] [--pos X,Y]
         [--transform normal|90|180|270] [--primary] [--on | --off]] [--tui]

DESCRIPTION

Lists, sets and lays out the screens of every card (R13-GPU-17).

Without options it prints each output as a block: the port name, the screen its EDID names, whether something is attached, enabled, primary and settable, its modes with the preferred and the current one, and its place and turn when enabled.

--output NAME with options sets that output: a mode, the screen's preferred mode, a place in the layout, a turn, primary, on or off. A card that cannot do a thing refuses it, and the tool says so.

--tui shows the layout on the whole screen: tab picks an output, the arrows move it, m/M step its mode, r turns it, p makes it primary, o switches it on or off, enter applies and q leaves.

The calls are POS_GFX_OUTPUT_INFO and POS_GFX_OUTPUT_SET; a card without outputs of its own shows its one framebuffer as Virtual-1.

EXAMPLE

$ displays
Virtual-1 "(the screen says no name)" (card 0)
  Connected: yes
  Enabled: yes
  Primary: yes
  Settable: yes
  Modes:
    640x480 px
    800x600 px
    1024x768 px
    1280x720 px (current)
    1280x1024 px
    1600x900 px
    1920x1080 px
  Position: 0,0
  Transform: normal