# $Id$
# This is the database of card definitions used by XFdrake
#

# Each definition should have a NAME entry, a DRIVER
#
# A reference to another definition is made with SEE (already defined
# entries are not overridden).
#
# Optional entries are:
#
# NOCLOCKPROBE: advises never to probe clocks
# UNSUPPORTED: indicates card that is not yet properly supported by XFree4
# LINE: adds a line of text to be included in the Device section (can include options or comments).
#
# DRI_GLX: 3D acceleration configuration for XFree 4 using DRI.
# DRI_GLX_EXPERIMENTAL: DRI, but EXPERIMENTAL and may freeze the machine.
#
# BAD_FB_RESTORE: for bad cards not restoring cleanly framebuffer (XFree 4)
#
# MULTI_HEAD 2: for DualHead cards (think Matrox G450)
# MULTI_HEAD n: for n Head cards (eg: "MULTI_HEAD 4" for QuadHead)
# FB_TVOUT: the card displays to a plugged TV when in framebuffer
#
#


######################################################################
# Generic drivers
NAME VESA driver (generic)
CHIPSET VESA VBE 2.0
DRIVER vesa

NAME VGA driver (generic)
DRIVER vga

NAME FrameBuffer (generic)
DRIVER fbdev


#Chips & Technologies

NAME Chips & Technologies-based cards
DRIVER chips
LINE # Device section for C&T cards.
LINE # Option "suspend_hack"
LINE # Option "STN"
LINE # Option "no_stretch"
LINE # Option "no_center"
LINE # Option "use_modeline"
LINE # Option "fix_panel_size"
LINE # videoram 512

# Cirrus Logic

NAME Cirrus Logic GD542x-based cards
DRIVER vga
LINE # Device section for Cirrus Logic GD5420/2/4/6/8/9-based cards.
LINE     #MemBase 0x00e00000
LINE     #MemBase 0x04e00000
LINE     #Option "linear"

NAME Cirrus Logic GD54xx-based cards
DRIVER cirrus

# S3

NAME S3 8xx / 9xx / Trio / Aurora64V+-based cards
DRIVER s3
NEEDVIDEORAM

NAME S3 ViRGE-based cards
DRIVER s3virge
NEEDVIDEORAM

NAME S3 Trio3D-based cards
DRIVER s3virge
LINE Option "sw_cursor"

NAME S3 Savage-based cards
DRIVER savage
NEEDVIDEORAM

# S3 UniChrome (via)

# Some cards do not have 3D support, or 3D support is not safe: see
# http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=HardwareCaveats
# According to pcpa, hardware cursor causes display corruption on some
# models as of 2007/08/21

NAME S3 UniChrome-based cards with 3D support
DRIVER openchrome
# 3D needs a DRM driver in kernel:
DRI_GLX
LINE Option	"SWcursor"

# Same as UniChrome, but no 3D support yet

NAME VIA Chrome9-based cards
DRIVER openchrome
LINE Option	"SWcursor"

# Tseng

# All potential driver options, and non-PCI-based cards, dropped (2007/03/08) on 
# advice of current Tseng maintainer, Luc Verhaegen. Non-PCI cards are no longer 
# supported, and no options should be necessary for remaining supported cards.

NAME Tseng ET4000W32p / ET6x00-based cards
DRIVER tseng
NEEDVIDEORAM

# AMD
NAME AMD Geode GX/LX
DRIVER geode

# ATI

NAME ATI Mach 64-based cards
DRIVER mach64
DRI_GLX

# The first 128 definition is only used in pcitable, and the second only
# in pcitable.x86_64. This way, 3D is enabled for these cards on i586 but
# disabled on x86-64 (apparently it locks hard on x86-64).

NAME ATI Rage 128-based cards
DRIVER r128
DRI_GLX

NAME ATI Rage 128-based cards (3D disabled on x86-64)
DRIVER r128

NAME ATI Mach 64-based cards (no 3D acceleration)
DRIVER mach64

NAME ATI Rage 128 TV-out
SEE ATI Rage 128-based cards
FB_TVOUT

# Radeon cards not supported by proprietary driver: update name 
# as support changes
NAME ATI Radeon X1950 and earlier
DRIVER ati
DRI_GLX

# FireGL cards not supported by proprietary driver:
# update name as support changes
NAME ATI r300/r400/r500 based FireGL
SEE ATI Radeon X1950 and earlier

# Radeon cards supported by proprietary driver and free 'radeon'
# driver: update name as support changes
NAME ATI Radeon HD 2000 and later (radeon/fglrx)
DRIVER ati
DRI_GLX
DRIVER2 fglrx

