Etnaviv crashes on glmark2

Fabio Estevam festevam at gmail.com
Tue Aug 22 12:47:36 UTC 2017


Hi,

I am running kernel 4.12.8 and mesa 17.1.6 on a imx6q, but glmark2
never runs successfully until the end. It always crashes like this:

** Failed to set swap interval. Results may be bounded above by refresh rate.
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 63 FrameTime: 15.873 ms
[  288.732107] Unable to handle kernel paging request at virtual
address 00e71a74
[  288.739394] pgd = ee52c000
[  288.742115] [00e71a74] *pgd=00000000
[  288.745782] Internal error: Oops: 5 [#1] SMP ARM
[  288.750409] Modules linked in:
[  288.753481] CPU: 0 PID: 221 Comm: glmark2-es2-drm Not tainted 4.12.8 #1
[  288.760101] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[  288.766635] task: ee420c40 task.stack: ee4f0000
[  288.771181] PC is at page_mapping+0xc/0xa4
[  288.775291] LR is at set_page_dirty+0x14/0xc8
[  288.779656] pc : [<c01f23ac>]    lr : [<c01e05f4>]    psr: 20000013
[  288.779656] sp : ee4f1cd0  ip : ee4f1ce0  fp : ee4f1cdc
[  288.791138] r10: 00000000  r9 : 00000cdd  r8 : f5b8a000
[  288.796370] r7 : 00000000  r6 : 00000001  r5 : 00001400  r4 : 00e71a60
[  288.802902] r3 : efe71a50  r2 : 00000001  r1 : 00000000  r0 : 00e71a60
[  288.809436] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  288.816576] Control: 10c5387d  Table: 3e52c04a  DAC: 00000051
[  288.822328] Process glmark2-es2-drm (pid: 221, stack limit = 0xee4f0210)
[  288.829034] Stack: (0xee4f1cd0 to 0xee4f2000)
[  288.833399] 1cc0:                                     ee4f1cf4
ee4f1ce0 c01e05f4 c01f23ac
[  288.841586] 1ce0: f5b8d374 00001400 ee4f1d24 ee4f1cf8 c04fa11c
c01e05ec 00000000 ee584000
[  288.849772] 1d00: ee584000 ee58419c 00000200 00000100 ee58419c
ef0d7c00 ee4f1d3c ee4f1d28
[  288.857957] 1d20: c0526ce8 c04fa07c ee58419c ee584000 ee4f1d6c
ee4f1d40 c052807c c0526c94
[  288.866143] 1d40: c0527fb0 ee4a0000 ee584000 ee584000 ee4a0070
ee566c1c ee4f1e60 40086409
[  288.874329] 1d60: ee4f1d84 ee4f1d70 c04f9e34 c0527fbc 00000000
ee4a0000 ee4f1db4 ee4f1d88
[  288.882514] 1d80: c04fa2e8 c04f9e18 00000001 00000000 c04fa274
40086409 ee584000 ee4a0584
[  288.890700] 1da0: 00000000 ee566d24 ee4f1dd4 ee4f1db8 c04fa39c
c04fa268 ee584000 ee566c00
[  288.898885] 1dc0: ee4a0000 ee566d24 ee4f1df4 ee4f1dd8 c04fa434
c04fa330 ee566c28 ee566c00
[  288.907071] 1de0: 00000010 ee584000 ee4f1e1c ee4f1df8 c04fa4cc
c04fa3e8 00000000 00000000
[  288.915256] 1e00: 00000008 c0a415d0 ee566c00 ee4f1e60 ee4f1e2c
ee4f1e20 c04fa9f4 c04fa478
[  288.923442] 1e20: ee4f1f0c ee4f1e30 c04fb478 c04fa9d8 0000e280
00000001 c0c2cd88 c016d468
[  288.931628] 1e40: ee4f1e84 00000051 c04fa9cc 00000008 ee4a0000
00000009 beb30958 ee4f1e60
[  288.939814] 1e60: 00000010 00000000 00000000 c1649450 60000013
c024ac90 ee4f1ec4 ee4f1e88
[  288.947999] 1e80: c016f878 c016f294 00000000 00000000 00000000
00000000 00000000 c0e22d35
[  288.956184] 1ea0: c024b020 ffffffea eee4e2e0 00000000 ee4ebc68
00000008 ee4f1efc ee4f1ec8
[  288.964370] 1ec0: c024aca0 c016f790 00000000 00000000 c024abe0
ee5a1540 ee4ebc68 ee5a1540
[  288.972556] 1ee0: ee4ebc68 beb30958 ef0d3768 ee59fb80 c0239a44
00000006 ee4f0000 00000000
[  288.980741] 1f00: ee4f1f7c ee4f1f10 c0239048 c04fb298 00000020
00000000 ee4f1f64 ee5a1548
[  288.988927] 1f20: c0206e20 ee421054 c0e7d180 ee421080 ee420c40
00000000 00000000 00000000
[  288.997112] 1f40: ee4f1f5c ee4f1f50 ee421054 c0e7d180 ee4f1f84
ee59fb80 00000006 ee59fb80
[  289.005297] 1f60: 40086409 beb30958 ee4f0000 00000000 ee4f1fa4
ee4f1f80 c0239a44 c0238fb8
[  289.013483] 1f80: 02139378 beb30958 40086409 00000036 c0107e04
ee4f0000 00000000 ee4f1fa8
[  289.021668] 1fa0: c0107c60 c0239a14 02139378 beb30958 00000006
40086409 beb30958 00000000
[  289.029854] 1fc0: 02139378 beb30958 40086409 00000036 01905fc8
014d7890 00000000 014d1030
[  289.038041] 1fe0: b6e7d014 beb30918 b6e66560 b6c566c8 60000010
00000006 ca400482 0c0200a0
[  289.046220] Backtrace:
[  289.048686] [<c01f23a0>] (page_mapping) from [<c01e05f4>]
(set_page_dirty+0x14/0xc8)
[  289.056446] [<c01e05e0>] (set_page_dirty) from [<c04fa11c>]
(drm_gem_put_pages+0xac/0xf8)
[  289.064630]  r5:00001400 r4:f5b8d374
[  289.068225] [<c04fa070>] (drm_gem_put_pages) from [<c0526ce8>]
(etnaviv_gem_shmem_release+0x60/0x6c)
[  289.077366]  r10:ef0d7c00 r9:ee58419c r8:00000100 r7:00000200
r6:ee58419c r5:ee584000
[  289.085201]  r4:ee584000 r3:00000000
[  289.088790] [<c0526c88>] (etnaviv_gem_shmem_release) from
[<c052807c>] (etnaviv_gem_free_object+0xcc/0x1b4)
[  289.098536]  r5:ee584000 r4:ee58419c
[  289.102123] [<c0527fb0>] (etnaviv_gem_free_object) from
[<c04f9e34>] (drm_gem_object_free+0x28/0x6c)
[  289.111264]  r10:40086409 r9:ee4f1e60 r8:ee566c1c r7:ee4a0070
r6:ee584000 r5:ee584000
[  289.119100]  r4:ee4a0000 r3:c0527fb0
[  289.122688] [<c04f9e0c>] (drm_gem_object_free) from [<c04fa2e8>]
(drm_gem_object_put_unlocked+0x8c/0xc8)
[  289.132172]  r5:ee4a0000 r4:00000000
[  289.135759] [<c04fa25c>] (drm_gem_object_put_unlocked) from
[<c04fa39c>] (drm_gem_object_handle_put_unlocked+0x78/0xb8)
[  289.146548]  r7:ee566d24 r6:00000000 r5:ee4a0584 r4:ee584000
[  289.152218] [<c04fa324>] (drm_gem_object_handle_put_unlocked) from
[<c04fa434>] (drm_gem_object_release_handle+0x58/0x90)
[  289.163181]  r7:ee566d24 r6:ee4a0000 r5:ee566c00 r4:ee584000
[  289.168852] [<c04fa3dc>] (drm_gem_object_release_handle) from
[<c04fa4cc>] (drm_gem_handle_delete+0x60/0x90)
[  289.178685]  r7:ee584000 r6:00000010 r5:ee566c00 r4:ee566c28
[  289.184356] [<c04fa46c>] (drm_gem_handle_delete) from [<c04fa9f4>]
(drm_gem_close_ioctl+0x28/0x34)
[  289.193323]  r9:ee4f1e60 r8:ee566c00 r7:c0a415d0 r6:00000008
r5:00000000 r4:00000000
[  289.201078] [<c04fa9cc>] (drm_gem_close_ioctl) from [<c04fb478>]
(drm_ioctl+0x1ec/0x424)
[  289.209180] [<c04fb28c>] (drm_ioctl) from [<c0239048>]
(do_vfs_ioctl+0x9c/0xa5c)
[  289.216585]  r10:00000000 r9:ee4f0000 r8:00000006 r7:c0239a44
r6:ee59fb80 r5:ef0d3768
[  289.224419]  r4:beb30958
[  289.226961] [<c0238fac>] (do_vfs_ioctl) from [<c0239a44>]
(SyS_ioctl+0x3c/0x64)
[  289.234279]  r10:00000000 r9:ee4f0000 r8:beb30958 r7:40086409
r6:ee59fb80 r5:00000006
[  289.242113]  r4:ee59fb80
[  289.244660] [<c0239a08>] (SyS_ioctl) from [<c0107c60>]
(ret_fast_syscall+0x0/0x1c)
[  289.252239]  r9:ee4f0000 r8:c0107e04 r7:00000036 r6:40086409
r5:beb30958 r4:02139378
[  289.259992] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5903014)
[  289.266171] ---[ end trace 5fd23fee8cc0620a ]---
Segmentation fault

Any suggestions?

Thanks


More information about the etnaviv mailing list