On 23/12/2021 11:00, Thomas Zimmermann wrote:
tl;dr: Enable DRM for all graphics output and retire fbdev drivers in TW.
If you install and boot the kernel, you should ideally see no difference. Once booted the hardware's driver will do the graphics output. To test if you booted with generic DRM, do
dmesg | grep drm
The boot sequence was smooth as always on my 64-bit TW installation with an AMD RX 5700 XT. dmesg | grep drm [ 0.574498] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0 [ 0.575160] simple-framebuffer simple-framebuffer.0: [drm] drm_plane_enable_fb_damage_clips() not called [ 0.576646] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device [ 2.336927] [drm] amdgpu kernel modesetting enabled. [ 2.381770] [drm] initializing kernel modesetting (NAVI10 0x1002:0x731F 0x148C:0x2398 0xC1). [ 2.381778] [drm] register mmio base: 0xFCD00000 [ 2.381779] [drm] register mmio size: 524288 [ 2.382849] [drm] add ip block number 0 <nv_common> [ 2.382850] [drm] add ip block number 1 <gmc_v10_0> [ 2.382850] [drm] add ip block number 2 <navi10_ih> [ 2.382851] [drm] add ip block number 3 <psp> [ 2.382851] [drm] add ip block number 4 <smu> [ 2.382852] [drm] add ip block number 5 <dm> [ 2.382852] [drm] add ip block number 6 <gfx_v10_0> [ 2.382853] [drm] add ip block number 7 <sdma_v5_0> [ 2.382854] [drm] add ip block number 8 <vcn_v2_0> [ 2.382855] [drm] add ip block number 9 <jpeg_v2_0> [ 2.382872] [drm] VCN decode is enabled in VM mode [ 2.382872] [drm] VCN encode is enabled in VM mode [ 2.382873] [drm] JPEG decode is enabled in VM mode [ 2.382887] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit [ 2.382899] [drm] Detected VRAM RAM=8176M, BAR=8192M [ 2.382900] [drm] RAM width 256bits GDDR6 [ 2.382929] [drm] amdgpu: 8176M of VRAM memory ready [ 2.382930] [drm] amdgpu: 8176M of GTT memory ready. [ 2.382932] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 2.383037] [drm] PCIE GART of 512M enabled (table at 0x0000008000300000). [ 2.420276] [drm] Found VCN firmware Version ENC: 1.14 DEC: 5 VEP: 0 Revision: 20 [ 2.594166] [drm] reserve 0x900000 from 0x81fe400000 for PSP TMR [ 2.672770] [drm] Display Core initialized with v3.2.149! [ 2.957806] [drm] kiq ring mec 2 pipe 1 q 0 [ 2.959840] [drm] VCN decode and encode initialized successfully(under DPG Mode). [ 2.960230] [drm] JPEG decode initialized successfully. [ 3.011702] [drm] fb mappable at 0xFC00502000 [ 3.011703] [drm] vram apper at 0xFC00000000 [ 3.011703] [drm] size 14745600 [ 3.011704] [drm] fb depth is 24 [ 3.011704] [drm] pitch is 10240 [ 3.011756] fbcon: amdgpudrmfb (fb0) is primary device [ 3.210570] amdgpu 0000:0a:00.0: [drm] fb0: amdgpudrmfb frame buffer device [ 3.234943] [drm] Initialized amdgpu 3.42.0 20150101 for 0000:0a:00.0 on minor 0 [ 3.806290] systemd[1]: Starting Load Kernel Module drm... inxi -Ga Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Tul driver: amdgpu v: kernel bus-ID: 0a:00.0 chip-ID: 1002:731f class-ID: 0300 Display: x11 server: X.org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution: <missing: xdpyinfo> OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.42.0 5.15.11-5.g730a488-default LLVM 13.0.0) v: 4.6 Mesa 21.3.1 direct render: Yes -- On a long enough timeline the survival rate for everyone drops to zero...