Xorg Drivers

Introduction to Xorg Drivers

The Xorg Drivers page contains the instructions for building Xorg drivers that are necessary in order for Xorg Server to take the advantage of the hardware that it is running on. At least one input and one video driver is required for Xorg Server to start.

[Note]

Note

If you are unsure which video hardware you have, you can use lspci from pciutils-3.2.1 to find out which video hardware you have and then look at the descriptions of the packages in order to find out which driver you need.

Hardware Video Acceleration

Libevdev 1.2.2

Introduction to Libevdev

The Libevdev package contains common functions for Xorg input drivers.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Libevdev Dependencies

Required

Python-2.7.8

Optional

Check-0.9.14, Doxygen-1.8.8, and Valgrind-3.10.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libevdev

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Input device support --->
    Event interface: Y or M
    Miscellaneous devices  --->
      User level driver support: Y or M

Installation of Libevdev

If Valgrind-3.10.0 is installed and tests are going to be run, fix a testing problem:

cat >> test/valgrind.suppressions << "EOF"
{
   <timer_create@@GLIBC_2.3.3-2>
   Memcheck:Param
   timer_create(evp)
   fun:timer_create@@GLIBC_2.3.3
   fun:check_get_clockid
   fun:srunner_run
   fun:main
}
EOF

Install Libevdev by running the following commands:

./configure $XORG_CONFIG &&
make

If you have the optional Check-0.9.14 package installed, the regression tests can be run as the root user with make check.

Now, as the root user:

make install

Contents

Installed Xorg Program: touchpad-edge-detector
Installed Xorg Library: libevdev.so

Short Descriptions

libevdev.so

is a library of Xorg driver input functions.

Xorg Evdev Driver-2.9.0

Introduction to Xorg Evdev Driver

The Xorg Evdev Driver package contains Generic Linux input driver for the Xorg X server. It handles keyboard, mouse, touchpads and wacom devices, though for touchpad and wacom advanced handling, additional drivers are required.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg Evdev Driver Dependencies

Required

Libevdev-1.2.2 and Xorg-Server-1.16.0

Recommended

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-evdev-driver

Installation of Xorg Evdev Driver

Install Xorg Evdev Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: evdev_drv.so

Short Descriptions

evdev_drv.so

is an Xorg input driver for Linux generic event devices.

Xorg Synaptics Driver-1.8.0

Introduction to Xorg Synaptics Driver

The Xorg Synaptics Driver package contains the X.Org Input Driver, support programs and SDK for Synaptics touchpads. Even though the evdev driver can handle touchpads very well, this driver is required if you want to use advanced features like multi tapping, scrolling with touchpad, turning the touchpad off while typing, etc.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg Synaptics Driver Dependencies

Required

Libevdev-1.2.2 and Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-synaptics-driver

Installation of Xorg Synaptics Driver

Install Xorg Synaptics Driver by running the following commands:

sed -i '/_H_/ a#include <xorg-server.h>' src/{eventcomm,ps2comm,synproto}.h &&
./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i ...: This sed fixes building with the latest version of Glibc.

Contents

Installed Programs: synclient and syndaemon
Installed Xorg Driver: synaptics_drv.so

Short Descriptions

synclient

is a command line utility used to query and modify Synaptics driver options.

syndaemon

is a program that monitors keyboard activity and disables the touchpad when the keyboard is being used.

synaptics_drv.so

is an Xorg input driver for touchpads.

Xorg VMMouse Driver-13.0.0

Introduction to Xorg VMMouse Driver

The Xorg VMMouse Driver package contains the VMMouse input driver for the Xorg X server. The VMMouse driver enables support for the special VMMouse protocol that is provided by VMware virtual machines to give absolute pointer positioning.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Additional Downloads

Xorg VMMouse Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-vmmouse-driver

Installation of Xorg VMMouse Driver

Install Xorg VMMouse Driver by running the following commands:

patch -Np1 -i ../xf86-input-vmmouse-13.0.0-build_fix-1.patch &&
./configure $XORG_CONFIG               \
            --without-hal-fdi-dir      \
            --without-hal-callouts-dir \
            --with-udev-rules-dir=/lib/udev/rules.d &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--with-udev-rules-dir=/lib/udev/rules.d: This switch specifies where udev rules should be installed.

