ng.*_*bie 10 xorg pci configuration amd-graphics
从输出中lspci
我如何解释BUSID
for xorg.conf.d
?
例子:
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] (rev 83)
Run Code Online (Sandbox Code Playgroud)
BUSID
如何为AMD卡编写?
它是否正确 ?BUSID PCI 0@1:00:0
在lspci
输出中,01:00.0
表示总线 1、设备 0、功能 0,它映射到BusID
以下说明符PCI:1:0:0
(不指定域):
BusID "PCI:1:0:0"
Run Code Online (Sandbox Code Playgroud)
有关详细信息,请参阅文档。xorg.conf
对于 PCI/AGP 卡,总线 id 字符串的格式为 PCI:bus@domain:device:function (例如,\xe2\x80\x9cPCI:1@0:0:0\xe2\x80\x9d 可能适用于AGP 卡)。
\n但现在您想知道有关该域的信息,并且 xorg.conf 官方文档仅让您知道您不需要它,除非您需要它。
\n我们将使用“lspci”脚本和 -s 开关来查找域。“-s”开关具有过滤器“[[[[domain]:]bus]:][slot][.[func]]”。域的编号范围为 0 到 ffff)、总线(0 到 ff)、插槽(0 到 1f)和功能(0 到 7)。
\n因此,对于您的示例,测试域 0、总线 1、插槽 0(如果没有 .func,它将搜索所有 func)。
\nlspci -s 0:1:0\n
Run Code Online (Sandbox Code Playgroud)\n如果输出是你的卡片,那么最终的形式是
\nBusID "PCI:1@0:0:0"\n
Run Code Online (Sandbox Code Playgroud)\n注意bus@domain,而不是domain@bus。对于大多数主板,事实是域始终为 0。我有两张卡,一张位于总线 1 上,另一张位于总线 7 上,但它们都位于域 0 上。我怀疑域 > 0 意味着您有一个 PCIE 结构交换机,但我不确定。
\n