AnsweredAssumed Answered

Xorg broken after amdgpu-pro install

Question asked by volumetricsteve on Oct 5, 2016
Latest reply on Mar 9, 2017 by volumetricsteve

I've been trying to blaze a trail with amdgpu-pro on my non-ubuntu linux system.  I wrote a script that "installs" the driver somewhat in accordance with how the good people at Arch Linux seem to have worked things out, so I don't think I'm too far off course.  However, Xorg complains of mismatched version numbers and won't start.  Based on an article I was reading about amdgpu-pro, that's exactly the kind of problem the userspace blobs of "pro" are supposed to avoid.  Article:  The Slides Announcing The New "AMDGPU" Kernel Driver - Phoronix

 

Here's my Xorg log:

 

X.Org X Server 1.18.4

Release Date: 2016-07-19

[  7620.157] X Protocol Version 11, Revision 0

[  7620.157] Build Operating System: Linux 4.1.13 x86_64

[  7620.158] Current Operating System: Linux black 4.4.22 #1 SMP PREEMPT Mon Oct 3 06:27:38 EDT 2016 x86_64

[  7620.158] Kernel command line: auto BOOT_IMAGE=CRUX ro root=/dev/sda1

[  7620.158] Build Date: 27 September 2016  10:27:19AM

[  7620.158]

[  7620.159] Current version of pixman: 0.34.0

[  7620.159]     Before reporting problems, check http://wiki.x.org

    to make sure that you have the latest version.

[  7620.159] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[  7620.160] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct  6 04:33:37 2016

[  7620.161] (==) Using config directory: "/etc/X11/xorg.conf.d"

[  7620.161] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[  7620.161] (==) No Layout section.  Using the first Screen section.

[  7620.161] (**) |-->Screen "Screen0" (0)

[  7620.161] (**) |   |-->Monitor "Monitor0"

[  7620.161] (**) |   |-->Device "Card0"

[  7620.161] (**) |   |-->GPUDevice "AMD"

[  7620.161] (==) Automatically adding devices

[  7620.161] (==) Automatically enabling devices

[  7620.161] (==) Automatically adding GPU devices

[  7620.161] (==) Max clients allowed: 256, resource mask: 0x1fffff

[  7620.161] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.

[  7620.161]     Entry deleted from font path.

[  7620.161] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.

[  7620.161]     Entry deleted from font path.

[  7620.161] (==) FontPath set to:

    /usr/share/fonts/X11/misc/,

    /usr/share/fonts/X11/TTF/,

    /usr/share/fonts/X11/100dpi/,

    /usr/share/fonts/X11/75dpi/

[  7620.161] (**) ModulePath set to "/usr/lib/x86_64-linux-gnu/

amdgpu-pro/xorg/modules,/usr/lib/xorg/modules,/usr/lib64/xorg/modules"
[  7620.161] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[  7620.161] (II) Loader magic: 0x800ae0
[  7620.161] (II) Module ABI versions:
[  7620.161]     X.Org ANSI C Emulation: 0.4
[  7620.161]     X.Org Video Driver: 20.0
[  7620.161]     X.Org XInput driver : 22.1
[  7620.161]     X.Org Server Extension : 9.0
[  7620.162] (II) xfree86: Adding drm device (/dev/dri/card0)
[  7620.163] (--) PCI:*(0:1:0:0) 1002:7300:1002:0b36 rev 202, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfea00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[  7620.163] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  7620.163] (II) "glx" will be loaded by default.
[  7620.163] (II) LoadModule: "dri2"
[  7620.163] (II) Module "dri2" already built-in
[  7620.163] (II) LoadModule: "glx"
[  7620.163] (II) Loading /usr/lib/x86_64-linux-gnu/amdgpu-pro/xorg/modules/extensions/libglx.so
[  7620.165] (II) Module glx: vendor="X.Org Foundation"
[  7620.165]     compiled for 1.14.99.904, module version = 1.0.0
[  7620.165]     ABI class: X.Org Server Extension, version 8.0
[  7620.165] (EE) module ABI major version (8) doesn't match the server's version (9)
[  7620.165] (II) UnloadModule: "glx"
[  7620.165] (II) Unloading glx
[  7620.165] (EE) Failed to load module "glx" (module requirement mismatch, 0)
[  7620.165] (II) LoadModule: "amdgpu"
[  7620.165] (II) Loading /usr/lib/x86_64-linux-gnu/amdgpu-pro/xorg/modules/drivers/amdgpu_drv.so
[  7620.172] (II) Module amdgpu: vendor="X.Org Foundation"
[  7620.172]     compiled for 1.14.99.904, module version = 1.1.0
[  7620.172]     Module class: X.Org Video Driver
[  7620.172]     ABI class: X.Org Video Driver, version 15.0
[  7620.173] (EE) module ABI major version (15) doesn't match the server's version (20)
[  7620.173] (II) UnloadModule: "amdgpu"
[  7620.173] (II) Unloading amdgpu
[  7620.173] (EE) Failed to load module "amdgpu" (module requirement mismatch, 0)
[  7620.173] (EE) No drivers available.
[  7620.173] (EE)
Fatal server error:
[  7620.174] (EE) no screens found(EE)
[  7620.174] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[  7620.176] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  7620.176] (EE)

Outcomes