clbr / radeontop

GNU General Public License v3.0
789 stars 69 forks source link

The RX 5000 series not recognized. #105

Closed stolk closed 3 years ago

stolk commented 3 years ago

radeontop does not recognize a Radeon RX 5500 XT.

Most stats are displayed as "100%" which are incorrect.

    radeontop unknown, running on UNKNOWN_CHIP bus 19, 120 samples/sec     
                                      │
                Graphics pipe 100.00% │                                   
──────────────────────────────────────┼────────────────────────────────────
                 Event Engine 100.00% │                                   
                                      │
  Vertex Grouper + Tesselator 100.00% │                                   
                                      │
            Texture Addresser 100.00% │                                   
                Texture Cache 100.00% │                                   
                                      │
                Shader Export 100.00% │                                   
  Sequencer Instruction Cache 100.00% │                                   
          Shader Interpolator 100.00% │                                   
       Shader Memory Exchange 100.00% │                                   
                                      │
               Scan Converter 100.00% │                                   
           Primitive Assembly 100.00% │                                   
                                      │
                  Depth Block 100.00% │                                   
                  Color Block 100.00% │                                   
               Clip Rectangle 100.00% │                                   
                                      │
           1128M / 8128M VRAM  13.88% │    
            151M / 31823M GTT   0.48% │
   0.88G / 0.88G Memory Clock 100.00% │                                   
   1.19G / 1.87G Shader Clock  63.54% │                      
                                      │
                                      │
                                      │
                                      │
clbr commented 3 years ago

pci id? Reproduces in latest git?

stolk commented 3 years ago

I will try the git version.

19:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5) (prog-if 00 [VGA controller])
    Subsystem: XFX Pine Group Inc. Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
    Flags: bus master, fast devsel, latency 0, IRQ 81, NUMA node 0
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    Memory at c0000000 (64-bit, prefetchable) [size=2M]
    I/O ports at 7000 [size=256]
    Memory at c5d00000 (32-bit, non-prefetchable) [size=512K]
    Expansion ROM at c5d80000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
stolk commented 3 years ago

It works with the git tree. Thanks for sharing!

Note: Ubuntu 20.04.1 has two dev packages for libxcb: installing libxcb-dri3-dev was not enough, I needed libxcb-dri2-0-dev package.