User Tools

Site Tools


ubuntu:gpu:drivers:get_the_list_of_attached_graphic_drivers_xorg_only

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 10:57 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki