====== Ubuntu - GPU - Check kernel DRM messages ======
The Direct Rendering Manager (DRM) is a subsystem of the Linux kernel responsible for interfacing with GPUs of modern video cards.
----
sudo dmesg | grep drm
returns:
[ 3.751896] ACPI: bus type drm_connector registered
[ 4.987597] [drm] amdgpu kernel modesetting enabled.
[ 4.987600] [drm] amdgpu version: 5.18.13
[ 4.987601] [drm] OS DRM version: 5.19.0
[ 5.013512] [drm] initializing kernel modesetting (IP DISCOVERY 0x1002:0x744C 0x1458:0x240E 0xC8).
[ 5.013521] [drm] register mmio base: 0xFCB00000
[ 5.013522] [drm] register mmio size: 1048576
[ 5.015502] [drm] add ip block number 0
[ 5.015503] [drm] add ip block number 1
[ 5.015504] [drm] add ip block number 2
[ 5.015504] [drm] add ip block number 3
[ 5.015505] [drm] add ip block number 4
[ 5.015506] [drm] add ip block number 5
[ 5.015506] [drm] add ip block number 6
[ 5.015507] [drm] add ip block number 7
[ 5.015508] [drm] add ip block number 8
[ 5.015508] [drm] add ip block number 9
[ 5.015509] [drm] add ip block number 10
[ 5.015528] [drm] VCN(0) encode/decode are enabled in VM mode
[ 5.015528] [drm] VCN(1) encode/decode are enabled in VM mode
[ 5.015529] amdgpu 0000:0c:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
[ 5.015742] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[ 5.015751] [drm] Detected VRAM RAM=24560M, BAR=32768M
[ 5.015752] [drm] RAM width 384bits GDDR6
[ 5.015788] [drm] amdgpu: 24560M of VRAM memory ready
[ 5.015789] [drm] amdgpu: 32114M of GTT memory ready.
[ 5.015798] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 5.015857] [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
[ 5.016421] [drm] Loading DMUB firmware via PSP: version=0x07001200
[ 5.016858] [drm] Found VCN firmware Version ENC: 1.8 DEC: 5 VEP: 0 Revision: 13
[ 5.016964] [drm] max_doorbell_slices=32767
[ 5.166719] [drm] reserve 0x1300000 from 0x85fd900000 for PSP TMR
[ 5.460576] [drm] Display Core initialized with v3.2.212!
[ 5.462421] [drm] DMUB hardware initialized: version=0x07001200
[ 5.686689] [drm] kiq ring mec 3 pipe 1 q 0
[ 5.691724] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 5.691874] amdgpu 0000:0c:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
[ 5.771164] [drm] ring gfx_32768.1.1 was added
[ 5.771662] [drm] ring compute_32768.2.2 was added
[ 5.771994] [drm] ring compute_32768.2.3 was added
[ 5.772520] [drm] ring compute_32768.2.4 was added
[ 5.773155] [drm] ring compute_32768.2.5 was added
[ 5.774008] [drm] ring sdma_32768.3.6 was added
[ 5.774287] [drm] ring sdma_32768.3.7 was added
[ 5.774297] [drm] ring gfx_32768.1.1 test pass
[ 5.774349] [drm] ring gfx_32768.1.1 ib test pass
[ 5.774354] [drm] ring compute_32768.2.2 test pass
[ 5.774409] [drm] ring compute_32768.2.2 ib test pass
[ 5.774414] [drm] ring compute_32768.2.3 test pass
[ 5.774425] [drm] ring compute_32768.2.3 ib test pass
[ 5.774431] [drm] ring compute_32768.2.4 test pass
[ 5.774443] [drm] ring compute_32768.2.4 ib test pass
[ 5.774448] [drm] ring compute_32768.2.5 test pass
[ 5.774460] [drm] ring compute_32768.2.5 ib test pass
[ 5.774481] [drm] ring sdma_32768.3.6 test pass
[ 5.774497] [drm] ring sdma_32768.3.6 ib test pass
[ 5.774558] [drm] ring sdma_32768.3.7 test pass
[ 5.774574] [drm] ring sdma_32768.3.7 ib test pass
[ 5.776229] [drm] Initialized amdgpu 3.48.0 20150101 for 0000:0c:00.0 on minor 0
[ 5.785239] fbcon: amdgpudrmfb (fb0) is primary device
[ 5.785243] amdgpu 0000:0c:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 5.895286] [drm] DSC precompute is not needed.
[ 6.432918] systemd[1]: Starting Load Kernel Module drm...
[ 6.439070] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 6.439190] systemd[1]: Finished Load Kernel Module drm.
[ 381.811603] audit: type=1400 audit(1686326121.935:103): apparmor="ALLOWED" operation="open" class="file" profile="libreoffice-soffice" name="/opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so.2.4.0" pid=6694 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 381.811612] audit: type=1400 audit(1686326121.935:104): apparmor="ALLOWED" operation="file_mmap" class="file" profile="libreoffice-soffice" name="/opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so.2.4.0" pid=6694 comm="soffice.bin" requested_mask="rm" denied_mask="rm" fsuid=1000 ouid=0