dridrivers

This is an old revision of the document!


Direct Rendering on FreeBSD

FreeBSD currently supports the following DRM/DRI devices in its base system with the x11/xorg meta-port:

  • Intel i915 (i830 through G45) (i915drm)
  • ATI Mach 64 (mach64drm)
  • Matrox G200-G550 AGP (mgadrm)
  • ATI Rage 128 (r128drm)
  • ATI Radeon through X1950 and pre-HD IGP parts (radeondrm)
  • ATi Radeon HD2350 through HD4890 - see the notes for details (radeondrm)
  • S3 Savage through Pro Savage (savagedrm)
  • SiS 300-series (300/305, 315, 540, 630, 661, 730) (sisdrm)
  • 3dfx Voodoo Banshee through Voodoo5 (tdfxdrm)
  • Via Openchrome (viadrm) on 9-CURRENT only at present

The latest Intel driver available in ports is 2.7.1, patched to work with the current Xorg metaport. Users with Ironlake chipsets only may want to try the port x11-drivers/xf86-video-intel29 which may work with some Ironlake devices.

The Openchrome driver exists in ports as x11-drivers/xf86-video-openchrome and is installed by default with the xorg-drivers metaport due to the retirement of the via(4x) driver. 9-CURRENT has Openchrome kernel DRM, which should be MFC'd back to 8 soon, pending updates to the code.

From 7.2-RELEASE, the radeondrm kernel module supports R600 and R700 cards but it only enables EXA and Xv acceleration on anything pre-8-STABLE. There is support for almost complete R6/700 3D hardware acceleration in 8-STABLE and 9-CURRENT which requires setting WITHOUT_NOUVEAU as a global macro when installing GL-related ports and forsaking the use of the xf86-video-nouveau port. Please see ports/UPDATING entry for 20100207. There is currently no DRI support for Evergreen based cards (HD5xxx).

There are also ongoing efforts to port Nouveau, an attempt to reverse engineer the binary nVidia drivers and create a free, open nVidia driver, based on the obfuscated nv(4x) driver. There is no hardware 3D support at present, but software rendering works as normal. Note also that glxinfo will report direct rendering as active regardless of the renderer in use. Nouveau may need patches to be usable as the development process continues. Please check this page for links before contacting x11@ with queries.

Xorg's drivers and DRI/DRM are currently in a state of flux with new technology (KMS, DRI2, GEM, TTM, Gallium3D etc.) being introduced upstream. The cutting edge development often happens with Linux primarily in mind and porting to FreeBSD is no small task. Unfortunately, this could lead to some instability for people who update their ports/packages regularly as the X server and drivers start implementing these, especially with Intel devices whose drivers are becoming more and more dependent on GEM. Work is being done to keep these devices operating as well as possible but there may still be breakage.

  • dridrivers.1272703100.txt.gz
  • Last modified: 2010/05/01 08:38
  • by MattDawson