OBS-Studio、グラフィックボード調べる

自分の環境でobsをインストールすると設定→出力の
VAAPI Deviceのプルダウンメニューにカードが2つ出る
Card0:/dev/dri/renderD128
Card1:/dev/dri/renderD129
BIOSでオンボードのインテルグラフィックも有効にしてるからだと思うけど、どっちがどっちなの?って事で調べてみた。
┌─[root@calculate]─[/home/yper]
└──>#udevadm info -a -n /dev/dri/card0

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0':
KERNEL=="card0"
SUBSYSTEM=="drm"
DRIVER==""

looking at parent device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0':
KERNELS=="0000:01:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="nvidia"
ATTRS{broken_parity_status}=="0"
ATTRS{subsystem_device}=="0x3772"
ATTRS{dma_mask_bits}=="47"
ATTRS{vendor}=="0x10de"
Card0=Nvidia
┌─[root@calculate]─[/home/yper]
└──>#udevadm info -a -n /dev/dri/card1

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/devices/pci0000:00/0000:00:02.0/drm/card1':
KERNEL=="card1"
SUBSYSTEM=="drm"
DRIVER==""
ATTR{gt_RPn_freq_mhz}=="350"
ATTR{gt_RP1_freq_mhz}=="350"
ATTR{gt_max_freq_mhz}=="1200"
ATTR{gt_act_freq_mhz}=="350"
ATTR{error}=="No error state collected"
ATTR{gt_min_freq_mhz}=="350"
ATTR{gt_cur_freq_mhz}=="350"
ATTR{gt_RP0_freq_mhz}=="1200"
ATTR{gt_boost_freq_mhz}=="1200"

looking at parent device '/devices/pci0000:00/0000:00:02.0':
KERNELS=="0000:00:02.0"
SUBSYSTEMS=="pci"
DRIVERS=="i915"
ATTRS{broken_parity_status}=="0"
ATTRS{subsystem_device}=="0xd000"
Card1=i915(intel)

この記事へのコメント