1AMDGPU(4) Kernel Interfaces Manual AMDGPU(4)
2
3
4
6 amdgpu - AMD RADEON GPU video driver
7
9 Section "Device"
10 Identifier "devname"
11 Driver "amdgpu"
12 ...
13 EndSection
14
16 amdgpu is an Xorg driver for AMD RADEON-based video cards with the fol‐
17 lowing features:
18
19 • Support for 8-, 15-, 16-, 24- and 30-bit pixel depths;
20 • RandR support up to version 1.4;
21 • 3D acceleration;
22
24 The amdgpu driver supports SI and newer families' video cards.
25
27 Please refer to xorg.conf(5) for general configuration details. This
28 section only covers configuration details specific to this driver.
29
30 The following driver Options are supported:
31
32 Option "SWcursor" "boolean"
33 Selects software cursor. The default is off.
34
35 Option "Accel" "boolean"
36 Enables or disables all hardware acceleration.
37 The default is on.
38
39
40 Option "ZaphodHeads" "string"
41 Specify the RandR output(s) to use with zaphod mode for a par‐
42 ticular driver instance. If you use this option you must use
43 this option for all instances of the driver.
44 For example: Option "ZaphodHeads" "LVDS,VGA-0" will assign
45 xrandr outputs LVDS and VGA-0 to this instance of the driver.
46
47 Option "DRI" "integer"
48 Define the maximum level of DRI to enable. Valid values are 2
49 for DRI2 or 3 for DRI3. The default is 3 for DRI3 if the Xorg
50 version is >= 1.18.3, otherwise 2 for DRI2.
51
52 Option "EnablePageFlip" "boolean"
53 Enable DRI2 page flipping. The default is on.
54
55 Option "TearFree" "boolean"
56 Set the default value of the per-output 'TearFree' property,
57 which controls tearing prevention using the hardware page flip‐
58 ping mechanism. TearFree is on for any CRTC associated with one
59 or more outputs with TearFree on. Two separate scanout buffers
60 need to be allocated for each CRTC with TearFree on. If this op‐
61 tion is set, the default value of the property is 'on' or 'off'
62 accordingly. If this option isn't set, the default value of the
63 property is auto, which means that TearFree is on for rotated
64 outputs, outputs with RandR transforms applied and for RandR 1.4
65 secondary outputs, otherwise off.
66
67 Option "VariableRefresh" "boolean"
68 Enables support for enabling variable refresh on the Screen's
69 CRTCs when an suitable application is flipping via the Present
70 extension.
71 The default is off.
72
73 Option "AsyncFlipSecondaries" "boolean"
74 Use async flips for secondary video outputs on multi-display
75 setups. If a screen has multiple displays attached and DRI3 page
76 flipping is used, then only one of the displays will have its
77 page flip synchronized to vblank for tear-free presentation.
78 This is the display that is used for presentation timing and
79 timestamping, usually the one covering the biggest pixel area of
80 the screen. All other displays ("Secondaries") will not syn‐
81 chronize their flips. This may cause some tearing on these dis‐
82 plays, but it prevents a permanent or periodic slowdown or irri‐
83 tating judder of animations if not all video outputs are running
84 synchronized with each other and with the same refresh rate.
85 There is no perfect solution apart from perfectly synchronized
86 outputs, but this option may give preferrable results if the
87 displays in a multi-display setup mirror or clone each other.
88 The default is off.
89
90 Option "AccelMethod" "string"
91 Setting this option to none disables use of the glamor accelera‐
92 tion architecture. In that case, all 2D rendering is done by the
93 CPU, but 3D and video hardware acceleration can still work. This
94 is mainly useful for OpenGL driver bring-up.
95 The default is to use glamor.
96
97
98 The following driver Option is supported for glamor :
99
100 Option "ShadowPrimary" "boolean"
101 This option enables a so-called "shadow primary" buffer for fast
102 CPU access to pixel data, and separate scanout buffers for each
103 display controller (CRTC). This may improve performance for
104 some 2D workloads, potentially at the expense of other (e.g. 3D,
105 video) workloads. Note in particular that enabling this option
106 currently disables page flipping. The default is off.
107
108
110 Xorg(1), xorg.conf(5), Xserver(1), X(7)
111
112 1. Wiki page:
113 https://www.x.org/wiki/radeon
114
115 2. Overview about amdgpu development code:
116 https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/
117
118 3. Mailing list:
119 https://lists.freedesktop.org/mailman/listinfo/amd-gfx
120
121 4. IRC channel:
122 #radeon on irc.freenode.net
123
124 5. Query the bugtracker for amdgpu bugs:
125 https://bugs.freedesktop.org/query.cgi?product=xorg&compo‐
126 nent=Driver/AMDgpu
127
128 6. Submit bugs & patches:
129 https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&compo‐
130 nent=Driver/AMDgpu
131
132
134 Authors include:
135 Michel Dänzer michel@daenzer.net
136 Alex Deucher alexdeucher@gmail.com
137
138
139
140X Version 11 xf86-video-amdgpu 22.0.0 AMDGPU(4)