ubuntu:gpu:amd_gpu:monitor:manually:check_the_current_link_speed_for_the_gpu
Table of Contents
Ubuntu - GPU - AMD GPU - Monitor - Manually - Check the Current Link Speed for the GPU
Determine what the bus is for the GPU
sudo lshw -c video
returns:
*-display description: VGA compatible controller product: Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:0c:00.0 logical name: /dev/fb0 version: c8 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb configuration: depth=32 driver=amdgpu latency=0 mode=3440x1440 resolution=3440,1440 visual=truecolor xres=3440 yres=1440 resources: iomemory:f00-eff iomemory:f80-f7f irq:129 memory:f000000000-f7ffffffff memory:f800000000-f80fffffff ioport:e000(size=256) memory:fcb00000-fcbfffff memory:fcc00000-fcc1ffff
NOTE: This shows that the bus is pci@0000:0c:00.0.
- An alternative command is:
lspci | grep VGA
- returns:
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] (rev c8)
- which shows 0c:00.0.
Determine the current link speed
Use the bus information from above:
cat /sys/bus/pci/devices/0000\:0c\:00.0/current_link_speed
returns:
16.0 GT/s PCIe
ubuntu/gpu/amd_gpu/monitor/manually/check_the_current_link_speed_for_the_gpu.txt · Last modified: 2023/06/08 12:18 by peter