--without-hal-*-dir: These switches disable installation of the HAL components which are not needed on Linux.

Contents

Installed Program: vmmouse_detect
Installed Xorg Drivers: vmmouse_drv.so

Short Descriptions

vmmouse_detect

is a tool for detecting if running in a VMware environment where vmmouse is used.

vmmouse_drv.so

is an Xorg input driver for VMware Mouse.

Xorg Wacom Driver-0.25.0

Introduction to Xorg Wacom Driver

The Xorg Wacom Driver package contains the X.Org X11 driver and SDK for Wacom and Wacom-like tablets. It is not required to use a Wacom tablet, the xf86-input-evdev driver can handle these devices without problems.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Xorg Wacom Drivers Dependencies

Required

Xorg-Server-1.16.0

Optional

Doxygen-1.8.8 and Graphviz-2.38.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-wacom-driver

Kernel Configuration

To use a Wacom tablet, enable the following options in your kernel configuration and recompile:

Device Drivers  --->
  Input device support  --->
    [*] Tablets  --->
      Wacom Intuos/Graphire tablet support (USB): Y or M

Installation of Xorg Wacom Driver

Install Xorg Wacom Driver by running the following commands:

./configure $XORG_CONFIG --with-systemd-unit-dir=no &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Contents

Installed Programs: isdv4-serial-debugger, isdv4-serial-inputattach, and xsetwacom
Installed Xorg Driver: wacom_drv.so

Short Descriptions

xsetwacom

is a commandline utility used to query and modify wacom driver settings.

wacom_drv.so

is an Xorg input driver for Wacom devices.

Xorg ATI Driver-7.4.0

Introduction to Xorg ATI Driver

The Xorg ATI Driver package contains the X.Org Video Driver for ATI Radeon video cards including all chipsets ranging from R100 to R900 and the newer RAxx chipsets.

This package is known to build and work properly using an LFS-7.6 platform.

[Note]

Note

For Direct Rendering to work with newer Radeon Cards (R300 and later chipsets), you need to enable the r300, r600 and radeonsi Gallium drivers at MesaLib-10.2.7 build time. Also, some cards require Firmware to be available when the kernel driver is loaded. Firmware can be obtained from this site. See "Kernel Configuration for additional firmware" below.

Package Information

Xorg ATI Driver Dependencies

Required

Xorg-Server-1.16.0 (recommended to be built with glamor enabled)

[Note]

Note

Glamor is required for "Southern Islands" and later GPUs but optional for R300 to R700, Evergreen and "Northern Islands" GPUs - see the link under "Glamor Acceleration" below.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-ati-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    ATI Radeon: Y or M

Kernel Configuration for additional firmware

If you need to add firmware, install the file(s) and then point to them in the kernel configuration and recompile the kernel if necessary. To find out which firmware you need, consult the Decoder ring for engineering vs marketing names. Download any firmware for your card which is named like: <ENGINEERING_NAME>_rlc.bin, etc. Note that for R600 and R700 family, generic R600_rlc.bin and R700_rlc.bin are necessary in adition to the model specific firmware, while for later generations (Evergreen, "Northern Islands" and probably "Southern Islands") you need the BTC_rlc.bin in adition to the model specific firmware. Below is an example for Radeon HD6470, which is "Northern Islands" GPU with a network card that also requires the firmware:

CONFIG_EXTRA_FIRMWARE="radeon/BTC_rlc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin
radeon/CAICOS_pfp.bin radeon/CAICOS_smc.bin rtl_nic/rtl8168e-3.fw"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
[Note]

Note

CONFIG_EXTRA_FIRMWARE should all be on one line. It is shown above as two lines for presentation only.

[Tip]

Tip

You can check dmesg output after boot to see which firmware is missing.

Installation of Xorg ATI Driver

Install Xorg ATI Driver by running the following commands:

sed -i -e '/ac_cv_header_glamor/s/\$ac_includes_default/#include \\"xorg-server.h\\"/' \
       -e '/GLAMOR_NO_DRI3/s/\(#include \)/\1\\"xorg-server.h\\"\n\1/' configure &&
./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i -e '/ac_cv_header_glamor/s/\$ac_includes_default/#include \\"xorg-server.h\\"/' -e '/GLAMOR_NO_DRI3/s/\(#include \)/\1\\"xorg-server.h\\"\n\1/' configure: this fixes compilation with glamor (the default) from xorg-server with recent glibc.

