[Mesa-dev] radeonsi: ppc64 glamor backtrace

Jack Mitchell ml at embed.me.uk
Wed Jun 21 12:26:04 UTC 2017


Hi,

I'm trying to run a VERDE based AMD card in a big endian powerpc64. I
can get everything working with swrast but when I try to enable
acceleration mesa bombs out when starting Xorg. I've got a backtrace
from gdb but I'm not sure where to go next in debugging, any pointers
would be appreciated.

Attached (1)

Regards,
Jack.
-------------- next part --------------
Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault.
0x00003fffb66e5718 in si_init_ia_multi_vgt_param_table (sctx=0x102fbf50)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/drivers/radeonsi/si_state_draw.c:438
438                     sctx->ia_multi_vgt_param[key.index] =
(gdb) bt
#0  0x00003fffb66e5718 in si_init_ia_multi_vgt_param_table (sctx=0x102fbf50)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/drivers/radeonsi/si_state_draw.c:438
#1  0x00003fffb66b74f4 in si_create_context (screen=0x102f2510, priv=<optimized out>, 
    flags=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/drivers/radeonsi/si_pipe.c:241
#2  0x00003fffb66b7b34 in radeonsi_screen_create (ws=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/drivers/radeonsi/si_pipe.c:937
#3  0x00003fffb67dd900 in radeon_drm_winsys_create (fd=<optimized out>, 
    screen_create=@0x3fffb6ac75d8: 0x3fffb66b7810 <radeonsi_screen_create>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:830
#4  0x00003fffb5ddd0fc in pipe_radeonsi_create_screen (fd=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/auxiliary/target-helpers/drm_helper.h:125
#5  0x00003fffb64301d8 in pipe_loader_drm_create_screen (dev=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:283
#6  0x00003fffb642f5e4 in pipe_loader_create_screen (dev=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/auxiliary/pipe-loader/pipe_loader.c:79
#7  0x00003fffb62612a0 in dri2_init_screen (sPriv=0x102f0e80)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gallium/state_trackers/dri/dri2.c:1941
#8  0x00003fffb6259144 in driCreateNewScreen2 (scrn=<optimized out>, fd=<optimized out>, 
    extensions=<optimized out>, driver_extensions=<optimized out>, driver_configs=0x102c4e88, 
    data=0x102c4cb0)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/mesa/drivers/dri/common/dri_util.c:147
#9  0x00003fffb6e4e388 in dri_screen_create_dri2 (dri=0x102c4cb0, driver_name=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gbm/backends/dri/gbm_dri.c:459
#10 0x00003fffb6e4e88c in dri_screen_create (dri=0x102c4cb0)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gbm/backends/dri/gbm_dri.c:534
#11 dri_device_create (fd=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gbm/backends/dri/gbm_dri.c:1379
#12 0x00003fffb6e4aca8 in _gbm_create_device (fd=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gbm/main/backend.c:100
#13 0x00003fffb6e4ad70 in gbm_create_device (fd=<optimized out>)
    at /usr/src/debug/mesa/2_17.1.3-r0/mesa-17.1.3/src/gbm/main/gbm.c:123
#14 0x00003fffb6e856e8 in glamor_egl_init (scrn=0x102c0950, fd=<optimized out>)
    at /usr/src/debug/xserver-xorg/2_1.19.3-r0/xorg-server-1.19.3/glamor/glamor_egl.c:764
#15 0x00003fffb70191cc in radeon_glamor_pre_init (scrn=0x102c0950)
    at /usr/src/debug/xf86-video-amd/2_gitAUTOINC+5cbe1ee8e4-r0/git/src/radeon_glamor.c:132
#16 0x00003fffb700ae24 in RADEONPreInitAccel_KMS (pScrn=0x102c0950)
    at /usr/src/debug/xf86-video-amd/2_gitAUTOINC+5cbe1ee8e4-r0/git/src/radeon_kms.c:1310
#17 RADEONPreInit_KMS (pScrn=0x102c0950, flags=<optimized out>)
    at /usr/src/debug/xf86-video-amd/2_gitAUTOINC+5cbe1ee8e4-r0/git/src/radeon_kms.c:1704
#18 0x0000000010098fb4 in InitOutput (pScreenInfo=0x10299370 <screenInfo>, argc=<optimized out>, 
    argv=0x3ffffffffc98)
    at /usr/src/debug/xserver-xorg/2_1.19.3-r0/xorg-server-1.19.3/hw/xfree86/common/xf86Init.c:582
#19 0x0000000010041abc in dix_main (argc=<optimized out>, argv=0x3ffffffffc98, envp=<optimized out>)
    at /usr/src/debug/xserver-xorg/2_1.19.3-r0/xorg-server-1.19.3/dix/main.c:197
#20 0x0000000010023db0 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at /usr/src/debug/xserver-xorg/2_1.19.3-r0/xorg-server-1.19.3/dix/stubmain.c:34
(gdb)



More information about the mesa-dev mailing list