Hi there,
I have an AMD HD 5450 connected to a T61 Thinkpad (with Intel GM965 internal graphics) via an expresscard to an EGPU dock. I installed Artix using the base install. I have a secondary monitor connected via the DVI port. I'm running programs on the second monitor using DRI_PRIME=1 However, the card is performing extremely poorly with the r600 driver that mesa selects for it.
lspci output:
lspci
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
glxinfo output:
DRI_PRIME=1 glxinfo | grep renderer
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_NV_float_buffer,
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD CEDAR (DRM 2.50.0 / 5.14.16-artix1-1, LLVM 12.0.1)
radeontop consistently displays a "graphics pipe" figure around 65-70%. At startup, VRAM usage is somewhere around 2M, but then erroneously shoots off the charts when trying to use any application. I did find a thread which suggests this could be a bug with amdgpu-pro drivers on older hardware (https://github.com/fireice-uk/xmr-stak/issues/2162) though I'm not using amdgpu-pro.
I used glxgears to compare (not benchmark) different drivers by using MESA_LOADER_DRIVER_OVERRIDE. r600 gave an average fps of 46, whereas swrast gave an average of 200. When I used LIBGL_DEBUG=verbose, r600 reported a strange error.
do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with 2.12.0 (kernel 3.2) or later.
This is odd, because it contradicts my glxinfo output. Why am I getting two different DRM versions? is it possible to get these drivers to play nice?