- Timestamp:
- 07/12/2023 07:12:04 PM (15 months ago)
- Branches:
- 12.0, 12.1, 12.2, gimp3, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128, xry111/xf86-video-removal
- Children:
- 9b492b4
- Parents:
- c97d35e
- Location:
- x/installing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/mesa.xml
rc97d35e r797182d 150 150 </sect2> 151 151 152 <sect2 role="kernel" id="mesa-kernel"> 152 <sect2 role="kernel" id="mesa-kernel" 153 xreflabel='Mesa Kernel Configuration'> 153 154 <title>Kernel Configuration</title> 154 155 … … 167 168 Display Engine Configuration 168 169 [*] AMD DC - Enable new display engine [CONFIG_DRM_AMD_DC] 169 < */M>Nouveau (NVIDIA) cards [CONFIG_DRM_NOUVEAU] # For nouveau170 < */M>Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915] # For i915, crocus, or iris170 < /*/M> Nouveau (NVIDIA) cards [CONFIG_DRM_NOUVEAU] # For nouveau 171 < /*/M> Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915] # For i915, crocus, or iris 171 172 < /*/M> DRM driver for VMware Virtual GPU [CONFIG_DRM_VMWGFX] # For svga 172 173 < /*/M> Virtual GEM provider [CONFIG_DRM_VGEM] # For swrast</literal></screen> … … 206 207 <para> 207 208 For <literal>swrast</literal>, <option>CONFIG_DRM_VGEM</option> 208 is not strictly needed but recommended as an optimization. 209 You will also need to select at least a working DRM or framebuffer 210 driver. For a system booted with EFI, the configuration 211 in <xref linkend="uefi-kernel"/> is sufficient. For a system booted 212 with BIOS, <quote>VESA VGA graphics support</quote> 213 <!-- TODO: it should be replaced with CONFIG_DRM_SIMPLEDRM as well, 214 but the LFS grub configuration does not initialize the FB so it 215 won't work with BIOS boot. --> 216 (<option>CONFIG_FB_VESA</option>, under 217 <quote>Frame buffer Devices => Support for frame buffer 218 devices</quote>) is sufficient. However a dedicated DRM or framebuffer 219 driver may provide additional functionalities. 209 is not strictly needed but recommended as an optimization. 220 210 </para> 221 211 </note> -
x/installing/xorg-server.xml
rc97d35e r797182d 11 11 <!ENTITY xorg-server-buildsize "188 MB (with tests)"> 12 12 <!ENTITY xorg-server-time "0.6 SBU (using parallelism=4; with tests)"> 13 <!ENTITY modesetting_drv 14 "<filename class='libraryfile'>modesetting_drv</filename>"> 15 <!ENTITY BLFS113 "https://www.linuxfromscratch.org/blfs/view/11.3/x/x7driver.html"> 16 <!ENTITY BLFS76 "https://www.linuxfromscratch.org/blfs/view/7.6/x/x7driver.html"> 13 17 ]> 14 18 … … 105 109 <ulink url="https://www.x.org/archive/individual/doc/">xorg-sgml-doctools</ulink> (to build documentation) 106 110 </para> 107 111 </sect2> 112 113 <sect2 role="kernel" id="xorg-server-kernel"> 114 <title>Kernel Configuration</title> 115 116 <para> 117 The traditional Device Dependant X (DDX) drivers have been removed 118 from BLFS in favor of the &modesetting_drv; driver which will be 119 built as a part of this package. To use the &modesetting_drv; driver, 120 the kernel must provide a Direct Rendering Manager (DRM) driver for 121 your GPU. 122 </para> 123 124 <para> 125 If your GPU supports 3D acceleration and <xref linkend='mesa'/> 126 provides a Gallium3D driver for utilizing its 3D capability, you 127 should have already enabled the necessary kernel configuration options 128 in <xref linkend='mesa-kernel'/>. Otherwise, you need to find the 129 kernel configuration option of the DRM driver for the GPU and enable 130 it. Notably, the virtual GPUs provided by some virtual machine 131 managers: 132 </para> 133 134 <screen><literal>Device Drivers ---> 135 Graphics support ---> 136 <*/M> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM] 137 < /*/M> DRM driver for VMware Virtual GPU [CONFIG_DRM_VMWGFX] 138 < /*/M> DRM Support for bochs dispi vga interface (qemu stdvga) [CONFIG_DRM_BOCHS] 139 < /*/M> Virtual Box Graphics Card [CONFIG_DRM_VBOXVIDEO]</literal></screen> 140 141 <para> 142 If the kernel does not provide a DRM driver for your GPU, on most x86 143 systems the <quote>simple frame buffer</quote> DRM driver running on 144 VESA or UEFI frame buffer can be used as a fallback. Enable the 145 following options in the kernel configurations if you don't have a 146 dedicated DRM driver for the GPU, or you want to keep the simple 147 frame buffer driver as a fallback in case the dedicated driver fails: 148 </para> 149 150 <screen><literal>Device Drivers ---> 151 Firmware Drivers ---> 152 [*] Mark VGA/VBE/EFI FB as generic system framebuffer [CONFIG_SYSFB_SIMPLEFB] 153 Graphics support ---> 154 <*> Direct Rendering Manager (XFree86 ... support) [CONFIG_DRM] 155 <*> Simple framebuffer driver [CONFIG_DRM_SIMPLEDRM]</literal></screen> 156 157 <para> 158 To allow the kernel to print debug messages at an early boot stage, 159 <option>CONFIG_DRM</option> and <option>CONFIG_DRM_SIMPLEDRM</option> 160 should not be built as kernel modules unless an initramfs will be 161 used. 162 </para> 163 164 <para> 165 If you want to use the simple frame buffer driver on a system booted 166 via BIOS (instead of UEFI), add the following line before the first 167 <literal>menuentry</literal> block in the 168 <filename>/boot/grub/grub.cfg</filename> file to initialize the VESA 169 frame buffer: 170 </para> 171 172 <screen><literal>set gfxpayload=<replaceable>1024x768x32</replaceable></literal></screen> 173 174 <para> 175 You may replace <literal>1024</literal>, <literal>768</literal>, and 176 <literal>32</literal> with a resolution and color depth setting 177 suitable for your monitor. 178 </para> 179 180 <para> 181 If all of these DRM drivers do not work for you and you need to use 182 a DDX driver with a non-DRM kernel GPU driver (usually named 183 <option>CONFIG_FB_*</option> in the kernel configuration, or existing 184 as out-tree kernel modules), or you need an device specific 185 functionality requiring a DDX driver, consult 186 <ulink url="&BLFS113;">a prior version of BLFS</ulink>, or 187 <ulink url="&BLFS76;">a even prior version</ulink> for more DDX 188 drivers. 189 </para> 190 191 <indexterm zone="xorg-server xorg-server-kernel"> 192 <primary sortas="d-xorg-server">xorg-server</primary> 193 </indexterm> 108 194 </sect2> 109 195 … … 154 240 <para> 155 241 <parameter>-Dglamor=true</parameter>: Ensure building the Glamor 156 module. It's needed to run the Xorg server without Device Dependant X157 (DDX) drivers.242 module. It's needed to build the &modesetting_drv; driver 243 which replaces the traditional Device Dependant X (DDX) drivers. 158 244 </para> 159 245 … … 200 286 <seg> 201 287 several under $XORG_PREFIX/lib/xorg/modules/ including the 202 <filename class="libraryfile">modesetting_drv.so</filename> 203 driver 288 &modesetting_drv; driver 204 289 </seg> 205 290 <seg>
Note:
See TracChangeset
for help on using the changeset viewer.