Glamor Acceleration

Glamor is an acceleration library which uses cards' 3D capabilities to accelerate 2D rendering. Glamor acceleration is required for Radeon "Southern Islands" GPUs which use "radeonsi" Gallium3D driver from MesaLib-10.2.7. To see which cards fall under "Southern Islands" category, read the Decoder ring for engineering vs marketing names. Please note that Glamor acceleration can be used with other chips as well, from the R300 onwards, but it has not been tested recently.

Glamor acceleration is not enabled by default for chipsets that don't use "radeonsi" Gallium3D driver. You have to use a xorg.conf file to enable it. To enable Glamor for cards other than "Southern Islands" and later, create the following /etc/X11/xorg.conf as the root user:

cat >> /etc/X11/xorg.conf << "EOF"
Section "Module"
        Load "dri2"
        Load "glamoregl"
EndSection

Section "Device"
        Identifier "radeon"
        Driver "radeon"
        Option "AccelMethod" "glamor"
EndSection
EOF

Contents

Installed Xorg Drivers: ati_drv.so and radeon_drv.so

Short Descriptions

ati_drv.so

is a wrapper driver for ATI video cards that autodetects ATI video hardware and loads radeon, mach64 or r128 driver.

radeon_drv.so

is an Xorg video driver for ATI Radeon based video cards.

Xorg Cirrus Driver-1.5.2

Introduction to Xorg Cirrus Driver

The Xorg Cirrus Driver package contains the X.Org Video Driver for Cirrus Logic video chips. Qemu uses this driver for its virtual GPU.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg Cirrus Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-cirrus-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    Cirrus driver for QEMU emulated device: Y or M

Installation of Xorg Cirrus Driver

Install Xorg Cirrus Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: cirrus_drv.so

Short Descriptions

cirrus_drv.so

is an Xorg video driver for Cirrus Logic grahpics chipsets.

Xorg Fbdev Driver-0.4.4

Introduction to Xorg Fbdev Driver

The Xorg Fbdev Driver package contains the X.Org Video Driver for framebuffer devices. This driver is often used as fallback driver if the hardware specific and VESA drivers fail to load or are not present. If this driver is not installed, Xorg Server will print a warning on startup, but it can be safely ignored if hardware specific driver works well.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg Fbdev Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-fbdev-driver

Installation of Xorg Fbdev Driver

Install Xorg Fbdev Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: fbdev_drv.so

Short Descriptions

fbdev_drv.so

is an Xorg video driver for framebuffer devices.

Xorg Intel Driver-2.99.916

Introduction to Xorg Intel Driver

The Xorg Intel Driver package contains the X.Org Video Driver for Intel integrated video cards including 8xx, 9xx, Gxx, Qxx and HD graphics processors (SandyBridge, IvyBridge and Haswell).

This package is known to build and work properly using an LFS-7.6 platform.

[Note]

Note

This is a development version of the Intel driver which is needed to work properly with the latest hardware.

Package Information

Xorg Intel Driver Dependencies

Required

xcb-util-0.3.9 and Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-intel-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    Intel I810: Y or M
    Intel 8xx/9xx/G3x/G4x/HD Graphics: Y or M
      Enable modesetting on intel by default: Y

Installation of Xorg Intel Driver

Install Xorg Intel Driver by running the following commands:

./configure $XORG_CONFIG      \
            --enable-kms-only \
            --enable-uxa      \
            --enable-glamor   &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--enable-kms-only: This switch omits the UMS (User Mode Setting) code.

--enable-uxa: This switch enables Unified Acceleration Architecture (UXA) and is required for Glamor acceleration.

--enable-glamor: This switch enables new GL-based 2D acceleration. As well as specifying this in the build, it needs to be enabled at run time (see below).

Glamor Acceleration

Glamor is an acceleration library which uses cards' 3D capabilities to accelerate 2D rendering. Glamor acceleration is not enabled by default. You have to use a xorg.conf file to enable it. To enable Glamor, create the following /etc/X11/xorg.conf as the root user:

cat >> /etc/X11/xorg.conf << "EOF"
Section "Module"
        Load "dri2"
        Load "glamoregl"
EndSection

Section "Device"
        Identifier "intel"
        Driver "intel"
        Option "AccelMethod" "glamor"
