如何找到Xorg conf“Device”显卡部分的“Identifier”值?


3

使用X :2 -configure,我发现Xorg Card0用作设备名称来配置图形驱动程序:

Section "Device"
    Identifier "Card0"
    Driver     "radeon"
    Option ....
EndSection

我也尝试使用,Radeon因为Identifier它也有效。价值Card0从何而来?换句话说,是第一个显卡的默认值?为什么它Radeon也适用于它的位置?


使用BusID,它是独一无二的。喜欢这个问题。
puchu 2016年

Answers:


4

Identifier是您为设备提供的名称。它不是由Xorg评估的,它仅在您想要在任何其他部分(如监视器或屏幕)中引用该设备时使用。对于没有xorg.conf分区的设备,Xorg会自行分配名称,如您所知,从开头Card0。如果你有两个显卡,它将Card1用于第二个。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.