https://bugzilla.kernel.org/show_bug.cgi?id=204725
--- Comment #13 from Ant (untaintableangel@hotmail.co.uk) --- I've got an RX5700 myself, so lets see if we can't get this sorted.
Can I just check something - the .config file you attached (comment 1) for the kernel has
# Display Engine Configuration # CONFIG_DRM_AMD_DC=y CONFIG_DRM_AMD_DC_DCN1_0=y CONFIG_DRM_AMD_DC_DCN1_01=y # CONFIG_DEBUG_KERNEL_DC is not set # end of Display Engine Configuration
whereas mine has
# Display Engine Configuration # CONFIG_DRM_AMD_DC=y CONFIG_DRM_AMD_DC_DCN1_0=y CONFIG_DRM_AMD_DC_DCN2_0=y CONFIG_DRM_AMD_DC_DSC_SUPPORT=y # CONFIG_DEBUG_KERNEL_DC is not set # end of Display Engine Configuration
I think CONFIG_DRM_AMD_DC_DCN1_01 was an option back in kernel 5.2 and the new option comes in in 5.3(rc). Kernel 5.3 is a necessity for this reason. You've got the latest mesa etc, can I just check you also have the latest mesa drm code too?
If there is insistence to use amdgpu as a module, let's try setting a config file to force it to be used. How about you create this file with a text editor (or otherwise like nano/vim etc):
/usr/local/share/X11/xorg.conf.d/10-amdgpu.conf
and fill it with this (tab an indentation for lines 2 - 4):
Section "OutputClass" Identifier "AMDgpu" MatchDriver "amdgpu" Driver "amdgpu" EndSection
After restarting, it should find the card and force it to use the amdgpu module?