[Mesa-dev] glmark2 segfault on imx6

Fabio Estevam festevam at gmail.com
Tue Jun 13 22:48:02 UTC 2017


Hi Lucas,

On Tue, Jun 13, 2017 at 7:20 PM, Fabio Estevam <festevam at gmail.com> wrote:

> Excellent! This fixes the segfault. Thanks a lot!

Got a different segfault now. Please see below.

Thanks

[ideas] speed=duration:[  218.073898] etnaviv-gpu 130000.gpu: hangcheck detected
 gpu lockup!
[  218.080195] etnaviv-gpu 130000.gpu:      completed fence: 11124
[  218.086139] etnaviv-gpu 130000.gpu:      active fence: 11125
[  218.092094] etnaviv-gpu 130000.gpu: hangcheck recover!
[  221.033887] etnaviv-gpu 130000.gpu: hangcheck detected gpu lockup!
[  221.040105] etnaviv-gpu 130000.gpu:      completed fence: 11125
[  221.046049] etnaviv-gpu 130000.gpu:      active fence: 11126
[  221.051780] etnaviv-gpu 130000.gpu: hangcheck recover!
[  224.073891] etnaviv-gpu 130000.gpu: hangcheck detected gpu lockup!
[  224.080111] etnaviv-gpu 130000.gpu:      completed fence: 11128
[  224.086055] etnaviv-gpu 130000.gpu:      active fence: 11130
[  224.091780] etnaviv-gpu 130000.gpu: hangcheck recover!
[  226.073890] etnaviv-gpu 130000.gpu: hangcheck detected gpu lockup!
[  226.080106] etnaviv-gpu 130000.gpu:      completed fence: 11130
[  226.086052] etnaviv-gpu 130000.gpu:      active fence: 11132
[  226.091772] etnaviv-gpu 130000.gpu: hangcheck recover!
 FPS: 0 FrameTime: inf ms
** Failed to set swap interval. Results may be bounded above by refresh rate.
[jellyfish] <default>: FPS: 60 FrameTime: 16.667 ms
** Failed to set swap interval. Results may be bounded above by refresh rate.
[terrain] <default>:error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
error: compile failed!
etna_draw_vbo:199: compiled shaders are not okay
 FPS: 3 FrameTime: 333.333 ms
