1 .TH WESTON-DRM 7 "2012-11-27" "Weston __version__"
3 weston-drm \- the DRM backend for Weston
7 .B weston --backend=drm-backend.so
9 .\" ***************************************************************
11 The DRM backend is the native Weston backend for systems that support
12 the Linux kernel DRM, kernel mode setting (KMS), and evdev input devices.
13 It is the recommended backend for desktop PCs, and aims to provide
14 the full Wayland experience with the "every frame is perfect" concept.
15 It also relies on the Mesa GBM interface.
19 runs without any underlying windowing system. The backend uses the
20 Linux KMS API to detect connected monitors. Monitor hot-plugging is
21 supported. Input devices are found automatically by
23 Compositing happens mainly in GL\ ES\ 2, initialized through EGL. It
24 is also possible to take advantage of hardware cursors and overlays,
25 when they exist and are functional. Full-screen surfaces will be
26 scanned out directly without compositing, when possible.
27 Hardware accelerated clients are supported via EGL.
29 The backend chooses the DRM graphics device first based on seat id.
30 If seat identifiers are not set, it looks for the graphics device
31 that was used in boot. If that is not found, it finally chooses
32 the first DRM device returned by
34 Combining multiple graphics devices are not supported yet.
36 The DRM backend relies on
38 for managing input device access and DRM master status, so that
40 can be run without root privileges. On switching away from the
41 virtual terminal (VT) hosting Weston, all input devices are closed and
42 the DRM master capability is dropped, so that other servers,
45 can run on other VTs. On switching back to Weston's VT, input devices
46 and DRM master are re-acquired through the parent process
49 .\" ***************************************************************
52 The DRM backend uses the following entries from
56 \fBname\fR=\fIconnector\fR
57 The KMS connector name identifying the output, for instance
61 Specify the video mode for the output. The argument
63 can be one of the words
64 .BR off " to turn the output off, "
65 .BR preferred " to use the monitor's preferred video mode, or "
66 .BR current " to use the current video mode and avoid a mode switch."
67 It can also be a resolution as
68 \fIwidth\fBx\fIheight\fR, or a detailed mode line as below.
70 \fBmode\fR=\fIdotclock hdisp hsyncstart hsyncend htotal \
71 vdisp vsyncstart vsyncend vtotal hflag vflag\fR
72 Use the given detailed mode line as the video mode for this output.
73 The definition is the same as in
74 .BR xorg.conf "(5), and " cvt (1)
75 can generate detailed mode lines.
77 \fBtransform\fR=\fItransform\fR
78 Transform for the output, which can be rotated in 90-degree steps
79 and possibly flipped. Possible values are
80 .BR normal ", " 90 ", " 180 ", " 270 ", "
81 .BR flipped ", " flipped-90 ", " flipped-180 ", and " flipped-270 .
83 .\" ***************************************************************
86 When the DRM backend is loaded,
88 will understand the following additional command line options.
90 \fB\-\-connector\fR=\fIconnectorid\fR
91 Use the connector with id number
93 as the only initial output.
96 By default, use the current video mode of all outputs, instead of
97 switching to the monitor preferred mode.
99 \fB\-\-seat\fR=\fIseatid\fR
100 Use graphics and input devices designated for seat
102 instead of the default seat
105 \fB\-\-tty\fR=\fIx\fR
108 instead of using the current tty.
110 .\" ***************************************************************
115 The file descriptor (integer) of the opened tty where
120 .B WESTON_LAUNCHER_SOCK
121 The file descriptor (integer) where
123 is listening. Automatically set by
126 .\" ***************************************************************
129 .\".BR weston-launch (1),
130 .\".BR weston.ini (5)