I have AMD A10-7870K CPU with R7 GPU. I have setup the system to use amdgpu instead of radeon. The kernel module is loaded properly. I blacklisted radeon module by putting 'blacklist radeon' into /etc/modprobe.d/blacklist-radeon.conf
and added 'amdgpu' into /etc/initramfs-tools/modules
. Then ran sudo update-initramfs -u
Yet, the radeon
module keeps getting loaded and I don't know why…
root@ubuntu:~# lsmod |grep -e radeon -e amdgpu
amdgpu 987136 0
radeon 1515520 3
i2c_algo_bit 16384 2 amdgpu,radeon
ttm 94208 2 amdgpu,radeon
drm_kms_helper 155648 2 amdgpu,radeon
drm 364544 7 ttm,drm_kms_helper,amdgpu,radeon
root@ubuntu:~#
At /etc/X11/xorg.conf.d/20-amdgpu.conf
I have
Section "Device"
Identifier "AMD"
Driver "amdgpu"
EndSection
However at Xorg.0.log
I see:
[ 17.774] (II) [KMS] Kernel modesetting enabled.
[ 17.774] (EE) AMDGPU(0): amdgpu_device_initialize failed
[ 17.774] (II) [KMS] Kernel modesetting enabled.
[ 17.774] (EE) AMDGPU(G0): amdgpu_device_initialize failed
[ 17.774] (II) [KMS] Kernel modesetting enabled.
[ 17.774] (EE) AMDGPU(1): amdgpu_device_initialize failed
[ 17.774] (EE) Screen 0 deleted because of no matching config section.
[ 17.775] (II) UnloadModule: "amdgpu"
[ 17.775] (EE) Screen 0 deleted because of no matching config section.
[ 17.775] (II) UnloadModule: "amdgpu"
[ 17.775] (EE) Device(s) detected, but none match those in the config file.
So the questions are:
-
Isn't this suppose to work on this processor? I read the AMDGPU driver supports Sea Islands GCN GPU.
-
The system is working seemingly fine. X is starting and working. How can I check which graphics driver X is using?
-
How do I fix the amdpgu_device_initialize failed messages?
Thanks!
UPDATE:
According to user experiences A10-7870K should work fine with AMDGPU-PRO
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/amd-linux/873464-amdgpu-pro-beta-2-driver-is-playing-nicely-on-ubuntu-16-04-with-the-r9-fury?p=874788#post874788
Not that I could install it, it gives some dependency errors. I think it may help if I can install amdgpu-pro but it seems impossible! The error below is from amdgpu-pro-16.60-379184
The following packages have unmet dependencies:
amdgpu-pro : Depends: libvdpau-amdgpu-pro but it is not going to be installed
Depends: clinfo-amdgpu-pro but it is not going to be installed
amdgpu-pro-dkms : Depends: dkms (>= 1.95) but it is not going to be installed
amdgpu-pro-lib32 : Depends: libdrm-amdgpu-pro-amdgpu1:i386
Depends: libgbm1-amdgpu-pro:i386
Depends: libgl1-amdgpu-pro-glx:i386
Depends: libgl1-amdgpu-pro-dri:i386
Depends: libgles2-amdgpu-pro:i386
Depends: vulkan-amdgpu-pro:i386
Depends: libvdpau-amdgpu-pro:i386
Depends: libopencl1-amdgpu-pro:i386
Depends: opencl-amdgpu-pro-icd:i386
E: Unable to correct problems, you have held broken packages.
Now I have also made a question at AMD forums for this driver installation failure:
https://community.amd.com/message/2784212
Best Answer
I had the same problem with fresh install. Try adding the i386 architecture:
Then try the setup again.