EndSection
EOF

Contents

Installed Library: libIntelXvMC.so
Installed Xorg Driver: intel_drv.so

Short Descriptions

intel_drv.so

is an Xorg video driver for Intel integrated graphics chipsets.

Xorg Mach64 Driver-6.9.4

Introduction to Xorg Mach64 Driver

The Xorg Mach64 Driver package contains the X.Org Video Driver for ATI video adapters based on the Mach64 chipsets.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Xorg Mach64 Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-mach64-driver

Installation of Xorg Mach64 Driver

Install Xorg Mach64 Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: mach64_drv.so

Short Descriptions

mach64_drv.so

is an Xorg video driver for ATI Mach64 grahpics chipsets.

Xorg MGA Driver-1.6.3

Introduction to Xorg MGA Driver

The Xorg MGA Driver package contains the X.Org Video Driver for Matrox video cards including Millennium G2xx, G4xx, G5xx, Millennium II and Mystique G200 chipsets.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Xorg MGA Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-mga-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    Matrox g200/g400: Y or M

Installation of Xorg MGA Driver

Install Xorg MGA Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: mga_drv.so

Short Descriptions

mga_drv.so

is an Xorg video driver for Matrox video cards.

Xorg Nouveau Driver-1.0.11

Introduction to Xorg Nouveau Driver

The Xorg Nouveau Driver package contains the X.Org Video Driver for NVidia Cards including RIVA TNT, RIVA TNT2, GeForce 256, QUADRO, GeForce2, QUADRO2, GeForce3, QUADRO DDC, nForce, nForce2, GeForce4, QUADRO4, GeForce FX, QUADRO FX, GeForce 6XXX and GeForce 7xxx chipsets.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg Nouveau Drivers Dependencies

Required

Xorg-Server-1.16.0 (recommended to be built with glamor enabled)

[Note]

Note

The new “Maxwell” GPU requires Glamor to be built with the Xorg server. Note that the BLFS editors have not tested that hardware.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-nouveau-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    Nouveau (nVidia) cards: Y or M
      Support for backlight control: Y

Installation of Xorg Nouveau Driver

Install Xorg Nouveau Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Glamor Acceleration

Glamor is an acceleration library which uses cards' 3D capabilities to accelerate 2D rendering. Glamor acceleration is enabled by default for the new “Maxwell” GPU's. According to the documentation, Glamor acceleration can be used with other chips as well, but that does not seem functional yet.

To enable Glamor for GPU's other than the new “Maxwell” ones, create the following file as the root user:

cat >> /etc/X11/xorg.conf.d/nvidia.conf << "EOF"
Section "Device"
        Identifier "nvidia"
        Driver "nouveau"
        Option "AccelMethod" "glamor"
EndSection
EOF

Contents

Installed Xorg Driver: nouveau_drv.so

Short Descriptions

nouveau_drv.so

is an Xorg video driver for nVidia video cards.

Xorg OpenChrome Driver-0.3.3

Introduction to Xorg OpenChrome Driver

The Xorg OpenChrome Driver package contains the X.Org Video Driver for Via integrated video cards including Unichrome, Unichrome Pro and Chrome9 series.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Xorg OpenChrome Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-openchrome-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    Via unichrome video cards: Y or M

Installation of Xorg OpenChrome Driver

Install Xorg OpenChrome Driver by running the following commands:

sed -i "/via_3d.h/i #include <xorg-server.h>" src/via_3d.c &&

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i ...: This sed fixes building with the latest version of Glibc.

Contents

Installed Libraries: libchromeXvMCPro.so and libchromeXvMC.so
Installed Xorg Driver: openchrome_drv.so

Short Descriptions

openchrome_drv.so

is an Xorg video driver for VIA integrated graphics chipsets.

Xorg R128 Driver-6.9.2

Introduction to Xorg R128 Driver

The Xorg R128 Driver package contains the X.Org Video Driver for ATI Rage 128 based video cards.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg R128 Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-r128-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    ATI Rage 128: Y or M

Installation of Xorg R128 Driver

Install Xorg R128 Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: r128_drv.so

Short Descriptions

r128_drv.so

is an Xorg video driver for ATI Rage 128 based video cards.

Xorg Savage Driver-2.3.7

Introduction to Xorg Savage Driver

