Closed gamax92 closed 8 years ago
Apologies about the previous backtrace, it wasn't the one that was relevant to the issue and instead was from a misconfigured Xorg thanks to an extraneous file. Sadly the actual backtrace contains no information:
[ 13.990] (EE) Backtrace:
[ 13.992] (EE) 0: /usr/lib/xorg-server/Xorg (OsSigHandler+0x30) [0x19bcbc]
[ 13.995] (EE) 1: /usr/lib/libc.so.6 (__default_rt_sa_restorer+0x0) [0xb6a37738]
[ 13.995] (EE) unw_get_proc_info failed: no unwind info found [-10]
[ 13.995] (EE)
[ 13.996] (EE) Segmentation fault at address 0x10
Going to continue looking into compiling things with debugging information to see if that unwind error goes away.
Was able to get out an actual backtrace by using gdb:
Program received signal SIGSEGV, Segmentation fault.
fd_pipe_new (dev=0x0, id=id@entry=FD_PIPE_2D) at freedreno_pipe.c:46
46 pipe = dev->funcs->pipe_new(dev, id);
(gdb) bt
#0 fd_pipe_new (dev=0x0, id=id@entry=FD_PIPE_2D) at freedreno_pipe.c:46
#1 0xb6577d5c in MSMAccelInit (pScreen=pScreen@entry=0x2490d0) at msm-accel.c:48
#2 0xb6576e74 in MSMScreenInit (pScreen=pScreen@entry=0x2490d0, argc=argc@entry=4, argv=argv@entry=0xbefffce4) at msm-driver.c:452
#3 0x0003c6b4 in AddScreen (pfnInit=0xb6576c94 <MSMScreenInit>, argc=argc@entry=4, argv=argv@entry=0xbefffce4) at dispatch.c:3864
#4 0x00083e48 in InitOutput (pScreenInfo=pScreenInfo@entry=0x21675c <screenInfo>, argc=argc@entry=4, argv=argv@entry=0xbefffce4) at xf86Init.c:885
#5 0x00040540 in dix_main (argc=4, argv=0xbefffce4, envp=<optimized out>) at main.c:204
#6 0x0002a86c in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at stubmain.c:34
Seems pMsm->dev is NULL
(The library in the last Xorg backtrace missing unwind info was libdrm)
Oh, a change was done to libdrm that now requires --enable-freedreno-kgsl
in libdrm for kgsl support. All is running well now.
Whenever I use the precompiled xf86-video-freedreno-1.4.0-1-armv7h.pkg.tar.xz or compile it myself using autogen.sh, the X server can't start up and gives "Segmentation fault at address 0x10"
The device is running an Adreno 225, and this is in native arch linux, not an Android chroot, so /dev/fb0 is the correct address here.
Kernel has this in it's config:
One thing that stands out from the log is this
[ 16.751] [E] unknown device: kgsl (fd_device_new:104)
Xorg.0.log:
EDIT: Apparently just got this nowSegmentation fault at address 0x28
, usually it's always been 0x10.EDIT: Ignore the information about the 0x28 one, that stems from a misconfigured xorg.conf accidentally including a bogus Screen.