# FireGL cards supported by proprietary driver and free 'radeon'
# driver: update name as support changes
NAME ATI r600 based FireGL
SEE ATI Radeon HD 2000 and later (radeon/fglrx)

# FirePro cards as above:
NAME ATI FirePro (radeon/fglrx)
SEE ATI Radeon HD 2000 and later (radeon/fglrx)

# Radeon cards supported by proprietary driver but not free 'radeon'
# driver. Radeonhd can autodetect unknown cards within the supported
# chipsets, so use radeonhd for them.
# Additionally, it is used for following cards that do not work
# correctly with the 'radeon' driver:
# ATI Radeon HD 3200 Graphics (1002:9610)
# - https://qa.mandriva.com/show_bug.cgi?id=49824
NAME ATI Radeon HD 2000 and later (radeonhd/fglrx)
DRIVER radeonhd
DRI_GLX
DRIVER2 fglrx

# FirePro cards as above:
# driver: update name as support changes
NAME ATI FirePro (radeonhd/fglrx)
SEE ATI Radeon HD 2000 and later (radeonhd/fglrx)

# Radeon cards not supported by proprietary driver or free 'radeon'
# driver. Radeonhd can autodetect unknown cards within the supported
# chipsets, so use radeonhd for them.
# These are probably bogus entries, as not even fglrx listed them when it
# still had r500 support. 71e7 seems to be a secondary port according to
# ATI_Device_IDs.txt.
# 71e7 RV535 [Radeon X1650 Series] (secondary port)
# 7241	R580 [Radeon X1900]	
# 7242	R580 [Radeon X1900]
NAME ATI Radeon X1650 Secondary 71e7
DRIVER radeonhd
DRI_GLX

NAME ATI Radeon X1900 7241/7242
SEE ATI Radeon X1650 Secondary 71e7

# ARK Logic

NAME Ark Logic ARKx000-based cards
DRIVER ark

# Trident

NAME Trident-based cards
DRIVER trident

# SiS

NAME SiS USB video adapter
DRIVER sisusb

NAME SiS old series-based cards
DRIVER sis

NAME SiS 300 series-based cards
DRIVER sis
DRI_GLX

NAME SiS SiS / XGI 315 / 330 / 340 series-based cards
DRIVER sis

NAME SiS SiS 670 / 671-based cards
DRIVER sisimedia

# Cyrix

NAME MediaGX
DRIVER cyrix

# Number 9 I128

NAME Number Nine I-128-based cards
DRIVER i128

# Matrox

NAME Matrox Millennium / II / Productiva G100
DRIVER mga
BAD_FB_RESTORE

NAME Matrox Millennium G series (single head)
DRIVER mga
DRI_GLX
BAD_FB_RESTORE

NAME Matrox Millennium G series (dual head)
SEE Matrox Millennium G series (single head)
MULTI_HEAD 2

NAME Matrox Millennium G200 (quad head)
SEE Matrox Millennium G series (single head)
MULTI_HEAD 4

# NVIDIA

NAME NVIDIA RIVA 128
DRIVER nv
BAD_FB_RESTORE

NAME NVIDIA RIVA TNT to GeForce 2
DRIVER nv
#DRIVER2 nvidia71xx (not compatible with x.org server 1.6)

NAME NVIDIA GeForce 2 MX to GeForce 4
DRIVER nv
DRIVER2 nvidia96xx

NAME NVIDIA GeForce FX series
DRIVER nv
DRIVER2 nvidia173

NAME NVIDIA GeForce 6100 and later
DRIVER nv
DRIVER2 nvidia-current
DRIVER2_NO_SSE nvidia96xx

NAME NVIDIA GeForce3 (xbox)
DRIVER nvxbox
LINE Option "UseFBDev" "1"
LINE Option "HWCursor" "0"

NAME NVIDIA GeForce (nouveau driver, experimental)
DRIVER nouveau

# This entry blacklists IDs that are known from MDV and / or
# freedesktop.org reports to not work with the 'nv' driver. Reports:

# https://qa.mandriva.com/show_bug.cgi?id=38391 - 053A
# http://bugs.freedesktop.org/show_bug.cgi?id=13629 - 053B
# http://bugs.freedesktop.org/show_bug.cgi?id=15251 - 0533
# http://bugs.freedesktop.org/show_bug.cgi?id=16565 - 0531
# http://bugs.freedesktop.org/show_bug.cgi?id=17526 - 0849
# http://bugs.freedesktop.org/show_bug.cgi?id=18092 - 0848
# http://bugs.freedesktop.org/show_bug.cgi?id=19545 - 0863, 086a
# http://bugs.freedesktop.org/show_bug.cgi?id=19617 - 0641
#
# Note that 086a is not listed even in nvidia-current, even while it works with
# it.

