#!/bin/bash # Device ID names derived from Mesa, which are licensed # under the terms of MIT license: # # https://gitlab.freedesktop.org/mesa/mesa/blob/master/docs/license.html # # Build list of 8086 devices in from /sys/bus/pci/devices # # We create a regexp file we will then pass to grep; we could # build a string containging the regexps, but the regexp # would exceed 2048 bytes if there are more than ~200 PCI devices # # Since either the content-to-match or the regexps can be read from # stdin, we need to create at least one file. # TMP=$(mktemp) for dir in /sys/bus/pci/devices/*; do [[ -e "${dir}/vendor" ]] || continue [[ "$(cat ${dir}/vendor)" == "0x8086" ]] && { device=$(cat ${dir}/device) device=${device^^} # All upper case echo "^${device/0X/0x}" # ^ start-of-line (and 0x vs 0X) } done | sort -u > "${TMP}" { cat << EOF | grep -f "${TMP}" 0x7121 "I810" "i8xx" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x7123 "I810_DC100" "i8xx" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x7125 "I810_E" "i8xx" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1132 "I815" "i8xx" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3577 "I830_M" "Intel(R) 830M" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2562 "845_G" "Intel(R) 845G" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3582 "I855_GM" "Intel(R) 852GM/855GM" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2572 "I865_G" "Intel(R) 865G" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2582 "I915_G" "Intel(R) 915G" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x258A "E7221_G" "Intel(R) E7221G (i915)" 0 0 "" 0x2592 "I915_GM" "Intel(R) 915GM" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2772 "I945_G" "Intel(R) 945G" 0 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x27A2 "I945_GM" "Intel(R) 945GM" 0 0 "" 0x27AE "I945_GME" "Intel(R) 945GME" 0 0 "" 0x29B2 "Q35_G" "Intel(R) Q35" 0 0 "" 0x29C2 "G33_G" "Intel(R) G33" 0 0 "" 0x29D2 "Q33_G" "Intel(R) Q33" 0 0 "" 0xA011 "PNV_GM" "Intel(R) Pineview M" 0 0 "" 0xA001 "PNV_G" "Intel(R) Pineview" 0 0 "" 0x29A2 "i965" "Intel(R) 965G" 4 0 "" 0x2992 "i965" "Intel(R) 965Q" 4 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2982 "i965" "Intel(R) 965G" 4 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2972 "i965" "Intel(R) 946GZ" 4 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x2A02 "i965" "Intel(R) 965GM" 4 0 "" 0x2A12 "i965" "Intel(R) 965GME/GLE" 4 0 "" 0x2A42 "g4x" "Mobile IntelĀ® GM45 Express Chipset" 4 0 "" 0x2E02 "g4x" "Intel(R) Integrated Graphics Device" 4 0 "" 0x2E12 "g4x" "Intel(R) Q45/Q43" 4 0 "" 0x2E22 "g4x" "Intel(R) G45/G43" 4 0 "" 0x2E32 "g4x" "Intel(R) G41" 4 0 "" 0x2E42 "g4x" "Intel(R) B43" 4 0 "" 0x2E92 "g4x" "Intel(R) B43" 4 0 "" 0x0042 "ilk" "Intel(R) HD Graphics" 5 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0046 "ilk" "Intel(R) HD Graphics" 5 0 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0102 "snb_gt1" "Intel(R) HD Graphics 2000" 6 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0112 "snb_gt2" "Intel(R) HD Graphics 3000" 6 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0122 "snb_gt2" "Intel(R) HD Graphics 3000" 6 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0106 "snb_gt1" "Intel(R) HD Graphics 2000" 6 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0116 "snb_gt2" "Intel(R) HD Graphics 3000" 6 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0126 "snb_gt2" "Intel(R) HD Graphics 3000" 6 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x010A "snb_gt1" "Intel(R) HD Graphics 2000" 6 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0152 "ivb_gt1" "Intel(R) HD Graphics 2500" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0162 "ivb_gt2" "Intel(R) HD Graphics 4000" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0156 "ivb_gt1" "Intel(R) HD Graphics 2500" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0166 "ivb_gt2" "Intel(R) HD Graphics 4000" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x015A "ivb_gt1" "Intel(R) HD Graphics" 7 1 "" 0x016A "ivb_gt2" "Intel(R) HD Graphics P4000" 7 2 "" 0x0402 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0412 "hsw_gt2" "Intel(R) HD Graphics 4600" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0422 "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0406 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0416 "hsw_gt2" "Intel(R) HD Graphics 4600" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0426 "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x040A "hsw_gt1" "Intel(R) HD Graphics" 7 1 "" 0x041A "hsw_gt2" "Intel(R) HD Graphics P4600/P4700" 7 2 "" 0x042A "hsw_gt3" "Intel(R) HD Graphics" 7 3 "" 0x040B "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x041B "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x042B "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x040E "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x041E "hsw_gt2" "Intel(R) HD Graphics 4400" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x042E "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C02 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C12 "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C22 "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C06 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C16 "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C26 "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C0A "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C1A "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C2A "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C0B "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C1B "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C2B "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C0E "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C1E "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0C2E "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A02 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A12 "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A22 "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A06 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A16 "hsw_gt2" "Intel(R) HD Graphics 4400" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A26 "hsw_gt3" "Intel(R) HD Graphics 5000" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A0A "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A1A "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A2A "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A0B "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A1B "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A2B "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A0E "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A1E "hsw_gt2" "Intel(R) HD Graphics 4200" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A2E "hsw_gt3" "Intel(R) Iris(R) Graphics 5100" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D02 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D12 "hsw_gt2" "Intel(R) HD Graphics 4600" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D22 "hsw_gt3" "Intel(R) Iris(R) Pro Graphics 5200" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D06 "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D16 "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D26 "hsw_gt3" "Intel(R) Iris(R) Pro Graphics P5200" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D0A "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D1A "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D2A "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D0B "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D1B "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D2B "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D0E "hsw_gt1" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D1E "hsw_gt2" "Intel(R) HD Graphics" 7 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0D2E "hsw_gt3" "Intel(R) HD Graphics" 7 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0F31 "byt" "Intel(R) HD Graphics" 7 1 "" 0x0F32 "byt" "Intel(R) HD Graphics" 7 1 "" 0x0F33 "byt" "Intel(R) HD Graphics" 7 1 "" 0x0157 "byt" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0155 "byt" "Intel(R) HD Graphics" 7 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x22B0 "chv" "Intel(R) HD Graphics" 8 1 "" 0x22B1 "chv" "Intel(R) HD Graphics XXX" 8 1 "" 0x22B2 "chv" "Intel(R) HD Graphics" 8 1 "" 0x22B3 "chv" "Intel(R) HD Graphics" 8 1 "" 0x1602 "bdw_gt1" "Intel(R) HD Graphics" 8 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1606 "bdw_gt1" "Intel(R) HD Graphics" 8 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x160A "bdw_gt1" "Intel(R) HD Graphics" 8 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x160B "bdw_gt1" "Intel(R) HD Graphics" 8 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x160D "bdw_gt1" "Intel(R) HD Graphics" 8 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x160E "bdw_gt1" "Intel(R) HD Graphics" 8 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1612 "bdw_gt2" "Intel(R) HD Graphics 5600" 8 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1616 "bdw_gt2" "Intel(R) HD Graphics 5500" 8 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x161A "bdw_gt2" "Intel(R) HD Graphics P5700" 8 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x161B "bdw_gt2" "Intel(R) HD Graphics" 8 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x161D "bdw_gt2" "Intel(R) HD Graphics" 8 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x161E "bdw_gt2" "Intel(R) HD Graphics 5300" 8 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1622 "bdw_gt3" "Intel(R) Iris(R) Pro Graphics 6200" 8 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1626 "bdw_gt3" "Intel(R) HD Graphics 6000" 8 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x162A "bdw_gt3" "Intel(R) Iris(R) Pro Graphics P6300" 8 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x162B "bdw_gt3" "Intel(R) Iris(R) Graphics 6100" 8 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x162D "bdw_gt3" "Intel(R) HD Graphics" 8 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x162E "bdw_gt3" "Intel(R) HD Graphics" 8 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1902 "skl_gt1" "Intel(R) HD Graphics 510" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1906 "skl_gt1" "Intel(R) HD Graphics 510" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x190A "skl_gt1" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x190B "skl_gt1" "Intel(R) HD Graphics 510" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x190E "skl_gt1" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1912 "skl_gt2" "Intel(R) HD Graphics 530" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1913 "skl_gt2" "Intel(R) HD Graphics" 9 2 "" 0x1915 "skl_gt2" "Intel(R) HD Graphics" 9 2 "" 0x1916 "skl_gt2" "Intel(R) HD Graphics 520" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1917 "skl_gt2" "Intel(R) HD Graphics" 9 2 "" 0x191A "skl_gt2" "Intel(R) HD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x191B "skl_gt2" "Intel(R) HD Graphics 530" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x191D "skl_gt2" "Intel(R) HD Graphics P530" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x191E "skl_gt2" "Intel(R) HD Graphics 515" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1921 "skl_gt2" "Intel(R) HD Graphics 520" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1923 "skl_gt3" "Intel(R) HD Graphics 535" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1926 "skl_gt3" "Intel(R) Iris(R) Graphics 540" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1927 "skl_gt3" "Intel(R) Iris(R) Graphics 550" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x192A "skl_gt4" "Intel(R) HD Graphics" 9 4 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x192B "skl_gt3" "Intel(R) Iris(R) Graphics 555" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x192D "skl_gt3" "Intel(R) Iris(R) Graphics P555" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1932 "skl_gt4" "Intel(R) Iris(R) Pro Graphics 580" 9 4 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x193A "skl_gt4" "Intel(R) Iris(R) Pro Graphics P580" 9 4 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x193B "skl_gt4" "Intel(R) Iris(R) Pro Graphics 580" 9 4 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x193D "skl_gt4" "Intel(R) Iris(R) Pro Graphics P580" 9 4 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x0A84 "bxt" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1A84 "bxt" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x1A85 "bxt_2x6" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A84 "bxt" "Intel(R) HD Graphics 505" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A85 "bxt_2x6" "Intel(R) HD Graphics 500" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3184 "glk" "Intel(R) UHD Graphics 605" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3185 "glk_2x6" "Intel(R) UHD Graphics 600" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5902 "kbl_gt1" "Intel(R) HD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5906 "kbl_gt1" "Intel(R) HD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x590A "kbl_gt1" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5908 "kbl_gt1" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x590B "kbl_gt1" "Intel(R) HD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x590E "kbl_gt1" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5913 "kbl_gt1_5" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5915 "kbl_gt1_5" "Intel(R) HD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5917 "kbl_gt2" "Intel(R) UHD Graphics 620" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5912 "kbl_gt2" "Intel(R) HD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5916 "kbl_gt2" "Intel(R) HD Graphics 620" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x591A "kbl_gt2" "Intel(R) HD Graphics P630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x591B "kbl_gt2" "Intel(R) HD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x591D "kbl_gt2" "Intel(R) HD Graphics P630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x591E "kbl_gt2" "Intel(R) HD Graphics 615" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5921 "kbl_gt2" "Intel(R) HD Graphics 620" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5923 "kbl_gt3" "Intel(R) HD Graphics 635" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5926 "kbl_gt3" "Intel(R) Iris(R) Plus Graphics 640 (Kaby Lake GT3e)" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5927 "kbl_gt3" "Intel(R) Iris(R) Plus Graphics 650 (Kaby Lake GT3e)" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x593B "kbl_gt4" "Intel(R) HD Graphics" 9 4 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x591C "kbl_gt2" "Intel(R) UHD Graphics 615" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x87C0 "kbl_gt2" "Intel(R) UHD Graphics 617" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x87CA "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x3E90 "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E93 "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E99 "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E9C "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x3E91 "cfl_gt2" "Intel(R) UHD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E92 "cfl_gt2" "Intel(R) UHD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E96 "cfl_gt2" "Intel(R) UHD Graphics P630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E98 "cfl_gt2" "Intel(R) UHD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E9A "cfl_gt2" "Intel(R) UHD Graphics P630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E9B "cfl_gt2" "Intel(R) UHD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3E94 "cfl_gt2" "Intel(R) UHD Graphics P630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA9 "cfl_gt2" "Intel(R) UHD Graphics 620" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA5 "cfl_gt3" "Intel(R) Iris(R) Plus Graphics 655" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA6 "cfl_gt3" "Intel(R) Iris(R) Plus Graphics 645" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA7 "cfl_gt3" "Intel(R) HD Graphics" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA8 "cfl_gt3" "Intel(R) Iris(R) Plus Graphics 655" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA1 "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA4 "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA0 "cfl_gt2" "Intel(R) UHD Graphics 620" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA3 "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x3EA2 "cfl_gt3" "Intel(R) UHD Graphics" 9 3 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x9B21 "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BA0 "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BA2 "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BA4 "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BA5 "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BA8 "cfl_gt1" "Intel(R) UHD Graphics 610" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BAA "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BAB "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BAC "cfl_gt1" "Intel(R) UHD Graphics" 9 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9B41 "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BC0 "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BC2 "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BC4 "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BC5 "cfl_gt2" "Intel(R) UHD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BC6 "cfl_gt2" "Intel(R) UHD Graphics P630" 9 2 "redhat-8.2,ubuntu-20.04" 0x9BC8 "cfl_gt2" "Intel(R) UHD Graphics 630" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BCA "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BCB "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BCC "cfl_gt2" "Intel(R) UHD Graphics" 9 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x9BE6 "cfl_gt2" "Intel(R) UHD Graphics P630" 9 2 "redhat-8.2,ubuntu-20.04" 0x9BF6 "cfl_gt2" "Intel(R) UHD Graphics P630" 9 2 "redhat-8.2,ubuntu-20.04" 0x5A49 "cnl_gt0_5" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A4A "cnl_gt0_5" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A41 "cnl_gt1" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A42 "cnl_gt1" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A44 "cnl_gt1" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x5A59 "cnl_gt1_5" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A5A "cnl_gt1_5" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A5C "cnl_gt1_5" "Intel(R) HD Graphics" 10 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x5A50 "cnl_gt2" "Intel(R) HD Graphics" 10 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x5A51 "cnl_gt2" "Intel(R) HD Graphics" 10 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A52 "cnl_gt2" "Intel(R) HD Graphics" 10 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04,ubuntu-18.04" 0x5A54 "cnl_gt2" "Intel(R) HD Graphics" 10 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A50 "icl_gt2" "Intel(R) HD Graphics" 11 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A51 "icl_gt2" "Intel(R) Iris(R) Plus Graphics" 11 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A52 "icl_gt2" "Intel(R) Iris(R) Plus Graphics" 11 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A53 "icl_gt2" "Intel(R) Iris(R) Plus Graphics" 11 2 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A54 "icl_gt1_5" "Intel(R) Iris(R) Plus Graphics" 11 1 "ubuntu-20.04" 0x8A56 "icl_gt1" "Intel(R) UHD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A57 "icl_gt1_5" "Intel(R) HD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A58 "icl_gt1" "Intel(R) UHD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A59 "icl_gt1_5" "Intel(R) HD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A5A "icl_gt1_5" "Intel(R) Iris(R) Plus Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A5B "icl_gt1" "Intel(R) HD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A5C "icl_gt1_5" "Intel(R) Iris(R) Plus Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A5D "icl_gt1" "Intel(R) HD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x8A71 "icl_gt0_5" "Intel(R) HD Graphics" 11 1 "redhat-8.2,redhat-8.1,suse-15sp1,ubuntu-20.04" 0x4500 "ehl_4x8" "Intel(R) UHD Graphics" 11 1 "redhat-8.2,ubuntu-20.04" 0x4541 "ehl_2x4" "Intel(R) UHD Graphics" 11 1 "redhat-8.2,ubuntu-20.04" 0x4551 "ehl_4x4" "Intel(R) UHD Graphics" 11 1 "redhat-8.2,ubuntu-20.04" 0x4555 "ehl_2x8" "Intel(R) UHD Graphics" 11 1 "" 0x4557 "ehl_4x5" "Intel(R) UHD Graphics" 11 1 "" 0x4571 "ehl_4x8" "Intel(R) UHD Graphics" 11 1 "redhat-8.2,ubuntu-20.04" 0x4E51 "ehl_4x4" "Intel(R) UHD Graphics" 11 1 "" 0x4E55 "ehl_2x8" "Intel(R) UHD Graphics" 11 1 "" 0x4E57 "ehl_4x5" "Intel(R) UHD Graphics" 11 1 "" 0x4E61 "ehl_4x6" "Intel(R) UHD Graphics" 11 1 "" 0x4E71 "ehl_4x8" "Intel(R) UHD Graphics" 11 1 "" EOF } | { found=0 while read line; do eval "info=($line)" found=1 echo "Name : ${info[2]}" echo "PCI ID : 8086:${info[0]/0x}" echo "Gen : ${info[3]}" echo "GT : ${info[4]}" echo "In-distro support: ${info[5]}" done rm "${TMP}" (( $found )) || { echo "No Intel graphics hardware found." exit 1 } } exit 0