AnsweredAssumed Answered

amdgpu-pro-16.50 Segfault, 16.60 duplicate symbol, 16.40 init issue.

Question asked by beanow on Jan 7, 2017
Latest reply on Jun 3, 2017 by beanow

I'm running KDE Neon 5.8.5 (Ubuntu 16.04 based) with an R9 290 graphics card.

Which led me to the 64bits Ubuntu 16.04 amdgpu-pro-16.50-362463 drivers here.

 

A tiny adjustment to the install script was required, because neon calls itself neon in /etc/os-release's ID field.

In the os_release() function I changed:

case "$ID" in

ubuntu|neon)

To use the Ubuntu packages for the rest of the script.

 

Edit:

I've tried 3 versions now and each fails to work reliably.

 

amdgpu-pro 16.40: fails to initialize the GPU by itself. Rebooting (without power down) from an old fglrx linux distro to the 16.40 driver based distro will work once.

amdgpu-pro 16.50: fails to initialize the GPU, causing segfaults. The reboot trick from 16.40 no longer works.

amdgpu-pro 16.60: duplicate symbol error prevents loading amdkcl module, unloading amdgpu as it thinks kernel modesetting is not available. Reboot trick obviously doesn't work here.

 

 

After installing and rebooting, the driver crashes X.Org with a segfault.

 

[    21.484] (EE)

[    21.484] (EE) Backtrace:

[    21.484] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4e) [0x55fb7ff07ade]

[    21.484] (EE) 1: /usr/lib/xorg/Xorg (0x55fb7fd55000+0x1b6e69) [0x55fb7ff0be69]

[    21.484] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f1206c7a000+0x354b0) [0x7f1206caf4b0]

[    21.484] (EE) 3: /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (amdgpu_query_gpu_info+0x14) [0x7f12012994e4]

[    21.484] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x23b1b9e) [0x7f12001e2b9e]

[    21.484] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x23b21cf) [0x7f12001e31cf]

[    21.484] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x23b4f70) [0x7f12001e5f70]

[    21.485] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x183fdd8) [0x7f11ff670dd8]

[    21.485] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x17eab10) [0x7f11ff61bb10]

[    21.485] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x504f25) [0x7f11fe335f25]

[    21.485] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x13f6dc7) [0x7f11ff227dc7]

[    21.485] (EE) 11: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x23b0230) [0x7f12001e1230]

[    21.485] (EE) 12: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x233b6a8) [0x7f120016c6a8]

[    21.485] (EE) 13: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x233ba06) [0x7f120016ca06]

[    21.485] (EE) 14: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (0x7f11fde31000+0x23363be) [0x7f12001673be]

[    21.485] (EE) 15: /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so (eglInitialize+0xbf) [0x7f1200164b8f]

[    21.485] (EE) 16: /opt/amdgpu-pro/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0xe5) [0x7f1201bd0e05]

[    21.485] (EE) 17: /usr/lib/xorg/modules/drivers/modesetting_drv.so (0x7f1202d5a000+0x84bc) [0x7f1202d624bc]

[    21.485] (EE) 18: /usr/lib/xorg/Xorg (InitOutput+0xc67) [0x55fb7fdee067]

[    21.485] (EE) 19: /usr/lib/xorg/Xorg (0x55fb7fd55000+0x57be4) [0x55fb7fdacbe4]

[    21.485] (EE) 20: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f1206c9a830]

[    21.485] (EE) 21: /usr/lib/xorg/Xorg (_start+0x29) [0x55fb7fd97049]

[    21.485] (EE)

[    21.485] (EE) Segmentation fault at address 0x110

[    21.485] (EE)

Fatal server error:

[    21.485] (EE) Caught signal 11 (Segmentation fault). Server aborting

[    21.485] (EE)

[    21.485] (EE)

Please consult the The X.Org Foundation support

     at http://wiki.x.org

for help.

[    21.485] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

[    21.485] (EE)

[    21.485] (EE) Server terminated with error (1). Closing log file.

 

Is there any way I can address this issue? Or does this require an AMD bugfix?

 

Attached is the full X.Org log of the crash.

 

Beanow, Updated title and added other versions

Attachments

Outcomes