• Guanzhong Chen's avatar
    Show GPU subsystem name if possible. Fixes #1490 (#1648) · 219714c8
    Guanzhong Chen authored
    After this change, if a subsystem name exists for a GPU, we display that
    name instead of the device name. This should fix the issue mentioned
    in #1490.
    
    For example, a card that would be shown as:
        GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
    before will now be shown as:
        GPU: AMD ATI Radeon RX 480 4GB
    This fallback logic is implemented in the `awk` command.
    
    Additionally, the PCI address is now stripped from the awk output
    because it never is desirable to print it. It is, however, still
    kept internally in `awk` to distinguish multiple cards of the same model.
    219714c8
Name
Last commit
Last update
.github Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.md Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
neofetch Loading commit data...
neofetch.1 Loading commit data...