The Xorg Savage Driver package contains the X.Org Video Driver for the S3 Savage family video accelerator chips including Savage3D, Savage4, Savage/MX, Savage/IX, SuperSavage/MX, SuperSavage/IX, ProSavage PM133, ProSavage KM133, Twister, TwisterK, ProSavage DDR and ProSavage DDR-K series.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Xorg Savage Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-savage-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    Savage video cards: Y or M

Installation of Xorg Savage Driver

Install Xorg Savage Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: savage_drv.so

Short Descriptions

savage_drv.so

is an Xorg video driver for S3 Savage video cards.

Xorg SiS Driver-0.10.7

Introduction to Xorg SiS Driver

The Xorg SiS Driver package contains the X.Org Video Driver for SiS (Silicon Integrated Systems) and XGI video cards including SiS5597/5598, SiS530/620, SiS6326/AGP/DVD, SiS300/305, SiS540, SiS630/730, SiS315/E/H/PRO, SiS550/551/552, SiS650/651/661/741, SiS330 (Xabre), SiS760/761, XGI Volari V3/V5/V8 and XGI Volari Z7 chipsets.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Additional Downloads

Xorg SiS Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-sis-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    SiS video cards: Y or M

Installation of Xorg SiS Driver

Install Xorg SiS Driver by running the following commands:

patch -Np1 -i ../xf86-video-sis-0.10.7-upstream_fixes-1.patch &&
./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: sis_drv.so

Short Descriptions

sis_drv.so

is an Xorg video driver for SiS and XGI video cards.

Xorg 3Dfx Driver-1.4.5

Introduction to Xorg 3Dfx Driver

The Xorg 3Dfx Driver package contains the X.Org Video Driver for 3Dfx video cards including Voodoo Banshee, Voodoo3, Voodoo4 and Voodoo5 chipsets.

This package is known to build using an LFS 7.6 platform but has not been tested.

Package Information

Xorg 3Dfx Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-tdfx-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    3dfx Banshee/Voodoo3+: Y or M

Installation of Xorg 3Dfx Driver

Install Xorg 3Dfx Driver by running the following commands:

sed -i -e "/mibstore.h/d" -e "/miInitializeBackingStore/d" src/tdfx_driver.c &&

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -e "/mibstore.h/d" ...: Fixes building with Xorg Server 1.14.0 and later.

Contents

Installed Xorg Driver: tdfx_drv.so

Short Descriptions

tdfx_drv.so

is an Xorg video driver for 3Dfx video cards.

Xorg VESA Driver-2.3.3

Introduction to Xorg VESA Driver

The Xorg VESA Driver contains the Generic VESA video driver for the Xorg X server. This driver is often used as fallback driver if the hardware specific driver fails to load or is not present. If this driver is not installed, Xorg Server will print a warning on startup, but it can be safely ignored if hardware specific driver works well.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg VESA Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-vesa-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
    -*- Support for frame buffer devices --->
      VESA VGA graphics support: Y

Installation of Xorg VESA Driver

Install Xorg VESA Driver by running the following commands:

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Xorg Driver: vesa_drv.so

Short Descriptions

vesa_drv.so

is an Xorg video driver for generic VESA video cards.

Xorg VMware Driver-13.0.2

Introduction to Xorg VMware Driver

The Xorg VMware Driver package contains the X.Org Video Driver for VMware SVGA virtual video cards.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Xorg VMware Driver Dependencies

Required

Xorg-Server-1.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xorg-vmware-driver

Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

Device Drivers  --->
  Graphics support  --->
    Direct Rendering Manager  --->
      DRM driver for VMware Virtual GPU: Y or M
        Enable framebuffer console under vmwgfx by default: Y

Installation of Xorg VMware Driver

Install Xorg VMware Driver by running the following commands:

sed -i "/xf86xv.h/i #include <xorg-server.h>" vmwgfx/vmwgfx_overlay.c &&

./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i ...: This sed fixes building with the latest version of Glibc.

Contents

Installed Xorg Driver: vmware_drv.so

Short Descriptions

vmware_drv.so

is an Xorg video driver for VMware SVGA virtual video card.

libva-1.3.1

Introduction to libva

The libva package contains a library which provides access to hardware accelerated video processing, using hardware to accelerate video processing in order to offload the central processing unit (CPU) to decode and encode compressed digital video. VA API video decode/encode interface is platform and window system independent targeted at Direct Rendering Infrastructure (DRI) in the X Window System however it can potentially also be used with direct framebuffer and graphics sub-systems for video output. Accelerated processing includes support for video decoding, video encoding, subpicture blending, and rendering.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

