Hi,
I got wiser so the bewilderment disappeared. I realise that there is, indeed, a kernel module
amdgpu but there is no corresponding xorg-x11 driver. At first I did not realise they were two different things. I guess the reason why X tries to load the
amdgpu driver is that the kernel module is loaded. By default X autoconfigures a number of drivers, the first one is
ati then there is
fbdev, vesa and
modesetting, I believe that was the order but I cannot check right now. I also think that
amdgpu was not autoconfigured but memory is volatile now. Edit: Just checked. The order is
modesetting, fbdev and
vesa last.
amdgpu was not autoconfigured in the beginning.
Anyway, since I could not find any
xorg-x11-drv-amdgpu package except for Fedora I downloaded the latest sources from
https://www.x.org/archive/individual/driver/ and compiled the driver and installed it under
/usr/local/x86-video-amdgpu. I put a symlink to the driver in the standard search path and rebooted. Then also
amdgpu was autoconfigured (and also loaded) but not first but second after
ati. The build process also made a 10-amdgpu.conf-file to be put under
/etc/X11/xorg.conf.d and when I put a symlink there to that file then
amdgpu got autoconfigured first and
ati second.
Since there is no more need for the
ati driver and never was for the
radeon driver I removed the package but still the
ati driver gets autoconfigured. So now the
ati and
amdgpu roles are switched. First I tried to disable
ati but there does not seem to be any
ati kernel module so I could not blacklist it, but perhaps I did not look hard enough.
Now I wonder if there is a way to prevent X to autoconfigure the
ati driver. If somebody could tell me I'd be grateful.
I also still would like to know if it's any idea to try and build the latest
amdgpu-pro driver with claimed CentOS 7.6 support but the case has grown weaker since on my machine Matlab R2017b accepts the
radeonsi gallium 3D acceleration provided by
Mesa, however, the latest release R2019b crashes if I don't force software OpenGL emulation so if I wan't 3D acceleration in the latest release then
amdgpu-pro is of interest. The following page:
https://bugs.centos.org/view.php?id=14329 makes me wonder, though, if it is possible since according to the page
in the standard kernel. It's quite easy to check, BTW, just do
.
Cheers,
gostal
Desktop Dell T5810 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, 72 GB RAM, Radeon Pro WX 7100
CentOS 7.9.2009