Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

VESA driver (GSOC 2014)

Mailing-list reports

Report #1, Report #2, Report #3, Report #4

compctl utility

Usage

compctl [comp/ctl node] <command> [<arguments…>]

If the first optional parameter — compositor control node — is omitted, comp:0/ctl is used

Commands:

  • list-vp — Enumerate viewports attached to compositor
  • list-modes <viewport id> — Enumerate modes of selectet viewport
  • set-mode <viewport id> <mode index> — Set mode on viewport

Example

List viewports in given compositor.

/ # compctl list-vp
id        name
54        devices/\virt\fb\vsl0

List viewport modes. Output is truncated. Сurrent mode marked by asterisk, default mode — by [default].

/ # compctl list-modes 54
index     properties
1         640x480 0.00 Hz
...
14        1024x768 0.00 Hz
...
37        1920x1080 0.00 Hz *     [default]
...

Switch to a different mode.

/ # compctl set-mode 54 14
Last modified 4 years ago Last modified on 2014-08-15T23:06:07Z