User Tools

Site Tools


ubuntu:gpu:drivers:get_the_currently_used_graphics_driver

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:gpu:drivers:get_the_currently_used_graphics_driver [2023/06/25 10:14] peterubuntu:gpu:drivers:get_the_currently_used_graphics_driver [2023/06/27 08:14] (current) – [Determine the PCI Bus] peter
Line 1: Line 1:
 ====== Ubuntu - GPU - Drivers - Get the currently used graphics driver ====== ====== Ubuntu - GPU - Drivers - Get the currently used graphics driver ======
 +
 +===== 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> <code bash>
Line 19: Line 45:
        clock: 33MHz        clock: 33MHz
        capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb        capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
-       configuration: depth=32 driver=amdgpu latency=0 mode=3440x1440 resolution=3440,1440 visual=truecolor xres=3440 yres=1440 +       configuration: depth=32 driver=amdgpu latency=0 resolution=3440,1440 
-       resources: iomemory:f00-eff iomemory:f80-f7f irq:129 memory:f000000000-f7ffffffff memory:f800000000-f80fffffff ioport:e000(size=256) memory:fcb00000-fcbfffff memory:fcc00000-fcc1ffff+       resources: irq:128 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7b00000-f7bfffff memory:c0000-dffff
 </code> </code>
  
 <WRAP info> <WRAP info>
-**NOTE:** This shows that the Graphics Driver is **amdgpu**.+**NOTE:**  See the **configuration** line near the bottom.
  
-  * It also shows an AMD Radeon RX 7900 XT/7900 XTX GPU is being used.+  * This shows that the kernel driver is **amdgpu**.
  
 </WRAP> </WRAP>
Line 32: Line 58:
 ---- ----
  
-====== Check the kernel modules ======+===== Check the kernel modules =====
  
-===== Determine the PCI Bus =====+==== Determine the PCI Bus ====
  
 <code bash> <code bash>
Line 47: Line 73:
  
 <WRAP info> <WRAP info>
-**NOTE:**  This shows the unique PCI bus address of 0c:00.0.+**NOTE:**  This shows the unique PCI Bus address of 0c:00.0.
 </WRAP> </WRAP>
  
 ---- ----
  
-===== Use the PCI bus to check what kernel modules are being used =====+==== Use the PCI Bus to check what kernel modules are being used ====
  
 <code bash> <code bash>
Line 73: Line 99:
  Kernel modules: amdgpu  Kernel modules: amdgpu
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  This shows that the kernel driver is **amdgpu**.
 +
 +  * This indicates an AMD GPU.
 +
 +</WRAP>
 +
 +----
  
ubuntu/gpu/drivers/get_the_currently_used_graphics_driver.1687688055.txt.gz · Last modified: 2023/06/25 10:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki