AnsweredAssumed Answered

AMD RX 580 Ubuntu: Segfault in amdgpu_get_marketing_name () with pro 18.40 and 18.30

Question asked by johnutz-pnsr on Nov 19, 2018

I am not the first person to report a segfault in this function.

 

Please let me know what i can do to help get this fixed because i'd prefer to demostrate AMD GPU's as a viable option to Nvidia GPUs.

 

OS: Ubuntu 18.04 X86_64

 

Machine: HP Z420 Workstation

 

Video Card:

from lspci:

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev e7)

04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]

 

 

1. This is what my app reports on startup:

 

   Xlib:  extension "DRI2" missing on display ":0".

   screen 0 does not appear to be DRI2 capable

   Xlib:  extension "DRI2" missing on display ":0".

   screen 0 does not appear to be DRI2 capable

   amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)

   Segmentation fault (core dumped)

 

 

2. This is what gdb shows me in the core:

 

Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x00007fedd729eb4d in amdgpu_get_marketing_name ()   from /opt/amdgpu/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1

 

(gdb) bt

 

#0  0x00007fedd729eb4d in amdgpu_get_marketing_name ()    at /opt/amdgpu/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1

#1  0x00007fedda58acf4 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#2  0x00007fedda58b861 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#3  0x00007fedda3694b6 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#4  0x00007fedda38a187 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#5  0x00007fedd974c1b5 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#6  0x00007fedda216dec in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#7  0x00007fedda58d785 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#8  0x00007fedda1dbafe in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#9  0x00007fedda1dbeba in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#10 0x00007fedda1dfbf9 in eglInitialize ()  at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

#11 0x00007feddbe44fbd in gst_egl_adaptation_init_display ()    at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so

#12 0x00007feddbe39d15 in egl_init ()    at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so

#13 0x00007feddbe417e3 in gst_eglglessink_open ()    at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so

#14 0x00007feddbe41aad in gst_eglglessink_change_state ()    at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so

#15 0x00007fee11e72bde in gst_element_change_state ()    at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0

#16 0x00007fee11e73319 in  ()    at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0

#17 0x00007fee11e50942 in  ()    at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0

#18 0x00007fee11e72bde in gst_element_change_state ()    at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0

#19 0x00007fee11e73319 in  ()    at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0

#20 0x000055797ac6d530 in main (argc=<optimized out>, argv=<optimized out>)    at SrcFilVdo.c:386

Outcomes