ubuntu:gpu:drivers:get_the_list_of_attached_graphic_drivers_xorg_only
Table of Contents
Ubuntu - GPU - Drivers - Get the list of attached graphic drivers (Xorg only)
xrandr --listproviders
returns:
Providers: number : 1 Provider 0: id: 0x59 cap: 0x9, Source Output, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:AMD Radeon RX 5700 XT @ pci:0000:0b:00.0
NOTE: This shows there is a single graphic cards with (id 0x59), which should be used for GPU-intensive applications.
More than one GPU installed
If more than one GPU is installed, multiple providers will be returned:
xrandr --listproviders
returns:
Providers: number : 2 Provider 0: id: 0x7d cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:Intel Provider 1: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 1 associated providers: 1 name:radeon
References
ubuntu/gpu/drivers/get_the_list_of_attached_graphic_drivers_xorg_only.txt · Last modified: 2023/06/25 09:57 by peter