148 lines
4.7 KiB
HTML
148 lines
4.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MODESETTING</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MODESETTING</H1>
|
|
Section: Devices and Network Interfaces (4)<BR>Updated: xorg-server 1.20.9<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
modesetting - video driver for framebuffer device
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<PRE>
|
|
<B>Section "Device"</B>
|
|
<B> Identifier "</B><I>devname</I><B>"</B>
|
|
<B> Driver "modesetting"</B>
|
|
<B> BusID "pci:</B><I>bus</I><B>:</B><I>dev</I><B>:</B><I>func</I><B>"</B>
|
|
...
|
|
<B>EndSection</B>
|
|
</PRE>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>modesetting</B>
|
|
|
|
is an Xorg driver for KMS devices. This driver supports
|
|
TrueColor visuals at framebuffer depths of 15, 16, 24, and 30. RandR
|
|
1.2 is supported for multi-head configurations. Acceleration is available
|
|
through glamor for devices supporting at least OpenGL ES 2.0 or OpenGL 2.1.
|
|
If glamor is not enabled, a shadow framebuffer is configured based on the
|
|
KMS drivers' preference (unless the framebuffer is 24 bits per pixel, in
|
|
which case the shadow framebuffer is always used).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SUPPORTED HARDWARE</H2>
|
|
|
|
The
|
|
<B>modesetting</B>
|
|
|
|
driver supports all hardware where a KMS driver is available.
|
|
modesetting uses the Linux DRM KMS ioctls and dumb object create/map.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>CONFIGURATION DETAILS</H2>
|
|
|
|
Please refer to <A HREF="/cgi-bin/man/man2html?5+xorg.conf">xorg.conf</A>(5) for general configuration
|
|
details. This section only covers configuration details specific to
|
|
this driver.
|
|
<P>
|
|
|
|
For this driver it is not required to specify modes in the screen
|
|
section of the config file. The
|
|
<B>modesetting</B>
|
|
|
|
driver can pick up the currently used video mode from the kernel
|
|
driver and will use it if there are no video modes configured.
|
|
<P>
|
|
|
|
For PCI boards you might have to add a BusID line to the Device
|
|
section. See above for a sample line.
|
|
<P>
|
|
|
|
The following driver
|
|
<B>Options</B>
|
|
|
|
are supported:
|
|
<DL COMPACT>
|
|
<DT id="1"><B>Option "SWcursor" "</B><I>boolean</I><B>"</B>
|
|
|
|
<DD>
|
|
Selects software cursor. The default is
|
|
<B>off.</B>
|
|
|
|
<DT id="2"><B>Option "kmsdev" "</B><I>string</I><B>"</B>
|
|
|
|
<DD>
|
|
The framebuffer device to use. Default: /dev/dri/card0.
|
|
<DT id="3"><B>Option "ShadowFB" "</B><I>boolean</I><B>"</B>
|
|
|
|
<DD>
|
|
Enable or disable use of the shadow framebuffer layer. Default: on.
|
|
<DT id="4"><B>Option "DoubleShadow" "</B><I>boolean</I><B>"</B>
|
|
|
|
<DD>
|
|
Double-buffer shadow updates. When enabled, the driver will keep two copies of
|
|
the shadow framebuffer. When the shadow framebuffer is flushed, the old and new
|
|
versions of the shadow are compared, and only tiles that have actually changed
|
|
are uploaded to the device. This is an optimization for server-class GPUs with
|
|
a remote display function (typically VNC), where remote updates are triggered
|
|
by any framebuffer write, so minimizing the amount of data uploaded is crucial.
|
|
This defaults to enabled for ASPEED and Matrox G200 devices, and disabled
|
|
otherwise.
|
|
<DT id="5"><B>Option "AccelMethod" "</B><I>string</I><B>"</B>
|
|
|
|
<DD>
|
|
One of "glamor" or "none". Default: glamor.
|
|
<DT id="6"><B>Option "PageFlip" "</B><I>boolean</I><B>"</B>
|
|
|
|
<DD>
|
|
Enable DRI3 page flipping. The default is
|
|
<B>on.</B>
|
|
|
|
<DT id="7"><B>Option "ZaphodHeads" "</B><I>string</I><B>"</B>
|
|
|
|
<DD>
|
|
Specify the RandR output(s) to use with zaphod mode for a particular driver
|
|
instance. If you use this option you must use this option for all instances
|
|
of the driver.
|
|
<BR>
|
|
|
|
For example:
|
|
<B>Option "ZaphodHeads" "LVDS,VGA-0"</B>
|
|
|
|
will assign xrandr outputs LVDS and VGA-0 to this instance of the driver.
|
|
<DT id="8"></DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<DD>
|
|
<A HREF="/cgi-bin/man/man2html?1+Xorg">Xorg</A>(1), <A HREF="/cgi-bin/man/man2html?5+xorg.conf">xorg.conf</A>(5), <A HREF="/cgi-bin/man/man2html?1+Xserver">Xserver</A>(1),
|
|
<A HREF="/cgi-bin/man/man2html?7+X">X</A>(7)
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Authors include: Dave Airlie
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">SUPPORTED HARDWARE</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">CONFIGURATION DETAILS</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="15"><A HREF="#lbAH">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:02 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|