Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A Command to show GPU model

With lshw: # lshw -C display *-display description: VGA compatible controller product: Navi 32 [Radeon RX 7700 XT / 7800 XT] vendor: Advanced Micro Devi...

posted 3mo ago by Iizuki‭

Answer
#1: Initial revision by user avatar Iizuki‭ · 2024-08-31T11:54:14Z (3 months ago)
With [`lshw`](https://ezix.org/project/wiki/HardwareLiSter):

```commandline
# lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Navi 32 [Radeon RX 7700 XT / 7800 XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:0b: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=2560x1440 resolution=2560,1440 visual=truecolor xres=2560 yres=1440
       resources: iomemory:780-77f iomemory:7c0-7bf irq:82 memory:7800000000-7bffffffff memory:7c00000000-7c0fffffff ioport:e000(size=256) memory:fca00000-fcafffff memory:fcb00000-fcb1ffff
```

The `-C` option selects the [class of devices](https://ezix.org/project/wiki/HardwareLiSter#Deviceclasses) to show. In this case `display`.

The model is displayed in the `product` field in brackets (though not without ambiguity in this case).