This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SGX Graphics sdk crash..

 ./rc.pvr start
[  144.896575]
[  144.896606] =============================================
[  144.903839] [ INFO: possible recursive locking detected ]
[  144.909515] 2.6.39.4 #2
[  144.912109] ---------------------------------------------
[  144.917785] pvrsrvinit/718 is trying to acquire lock:
[  144.923095]  (psPVRSRVMutex){+.+.+.}, at: [<bf00b744>] PVRMMapRegisterArea+0x10/0x64 [pvrsrvkm]
[  144.932464]
[  144.932464] but task is already holding lock:
[  144.938598]  (psPVRSRVMutex){+.+.+.}, at: [<bf00e060>] PVRSRV_BridgeDispatchKM+0x1c/0xec [pvrsrvkm]
[  144.948242]
[  144.948242] other info that might help us debug this:
[  144.955108] 1 lock held by pvrsrvinit/718:
[  144.959411]  #0:  (psPVRSRVMutex){+.+.+.}, at: [<bf00e060>] PVRSRV_BridgeDispatchKM+0x1c/0xec [pvrsrvkm]
[  144.969512]
[  144.969512] stack backtrace:
[  144.969543] [<c00623f8>] (unwind_backtrace+0x0/0xec) from [<c00c62d0>] (__lock_acquire+0xe74/0x184c)
[  144.969573] [<c00c62d0>] (__lock_acquire+0xe74/0x184c) from [<c00c6d74>] (lock_acquire+0xcc/0xf0)
[  144.969635] [<c00c6d74>] (lock_acquire+0xcc/0xf0) from [<c047ac00>] (mutex_lock_nested+0x5c/0x340)
[  144.969726] [<c047ac00>] (mutex_lock_nested+0x5c/0x340) from [<bf00b744>] (PVRMMapRegisterArea+0x10/0x64 [pvrsrvkm])
[  144.969848] [<bf00b744>] (PVRMMapRegisterArea+0x10/0x64 [pvrsrvkm]) from [<bf00ca90>] (OSAllocPages_Impl+0x6c/0xac [pvrsrvkm])
[  144.969970] [<bf00ca90>] (OSAllocPages_Impl+0x6c/0xac [pvrsrvkm]) from [<bf0044f8>] (BM_ImportMemory+0xcc/0x260 [pvrsrvkm])
[  144.970092] [<bf0044f8>] (BM_ImportMemory+0xcc/0x260 [pvrsrvkm]) from [<bf009124>] (RA_Alloc+0xac/0x230 [pvrsrvkm])
[  144.970214] [<bf009124>] (RA_Alloc+0xac/0x230 [pvrsrvkm]) from [<bf004b3c>] (BM_Alloc+0xa4/0x248 [pvrsrvkm])
[  144.970336] [<bf004b3c>] (BM_Alloc+0xa4/0x248 [pvrsrvkm]) from [<bf0097d8>] (AllocDeviceMem.clone.0+0x74/0xe8 [pvrsrvkm])
[  144.970458] [<bf0097d8>] (AllocDeviceMem.clone.0+0x74/0xe8 [pvrsrvkm]) from [<bf009f44>] (_PVRSRVAllocDeviceMemKM+0x80/0x150 [pvrsrvkm])
[  144.970581] [<bf009f44>] (_PVRSRVAllocDeviceMemKM+0x80/0x150 [pvrsrvkm]) from [<bf013d44>] (PVRSRVAllocDeviceMemBW+0xa4/0x1a8 [pvrsrvkm])
[  144.970733] [<bf013d44>] (PVRSRVAllocDeviceMemBW+0xa4/0x1a8 [pvrsrvkm]) from [<bf014c6c>] (BridgedDispatchKM+0xd8/0x130 [pvrsrvkm])
[  144.970886] [<bf014c6c>] (BridgedDispatchKM+0xd8/0x130 [pvrsrvkm]) from [<bf00e104>] (PVRSRV_BridgeDispatchKM+0xc0/0xec [pvrsrvkm])
[  144.970977] [<bf00e104>] (PVRSRV_BridgeDispatchKM+0xc0/0xec [pvrsrvkm]) from [<c01379a8>] (vfs_ioctl+0x20/0x3c)
[  144.971008] [<c01379a8>] (vfs_ioctl+0x20/0x3c) from [<c01380d8>] (do_vfs_ioctl+0x50c/0x568)
[  144.971038] [<c01380d8>] (do_vfs_ioctl+0x50c/0x568) from [<c0138180>] (sys_ioctl+0x4c/0x6c)
[  144.971069] [<c0138180>] (sys_ioctl+0x4c/0x6c) from [<c005b8e0>] (ret_fast_syscall+0x0/0x3c)
[  144.982788] Bad mode in data abort handler detected
[  144.982818] Internal error: Oops - bad mode: 0 [#1] SMP
[  144.982818] last sysfs file: /sys/devices/virtual/pvr/pvrsrvkm/uevent
[  144.982818] Modules linked in: omaplfb pvrsrvkm
[  144.982849] CPU: 0    Not tainted  (2.6.39.4 #2)
[  144.982879] PC is at 0xffff0018
[  144.983001] LR is at SysCreateVersionString+0x28/0x88 [pvrsrvkm]
[  144.983032] pc : [<ffff0018>]    lr : [<bf0165a8>]    psr: a0000092
[  144.983032] sp : e6eb9e50  ip : e6eb9df0  fp : 00000000
[  144.983032] r10: 00000000  r9 : e6eb8000  r8 : e79d7000
[  144.983062] r7 : e79d6000  r6 : bf01d0f4  r5 : 00000000  r4 : f0ca0000
[  144.983062] r3 : 00000000  r2 : 0000ffff  r1 : 00000024  r0 : 02102004
[  144.983093] Flags: NzCv  IRQs off  FIQs on  Mode IRQ_32  ISA ARM  Segment user
[  144.983093] Control: 10c53c7d  Table: a7b8c04a  DAC: 00000015
[  144.983123] Process pvrsrvinit (pid: 718, stack limit = 0xe6eb82f8)
[  144.983123] Stack: (0xe6eb9e50 to 0xe6eba000)
[  144.983154] 9e40:                                     02102004 00000024 0000ffff 00000000
[  144.983184] 9e60: f0ca0000 00000000 bf01d0f4 e79d6000 e79d7000 e6eb8000 00000000 00000000
[  144.983184] 9e80: e6eb9df0 e6eb9e50 bf0165a8 ffff0018 a0000092 ffffffff 56000000 00000001
[  144.983215] 9ea0: bf01a753 bf01cfd0 00000000 bf016670 bf01d0f4 e79d7000 00000000 bf0058c8
[  144.983245] 9ec0: e79d6000 bf012560 e7881560 e6eb9ef0 00000042 bf014c6c 000002ce bedc7a8c
[  144.983245] 9ee0: c01c6742 00000003 00000000 bf00e104 00000042 0000001c bedc7ac0 00000008
[  144.983276] 9f00: bedc7ab8 00000008 00000001 e7881560 00000000 bedc7a8c e7a47840 c01379a8
[  144.983306] 9f20: e7b896b0 c01380d8 e6e644f8 60000013 c0247530 409ec000 c005baa8 e6e644f8
[  144.983306] 9f40: 00000000 c047bbdc 00000002 00000000 c0247530 e79ef580 e6e644f4 00000000
[  144.983337] 9f60: e6e644a0 c0247530 00000003 e7a47840 bedc7a8c c01c6742 00000003 00000000
[  144.983367] 9f80: e6eb8000 c0138180 00000003 00000000 00011008 bedc7aec 00000000 00000036
[  144.983367] 9fa0: c005baa8 c005b8e0 00011008 bedc7aec 00000003 c01c6742 bedc7a8c 00000001
[  144.983398] 9fc0: 00011008 bedc7aec 00000000 00000036 00000000 00000000 40287b60 00000000
[  144.983428] 9fe0: 00000001 bedc7a88 400c6b3c 40211c3c 20000010 00000003 000350d2 7f752306
[  144.983520] [<bf0165a8>] (SysCreateVersionString+0x28/0x88 [pvrsrvkm]) from [<00000000>] (  (null))
[  144.983551] Code: e59ff410 ea0000bb ea00009a ea0000fa (ea000078)
[  144.983581] ------------[ cut here ]------------
[  144.983612] WARNING: at arch/arm/mach-omap2/omap_l3_noc.c:98 l3_interrupt_handler+0xb4/0x130()
[  144.983642] L3 standard error: SOURCE:SGX  at address 0x24
[  144.983642] Modules linked in: omaplfb pvrsrvkm
[  144.983703] [<c00623f8>] (unwind_backtrace+0x0/0xec) from [<c0094fdc>] (warn_slowpath_common+0x4c/0x64)
[  144.983734] [<c0094fdc>] (warn_slowpath_common+0x4c/0x64) from [<c0095074>] (warn_slowpath_fmt+0x2c/0x3c)
[  144.983764] [<c0095074>] (warn_slowpath_fmt+0x2c/0x3c) from [<c007657c>] (l3_interrupt_handler+0xb4/0x130)
[  144.983795] [<c007657c>] (l3_interrupt_handler+0xb4/0x130) from [<c00d585c>] (handle_irq_event_percpu+0x64/0x1e0)
[  144.983825] [<c00d585c>] (handle_irq_event_percpu+0x64/0x1e0) from [<c00d5a14>] (handle_irq_event+0x3c/0x5c)
[  144.983856] [<c00d5a14>] (handle_irq_event+0x3c/0x5c) from [<c00d7f88>] (handle_level_irq+0xe4/0x118)
[  144.983917] [<c00d7f88>] (handle_level_irq+0xe4/0x118) from [<c005108c>] (asm_do_IRQ+0x8c/0xcc)
[  144.983947] [<c005108c>] (asm_do_IRQ+0x8c/0xcc) from [<c047c41c>] (__irq_svc+0x3c/0x120)
[  144.983947] Exception stack(0xe6eb9d88 to 0xe6eb9dd0)
[  144.983978] 9d80:                   c047c108 00000001 00000000 e6eb8000 c06643a4 e6eb8000
[  144.983978] 9da0: ffff001a 00000001 e6eb9e0c 00000000 ffff001c bf000000 e6eb9db8 e6eb9dd0
[  144.984008] 9dc0: c047c108 c047c10c 60000013 ffffffff
[  144.984039] [<c047c41c>] (__irq_svc+0x3c/0x120) from [<c047c10c>] (_raw_spin_unlock_irq+0x28/0x2c)
[  144.984100] [<c047c10c>] (_raw_spin_unlock_irq+0x28/0x2c) from [<c005f5d8>] (die+0x298/0x334)
[  144.984100] [<c005f5d8>] (die+0x298/0x334) from [<c005f6b0>] (bad_mode+0x3c/0x60)
[  144.984222] [<c005f6b0>] (bad_mode+0x3c/0x60) from [<bf0165a8>] (SysCreateVersionString+0x28/0x88 [pvrsrvkm])
[  144.984344] [<bf0165a8>] (SysCreateVersionString+0x28/0x88 [pvrsrvkm]) from [<00000000>] (  (null))
[  144.984344] ---[ end trace 794c8cb0ab4577a8 ]---
[  144.984405] ---[ end trace 794c8cb0ab4577a9 ]---

  •  

    Note: Post the output of below Script, while posting queries related to SGX drivers:

    https://gforge.ti.com/gf/download/docmanfileversion/203/3715/gfx_check.sh

     

     

  • here is the output of the script----->

     

    ./sgxperf_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    Processor       : ARMv7 Processor rev 2 (v7l)
    processor       : 0
    BogoMIPS        : 1194.24

    processor       : 1
    BogoMIPS        : 1165.83

    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x1
    CPU part        : 0xc09
    CPU revision    : 2

    Hardware        : OMAP4 Panda board
    Revision        : 0020
    Serial          : 0000000000000000
    ------
    SGX driver information
    Version 1.6.16.4117 (release) /home/venkat/Graphics_SDK_4_04_00_03/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings

    mode "1280x720-60"
        # D: 64.000 MHz, H: 44.444 kHz, V: 59.979 Hz
        geometry 1280 720 1280 720 32
        timings 15625 80 48 3 13 32 5
        rgba 8/16,8/8,8/0,0/0
    endmode

    Frame buffer device information:
        Name        : omapfb
        Address     : 0xa8000000
        Size        : 83886080
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 5120
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by    Not tainted
    omaplfb                12059  0
    pvrsrvkm              156007  1 omaplfb
    ------
    Boot settings
    console=ttyO2,115200n8 mem=460M@0x80000000 mem=256M@0xA0000000 rw rootwait root=/dev/mmcblk0p2 vram=128M omapfb.vram=0:80M omapfb.mode=dvi:1280x720MR-32@60 ip=dhcp init=/linuxrc
    ------
    Linux Kernel version
    Linux buildroot 2.6.39.4 #2 SMP Tue Oct 11 22:02:41 PDT 2011 armv7l GNU/Linux
    #

     

     

     

     

     

     

  • Pandaboard support is deprecated. You can check in Pandaboard.org forums for the appropriate drivers for this board. For a previous effort on getting this to run with Ubuntu, refer to below post:

    http://twitter.com/#!/tigraphics_twit/status/113458072634142720