Hi all,
We are using freescale kernel 3.0.35_4.0.0 with staticly linked qt5.3 (eglfs, no qml or qtquick). The application shows 2 round instruments with a needle, which are rotating. The Resolution of the framebuffer/display is 1024x768, the instrument widgets are both 400x400 in size.
Everything works fine until a vivante crash comes up with a NULL pointer dereference oops. This happens always, when we wait long enough: it took from 10 min to 4 hours to observe this behaviour.
Anyone experiencing the same Problems, or any ideas? Porting to 3.10.17 is an Option, but a heavy work, so we would also consider this, but we want to be sure, that this behaviour was a known bug and is already fixed in this kernel?
[ 1293.565270] Unable to handle kernel NULL pointer dereference at virtual address 0000004f
[ 1293.573378] pgd = bfb2c000
[ 1293.576108] [0000004f] *pgd=4fafb831, *pte=00000000, *ppte=00000000
[ 1293.582428] Internal error: Oops: 17 [#1] PREEMPT SMP
[ 1293.587481] Modules linked in:
[ 1293.590556] CPU: 0 Not tainted (3.0.35 #33)
[ 1293.595098] PC is at gckCOMMAND_Commit+0x224/0xa6c
[ 1293.599893] LR is at 0xd4f0
[ 1293.602690] pc : [<8023037c>] lr : [<0000d4f0>] psr: 80000013
[ 1293.602695] sp : bfb49bf8 ip : ffdf8000 fp : bfb49d7c
[ 1293.614183] r10: 4b100fb8 r9 : ffffffff r8 : bfb49c58
[ 1293.619411] r7 : 00000000 r6 : 4b8b4ee8 r5 : 00000000 r4 : bfe70f00
[ 1293.625940] r3 : bfae6800 r2 : 00000ff0 r1 : 00000000 r0 : 00000000
[ 1293.632484] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 1293.639623] Control: 10c53c7d Table: 4fb2c04a DAC: 00000015
[ 1293.645372] Process ins_display (pid: 667, stack limit = 0xbfb482f0)
[ 1293.651732] Stack: (0xbfb49bf8 to 0xbfb4a000)
[ 1293.656094] 9be0: 00000000 00000000
[ 1293.664278] 9c00: 00000000 00042252 bfb49c24 bfb49c18 1827c000 ffdf8000 00000010 00000150
[ 1293.672461] 9c20: 00001000 2ac0f3a8 bfe70e40 bffe7800 bfb49c64 00000001 1824d3a8 00000008
[ 1293.680645] 9c40: 00000020 00000008 00000010 0000008f 803ca880 00000000 42444d43 00000000
[ 1293.688827] 9c60: 00000000 00000000 00000000 00000000 00000000 00000065 2ac02000 00000000
[ 1293.697010] 9c80: 00020000 0000d3a8 0000d4f0 00012b00 2ac0f4e0 00000000 0000d4e0 00000000
[ 1293.705193] 9ca0: 00000000 803ca880 803ca880 803ca8cc bfb49cd4 bfb49cc0 80097efc 802edeb4
[ 1293.713377] 9cc0: 803d9c48 8002a97c bfb49ce4 bfb49cd8 00000000 803d9c48 bfb49d0c bfb49ce8
[ 1293.721559] 9ce0: 80032c88 800669d0 60000013 ffffffff f2a00100 0000008f 00000001 00000000
[ 1293.729742] 9d00: bfb49d1c bfb49d10 8002c010 80032c2c bfb49d7c bfb49d20 80031e8c 8002c00c
[ 1293.737924] 9d20: 00000000 00000000 00000000 bffed000 00000000 bfcbaf00 bfe70f00 00000000
[ 1293.746107] 9d40: 00000001 7ea3d2f0 00000000 bfb49d7c 00000001 bfb49e40 bfcbaf00 00000000
[ 1293.754289] 9d60: 00000000 00000001 7ea3d2f0 00000000 bfb49e1c bfb49d80 8022ed78 80230164
[ 1293.762472] 9d80: 00000000 0000029b bfb49e24 bfb49e60 bfb49e6c bfb48038 bfb49db4 00000000
[ 1293.770655] 9da0: 00000000 00000000 00000000 0000029b 8008aeb8 802ebf5c bfb49e04 bfb49dc8
[ 1293.778839] 9dc0: 8008b814 00000000 c0918000 bfb49e84 bfb49e18 00000002 00c16a90 00000000
[ 1293.787023] 9de0: 00000000 00000000 bfb49e24 00c16150 bfca4600 bfedb000 bf97fe80 bfb48020
[ 1293.795205] 9e00: bfb48000 00007530 7ea3d2f0 00000000 bfb49f14 bfb49e20 80228730 8022e658
[ 1293.803387] 9e20: 7ea3d330 00000000 000000a8 00000000 7ea3d330 00000000 000000a8 00000000
[ 1293.811571] 9e40: 00000013 00000001 7ea3d6d0 2b0ef000 00000000 00000001 005c6f58 0144a0f0
[ 1293.819754] 9e60: 00000063 00000000 4b8b4ee8 00000000 4b100fb8 00000000 00000000 00000000
[ 1293.827937] 9e80: 01382aa0 7ea3d5d8 7ea3d6d0 00c15068 7ea3d494 2ae7e0b8 0000003a 00080000
[ 1293.836120] 9ea0: 2ae7a248 2ae26230 000000dc 00c15068 7ea3d494 00c137d8 00000002 00080000
[ 1293.844303] 9ec0: 7ea3d494 2ae4869c 8f8f5353 00000000 00000005 00000001 00000001 00000001
[ 1293.852485] 9ee0: 00000002 2ae178a0 00000000 bfb62d20 00000003 7ea3d2f0 bfb62d20 bfd3f4b8
[ 1293.860668] 9f00: 7ea3d2f0 00000000 bfb49f7c bfb49f18 800d8cb4 80228624 20f3c9cf 00000000
[ 1293.868850] 9f20: bfb49f74 00c15f70 00c15f70 00000001 00000000 00000081 00000001 00c16150
[ 1293.877033] 9f40: bfb49fa4 bfb49f50 00000001 00000003 bfb49f7c 00007530 00000003 7ea3d2f0
[ 1293.885216] 9f60: bfb62d20 80032544 bfb48000 00000000 bfb49fa4 bfb49f80 800d8e6c 800d88fc
[ 1293.893399] 9f80: 00c16150 00000001 00002710 2ae7dfa0 00007530 00000036 00000000 bfb49fa8
[ 1293.901581] 9fa0: 800323c0 800d8e3c 00002710 2ae7dfa0 00000003 00007530 7ea3d2f0 00c05008
[ 1293.909764] 9fc0: 00002710 2ae7dfa0 00007530 00000036 00000000 4b100fb8 4b8b4ec8 00c137d8
[ 1293.917947] 9fe0: 2ae7a46c 7ea3d2dc 2ae6772c 2b08131c 20000010 00000003 00000000 00000000
[ 1293.926124] Backtrace:
[ 1293.928606] [<80230158>] (gckCOMMAND_Commit+0x0/0xa6c) from [<8022ed78>] (gckKERNEL_Dispatch+0x72c/0x1394)
[ 1293.938272] [<8022e64c>] (gckKERNEL_Dispatch+0x0/0x1394) from [<80228730>] (drv_ioctl+0x118/0x278)
[ 1293.947245] [<80228618>] (drv_ioctl+0x0/0x278) from [<800d8cb4>] (do_vfs_ioctl+0x3c4/0x540)
[ 1293.955605] [<800d88f0>] (do_vfs_ioctl+0x0/0x540) from [<800d8e6c>] (sys_ioctl+0x3c/0x68)
[ 1293.963797] [<800d8e30>] (sys_ioctl+0x0/0x68) from [<800323c0>] (ret_fast_syscall+0x0/0x30)
[ 1293.972153] r7:00000036 r6:00007530 r5:2ae7dfa0 r4:00002710
[ 1293.977870] Code: 0a00015f e5943060 e1530009 0a0000fc (e599c050)
[ 1293.984099] ---[ end trace 85b37ecd71ee4496 ]---
Hi Hasan,
Did your problem get resolved? I'm having the exact same issue but I'm working with kernel 3.10.53.
I'm using imx-gpu-viv-5.0.11.p4.5 drivers and I've tested with kernel 3.10.53 and 3.14.28 in a custom board and a Nitrogen6X with the same results. For testing I'm using a custom application but I've also seen the issue running a Qt5 application (the Cinematic Experience demo). I think this is a driver issue as previously I was working with kernel 3.0.35 with the exact same application and hardware and the error never came up.
Regards,
Edison
Hi hasan
porting to 3.10.17 is highly recommended for gpu issues,
moreover use below
i.MX6 - Linux 3.10.17_1.0.1 Patch Release
also soon there will be 3.10.17_1.0.2 release, it also updated gpu driver,
more gpu patches will be in.
Best regards
igor
Hi Igor,
Could you tell or estimate the release date for the 3.10.17_1.0.2 release?
We are currently planning a transition from 3.0.35 to 3.10.17 and would like to know if we can wait for the 1.0.2 release.
Thanks,
Henri