Additional Downloads

libva Dependencies

Required

MesaLib-10.2.7

Optional

Doxygen-1.8.8 and Wayland

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libva

Installation of libva

Install libva by running the following commands:

mkdir -p m4              &&
autoreconf   -f          &&
./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Installation of libva-intel-driver

The libva-intel-driver is designed specifically for video cards based on an Intel GPU. Install the driver by running the following commands:

mkdir -p m4              &&
autoreconf -f            &&
./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

mkdir -p m4: This command prevents an error that may occur when running autoreconf.

autoreconf -f: This command regenerates the configure script to prevent a mandatory test for wayland-scanner when configuring.

Contents

Installed Programs: avcenc, h264encode, loadjpeg, mpeg2vaenc, mpeg2vldemo, putsurface, putsurface_wayland, and vainfo
Installed Libraries: libva-drm.so, libva-egl.so, libva-glx.so, libva.so, libva-tpi.so, libva-wayland.so, and libva-x11.so
Installed Drivers: dummy_drv_video.so and i965_drv_video.so
Installed Directory: /usr/include/va

Short Descriptions

libva.so

contains API functions which provide access to hardware accelerated video processing.

libvdpau-0.8

Introduction to libvdpau

The libvdpau package contains a library which implements the VDPAU library.

VDPAU (Video Decode and Presentation API for Unix) is an open source library (libvdpau) and API originally designed by Nvidia for its GeForce 8 series and later GPU hardware targeted at the X Window System This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.

Currently, the portions capable of being offloaded by VDPAU onto the GPU are motion compensation (mo comp), inverse discrete cosine transform (iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2, MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded videos. Which specific codecs of these that can be offloaded to the GPU depends on the version of the GPU hardware; specifically, to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of Nvidia's GeForce graphics processing units) or newer GPU hardware is required.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

libvdpau Dependencies

Required

Xorg Libraries

Optional

Doxygen-1.8.8, Graphviz-2.38.0, and texlive-20140525

Runtime Dependency

MesaLib-10.2.7

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libvdpau

Installation of libvdpau

Install libvdpau by running the following commands:

./configure $XORG_CONFIG &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Contents

Installed Programs: None
Installed Library: libvdpau.so
Installed Directories: /usr/include/libvdpau and /usr/lib/libvdpau

Short Descriptions

libvdpau.so

contains functions to offload portions of the video decoding process and video post-processing to the GPU video-hardware.

libvdpau-va-gl-0.3.4

Introduction to libvdpau-va-gl

The libvdpau-va-gl package contains a library which implements the VDPAU library. Libvdpau_va_gl uses OpenGL under the hood to accelerate drawing and scaling and the VA-API (if available) to accelerate video decoding. For now VA-API is available on some Intel chips, and on some AMD video adapters with the help of the libvdpau driver.

This package is known to build and work properly using an LFS-7.6 platform.

Package Information

[Note]

Note

The tarball name for libvdpau-va-gl does not include the file name, although it does expand to libvdpau-va-gl-0.3.4. The file should be renamed after downloading:

mv v0.3.4.tar.gz libvdpau-va-gl-0.3.4.tar.gz

libvdpau-va-gl Dependencies

Required

CMake-3.0.1, FFmpeg-2.3.3, GLU-9.0.0, libvdpau-0.8, and libva-1.3.1

Optional

Doxygen-1.8.8, Graphviz-2.38.0, and texlive-20140525

Runtime Dependency

MesaLib-10.2.7

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libvdpau

Installation of libvdpau-va-gl

Install libvdpau-va-gl by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
make

To test the results, issue: make check. The tests must be run from an Xorg environment.

Now, as the root user:

make install

Configuration

To allow libvdpau to find libvdpau-va-gl, set an environment variable. As the root user:

echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh

Contents

Installed Programs: None
Installed Library: libvdpau_va_gl.so
Installed Directories: None

Short Descriptions

libvdpau_va_gl.so

contains functions to implement the OpenGL backend to the VDPAU (Video Decode and Presentation API for Unix) API.

Last updated on 2014-08-19 09:58:12 -0700