weston-drm(7)

NAME

   weston-drm - the DRM backend for Weston

SYNOPSIS

   weston-launch

   weston --backend=drm-backend.so

DESCRIPTION

   The  DRM  backend is the native Weston backend for systems that support
   the Linux kernel DRM,  kernel  mode  setting  (KMS),  and  evdev  input
   devices.   It  is  the recommended backend for desktop PCs, and aims to
   provide the full Wayland experience with the "every frame  is  perfect"
   concept.  It also relies on the Mesa GBM interface.

   With  the  DRM  backend,  weston  runs without any underlying windowing
   system. The  backend  uses  the  Linux  KMS  API  to  detect  connected
   monitors.  Monitor  hot-plugging  is supported. Input devices are found
   automatically by  udev(7).   Compositing  happens  mainly  in  GL ES 2,
   initialized  through  EGL.  It  is  also  possible to take advantage of
   hardware cursors and overlays, when  they  exist  and  are  functional.
   Full-screen  surfaces will be scanned out directly without compositing,
   when possible.  Hardware accelerated clients are supported via EGL.

   The backend chooses the DRM graphics device first based on seat id.  If
   seat identifiers are not set, it looks for the graphics device that was
   used in boot. If that is not found, it finally chooses  the  first  DRM
   device  returned  by  udev(7).  Combining multiple graphics devices are
   not supported yet.

   The DRM backend relies  on  weston-launch  for  managing  input  device
   access  and  DRM  master status, so that weston can be run without root
   privileges. On switching away from the virtual  terminal  (VT)  hosting
   Weston,  all  input devices are closed and the DRM master capability is
   dropped, so that other servers, including Xorg(1),  can  run  on  other
   VTs. On switching back to Weston's VT, input devices and DRM master are
   re-acquired through the parent process weston-launch.

CONFIGURATION

   The DRM backend uses the following entries from weston.ini.

   Section output
   name=connector
          The KMS connector name  identifying  the  output,  for  instance
          LVDS1.

   mode=mode
          Specify  the video mode for the output. The argument mode can be
          one of the words off to turn the output off,  preferred  to  use
          the  monitor's  preferred  video  mode,  or  current  to use the
          current video mode and avoid a mode switch.  It can  also  be  a
          resolution as widthxheight, or a detailed mode line as below.

   mode=dotclock   hdisp   hsyncstart  hsyncend  htotal  vdisp  vsyncstart
   vsyncend vtotal hflag vflag
          Use the given detailed mode line as  the  video  mode  for  this
          output.   The  definition  is  the  same as in xorg.conf(5), and
          cvt(1) can generate detailed mode lines.

   transform=transform
          Transform for the output, which  can  be  rotated  in  90-degree
          steps and possibly flipped. Possible values are normal, 90, 180,
          270, flipped, flipped-90, flipped-180, and flipped-270.

OPTIONS

   When the DRM backend is loaded, weston will  understand  the  following
   additional command line options.

   --connector=connectorid
          Use the connector with id number connectorid as the only initial
          output.

   --current-mode
          By default, use the current video mode of all  outputs,  instead
          of switching to the monitor preferred mode.

   --seat=seatid
          Use  graphics  and  input  devices  designated  for  seat seatid
          instead of the default seat seat0.

   --tty=x
          Launch Weston on tty x instead of using the current tty.

ENVIRONMENT

   WESTON_TTY_FD
          The file descriptor (integer) of the  opened  tty  where  weston
          will run. Set by weston-launch.

   WESTON_LAUNCHER_SOCK
          The  file descriptor (integer) where weston-launch is listening.
          Automatically set by weston-launch.

SEE ALSO

   weston(1)



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.