User Tools

Site Tools


ubuntu:gpu:check_which_kernel_driver_is_loaded

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:gpu:check_which_kernel_driver_is_loaded [2023/06/27 07:48] – created peterubuntu:gpu:check_which_kernel_driver_is_loaded [2023/06/27 08:08] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - GPU - Check which kernel driver is loaded ====== 
- 
-===== Using lspci ===== 
- 
-<code bash> 
-lspci -k | grep -A 3 -E "(VGA|3D)" 
-</code> 
- 
-returns: 
- 
-<code bash> 
-0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 744c (rev c8) 
- Subsystem: Gigabyte Technology Co., Ltd Device 240e 
- Kernel driver in use: amdgpu 
- Kernel modules: amdgpu 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This shows that the kernel driver is **amdgpu**. 
- 
-  * This indicates an AMD GPU. 
- 
-</WRAP> 
- 
----- 
- 
-===== Using lshw ===== 
- 
-<code bash> 
-sudo lshw -c video 
-</code> 
- 
-returns: 
- 
-<code bash> 
-  *-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 resolution=3440,1440 
-       resources: irq:128 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7b00000-f7bfffff memory:c0000-dffff 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This shows that the kernel driver is **amdgpu**. 
-</WRAP> 
- 
- 
----- 
- 
-===== Using glxinfo ===== 
- 
-<code bash> 
-sudo apt update 
-sudo apt install mesa-utils 
-glxinfo -B 
-</code> 
- 
-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: yes 
-    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: 23811 MB, largest block: 23811 MB 
-    VBO free aux. memory - total: 32053 MB, largest block: 32053 MB 
-    Texture free memory - total: 23811 MB, largest block: 23811 MB 
-    Texture free aux. memory - total: 32053 MB, largest block: 32053 MB 
-    Renderbuffer free memory - total: 23811 MB, largest block: 23811 MB 
-    Renderbuffer free aux. memory - total: 32053 MB, largest block: 32053 MB 
-Memory info (GL_NVX_gpu_memory_info): 
-    Dedicated video memory: 24576 MB 
-    Total available memory: 56703 MB 
-    Currently available dedicated video memory: 23811 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 
-</code> 
  
ubuntu/gpu/check_which_kernel_driver_is_loaded.1687852137.txt.gz · Last modified: 2023/06/27 07:48 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki