aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-10-26 12:34:37 +0800
committerXi Ruoyao <xry111@xry111.site>2024-10-26 12:34:37 +0800
commit0c77bf1382ac0c3c505d6bd572efad6024171c4d (patch)
treedc7fc7deea11bd8e432d264d561a862a42cc1285
parent3ead0faa42bf73269797eced8cd0d728083e35f5 (diff)
intel-media: No longer use online page for determining the model
The page has been updated several times and the procedure does not work anymore.
-rw-r--r--multimedia/libdriv/intel-media.xml23
1 files changed, 12 insertions, 11 deletions
diff --git a/multimedia/libdriv/intel-media.xml b/multimedia/libdriv/intel-media.xml
index 3b9275ae33..5928a26c8e 100644
--- a/multimedia/libdriv/intel-media.xml
+++ b/multimedia/libdriv/intel-media.xml
@@ -153,18 +153,19 @@
To determine the model of the Intel GPU, install
<xref linkend='pciutils'/> and run
<command>lspci -nn | grep -Ei 'VGA|DISPLAY'</command> first.
- It will output some information about the GPU. If the output
- contains <literal>Meteor Lake</literal>, the GPU model is
- <literal>MTL</literal>. Otherwise, follow
- <ulink url='https://dgpu-docs.intel.com/devices/hardware-table.html'/>
- to find the entry for your GPU and the model of the GPU should
- be in the <quote>Architecture</quote> column. The Xe and Xe-HPG
- architectures are covered by the <literal>GEN12</literal> model.
+ It will output some information about the GPU, including
+ the PCI vendor ID (<literal>8086</literal> for Intel) and the
+ PCI device ID. For example, with an Intel Core i5-11300H CPU, the
+ output is <literal>8086:9a49</literal>. Now searching for the
+ registeration of this device ID in the intel-media source tree:
+ </para>
+ <screen role='nodump'><userinput>grep -ri 'RegisterDevice(0x<replaceable>9a49</replaceable>'</userinput></screen>
+ <para>
+ And determine the GPU model from the file name containing the
+ registeration. For the example above, the file name is
+ <filename>media_sysinfo_g12.cpp</filename>, indicating the model
+ is <literal>GEN12</literal>.
</para>
- <!-- TODO: The info about MTL is my best guess, the referred Intel
- page does not contain Meteor Lake GPU PCI devicd ID as at Feb 2024.
- XeHPC is not enabled by default but they are some data center GPUs.
- Not sure if anyone will run LFS in a data center. -->
</note>
<!--
<para>