GPU and Feature Tables

From Second Life Wiki
Jump to navigation Jump to search

Overview

There are a set of configuration files in the Second Life install folder that control the default settings and overrides for various graphics chips on different platforms:

  • gpu_table.txt - assigns a "class" to a graphics chip
  • feature_table(_linux/_mac/_xp).txt - defines specific features to be enabled or disabled by default based on a variety of conditions

GPU Table

The GPU table is uniform for all platforms and contains a list of regular expressions that match GPU names reported by graphics drivers to a specific chip or category of chips. Each entry is of the format:

<recognizer name> <regular expression> <class> <supported>


These fields are defined as:

  • recognizer name - a human readable identifier for that chip
  • regular expression - a regular expression used to match driver reported names
  • class - a simplistic categorization of the chip's capabilities (see below)
  • supported - 0 or 1, indicating unsupported or supported. If a name reported by the driver cannot be matched to a regular expression in the table, it is assumed to be unsupported

GPU Class

There are currently four classes of GPU:

  • Class 0 - low power or obsolete hardware, defaults to "low" detail.
  • Class 1 - Low power or "economy" hardware, defaults to "mid" detail.
  • Class 2 - Mid-range or "mainstream" hardware, defaults to "high" detail.
  • Class 3 - High-end or "enthusiast" hardware, default to "high" detail.