** Failed to set swap interval. Results may be bounded above by refresh rate.
[shadow] <default>: FPS: 47 FrameTime: 21.277 ms
** Failed to set swap interval. Results may be bounded above by refresh rate.
[refract] <default>: FPS: 9 FrameTime: 111.111 ms
** 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.290466] Unable to handle kernel paging request at virtual address 0fe6139
4
[  288.297752] pgd = ee554000
[  288.300473] [0fe61394] *pgd=00000000
[  288.304112] Internal error: Oops: 5 [#1] SMP ARM
[  288.308743] Modules linked in:
[  288.311813] CPU: 1 PID: 217 Comm: glmark2-es2-drm Not tainted 4.11.4 #1
[  288.318433] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[  288.324966] task: ee86b100 task.stack: ee546000
[  288.329511] PC is at page_mapping+0xc/0xa4
[  288.333620] LR is at set_page_dirty+0x14/0xc8
[  288.337984] pc : [<c01f51e4>]    lr : [<c01e3378>]    psr: 200f0013
[  288.337984] sp : ee547cd0  ip : ee547ce0  fp : ee547cdc
[  288.349466] r10: 00000000  r9 : 00000cdc  r8 : f4bd3000
[  288.354697] r7 : 00000000  r6 : 00000001  r5 : 00001400  r4 : 0fe61380
[  288.361230] r3 : efe61370  r2 : 00000001  r1 : 00000000  r0 : 0fe61380
[  288.367763] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  288.374905] Control: 10c5387d  Table: 3e55404a  DAC: 00000051
[  288.380656] Process glmark2-es2-drm (pid: 217, stack limit = 0xee546210)
[  288.387362] Stack: (0xee547cd0 to 0xee548000)
[  288.391729] 7cc0:                                     ee547cf4 ee547ce0 c01e3
378 c01f51e4
[  288.399916] 7ce0: f4bd6370 00001400 ee547d24 ee547cf8 c04f15b4 c01e3370 00000
000 ee5d7000
[  288.408101] 7d00: ee5d719c ee5d719c 00000200 00000100 ee5d719c ee890700 ee547
d3c ee547d28
[  288.416286] 7d20: c051c578 c04f1514 ee5d7000 ee5d719c ee547d6c ee547d40 c051d
938 c051c524
[  288.424471] 7d40: c051d86c ee840800 ee5d7000 ee5d7000 ee840870 eebcfc1c ee547
e60 40086409
[  288.432657] 7d60: ee547d84 ee547d70 c04f12b4 c051d878 00000000 ee840800 ee547
db4 ee547d88
[  288.440842] 7d80: c04f1780 c04f1298 00000001 00000000 c04f170c 40086409 ee5d7
000 ee840d84
[  288.449027] 7da0: 00000000 eebcfd28 ee547dd4 ee547db8 c04f1834 c04f1700 ee5d7
000 eebcfc00
[  288.457212] 7dc0: ee840800 eebcfd28 ee547df4 ee547dd8 c04f18cc c04f17c8 eebcf
c28 eebcfc00
[  288.465397] 7de0: 0000000e ee5d7000 ee547e1c ee547df8 c04f1964 c04f1880 00000
000 00000000
[  288.473583] 7e00: 00000008 c0a40c50 eebcfc00 ee547e60 ee547e2c ee547e20 c04f1
e8c c04f1910
[  288.481769] 7e20: ee547f0c ee547e30 c04f28e8 c04f1e70 0000e280 00000001 c0c25
d38 c0bd318c
[  288.489954] 7e40: ee547e84 00000051 c04f1e64 00000008 ee840800 00000009 befc8
948 ee547e60
[  288.498139] 7e60: 0000000e 00000000 00000000 00000001 ee476868 00000008 ee547
ec4 ee547e88
[  288.506324] 7e80: c0174a9c c0172e04 00000000 c024cef4 600f0013 c024ce44 00000
000 c0e22e5d
[  288.514508] 7ea0: c024d280 ffffffea eecc7450 00000000 ee476868 00000008 ee547
efc ee547ec8
[  288.522693] 7ec0: c024cf04 c0174ac8 00000000 00000000 c024ce44 ee52fb80 ee476
868 ee52fb80
[  288.530878] 7ee0: ee476868 befc8948 ef31efe8 ee52da40 c023bf5c 00000006 ee546
000 00000000
[  288.539064] 7f00: ee547f7c ee547f10 c023b5a4 c04f2708 00000020 00000000 600f0
013 ee52fb88
[  288.547248] 7f20: c0209b00 ee86b514 c0e77100 ee86b540 ee86b100 00000000 00000
000 00000000
[  288.555434] 7f40: ee547f5c ee547f50 ee86b514 c0e77100 ee547f84 ee52da40 00000
006 ee52da40
[  288.563619] 7f60: 40086409 befc8948 ee546000 00000000 ee547fa4 ee547f80 c023b
f5c c023b514
[  288.571805] 7f80: 02c52d78 00000006 40086409 00000036 c0107dc4 ee546000 00000
000 ee547fa8
[  288.579990] 7fa0: c0107c20 c023bf2c 02c52d78 00000006 00000006 40086409 befc8
948 01fe1a70
[  288.588175] 7fc0: 02c52d78 00000006 40086409 00000036 0230be98 01fe9af8 00000
000 01fe87a0
[  288.596362] 7fe0: b6eb51ac befc892c b6e9e644 b6c1d8cc 600f0010 00000006 3fffd
861 3fffdc61
[  288.604541] Backtrace:
[  288.607004] [<c01f51d8>] (page_mapping) from [<c01e3378>] (set_page_dirty+0x1
4/0xc8)
[  288.614766] [<c01e3364>] (set_page_dirty) from [<c04f15b4>] (drm_gem_put_page
s+0xac/0xf8)
[  288.622949]  r5:00001400 r4:f4bd6370
[  288.626545] [<c04f1508>] (drm_gem_put_pages) from [<c051c578>] (etnaviv_gem_s
hmem_release+0x60/0x6c)
[  288.635687]  r10:ee890700 r9:ee5d719c r8:00000100 r7:00000200 r6:ee5d719c r5:
ee5d719c
[  288.643522]  r4:ee5d7000 r3:00000000
[  288.647110] [<c051c518>] (etnaviv_gem_shmem_release) from [<c051d938>] (etnav
iv_gem_free_object+0xcc/0x1f8)
[  288.656855]  r5:ee5d719c r4:ee5d7000
[  288.660441] [<c051d86c>] (etnaviv_gem_free_object) from [<c04f12b4>] (drm_gem
_object_free+0x28/0x6c)
[  288.669582]  r10:40086409 r9:ee547e60 r8:eebcfc1c r7:ee840870 r6:ee5d7000 r5:
ee5d7000
[  288.677416]  r4:ee840800 r3:c051d86c
[  288.681003] [<c04f128c>] (drm_gem_object_free) from [<c04f1780>] (drm_gem_obj
ect_unreference_unlocked+0x8c/0xc8)
[  288.691181]  r5:ee840800 r4:00000000
[  288.694768] [<c04f16f4>] (drm_gem_object_unreference_unlocked) from [<c04f183
4>] (drm_gem_object_handle_unreference_unlocked+0x78/0xb8)
[  288.706944]  r7:eebcfd28 r6:00000000 r5:ee840d84 r4:ee5d7000
[  288.712614] [<c04f17bc>] (drm_gem_object_handle_unreference_unlocked) from [<
c04f18cc>] (drm_gem_object_release_handle+0x58/0x90)
[  288.724270]  r7:eebcfd28 r6:ee840800 r5:eebcfc00 r4:ee5d7000
[  288.729939] [<c04f1874>] (drm_gem_object_release_handle) from [<c04f1964>] (d
rm_gem_handle_delete+0x60/0x90)
[  288.739773]  r7:ee5d7000 r6:0000000e r5:eebcfc00 r4:eebcfc28
[  288.745444] [<c04f1904>] (drm_gem_handle_delete) from [<c04f1e8c>] (drm_gem_c
lose_ioctl+0x28/0x34)
[  288.754410]  r9:ee547e60 r8:eebcfc00 r7:c0a40c50 r6:00000008 r5:00000000 r4:0
0000000
[  288.762163] [<c04f1e64>] (drm_gem_close_ioctl) from [<c04f28e8>] (drm_ioctl+0
x1ec/0x408)
[  288.770267] [<c04f26fc>] (drm_ioctl) from [<c023b5a4>] (do_vfs_ioctl+0x9c/0xa
18)
[  288.777671]  r10:00000000 r9:ee546000 r8:00000006 r7:c023bf5c r6:ee52da40 r5:
ef31efe8
[  288.785504]  r4:befc8948
[  288.788049] [<c023b508>] (do_vfs_ioctl) from [<c023bf5c>] (SyS_ioctl+0x3c/0x6
4)
[  288.795365]  r10:00000000 r9:ee546000 r8:befc8948 r7:40086409 r6:ee52da40 r5:
00000006
[  288.803199]  r4:ee52da40
[  288.805747] [<c023bf20>] (SyS_ioctl) from [<c0107c20>] (ret_fast_syscall+0x0/
0x1c)
[  288.813324]  r9:ee546000 r8:c0107dc4 r7:00000036 r6:40086409 r5:00000006 r4:0
2c52d78
[  288.821075] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5903014)
[  288.827221] ---[ end trace eae42877c03746ae ]---
Segmentation fault


More information about the etnaviv mailing list