Changes between Version 1 and Version 2 of VESA
- Timestamp:
- 2014-08-15T23:06:07Z (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VESA
v1 v2 13 13 14 14 == `compctl` utility == 15 The first parameter should be a compositor name, in form it registered to location server, `comp/:0` at this time. 16 Then you can either list viewports using `l[ist] <vp|viewports>` arguments or select viewport by id (as it listed by listing viewport command), using `<vp|viewport> {numeric id}` to perform viewport-specific operations. 17 If you selected viewport you can either list its modes using `l[ist] m[odes]` or set mode using `set {mode number}` arguments. 18 Use mode numbers from viewports list. 15 16 === Usage === 17 compctl [comp/ctl node] <command> [<arguments...>] 18 19 If the first optional parameter -- compositor control node -- is omitted, comp:0/ctl is used 20 21 Commands: 22 23 * list-vp -- Enumerate viewports attached to compositor 24 25 * list-modes <viewport id> -- Enumerate modes of selectet viewport 26 27 * set-mode <viewport id> <mode index> -- Set mode on viewport 19 28 20 29 === Example === 21 30 List viewports in given compositor. 22 31 {{{ 23 / # compctl comp/:0 l vp 24 id: 27 name: devices/\hw\vesafb\vsl0 32 / # compctl list-vp 33 id name 34 54 devices/\virt\fb\vsl0 25 35 }}} 26 36 27 List viewport modes. 37 List viewport modes. Output is truncated. Сurrent mode marked by asterisk, default mode -- by [default]. 28 38 {{{ 29 / # compctl comp/:0 vp 27 l m30 mode 0x111: 640x480 31 mode 0x112: 640x480 32 mode 0x114: 800x600 33 mode 0x117: 1024x768 34 mode 0x115: 800x600 35 mode 0x118: 1024x768 36 mode 0x11a: 1280x1024 39 / # compctl list-modes 54 40 index properties 41 1 640x480 0.00 Hz 42 ... 43 14 1024x768 0.00 Hz 44 ... 45 37 1920x1080 0.00 Hz * [default] 46 ... 37 47 }}} 38 48 39 49 Switch to a different mode. 40 50 {{{ 41 / # compctl comp/:0 vp 27 set 0x11a51 / # compctl set-mode 54 14 42 52 }}}