ubuntu:gpu:get_what_gpu_model_is_currently_being_used
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:gpu:get_what_gpu_model_is_currently_being_used [2023/06/25 09:40] – created peter | ubuntu:gpu:get_what_gpu_model_is_currently_being_used [2023/06/27 08:00] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - GPU - Get what GPU Model is currently being used ====== | ====== Ubuntu - GPU - Get what GPU Model is currently being used ====== | ||
+ | |||
+ | Check what graphics driver is being used by the system and what graphics card model is part of the system hardware. | ||
+ | |||
+ | * This can help determine if a newer driver version needs to be installed, and which model to download the driver for. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using lspci ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo lspci -nn | grep -E ' | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | 0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8) | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This shows that an AMD Radeon RX 7900 XT/7900 XTX GPU is being used. | ||
+ | |||
+ | * This also shows that this is an AMD product. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using lshw ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo lshw -c video | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | *-display | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** The **product** line near the top show this an Radeon RX 7900 XT/7900 XTX GPU. | ||
+ | |||
+ | * The **vendor** line shows this is an AMD product. | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using Mesa utils ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt update | ||
+ | sudo apt install mesa-utils | ||
+ | glxinfo -B | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | name of display: :0 | ||
+ | display: :0 screen: 0 | ||
+ | direct rendering: Yes | ||
+ | Extended renderer info (GLX_MESA_query_renderer): | ||
+ | Vendor: AMD (0x1002) | ||
+ | Device: Radeon RX 7900 XTX (gfx1100, LLVM 15.0.3, DRM 3.48, 5.19.0-43-generic) (0x744c) | ||
+ | Version: 22.3.0 | ||
+ | Accelerated: | ||
+ | Video memory: 24576MB | ||
+ | Unified memory: no | ||
+ | Preferred profile: core (0x1) | ||
+ | Max core profile version: 4.6 | ||
+ | Max compat profile version: 4.6 | ||
+ | Max GLES1 profile version: 1.1 | ||
+ | Max GLES[23] profile version: 3.2 | ||
+ | Memory info (GL_ATI_meminfo): | ||
+ | VBO free memory - total: 23563 MB, largest block: 23563 MB | ||
+ | VBO free aux. memory - total: 32037 MB, largest block: 32037 MB | ||
+ | Texture free memory - total: 23563 MB, largest block: 23563 MB | ||
+ | Texture free aux. memory - total: 32037 MB, largest block: 32037 MB | ||
+ | Renderbuffer free memory - total: 23563 MB, largest block: 23563 MB | ||
+ | Renderbuffer free aux. memory - total: 32037 MB, largest block: 32037 MB | ||
+ | Memory info (GL_NVX_gpu_memory_info): | ||
+ | Dedicated video memory: 24576 MB | ||
+ | Total available memory: 56690 MB | ||
+ | Currently available dedicated video memory: 23563 MB | ||
+ | OpenGL vendor string: AMD | ||
+ | OpenGL renderer string: Radeon RX 7900 XTX (gfx1100, LLVM 15.0.3, DRM 3.48, 5.19.0-43-generic) | ||
+ | OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.0-devel | ||
+ | OpenGL core profile shading language version string: 4.60 | ||
+ | OpenGL core profile context flags: (none) | ||
+ | OpenGL core profile profile mask: core profile | ||
+ | |||
+ | OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.0-devel | ||
+ | OpenGL shading language version string: 4.60 | ||
+ | OpenGL context flags: (none) | ||
+ | OpenGL profile mask: compatibility profile | ||
+ | |||
+ | OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.0-devel | ||
+ | OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** The **Device** line near the top show this an Radeon RX 7900 XT/7900 XTX GPU. | ||
+ | |||
+ | * The **Vendor** line shows this is an AMD product. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
ubuntu/gpu/get_what_gpu_model_is_currently_being_used.1687686003.txt.gz · Last modified: 2023/06/25 09:40 by peter