1MODESETTING(@drivermansuffix@) MODESETTING(@drivermansuffix@)
2
3
4
6 modesetting - video driver for framebuffer device
7
9 Section "Device"
10 Identifier "devname"
11 Driver "modesetting"
12 BusID "pci:bus:dev:func"
13 ...
14 EndSection
15
17 modesetting is an @xservername@ driver for KMS devices. This is a non-
18 accelerated driver, the following framebuffer depths are supported: 8,
19 15, 16, 24. All visual types are supported for depth 8, and TrueColor
20 visual is supported for the other depths. RandR 1.2 is supported.
21
23 The modesetting driver supports all hardware where a KMS driver is
24 available. modesetting uses the Linux DRM KMS ioctls and dumb object
25 create/map.
26
28 Please refer to @xconfigfile@(@filemansuffix@) for general configura‐
29 tion details. This section only covers configuration details specific
30 to this driver.
31
32 For this driver it is not required to specify modes in the screen sec‐
33 tion of the config file. The modesetting driver can pick up the cur‐
34 rently used video mode from the kernel driver and will use it if there
35 are no video modes configured.
36
37 For PCI boards you might have to add a BusID line to the Device sec‐
38 tion. See above for a sample line.
39
40 The following driver Options are supported:
41
42 Option "SWcursor" "boolean"
43 Selects software cursor. The default is off.
44
45 Option "kmsdev" "string"
46 The framebuffer device to use. Default: /dev/dri/card0.
47
48 Option "ShadowFB" "boolean"
49 Enable or disable use of the shadow framebuffer layer. Default:
50 on.
51
52 Option "AccelMethod" "string"
53 One of "glamor" or "none". Default: glamor
54
55 Option "PageFlip" "boolean"
56 Enable DRI3 page flipping. The default is on.
57
58 Option "ZaphodHeads" "string"
59 Specify the RandR output(s) to use with zaphod mode for a par‐
60 ticular driver instance. If you use this option you must use
61 this option for all instances of the driver.
62 For example: Option "ZaphodHeads" "LVDS,VGA-0" will assign
63 xrandr outputs LVDS and VGA-0 to this instance of the driver.
64
65
66 SEE ALSO
67 @xservername@(@appmansuffix@), @xconfigfile@(@filemansuffix@),
68 Xserver(@appmansuffix@), X(@miscmansuffix@)
69
71 Authors include: Dave Airlie
72
73
74
75 @vendorversion@ MODESETTING(@drivermansuffix@)