15 Replies Latest reply on Jun 3, 2017 7:14 AM by beanow

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

    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

        • Re: amdgpu-pro-16.50 Segfault
          ingo.dettmar

          Same problem on Ubuntu 16.10 after installing 16.60 drivers with RX 480 card.

            • Re: amdgpu-pro-16.50 Segfault
              yurtesen

              Did you put yourself to `video` group? I have a similar problem

              kodi crash with amdgpu-pro at amdgpu_query_gpu_info

              But I am getting the feeling that in this forum there are not many people who can help when the questions become a little bit technical.

                • Re: amdgpu-pro-16.50 Segfault
                  happyoldguy

                  I tried to add myself to video group however I don't have a group called video. Should I create one and then add my user to the group?

                    • Re: amdgpu-pro-16.50 Segfault
                      yurtesen

                      Check /dev/dri/* some device entries there have 660 permissions which allow user and group to read/write only. In ubuntu group is 'video'. You may need to have your X greeter/login manager to be in that group also. I am just guessing. But based on your log probably this is not your issue.

                      # ls -al /dev/dri/*

                      crw-rw-rw-+ 1 root root  226,   0 Mar  8 00:15 /dev/dri/card0

                      crw-rw----  1 root video 226,  64 Mar  8 00:15 /dev/dri/controlD64

                      crw-rw----+ 1 root video 226, 128 Mar  8 00:15 /dev/dri/renderD128

                        • Re: amdgpu-pro-16.50 Segfault
                          happyoldguy

                          My error is a bit different, everything seems to work except Kodi.

                           

                          my hardware ga-f2a88x-d3hp

                          amd A10-7850k

                           

                          I have uninstalled and re-installed Kodi including removing .kodi to ensure its not a plugin. For now Ill uninstall and run with default-driver. Hopefully this will help get a fix.
                          This is a strace starting Kodi

                           

                           

                          execve("/usr/bin/kodi", ["kodi"], [/* 22 vars */]) = 0

                          brk(NULL)                               = 0x564650753000

                          access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)

                          mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca86b9e000

                          access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)

                          open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3

                          fstat(3, {st_mode=S_IFREG|0644, st_size=149822, ...}) = 0

                          mmap(NULL, 149822, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fca86b73000

                          close(3)                                = 0

                          access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)

                          open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3

                          read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832

                          fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0

                          mmap(NULL, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fca865a3000

                          mprotect(0x7fca86762000, 2097152, PROT_NONE) = 0

                          mmap(0x7fca86962000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7fca86962000

                          mmap(0x7fca86968000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fca86968000

                          close(3)                                = 0

                          mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca86b9d000

                          mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca86b9c000

                          mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca86b9b000

                          arch_prctl(ARCH_SET_FS, 0x7fca86b9c700) = 0

                          mprotect(0x7fca86962000, 16384, PROT_READ) = 0

                          mprotect(0x56464ebcd000, 8192, PROT_READ) = 0

                          mprotect(0x7fca86b98000, 4096, PROT_READ) = 0

                          munmap(0x7fca86b73000, 149822)          = 0

                          getuid()                                = 0

                          getgid()                                = 0

                          getpid()                                = 4121

                          rt_sigaction(SIGCHLD, {0x56464e9c1540, ~[RTMIN RT_1], SA_RESTORER, 0x7fca865d84b0}, NULL, 8) = 0

                          geteuid()                               = 0

                          brk(NULL)                               = 0x564650753000

                          brk(0x564650774000)                     = 0x564650774000

                          getppid()                               = 4119

                          stat("/home/<user>", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

                          stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

                          open("/usr/bin/kodi", O_RDONLY)         = 3

                          fcntl(3, F_DUPFD, 10)                   = 10

                          close(3)                                = 0

                          fcntl(10, F_SETFD, FD_CLOEXEC)          = 0

                          geteuid()                               = 0

                          getegid()                               = 0

                          rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0

                          rt_sigaction(SIGINT, {0x56464e9c1540, ~[RTMIN RT_1], SA_RESTORER, 0x7fca865d84b0}, NULL, 8) = 0

                          rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0

                          rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fca865d84b0}, NULL, 8) = 0

                          rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0

                          rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fca865d84b0}, NULL, 8) = 0

                          read(10, "#!/bin/sh\n\n#      Copyright (C) "..., 8192) = 5603

                          stat("/usr/lib/kodi/addons", 0x7fff4d4983d0) = -1 ENOENT (No such file or directory)

                          pipe([3, 4])                            = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4122

                          close(4)                                = 0

                          read(3, "kodi\n", 128)                  = 5

                          read(3, "", 128)                        = 0

                          close(3)                                = 0

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4122

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4122, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4122

                          stat("/home/<user>/.xbmc", 0x7fff4d498160) = -1 ENOENT (No such file or directory)

                          open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          fcntl(2, F_DUPFD, 10)                   = 12

                          close(2)                                = 0

                          fcntl(12, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(1, 2)                              = 2

                          stat("/usr/sbin/gdb", 0x7fff4d498180)   = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/gdb", {st_mode=S_IFREG|0755, st_size=6546408, ...}) = 0

                          write(1, "/usr/bin/gdb\n", 13)          = 13

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          dup2(12, 2)                             = 2

                          close(12)                               = 0

                          getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM64_INFINITY}) = 0

                          setrlimit(RLIMIT_CORE, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4123

                          wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 4123

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=4123, si_uid=0, si_status=SIGSEGV, si_utime=14, si_stime=8} ---

                          rt_sigreturn({mask=[]})                 = 4123

                          write(2, "Segmentation fault (core dumped)"..., 33Segmentation fault (core dumped)

                          ) = 33

                          pipe([3, 4])                            = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4134

                          close(4)                                = 0

                          read(3, "20170309_205802\n", 128)       = 16

                          read(3, "", 128)                        = 0

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4134, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 0

                          close(3)                                = 0

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4134

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "############## Kodi CRASH LOG ##"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "################ SYSTEM INFO ###"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, " Date: ", 7)                  = 7

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          stat("/usr/local/sbin/date", 0x7fff4d497fb0) = -1 ENOENT (No such file or directory)

                          stat("/usr/local/bin/date", 0x7fff4d497fb0) = -1 ENOENT (No such file or directory)

                          stat("/usr/sbin/date", 0x7fff4d497fb0)  = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/date", 0x7fff4d497fb0)   = -1 ENOENT (No such file or directory)

                          stat("/sbin/date", 0x7fff4d497fb0)      = -1 ENOENT (No such file or directory)

                          stat("/bin/date", {st_mode=S_IFREG|0755, st_size=68464, ...}) = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4135

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4135

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4135, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4135

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, " Kodi Options: \n", 16)       = 16

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, " Arch: ", 7)                  = 7

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          stat("/usr/local/sbin/uname", 0x7fff4d498010) = -1 ENOENT (No such file or directory)

                          stat("/usr/local/bin/uname", 0x7fff4d498010) = -1 ENOENT (No such file or directory)

                          stat("/usr/sbin/uname", 0x7fff4d498010) = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/uname", 0x7fff4d498010)  = -1 ENOENT (No such file or directory)

                          stat("/sbin/uname", 0x7fff4d498010)     = -1 ENOENT (No such file or directory)

                          stat("/bin/uname", {st_mode=S_IFREG|0755, st_size=31440, ...}) = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4136

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4136

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4136, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4136

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, " Kernel: ", 9)                = 9

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4137

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4137

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4137, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4137

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, " Release: ", 10)              = 10

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          stat("/etc/os-release", {st_mode=S_IFREG|0644, st_size=298, ...}) = 0

                          open("/etc/os-release", O_RDONLY)       = 3

                          fcntl(3, F_DUPFD, 10)                   = 11

                          close(3)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          read(11, "NAME=\"Ubuntu\"\nVERSION=\"16.04.2 L"..., 8192) = 298

                          read(11, "", 8192)                      = 0

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "Ubuntu 16.04.2 LTS (Xenial Xerus"..., 34) = 34

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "############## END SYSTEM INFO #"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "############### STACK TRACE ####"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          fcntl(2, F_DUPFD, 10)                   = 12

                          close(2)                                = 0

                          fcntl(12, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(1, 2)                              = 2

                          stat("/usr/sbin/gdb", 0x7fff4d497d30)   = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/gdb", {st_mode=S_IFREG|0755, st_size=6546408, ...}) = 0

                          write(1, "/usr/bin/gdb\n", 13)          = 13

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          dup2(12, 2)                             = 2

                          close(12)                               = 0

                          open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          fcntl(2, F_DUPFD, 10)                   = 12

                          close(2)                                = 0

                          fcntl(12, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(1, 2)                              = 2

                          stat("/usr/sbin/systemd-coredumpctl", 0x7fff4d497c70) = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/systemd-coredumpctl", 0x7fff4d497c70) = -1 ENOENT (No such file or directory)

                          stat("/sbin/systemd-coredumpctl", 0x7fff4d497c70) = -1 ENOENT (No such file or directory)

                          stat("/bin/systemd-coredumpctl", 0x7fff4d497c70) = -1 ENOENT (No such file or directory)

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          dup2(12, 2)                             = 2

                          close(12)                               = 0

                          open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          fcntl(2, F_DUPFD, 10)                   = 12

                          close(2)                                = 0

                          fcntl(12, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(1, 2)                              = 2

                          stat("/usr/sbin/coredumpctl", 0x7fff4d497c50) = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/coredumpctl", 0x7fff4d497c50) = -1 ENOENT (No such file or directory)

                          stat("/sbin/coredumpctl", 0x7fff4d497c50) = -1 ENOENT (No such file or directory)

                          stat("/bin/coredumpctl", 0x7fff4d497c50) = -1 ENOENT (No such file or directory)

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          dup2(12, 2)                             = 2

                          close(12)                               = 0

                          stat("/usr/local/sbin/find", 0x7fff4d497e90) = -1 ENOENT (No such file or directory)

                          stat("/usr/local/bin/find", 0x7fff4d497e90) = -1 ENOENT (No such file or directory)

                          stat("/usr/sbin/find", 0x7fff4d497e90)  = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/find", {st_mode=S_IFREG|0755, st_size=221768, ...}) = 0

                          pipe([3, 4])                            = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4138

                          close(4)                                = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4139

                          close(3)                                = 0

                          close(-1)                               = -1 EBADF (Bad file descriptor)

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4138

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4138, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4138

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4139

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4139, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4139

                          pipe([3, 4])                            = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4152

                          close(4)                                = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4153

                          close(3)                                = 0

                          close(-1)                               = -1 EBADF (Bad file descriptor)

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4152

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4152, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4152

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4153, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4152

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4153

                          pipe([3, 4])                            = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4154

                          close(4)                                = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4155

                          close(3)                                = 0

                          close(-1)                               = -1 EBADF (Bad file descriptor)

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4154

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4154, si_uid=0, si_status=0, si_utime=2, si_stime=2} ---

                          rt_sigreturn({mask=[]})                 = 4154

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4155

                          pipe([3, 4])                            = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4156

                          close(4)                                = 0

                          read(3, "|\n", 128)                     = 2

                          read(3, "", 128)                        = 0

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4156, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 0

                          close(3)                                = 0

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4156

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "############# END STACK TRACE ##"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "################# LOG FILE #####"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          stat("/home/<user>/.kodi/temp/kodi.log", {st_mode=S_IFREG|0644, st_size=8135, ...}) = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          stat("/usr/local/sbin/cat", 0x7fff4d498170) = -1 ENOENT (No such file or directory)

                          stat("/usr/local/bin/cat", 0x7fff4d498170) = -1 ENOENT (No such file or directory)

                          stat("/usr/sbin/cat", 0x7fff4d498170)   = -1 ENOENT (No such file or directory)

                          stat("/usr/bin/cat", 0x7fff4d498170)    = -1 ENOENT (No such file or directory)

                          stat("/sbin/cat", 0x7fff4d498170)       = -1 ENOENT (No such file or directory)

                          stat("/bin/cat", {st_mode=S_IFREG|0755, st_size=52080, ...}) = 0

                          clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca86b9c9d0) = 4159

                          wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4159

                          --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4159, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---

                          rt_sigreturn({mask=[]})                 = 4159

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "############### END LOG FILE ###"..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "\n", 1)                       = 1

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          open("/home/<user>/kodi_crashlog-20170309_205802.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

                          fcntl(1, F_DUPFD, 10)                   = 11

                          close(1)                                = 0

                          fcntl(11, F_SETFD, FD_CLOEXEC)          = 0

                          dup2(3, 1)                              = 1

                          close(3)                                = 0

                          write(1, "############ END Kodi CRASH LOG "..., 46) = 46

                          dup2(11, 1)                             = 1

                          close(11)                               = 0

                          write(1, "Crash report available at /home/"..., 71Crash report available at /home/<user>/kodi_crashlog-20170309_205802.log

                          ) = 71

                          exit_group(139)                         = ?

                          +++ exited with 139 +++

                            • Re: amdgpu-pro-16.50 Segfault, 16.60 duplicate symbol, 16.40 init issue.
                              yurtesen

                              You should check /home/<user>/kodi_crashlog-20170309_205802.log if it has anything to do with eglInitialize() this is a problem with AMD driver. SImply uninstall it.

                              You can report it to AMD but the problem is that the APUs are not supported by new driver. So they will simply tell you to go away. I also coudn't report it because I have 2 APUs and an HD7900 and none are supported by the driver officially. I think the problem in your trace started before the line you put in bold but because kodi has some code which writes a crash log, the program kept going for a while. I think you will see that in the crashlog file you will find more information and more readable.

                                • Re: amdgpu-pro-16.50 Segfault, 16.60 duplicate symbol, 16.40 init issue.
                                  happyoldguy

                                  Here is the core dump from Kodi and I thought APU was supported?

                                  ############## Kodi CRASH LOG ###############

                                   

                                   

                                  ################ SYSTEM INFO ################

                                  Date: Sat Mar 11 20:53:00 CST 2017

                                  Kodi Options:

                                  Arch: x86_64

                                  Kernel: Linux 4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 UTC 2017

                                  Release: Ubuntu 16.04.2 LTS (Xenial Xerus)

                                  ############## END SYSTEM INFO ##############

                                   

                                   

                                  ############### STACK TRACE #################

                                  =====>  Core file: /home/<user>/core (2017-03-11 20:53:00.900220809 -0600)

                                          =========================================

                                  [New LWP 2014]

                                  [New LWP 2015]

                                  [New LWP 2020]

                                  [New LWP 2021]

                                  [New LWP 2022]

                                  [New LWP 2023]

                                  [New LWP 2019]

                                  [Thread debugging using libthread_db enabled]

                                  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

                                  Core was generated by `/usr/lib/x86_64-linux-gnu/kodi/kodi.bin'.

                                  Program terminated with signal SIGSEGV, Segmentation fault.

                                  #0  0x00007fe2401618f4 in amdgpu_query_gpu_info () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1

                                  [Current thread is 1 (Thread 0x7fe25d642940 (LWP 2014))]

                                   

                                   

                                  Thread 7 (Thread 0x7fe242fe2700 (LWP 2019)):

                                  #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:180

                                  #1  0x0000000000c761bb in CJobManager::GetNextJob(CJobWorker const*) ()

                                  #2  0x0000000000c762ea in CJobWorker::Process() ()

                                  #3  0x0000000000d0a215 in CThread::Action() ()

                                  #4  0x0000000000d0a46f in CThread::staticThread(void*) ()

                                  #5  0x00007fe25ee3b6ba in start_thread (arg=0x7fe242fe2700) at pthread_create.c:333

                                  #6  0x00007fe257ef282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

                                   

                                   

                                  Thread 6 (Thread 0x7fe240d70700 (LWP 2023)):                                                                                                                               

                                  #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:180                                                               

                                  #1  0x0000000000d07927 in XbmcThreads::CEventGroup::wait(unsigned int) ()                                                                                                  

                                  #2  0x00000000009f831c in ?? ()                                                                                                                                            

                                  #3  0x0000000000d0a215 in CThread::Action() ()                                                                                                                             

                                  #4  0x0000000000d0a46f in CThread::staticThread(void*) ()                                                                                                                  

                                  #5  0x00007fe25ee3b6ba in start_thread (arg=0x7fe240d70700) at pthread_create.c:333                                                                                        

                                  #6  0x00007fe257ef282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109                                                                                        

                                                                                                                                                                                                             

                                  Thread 5 (Thread 0x7fe241571700 (LWP 2022)):

                                  #0  0x00007fe257ee6b5d in poll () at ../sysdeps/unix/syscall-template.S:84

                                  #1  0x00007fe25a99e861 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0

                                  #2  0x00007fe25a98fe11 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0

                                  #3  0x00007fe25a9904ae in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0

                                  #4  0x00007fe25a990560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0

                                  #5  0x00007fe25a99e7a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0

                                  #6  0x00007fe25266c078 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so

                                  #7  0x00007fe25ee3b6ba in start_thread (arg=0x7fe241571700) at pthread_create.c:333

                                  #8  0x00007fe257ef282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

                                   

                                   

                                  Thread 4 (Thread 0x7fe241d72700 (LWP 2021)):

                                  #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143

                                  #1  0x00007fe25a99ee48 in pa_threaded_mainloop_wait () from /usr/lib/x86_64-linux-gnu/libpulse.so.0

                                  #2  0x00000000015d3174 in CAESinkPULSE::AddPackets(unsigned char**, unsigned int, unsigned int) ()

                                  #3  0x00000000015b38f9 in ActiveAE::CActiveAESink::OutputSamples(ActiveAE::CSampleBuffer*) ()

                                  #4  0x00000000015b4fb2 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()

                                  #5  0x00000000015b5cd7 in ActiveAE::CActiveAESink::Process() ()

                                  #6  0x0000000000d0a215 in CThread::Action() ()

                                  #7  0x0000000000d0a46f in CThread::staticThread(void*) ()

                                  #8  0x00007fe25ee3b6ba in start_thread (arg=0x7fe241d72700) at pthread_create.c:333

                                  #9  0x00007fe257ef282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

                                   

                                   

                                  Thread 3 (Thread 0x7fe242573700 (LWP 2020)):

                                  #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:180

                                  #1  0x00000000015ab23a in ActiveAE::CActiveAE::Process() ()

                                  #2  0x0000000000d0a215 in CThread::Action() ()

                                  #3  0x0000000000d0a46f in CThread::staticThread(void*) ()

                                  #4  0x00007fe25ee3b6ba in start_thread (arg=0x7fe242573700) at pthread_create.c:333

                                  #5  0x00007fe257ef282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

                                   

                                   

                                  Thread 2 (Thread 0x7fe2437e3700 (LWP 2015)):

                                  #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143

                                  #1  0x000000000144d5b1 in ANNOUNCEMENT::CAnnouncementManager::Process() ()

                                  #2  0x0000000000d0a215 in CThread::Action() ()

                                  #3  0x0000000000d0a46f in CThread::staticThread(void*) ()

                                  #4  0x00007fe25ee3b6ba in start_thread (arg=0x7fe2437e3700) at pthread_create.c:333

                                  #5  0x00007fe257ef282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

                                   

                                   

                                  Thread 1 (Thread 0x7fe25d642940 (LWP 2014)):

                                  #0  0x00007fe2401618f4 in amdgpu_query_gpu_info () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1

                                  #1  0x00007fe22b470171 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #2  0x00007fe22b470811 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #3  0x00007fe22b4737da in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #4  0x00007fe22a8f0a08 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #5  0x00007fe22a8993d8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #6  0x00007fe229628c20 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #7  0x00007fe22a509725 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #8  0x00007fe22b46ecc0 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #9  0x00007fe22b3d68f8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #10 0x00007fe22b3d6c56 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #11 0x00007fe22b3d1348 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #12 0x00007fe22b3ce9bf in eglInitialize () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                                  #13 0x00000000009c0602 in CGLContextEGL::Refresh(bool, int, unsigned long, bool&) ()

                                  #14 0x00000000009c7870 in CWinSystemX11GLContext::RefreshGLContext(bool) ()

                                  #15 0x00000000009c7a43 in CWinSystemX11GLContext::SetWindow(int, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*) ()

                                  #16 0x00000000009c4854 in CWinSystemX11::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()

                                  #17 0x00000000009c76af in CWinSystemX11GLContext::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()

                                  #18 0x00000000009c15d5 in CWinSystemX11::CreateNewWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, RESOLUTION_INFO&, bool (*)(XBMC_Event&)) ()

                                  #19 0x00000000009c75d0 in CWinSystemX11GLContext::CreateNewWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, RESOLUTION_INFO&, bool (*)(XBMC_Event&)) ()

                                  #20 0x0000000001003d9f in CApplication::InitWindow(RESOLUTION) ()

                                  #21 0x0000000001004250 in CApplication::CreateGUI() ()

                                  #22 0x0000000000d3bda5 in XBMC_Run ()

                                  #23 0x00000000007ff2eb in main ()

                                  ############# END STACK TRACE ###############

                                    • Re: amdgpu-pro-16.50 Segfault, 16.60 duplicate symbol, 16.40 init issue.
                                      yurtesen

                                      The only important part is the thread 1. Your problem is exactly same as mine.

                                       

                                      amdgpu_query_gpu_info () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1

                                       

                                      Something as simple as gpu info shouldn't crash. Please report this problem to AMD with the links I provided earlier.

                                       

                                      Everybody seems to have this problem. I think it is a bug. Like I mentioned, simple EGL programs also crash. Actually driver crashes when eglInitialize called so EGL is totally unusable.

                          • Re: amdgpu-pro-16.50 Segfault
                            beanow

                            I've tried 16.60 as well but it gives me a different error entirely.

                            A duplicate symbol. Maybe a kernel version missmatch?

                             

                            amdkcl: exports duplicate symbol drm_modeset_lock_all_ctx (owned by drm)

                             

                            That line shows up about 4-5 times per boot.

                            And it results in the rest of the system acting as if modesetting is disabled.

                            Similar to the nomodeset kernel boot flag, in Xorg it unloads amdgpu for a lack of kernel modesetting.

                             

                            [    17.190] (II) LoadModule: "amdgpu"

                            [    17.190] (II) Loading /opt/amdgpu-pro/lib/xorg/modules/drivers/amdgpu_drv.so

                            [    17.191] (II) Module amdgpu: vendor="X.Org Foundation"

                            [    17.191]    compiled for 1.18.4, module version = 1.2.99

                            [    17.191]    Module class: X.Org Video Driver

                            [    17.191]    ABI class: X.Org Video Driver, version 20.0

                            [    17.191] (II) AMDGPU: Driver for AMD Radeon:

                                All GPUs supported by the amdgpu kernel driver

                            [    17.191] (II) [KMS] drm report modesetting isn't supported.

                            [    17.191] (EE) Screen 0 deleted because of no matching config section.

                            [    17.191] (II) UnloadModule: "amdgpu"

                            [    17.191] (EE) Device(s) detected, but none match those in the config file.

                             

                            Finally settling on software rendering modules.

                             

                            I've tried to blacklist the drm module to avoid this duplicate symbol. But that's a no-go as the amd driver depends on it.

                             

                            filename:      /lib/modules/4.4.0-66-generic/updates/amdkcl.ko

                            version:        1.0

                            license:        GPL

                            description:    Module for OS kernel compatible layer

                            author:        AMD linux driver team

                            srcversion:    A299DB3AEF82D78E4733FD0

                            depends:        drm

                            vermagic:      4.4.0-66-generic SMP mod_unload modversions

                             

                            filename:      /lib/modules/4.4.0-66-generic/kernel/drivers/gpu/drm/drm.ko

                            license:        GPL and additional rights

                            description:    DRM shared core routines

                            author:        Gareth Hughes, Leif Delgass, José Fonseca, Jon Smirl

                            license:        GPL and additional rights

                            description:    DRM bridge infrastructure

                            author:        Ajay Kumar <ajaykumar.rs@samsung.com>

                            license:        GPL and additional rights

                            description:    DRM panel infrastructure

                            author:        Thierry Reding <treding@nvidia.com>

                            srcversion:    EB3E40608CC6356CA91CBF0

                            depends:      

                            intree:        Y

                            vermagic:      4.4.0-66-generic SMP mod_unload modversions

                            parm:          edid_fixup:Minimum number of valid EDID header bytes (0-8, default 6) (int)

                            parm:          debug:Enable debug output (int)

                            parm:          vblankoffdelay:Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately) (int)

                            parm:          timestamp_precision_usec:Max. error on timestamps [usecs] (int)

                            parm:          timestamp_monotonic:Use monotonic timestamps (int)

                             

                            Trying to manually modprobe it confirms this fails to load.

                             

                            $ sudo modprobe amdkcl

                            [  575.456204] amdkcl: exports duplicate symbol drm_modeset_lock_all_ctx (owned by drm)

                            modprobe: ERROR: could not insert 'amdkcl': Exec format error

                          • Re: amdgpu-pro-16.50 Segfault
                            beanow

                            yurtesen I've tried a number of things but the video group was definitely not the issue.

                             

                            Running 16.50 I found the initialization of the GPU fails when loading the kernel module.

                            Later on the display manager tries to get an OpenGL context which leads to the segfault above in the driver, which cascades into a segfault in Qt5.

                            Do you have a similar output in kern.log to mine, especially the red part?

                             

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.455813] [drm] amdgpu kernel modesetting enabled.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.461274] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card2/input31

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.461541] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.461542] AMD IOMMUv2 functionality not available on this system

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466324] CRAT table not found

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466326] Finished initializing topology ret=0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466578] kfd kfd: Initialized module

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466681] checking generic (e0000000 7f0000) vs hw (e0000000 10000000)

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466682] fb: switching to amdgpudrmfb from VESA VGA

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466714] Console: switching to colour dummy device 80x25

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466865] [drm] initializing kernel modesetting (HAWAII 0x1002:0x67B1 0x1002:0x0B00 0x00).

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466875] [drm] register mmio base: 0xF0800000

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466876] [drm] register mmio size: 262144

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466878] [drm] doorbell mmio base: 0xF0000000

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466879] [drm] doorbell mmio size: 8388608

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466882] [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466883] [drm] probing mlw for device 8086:c01 = 261ad03

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466927] ATOM BIOS: C67111

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.466931] [drm] GPU post is not needed

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.476462] amdgpu 0000:01:00.0: VRAM: 4096M 0x0000000000000000 - 0x00000000FFFFFFFF (4096M used)

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.476469] amdgpu 0000:01:00.0: GTT: 4096M 0x0000000100000000 - 0x00000001FFFFFFFF

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.476470] [drm] Detected VRAM RAM=4096M, BAR=256M

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.476474] [drm] RAM width 512bits GDDR5

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477446] [TTM] Zone  kernel: Available graphics memory: 8143042 kiB

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477448] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477449] [TTM] Initializing pool allocator

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477454] [TTM] Initializing DMA pool allocator

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477482] [drm] amdgpu: 4096M of VRAM memory ready

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477484] [drm] amdgpu: 4096M of GTT memory ready.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.477503] [drm] GART: num cpu pages 1048576, num gpu pages 1048576

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.478078] AVX2 version of gcm_enc/dec engaged.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.478080] AES CTR mode by8 optimization enabled

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.553482] intel_rapl: Found RAPL domain package

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.553484] intel_rapl: Found RAPL domain core

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.553486] intel_rapl: Found RAPL domain uncore

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.553487] intel_rapl: Found RAPL domain dram

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.639330] [drm] PCIE GART of 4096M enabled (table at 0x0000000000040000).

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.639389] amdgpu 0000:01:00.0: amdgpu: using MSI.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.639404] [drm] amdgpu: irq initialized.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.639905] [drm] Internal thermal controller with fan control

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.643581] [drm] Invalid PCC GPIO: 13!

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.643582] [drm] amdgpu: dpm initialized

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.644436] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000100000010, cpu addr 0xffff88041ab81010

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.644500] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000100000020, cpu addr 0xffff88041ab81020

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.644560] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000100000030, cpu addr 0xffff88041ab81030

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.644603] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000100000040, cpu addr 0xffff88041ab81040

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.644620] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000100000050, cpu addr 0xffff88041ab81050

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.644649] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000100000060, cpu addr 0xffff88041ab81060

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.645514] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000100000070, cpu addr 0xffff88041ab81070

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.645531] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr 0x0000000100000080, cpu addr 0xffff88041ab81080

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.645840] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr 0x0000000100000090, cpu addr 0xffff88041ab81090

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.646221] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr 0x00000001000000a0, cpu addr 0xffff88041ab810a0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.646241] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr 0x00000001000000b0, cpu addr 0xffff88041ab810b0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.646952] [drm] Found UVD firmware Version: 1.64 Family ID: 9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.647172] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr 0x000000000088bd30, cpu addr 0xffffc90003438d30

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.647557] [drm] Found VCE firmware Version: 50.10 Binary ID: 2

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.647598] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x00000001000000d0, cpu addr 0xffff88041ab810d0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.649021] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr 0x00000001000000e0, cpu addr 0xffff88041ab810e0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.649076] [drm] PCIE gen 3 link speeds already enabled

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657008] [drm] DAL is enabled

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657081] [drm] [FeatureOverride_overriden feature] Overridden FEATURE_ENABLE_GPU_SCALING is enabled now

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657088] [drm] [Backlight_Caps] This method is not supported

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657265] [drm] DC: create_links: connectors_num: physical:4, virtual:0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657270] [drm] [HwTrace_Hotplug] Connector[0] description:signal 32

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657275] [drm] [I2cAux_Config] Using channel: CHANNEL_ID_DDC1 [1]

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657284] [drm] [HwTrace_Hotplug] Connector[1] description:signal 4

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657286] [drm] [I2cAux_Config] Using channel: CHANNEL_ID_DDC3 [3]

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657293] [drm] [HwTrace_Hotplug] Connector[2] description:signal 2

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657295] [drm] [I2cAux_Config] Using channel: CHANNEL_ID_DDC4 [4]

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657302] [drm] [HwTrace_Hotplug] Connector[3] description:signal 2

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.657304] [drm] [I2cAux_Config] Using channel: CHANNEL_ID_DDC6 [6]

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.659136] [drm] DM_NOT_IMPL: dm_bandwidth_update

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.681617] [drm] [IfTrace_DC] Display Core initialized

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.681621] [drm] amdgpu: freesync_module init done ffff8804179df940.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.681812] [drm] [HwTrace_Hotplug] link=0, dc_sink_in=          (null) is now Disconnected

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.681813] [drm] DCHPD: connector_id=0: dc_sink didn't change.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.681994] [drm] [HwTrace_Hotplug] link=1, dc_sink_in=          (null) is now Disconnected

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.681996] [drm] DCHPD: connector_id=1: dc_sink didn't change.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.696968] [drm] SADs count is: -2, don't need to read it

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.697123] [drm] [Conn_Detect] [DVI-D-1] BenQG2222HDL: [Block 0] 00 FF FF FF FF FF FF 00 09 D1 5A 78 45 54 00 00 32 14 01 03 80 30 1B 78 2E E6 15 A6 55 49 99 27 13 50 54 BF EF 80 71 00 71 4F 81 C0 81 00 81 40 95 00 95 0F B3 00 02 3A 80 18 71 38 2D 40 58 2C 45 00 DE 0D 11 00 00 1E 00 00 00 FF 00 4A 43 41 30 33 31 35 33 30 32 36 0A 20 00 00 00 FD 00 32 4C 18 53 15 00 0A 20 20 20 20 20 20 00 00 00 FC 00 42 65 6E 51 47 32 32 32 32 48 44 4C 0A 00 12 ^

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.697129] [drm] [Detection_EDID Parser] dc_link_detect: manufacturer_id = D109, product_id = 785A, serial_number = 5445, manufacture_week = 50, manufacture_year = 20, display_name = BenQG2222HDL, speaker_flag = 0, audio_mode_count = 0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.697131] [drm] [HwTrace_Hotplug] link=2, dc_sink_in=ffff8804179d1400 is now Connected

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.697133] [drm] DCHPD: connector_id=2: Old sink=          (null) New sink=ffff8804179d1400

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712540] [drm] SADs count is: -2, don't need to read it

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712575] [drm] [Conn_Detect] [DVI-D-2] BenQG2222HDL: [Block 0] 00 FF FF FF FF FF FF 00 09 D1 5A 78 45 54 00 00 26 14 01 03 80 30 1B 78 2E E6 15 A6 55 49 99 27 13 50 54 BF EF 80 71 00 71 4F 81 C0 81 00 81 40 95 00 95 0F B3 00 02 3A 80 18 71 38 2D 40 58 2C 45 00 DE 0D 11 00 00 1E 00 00 00 FF 00 4C 39 41 30 32 32 31 38 30 32 36 0A 20 00 00 00 FD 00 32 4C 18 53 15 00 0A 20 20 20 20 20 20 00 00 00 FC 00 42 65 6E 51 47 32 32 32 32 48 44 4C 0A 00 25 ^

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712577] [drm] [Detection_EDID Parser] dc_link_detect: manufacturer_id = D109, product_id = 785A, serial_number = 5445, manufacture_week = 38, manufacture_year = 20, display_name = BenQG2222HDL, speaker_flag = 0, audio_mode_count = 0

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712579] [drm] [HwTrace_Hotplug] link=3, dc_sink_in=ffff88041a988800 is now Connected

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712581] [drm] DCHPD: connector_id=3: Old sink=          (null) New sink=ffff88041a988800

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712601] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712602] [drm] Driver supports precise vblank timestamp query.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.712602] [drm] KMS initialized.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.854393] [drm:gfx_v7_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.854424] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v7_0> failed -22

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.854427] amdgpu 0000:01:00.0: amdgpu_init failed

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887001] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :6

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887028] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :7

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887052] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :8

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887075] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887099] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :10

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887121] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :11

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887159] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :6

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887180] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :7

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887202] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :8

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887223] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887245] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :10

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887266] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :11

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887305] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :6

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887326] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :7

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887348] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :8

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887369] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887390] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :10

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887411] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :11

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887450] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :6

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887473] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :7

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887493] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :8

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887515] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887535] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :10

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887556] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :11

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887593] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :6

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887613] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :7

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887634] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :8

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887655] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887676] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :10

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887697] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :11

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887734] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :6

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887755] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :7

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887777] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :8

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887798] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :9

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887819] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :10

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.887840] [drm:amdgpu_dm_set_crtc_irq_state [amdgpu]] *ERROR* amdgpu_dm_set_crtc_irq_state: crtc is NULL at id :11

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.888494] [TTM] Finalizing pool allocator

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.888497] [TTM] Finalizing DMA pool allocator

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.904863] [TTM] Zone  kernel: Used memory at exit: 0 kiB

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.904867] [TTM] Zone   dma32: Used memory at exit: 0 kiB

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.904869] [drm] amdgpu: ttm finalized

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.904873] amdgpu 0000:01:00.0: Fatal error during GPU init

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.904875] [drm] amdgpu: finishing device.

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.904876] [TTM] Memory type 2 has not been initialized

                            Mar  8 16:03:04 beanow-neon-desk kernel: [    7.905327] amdgpu: probe of 0000:01:00.0 failed with error -22

                            • Re: amdgpu-pro-16.50 Segfault, 16.60 duplicate symbol, 16.40 init issue.
                              beanow

                              While I didn't investigate the older version's init and segfault issues, ahugo, yurtesen and a Mint user on Bug #1648122 “AMDGPU-Pro Driver missing in Mint 18 series” : Bugs : Linux Mint found kernel upgrades to help them.

                               

                              I tested amdgpu-pro-17.10-414273 with my R9 290:

                               

                              Gave the 4.10.0 setup a quick test with Firewatch on Ultra and it held up without errors.

                              So for anyone with these issues, see if you can upgrade your kernel version.

                              1 of 1 people found this helpful