NAME NVIDIA cards not working with nvidia
DRIVER nv

NAME NVIDIA cards not working with nv
DRIVER vesa
DRIVER2 nvidia-current
DRIVER2_NO_SSE nvidia96xx

# IMS

NAME IMS TwinTurbo-based cards
DRIVER imstt

# 3DLabs

NAME 3Dlabs Glint / Permedia-based cards
DRIVER glint

NAME 3Dlabs Glint / Permedia-based cards (software cursor)
LINE Option	"SWcursor"
DRIVER glint

NAME Diamond Fire GL 3000
LINE Option     "SWcursor"
DRIVER glint
LINE Option "FireGL3000" "true"

# Alliance Semiconductor

NAME Alliance ProMotion-based cards
DRIVER apm

# NeoMagic

NAME NeoMagic MagicGraph (laptop/notebook)
DRIVER neomagic
LINE	  Option     "overrideValidateMode"
LINE #    Chipset    "NM2160"
LINE #    IOBase     0xfea00000
LINE #    MemBase    0xfd000000
LINE #    VideoRam   2048
LINE #    DacSpeed   90
LINE #    Option     "linear"
LINE #    Option     "nolinear"
LINE #    Option     "sw_cursor"
LINE #    Option     "hw_cursor"
LINE #    Option     "no_accel"
LINE #    Option     "intern_disp"
LINE #    Option     "extern_disp"
LINE #    Option     "mmio"
LINE #    Option     "no_mmio"
LINE #    Option     "lcd_center"
LINE #    Option     "no_stretch"

NAME NeoMagic 128XD
SEE NeoMagic MagicGraph (laptop/notebook)
LINE     Option "XaaNoScanlineImageWriteRect"
LINE     Option "XaaNoScanlineCPUToScreenColorExpandFill"

NAME NeoMagic MagicMedia (laptop/notebook)
DRIVER neomagic

NAME NeoMagic MagicMedia 256XL+
SEE NeoMagic MagicMedia (laptop/notebook)
LINE Option "sw_cursor"


# Digital

NAME Digital 8-plane TGA (Generic)
CHIPSET TGA
DRIVER tga

NAME Digital 8-plane TGA (Bt485-based)
CHIPSET TGA
DRIVER tga
LINE     Ramdac "Bt485"

NAME Digital 24-plane TGA
CHIPSET TGA
DRIVER tga
LINE     Ramdac "Bt463"

# Rendition

NAME Rendition Verite-based cards
DRIVER rendition
LINE # Option "sw_cursor"

# Intel

NAME Intel 740-based cards
DRIVER i740
LINE     #Option     "no_accel"
LINE     #Option     "sw_cursor"
LINE     #Option     "hw_cursor"
LINE     #Option     "sgram"
LINE     #Option     "sdram"

NAME Intel 810 and later
DRIVER intel
DRI_GLX

# unlike i815 and newer, i810 doesn't support graphical installer:
# using "i810" driver instead of "intel" b/c of segfault when using XAA acceleration
NAME Intel 810
DRIVER i810
DRI_GLX

NAME Intel Vermilion-based cards
DRIVER vermilion

NAME Intel Poulsbo US15W (GMA500)
DRIVER psb
DRI_GLX

# 3DFX

NAME 3DFX Voodoo / Voodoo II
DRIVER voodoo

NAME 3DFX Voodoo 3 - 5 / Banshee / Rush
DRIVER tdfx
DRI_GLX

# Silicon Motion, Inc.

NAME Silicon Motion Lynx-based cards
DRIVER siliconmotion

# Sun

NAME Sun Monochrome (bwtwo)
DRIVER sunbw2
 
NAME Sun Color3 (cgthree)
DRIVER suncg3

NAME Sun GX-based cards
DRIVER suncg6
 
NAME Sun SX-based cards
DRIVER suncg14

NAME Sun ZX-based cards
DRIVER sunleo

NAME Sun TCX-based cards
DRIVER suntcx

NAME Sun Elite3D- / FFB-based cards
DRIVER sunffb

# VMware virtual video cards

NAME VMware virtual video card
DRIVER vmware

# VirtualBox virtual video cards

NAME VirtualBox virtual video card
DRIVER vboxvideo

# Misc

END