man-pages/man4/amdgpu.4.html
2021-03-31 01:06:50 +01:00

238 lines
6.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of AMDGPU</TITLE>
</HEAD><BODY>
<H1>AMDGPU</H1>
Section: Devices and Network Interfaces (4)<BR>Updated: xf86-video-amdgpu 19.1.0<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
amdgpu - AMD RADEON GPU video driver
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
<B>Section &#34;Device&#34;</B>
<B> Identifier &#34;</B><I>devname</I><B>&#34;</B>
<B> Driver &#34;amdgpu&#34;</B>
&nbsp;&nbsp;...
<B>EndSection</B>
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>amdgpu</B>
is an Xorg driver for AMD RADEON-based video cards with the
following features:
<P>
<DL COMPACT>
<DT id="1">&bull;<DD>
Support for 8-, 15-, 16-, 24- and 30-bit pixel depths;
<DT id="2">&bull;<DD>
RandR support up to version 1.4;
<DT id="3">&bull;<DD>
3D acceleration;
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SUPPORTED HARDWARE</H2>
The
<B>amdgpu</B>
driver supports SI and newer families' video cards.
<A NAME="lbAF">&nbsp;</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>
The following driver
<B>Options</B>
are supported:
<DL COMPACT>
<DT id="4"><B>Option &#34;SWcursor&#34; &#34;</B><I>boolean</I><B>&#34;</B>
<DD>
Selects software cursor. The default is
<B>off.</B>
<DT id="5"><B>Option &#34;Accel&#34; &#34;</B><I>boolean</I><B>&#34;</B>
<DD>
Enables or disables all hardware acceleration.
<BR>
The default is
<B>on.</B>
<P>
<DT id="6"><B>Option &#34;ZaphodHeads&#34; &#34;</B><I>string</I><B>&#34;</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 &#34;ZaphodHeads&#34; &#34;LVDS,VGA-0&#34;</B>
will assign xrandr outputs LVDS and VGA-0 to this instance of the driver.
<DT id="7"><B>Option &#34;DRI&#34; &#34;</B><I>integer</I><B>&#34;</B>
<DD>
Define the maximum level of DRI to enable. Valid values are 2 for DRI2 or 3 for DRI3.
The default is
<B>3 for DRI3</B>
if the Xorg version is &gt;= 1.18.3, otherwise
<B>2 for DRI2.</B>
<DT id="8"><B>Option &#34;EnablePageFlip&#34; &#34;</B><I>boolean</I><B>&#34;</B>
<DD>
Enable DRI2 page flipping. The default is
<B>on.</B>
<DT id="9"><B>Option &#34;TearFree&#34; &#34;</B><I>boolean</I><B>&#34;</B>
<DD>
Set the default value of the per-output 'TearFree' property, which controls
tearing prevention using the hardware page flipping mechanism. TearFree is
on for any CRTC associated with one or more outputs with TearFree on. Two
separate scanout buffers need to be allocated for each CRTC with TearFree
on. If this option is set, the default value of the property is 'on' or 'off'
accordingly. If this option isn't set, the default value of the property is
<B>auto,</B>
which means that TearFree is on for rotated outputs, outputs with RandR
transforms applied and for RandR 1.4 slave outputs, otherwise off.
<DT id="10"><B>Option &#34;VariableRefresh&#34; &#34;</B><I>boolean</I><B>&#34;</B>
<DD>
Enables support for enabling variable refresh on the Screen's CRTCs
when an suitable application is flipping via the Present extension.
<BR>
The default is
<B>off.</B>
<DT id="11"><B>Option &#34;AccelMethod&#34; &#34;</B><I>string</I><B>&#34;</B>
<DD>
Setting this option to
<B>none</B>
disables use of the glamor acceleration architecture. In that case, all 2D
rendering is done by the CPU, but 3D and video hardware acceleration can still
work. This is mainly useful for OpenGL driver bring-up.
<BR>
The default is to use glamor.
<P>
</DL>
<P>
The following driver
<B>Option</B>
is supported for
<B>glamor</B>
:
<DL COMPACT>
<DT id="12"><B>Option &#34;ShadowPrimary&#34; &#34;</B><I>boolean</I><B>&#34;</B>
<DD>
This option enables a so-called &quot;shadow primary&quot; buffer for fast CPU access to
pixel data, and separate scanout buffers for each display controller (CRTC).
This may improve performance for some 2D workloads, potentially at the expense
of other (e.g. 3D, video) workloads.
Note in particular that enabling this option currently disables page flipping.
The default is
<B>off.</B>
<P>
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<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)
<DL COMPACT>
<DT id="13"> 1.<DD>
Wiki page:
<DL COMPACT><DT id="14"><DD>
<A HREF="https://www.x.org/wiki/radeon">https://www.x.org/wiki/radeon</A>
</DL>
<DT id="15"> 2.<DD>
Overview about amdgpu development code:
<DL COMPACT><DT id="16"><DD>
<A HREF="https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/">https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/</A>
</DL>
<DT id="17"> 3.<DD>
Mailing list:
<DL COMPACT><DT id="18"><DD>
<A HREF="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</A>
</DL>
<DT id="19"> 4.<DD>
IRC channel:
<DL COMPACT><DT id="20"><DD>
#radeon on irc.freenode.net
</DL>
<DT id="21"> 5.<DD>
Query the bugtracker for amdgpu bugs:
<DL COMPACT><DT id="22"><DD>
<A HREF="https://bugs.freedesktop.org/query.cgi?product=xorg">https://bugs.freedesktop.org/query.cgi?product=xorg</A>&amp;component=Driver/AMDgpu
</DL>
<DT id="23"> 6.<DD>
Submit bugs &amp; patches:
<DL COMPACT><DT id="24"><DD>
<A HREF="https://bugs.freedesktop.org/enter_bug.cgi?product=xorg">https://bugs.freedesktop.org/enter_bug.cgi?product=xorg</A>&amp;component=Driver/AMDgpu
</DL>
<P>
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHORS</H2>
<PRE>
Authors include:
Michel D&auml;nzer <I><A HREF="mailto:michel@daenzer.net">michel@daenzer.net</A></I>
Alex Deucher <I><A HREF="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</A></I>
</PRE>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="25"><A HREF="#lbAB">NAME</A><DD>
<DT id="26"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="27"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="28"><A HREF="#lbAE">SUPPORTED HARDWARE</A><DD>
<DT id="29"><A HREF="#lbAF">CONFIGURATION DETAILS</A><DD>
<DT id="30"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="31"><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:01 GMT, March 31, 2021
</BODY>
</HTML>