gstreamer v4l2 kernel Oops

Nicolas Dufresne nicolas at ndufresne.ca
Tue Jul 9 13:10:34 UTC 2019


Le mar. 9 juill. 2019 03 h 55, Andrea <andrea.rossetto at videomed.biz> a
écrit :

> Sorry for the late reply. I've tested with GST_DEBUG="v4l2*:7", but from
> the
> output I don't see any error in gstreamer.
>

In the part were it crash, the logs are mixed into an unreadable mess,
hence I cannot comment on the sequence of action that caused your driver to
crash.


> /d0:00:00.774213888  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x31424752 RGB1
> 0:00:00.774305687  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x35315241 AR15
> 0:00:00.774378894  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0xb5315241 AR1.
> 0:00:00.774451251  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x52424752 RGBR
> 0:00:00.774485085  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x48524742 BGRH
> 0:00:00.774634080  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x34343452 R444
> 0:00:00.774771303  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x20343059 Y04
> 0:00:00.774806097  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x20363059 Y06
> 0:00:00.774837640  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x20303159 Y10
> 0:00:00.774868593  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x20323159 Y12
> 0:00:00.774987475  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x42303159 Y10B
> 0:00:00.775022468  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x384c4150 PAL8
> 0:00:00.775055042  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x20385655 UV8
> 0:00:00.775122788  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x31324d59 YM21
> 0:00:00.775181634  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x56555959 YYUV
> 0:00:00.775248551  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x59555956 VYUY
> 0:00:00.775315648  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x50313459 Y41P
> 0:00:00.775348701  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x34343459 Y444
> 0:00:00.775379794  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x4f565559 YUVO
> 0:00:00.775411317  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x50565559 YUVP
> 0:00:00.775442250  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x34565559 YUV4
> 0:00:01.108857294  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x34324948 HI24
> 0:00:01.108892138  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x32314d48 HM12
> 0:00:01.108923801  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x3032344d M420
> 0:00:01.109008089  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x32314d56 VM12
> 0:00:01.109165035  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x3234564e NV42
> 0:00:01.109293028  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:1555:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported
> fourcc 0x3436324d M264
> Setting pipeline to PAUSED ...
> 0:00:01.142209167  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:524:gst_v4l2_open:<v4l2src0:src> Trying to open device
> /dev/video1
> 0:00:01.142273493  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:66:gst_v4l2_get_capabilities:<v4l2src0> getting capabilities
> 0:00:01.142309917  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:80:gst_v4l2_get_capabilities:<v4l2src0> driver:      'video'
> 0:00:01.142337049  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:81:gst_v4l2_get_capabilities:<v4l2src0> card:
> 'EncVideo'
> 0:00:01.142364452  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:82:gst_v4l2_get_capabilities:<v4l2src0> bus_info:
> 'platform:Enc-0.0.0'
> 0:00:01.142391595  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:83:gst_v4l2_get_capabilities:<v4l2src0> version:     00041300
> 0:00:01.142418058  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:84:gst_v4l2_get_capabilities:<v4l2src0> capabilites: 05200001
> 0:00:01.142463262  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:138:gst_v4l2_fill_lists:<v4l2src0> getting enumerations
> 0:00:01.142487794  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:141:gst_v4l2_fill_lists:<v4l2src0>   channels
> 0:00:01.142517997  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:164:gst_v4l2_fill_lists:<v4l2src0>    index:     0
> 0:00:01.142544330  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:165:gst_v4l2_fill_lists:<v4l2src0>    name:      'EncVideo'
> 0:00:01.142571333  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:166:gst_v4l2_fill_lists:<v4l2src0>    type:      00000002
> 0:00:01.142597575  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:167:gst_v4l2_fill_lists:<v4l2src0>    audioset:  00000000
> 0:00:01.142624928  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:169:gst_v4l2_fill_lists:<v4l2src0>    std:
> 0000000000000000
> 0:00:01.142650711  2465   0x557601b400 LOG                     v4l2
> v4l2_calls.c:170:gst_v4l2_fill_lists:<v4l2src0>    status:    00000000
> 0:00:01.142718698  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:213:gst_v4l2_fill_lists:<v4l2src0>   norms
> 0:00:01.142746570  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:261:gst_v4l2_fill_lists:<v4l2src0>   controls+menus
> 0:00:01.142774203  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:281:gst_v4l2_fill_lists:<v4l2src0> checking control 00000000
> 0:00:01.476166655  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:291:gst_v4l2_fill_lists:<v4l2src0> V4L2_CTRL_FLAG_NEXT_CTRL
> not
> supported.
> 0:00:01.476196678  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:281:gst_v4l2_fill_lists:<v4l2src0> checking control 00980900
> 0:00:01.476226871  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:299:gst_v4l2_fill_lists:<v4l2src0> skipping control 00980900
> 0:00:01.476253783  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:281:gst_v4l2_fill_lists:<v4l2src0> checking control 08000000
> 0:00:01.476278946  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:304:gst_v4l2_fill_lists:<v4l2src0> controls finished
> 0:00:01.476302408  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:456:gst_v4l2_fill_lists:<v4l2src0> done
> 0:00:01.476331891  2465   0x557601b400 INFO                    v4l2
> v4l2_calls.c:592:gst_v4l2_open:<v4l2src0:src> Opened device 'EncVideo'
> (/dev/video1) successfully
> 0:00:01.476364354  2465   0x557601b400 DEBUG                   v4l2
> gstv4l2object.c:848:gst_v4l2_set_defaults:<v4l2src0:src> tv_norm=0x0,
> norm=(nil)
> 0:00:01.476390677  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:742:gst_v4l2_get_norm:<v4l2src0:src> getting norm
> 0:00:01.476417130  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:756:gst_v4l2_get_norm: Failed to get the current norm for
> device /dev/video1
> 0:00:01.476443172  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:1029:gst_v4l2_get_input:<v4l2src0:src> trying to get input
> 0:00:01.476471695  2465   0x557601b400 DEBUG                   v4l2
> v4l2_calls.c:1039:gst_v4l2_get_input:<v4l2src0:src> input: 0
> 0:00:01.476609829  2465   0x557601b400 DEBUG                v4l2src
> gstv4l2src.c:893:gst_v4l2_find_scd_subdev:<v4l2src0> Using media node /dev
> for searching SCD subdev
> 0:00:01.476781806  2465   0x557601b400 WARN              v4l2_media
> gstv4l2media.c:252:gst_v4l2_media_refresh_topology: /dev failed to fetch
> topoplogy info: Inappropriate ioctl for device
> 0:00:01.476840792  2465   0x557601b400 DEBUG                v4l2src
> gstv4l2src.c:943:gst_v4l2src_change_state:<v4l2src0> No SCD subdev found
> Pipeline is live and does not need PREROLL ...
> 0:00:01.477443282  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:1166:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> getting
> src format enumerations
> 0:00:01.477486987  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1184:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> index:
> 0
> 0:00:01.477515760  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1185:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> type:
> 1
> 0:00:01.477543162  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1186:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> flags:
> 00000000
> 0:00:01.477570105  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1188:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> description: '24-bit RGB 8-8-8'
> 0:00:01.477602588  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1190:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> pixelformat: RGB3
> Setting pipeline to PLAYING ...
> 0:00:01.810995690  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1184:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> index:
> 1
> 0:00:01.811028443  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1185:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> type:
> 1
> 0:00:01.811057806  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1186:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> flags:
> 00000000
> 0:00:01.811085169  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1188:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> description: 'Y/CbCr 4:2:2'
> 0:00:01.811115902  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1190:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> pixelformat: NV16
> 0:00:01.811150325  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1184:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> index:
> 2
> 0:00:01.811177828  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1185:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> type:
> 1
> 0:00:01.811205721  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1186:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> flags:
> 00000000
> 0:00:01.811232364  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1188:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> description: 'Y/CbCr 4:2:0'
> 0:00:01.811266887  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:1190:gst_v4l2_object_fill_format_list:<v4l2src0:src>
> pixelformat: NV12
> 0:00:01.811299060  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:1203:gst_v4l2_object_fill_format_list:<v4l2src0:src> got 3
> format(s):
> New clock: GstSystemClock
> 0:00:01.811331323  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:1209:gst_v4l2_object_fill_format_list:<v4l2src0:src>   RGB3
> 0:00:01.811367367  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:1209:gst_v4l2_object_fill_format_list:<v4l2src0:src>   NV12
> 0:00:01.811398580  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:1209:gst_v4l2_object_fill_format_list:<v4l2src0:src>   NV16
> 0:00:01.811443695  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2670:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> Enumerating frame sizes for RGB3
> 0:00:01.811478168  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 4096x2160
> 0:00:01.811512332  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 4096x2160, RGB3
> 0:00:01.811547155  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:01.811585399  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.144947437  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 3/1
> 0:00:02.145022895  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 3840x2160
> 0:00:02.145059229  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 3840x2160, RGB3
> 0:00:02.145093192  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.145126335  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.145160099  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 3/1
> 0:00:02.145208624  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 1920x1080
> 0:00:02.145243737  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 1920x1080, RGB3
> 0:00:02.145277020  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.145309914  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.145344507  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 3/1
> 0:00:02.145397972  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 1280x720
> 0:00:02.145434306  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 1280x720, RGB3
> 0:00:02.145467219  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.145500303  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.145533936  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 3/1
> 0:00:02.145576490  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2695:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> done iterating discrete frame sizes
> 0:00:02.145729646  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2670:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> Enumerating frame sizes for NV12
> 0:00:02.479073342  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 4096x2160
> 0:00:02.479110916  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 4096x2160, NV12
> 0:00:02.479145740  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.479179313  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.479213396  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:02.479262011  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 3840x2160
> 0:00:02.479298865  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 3840x2160, NV12
> 0:00:02.479333428  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.479367142  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.479400895  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:02.479448570  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 1920x1080
> 0:00:02.479484673  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 1920x1080, NV12
> 0:00:02.479517667  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.479551530  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.479584553  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:02.479632478  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 1280x720
> 0:00:02.479668482  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 1280x720, NV12
> 0:00:02.479702065  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.813115009  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.813150822  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:02.813196097  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2695:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> done iterating discrete frame sizes
> 0:00:02.813337521  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2670:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> Enumerating frame sizes for NV16
> 0:00:02.813372835  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 4096x2160
> 0:00:02.813407458  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 4096x2160, NV16
> 0:00:02.813441471  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.813475205  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.813509338  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:02.813558763  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 3840x2160
> 0:00:02.813596477  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 3840x2160, NV16
> 0:00:02.813630760  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:02.813665664  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:02.813700917  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:02.813750212  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 1920x1080
> 0:00:02.813786466  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 1920x1080, NV16
> 0:00:02.813819849  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:03.147239634  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:03.147275747  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:03.147326192  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:2678:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> got discrete frame size 1280x720
> 0:00:03.147362506  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2353:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> get frame interval for 1280x720, NV16
> 0:00:03.147396979  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 30/1
> 0:00:03.147430733  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 60/1
> 0:00:03.147464856  2465   0x557610f8f0 LOG                     v4l2
>
> gstv4l2object.c:2377:gst_v4l2_object_probe_caps_for_format_and_size:<v4l2src0:src>
> adding discrete framerate: 1/1
> 0:00:03.147507660  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2695:gst_v4l2_object_probe_caps_for_format:<v4l2src0:src>
> done iterating discrete frame sizes
> 0:00:03.148055115  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:4338:gst_v4l2_object_probe_caps:<v4l2src0:src> probed caps:
> video/x-raw(format:Interlaced), format=(string)RGB, width=(int)4096,
> height=(int)2160, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 3/1 }; video/x-raw, format=(string)RGB, width=(int)4096,
> height=(int)2160, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 3/1 }; video/x-raw(format:Interlaced),
> format=(string)RGB, width=(int)3840, height=(int)2160,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 3/1 };
> video/x-raw, format=(string)RGB, width=(int)3840, height=(int)2160,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 3/1 }; video/x-raw(format:Interlaced), format=(string)RGB,
> width=(int)1920, height=(int)1080, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 3/1 }; video/x-raw, format=(string)RGB,
> width=(int)1920, height=(int)1080, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 3/1 };
> video/x-raw(format:Interlaced), format=(string)RGB, width=(int)1280,
> height=(int)720, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 3/1 }; video/x-raw, format=(string)RGB, width=(int)1280,
> height=(int)720, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 3/1 }; video/x-raw(format:Interlaced),
> format=(string)NV12, width=(int)4096, height=(int)2160,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw, format=(string)NV12, width=(int)4096, height=(int)2160,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced), format=(string)NV12,
> width=(int)3840, height=(int)2160, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV12,
> width=(int)3840, height=(int)2160, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw(format:Interlaced), format=(string)NV12, width=(int)1920,
> height=(int)1080, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV12, width=(int)1920,
> height=(int)1080, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced),
> format=(string)NV12, width=(int)1280, height=(int)720,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced), format=(string)NV16,
> width=(int)4096, height=(int)2160, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV16,
> width=(int)4096, height=(int)2160, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw(format:Interlaced), format=(string)NV16, width=(int)3840,
> height=(int)2160, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV16, width=(int)3840,
> height=(int)2160, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced),
> format=(string)NV16, width=(int)1920, height=(int)1080,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw, format=(string)NV16, width=(int)1920, height=(int)1080,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced), format=(string)NV16,
> width=(int)1280, height=(int)720, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV16,
> width=(int)1280, height=(int)720, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 1/1 }
> 0:00:03.481871819  2465   0x557610f8f0 DEBUG                v4l2src
> gstv4l2src.c:535:gst_v4l2src_negotiate:<v4l2src0> caps of src:
> video/x-raw(format:Interlaced), format=(string)RGB, width=(int)4096,
> height=(int)2160, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 3/1 }; video/x-raw, format=(string)RGB, width=(int)4096,
> height=(int)2160, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 3/1 }; video/x-raw(format:Interlaced),
> format=(string)RGB, width=(int)3840, height=(int)2160,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 3/1 };
> video/x-raw, format=(string)RGB, width=(int)3840, height=(int)2160,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 3/1 }; video/x-raw(format:Interlaced), format=(string)RGB,
> width=(int)1920, height=(int)1080, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 3/1 }; video/x-raw, format=(string)RGB,
> width=(int)1920, height=(int)1080, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 3/1 };
> video/x-raw(format:Interlaced), format=(string)RGB, width=(int)1280,
> height=(int)720, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 3/1 }; video/x-raw, format=(string)RGB, width=(int)1280,
> height=(int)720, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 3/1 }; video/x-raw(format:Interlaced),
> format=(string)NV12, width=(int)4096, height=(int)2160,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw, format=(string)NV12, width=(int)4096, height=(int)2160,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced), format=(string)NV12,
> width=(int)3840, height=(int)2160, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV12,
> width=(int)3840, height=(int)2160, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw(format:Interlaced), format=(string)NV12, width=(int)1920,
> height=(int)1080, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV12, width=(int)1920,
> height=(int)1080, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced),
> format=(string)NV12, width=(int)1280, height=(int)720,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced), format=(string)NV16,
> width=(int)4096, height=(int)2160, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV16,
> width=(int)4096, height=(int)2160, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw(format:Interlaced), format=(string)NV16, width=(int)3840,
> height=(int)2160, interlace-mode=(string)alternate, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV16, width=(int)3840,
> height=(int)2160, interlace-mode=(string){ progressive, interleaved },
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced),
> format=(string)NV16, width=(int)1920, height=(int)1080,
> interlace-mode=(string)alternate, framerate=(fraction){ 30/1, 60/1, 1/1 };
> video/x-raw, format=(string)NV16, width=(int)1920, height=(int)1080,
> interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){
> 30/1, 60/1, 1/1 }; video/x-raw(format:Interlaced), format=(string)NV16,
> width=(int)1280, height=(int)720, interlace-mode=(string)alternate,
> framerate=(fraction){ 30/1, 60/1, 1/1 }; video/x-raw, format=(string)NV16,
> width=(int)1280, height=(int)720, interlace-mode=(string){ progressive,
> interleaved }, framerate=(fraction){ 30/1, 60/1, 1/1 }
> 0:00:03.815421887  2465   0x557610f8f0 DEBUG                v4l2src
> gstv4l2src.c:543:gst_v4l2src_negotiate:<v4l2src0> caps of peer:
> video/x-raw,
> format=(string)NV16, width=(int)3840, height=(int)2160,
> framerate=(fraction)60/1
> 0:00:03.815515556  2465   0x557610f8f0 DEBUG                v4l2src
> gstv4l2src.c:549:gst_v4l2src_negotiate:<v4l2src0> intersect: video/x-raw,
> format=(string)NV16, width=(int)3840, height=(int)2160,
> framerate=(fraction)60/1, interlace-mode=(string){ progressive, interleaved
> }
> 0:00:03.815565711  2465   0x557610f8f0 DEBUG                v4l2src
> gstv4l2src.c:421:gst_v4l2src_fixate:<v4l2src0> fixating caps video/x-raw,
> format=(string)NV16, width=(int)3840, height=(int)2160,
> framerate=(fraction)60/1, interlace-mode=(string){ progressive, interleaved
> }
> 0:00:03.815624457  2465   0x557610f8f0 DEBUG                v4l2src
> gstv4l2src.c:434:gst_v4l2src_fixate:<v4l2src0> Prefered size 3840x2160
> 0:00:03.815697584  2465   0x557610f8f0 DEBUG                v4l2src
> gstv4l2src.c:458:gst_v4l2src_fixate:<v4l2src0> sorted and normalized caps
> video/x-raw, format=(string)NV16, width=(int)3840, height=(int)2160,
> framerate=(fraction)60/1, interlace-mode=(string){ progressive, interleaved
> }
> 0:00:03.81[   95.183135] init 53084160
> 5746869  2465   0x557610f8f0 DEBUG    [  110.932106] px_format: 909203022
> 3840x2160
>                v4l2
> gstv4l2object.c:4241:gst_v4l2_object_stop:<v4l2src0:src>
> stopping
> 0:00:03.815812166  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3954:gst_v4l2_object_set_format:<v4l2src0:src> Setting
> format to video/x-raw, format=(string)NV16, width=(int)3840,
> height=(int)2160, framerate=(fraction)60/1,
> interlace-mode=(string)progressive
> 0:00:04.149230460  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3383:gst_v4l2_object_set_format_full:<v4l2src0> progressive
> video
> 0:00:04.149273174  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3525:gst_v4l2_object_set_format_full:<v4l2src0:src> Desired
> format 3840x2160, format NV16 stride: 3840
> 0:00:04.149312088  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3577:gst_v4l2_object_set_format_full:<v4l2src0:src> Desired
> format is 3840x2160, format NV16, nb planes 1
> 0:00:04.149341271  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3586:gst_v4l2_object_set_format_full:<v4l2src0:src>
>  stride
> 3840
> 0:00:04.149373074  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3604:gst_v4l2_object_set_format_full:<v4l2src0:src> Desired
> colorspace is 10:2:6:1
> 0:00:04.167379273  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3631:gst_v4l2_object_set_format_full:<v4l2src0:src> Got
> format of 3840x2160, format NV16, nb planes 1, colorspace 11:1:129:0
> 0:00:04.167414027  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3641:gst_v4l2_object_set_format_full:<v4l2src0:src>
>  stride
> 3840, sizeimage 16588800
> 0:00:04.167442880  2465   0x557610f8f0 WARN                    v4l2
> gstv4l2object.c:2106:gst_v4l2_object_get_colorspace: Unknown enum
> v4l2_ycbcr_encoding value 129
> 0:00:04.167481783  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3705:gst_v4l2_object_set_format_full:<v4l2src0:src> Desired
> framerate: 60/1
> 0:00:04.167516337  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3722:gst_v4l2_object_set_format_full:<v4l2src0:src> Got
> capture framerate: 60/1
> 0:00:04.167547610  2465   0x557610f8f0 LOG                     v4l2
> gstv4l2object.c:3730:gst_v4l2_object_set_format_full:<v4l2src0:src> Setting
> capture framerate to 60/1
> 0:00:04.167581503  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:3754:gst_v4l2_object_set_format_full:<v4l2src0:src> Set
> capture framerate to 60/1
> 0:00:04.167617157  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3102:gst_v4l2_object_extrapolate_info:<v4l2src0:src>
> Extrapolated for plane 0 with base stride 3840: stride 3840, offset 0
> 0:00:04.167651820  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3102:gst_v4l2_object_extrapolate_info:<v4l2src0:src>
> Extrapolated for plane 1 with base stride 3840: stride 3840, offset 8294400
> 0:00:04.167680833  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:3223:gst_v4l2_object_save_format:<v4l2src0:src> Got
> sizeimage 16588800
> 0:00:04.167709666  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:2979:gst_v4l2_object_setup_pool:<v4l2src0:src> initializing
> the capture system
> 0:00:04.167740059  2465   0x557610f8f0 INFO                    v4l2
> gstv4l2object.c:3009:gst_v4l2_object_setup_pool:<v4l2src0:src> accessing
> buffers via mode 2
> 0:00:04.167766982   110.940341] init 16588800
> m 2465   0x557610f8f0 L[O G  1 1 1 .[80407m6 4
>                                               0m                v4l2 gst[v
> 4
> l121o1b.j3e0c6t0.5c4:]3 0M1e8m: gabort info:
> t_v4l2_object_setup_pool:<v4l2src0:s[r c >1[10.03m1 2i7n4i3t]i   ESR =
> 0x96000005
> ting buffer pool
> 0:00:04.[1 6 8101819.936240 1[73]3 6 m  E2x4ception class = DABT (current
> EL), IL = 32 bits
> []0 0 m  S T = 0, FnV = 01 1 130209m9 2
>     v4l2bufferpool gs[t v 41l121b.u3f3f6e9r5p6o]o l . cE:A5 0=9 :, S1PTW =
> 0
> gst_v4l2_buffer_pool_set_c[o n f1i1g1:.<3v443l722s9r]c 0D:aptoao abort
> info:
> :src> config GstBu[f f e1r1P1o.o3l5C0o4n9f8i]g ,   cIaSpVs = 0, ISS =
> 0x00000005
> (GstCaps)"video/x-raw\[, \  1f1o1r.m3a5t8\0=5\0(]s t r iCnMg \=) 0, WnR = 0
> V16\,\ width\=\(int\)3840\,[\   h1e1i1g.h3t6\4=7\3(7i]n tu\s)e2r1pgtable:
> 4k
> pages, 39-bit VAs, pgdp = (____ptrval____)
> 60\,\ framerate\=\(fraction\)60/1\,\ i[n t e1r1l1a.c3e7-5m2o3d9e]
> [0000000000000028] pgd=0000000000000000, pud=0000000000000000
> =\(string\)progressive\,[\   c1o1l1o.r3i8m6e4t3r9y]\ =I\n(tsetrrnal error:
> Oops: 96000005 [#1] SMP
> ng\)1:0:0:0", size=(uint)16588800, min-buffers=(uint)0, ma[x - b111.395112]
> Modules linked in: al5e(O) al5d(O) allegro(O) xlnx_vcu_clk xlnx_vcu
> xilinx_hdmi_rx(O) xlnx_vcu_core xilinx_vphy(O) video(O) mali(O)
> uio_pdrv_genirq
> ffers=(uint)0, [a l l1o1c1a.t4o1r4=6(4G7s]t AClPlUo:c a3t oPrI)D" 2467
> Comm:
> v4l2src0:src Tainted: G           O      4.19.0-xilinx-v2019.1 #1
> NULL", p[a r a1m1s1=.(4G2s7t1A4l4l]o cHaatridownaPraer anmasm)eN: ZynqMP
> ZCU106 RevA (DT)
> LL;
> 0:00:04[. 5 0111415.54333530 4[]3 3p6smt a2t4e6:5 [000000005 (NzCv daif
> -PAN
> -UAO)
>    0x557610f8f0 INFO   [ 0101m1 .[40301m2 6 ]   p c  v:
> find_ref_lock+0x1c/0x50
> l2bufferpoo[l   g1s1t1v.44l521b0u1f8f]e rlpro o:l
> .vc4:l525_7g:_gtrl+0x2c/0x78
> st_v4l2_[b u f1f1e1r._4p5o7o9l6_1s]e ts_pc o:n ffifgf:f<fvf48l0211243ae0
> rc0:pool:src>0 0 m1 1i1n.c4r6e4a3s8i5n]g  xm2i9n:i mfufmf fbfu8011243ae0
> x28: ffffffc87a25ef00
> ffers to 2
> 0:[0 0 :10141..5407134086561]7 6x 2[:3 3f6fmf f2f4f800918e688 x26:
> ffffff8000b8d1e0
> 5   0x55[7 6 1101f18.f408 1[4366]m IxN2F5O:   f f[f0f0fm00918e688 x24:
> ffffffc87a23e918
>        v[4 l 21b1u1f.f4e9r0p3o4o0l]  gxs2t3v:4 lf2fbfufffffe000b8d1e0 x22:
> ffffff8011243cf8
> rpool.c:570:gs[t _ v141l12._4b9u8f9f3e4r]_ pxo2o1l:_ sfeftf_fcfofc87a25ef00
> x20: 0000000000980927
> fig:<v4l2src0:p[o o l1:1s1r.c5>0[60105m]  rxe1d9u:c i0n0g0 0m0a0000000008
> x18: 0000000000000000
> 6imum buffe[r s  1t1o1 .3521
>  209:60]0 :x0147.:5 00105010100030900000000 x16: 0000000000000000
>   2465 0 01m1 1 . 502x45850736]1 0xf185f:0  0[03060m0I000000000 x14:
> 0000000000000000
> NFO     0 01m1 1 . 5 3 3 3v947l]2 bxu1f3f:e r0p0o0o0l0 0g000000000 x12:
> 0000000000000000
> stv4l2bufferp[o o l1.1c1:.558411:9g9s1t]_ vx41l12:_ b0u0f0f0e0r0_000000000
> x10: 0000000000000000
> pool_set_conf[i g :1<1v14.l525s0r5c805:]p oxo9l ::s r0c0>0[0000000000000 x8
> : ffffff8011243d00
> m can't alloc[a t e1,1 1s.e5t5t9i1n8g0 ]m axx7i m:u m0 0t0o0 0m0i000000000
> x6 : ffffffc8770d2a00
> nimum
> 0:00:0[4 . 5101115.9556971777 4[f0011243cfc x4 : ffffff800876d308
> 0m   0x557610f8[f 0  1[13.75m7D6E3B6U8G]   x[ 0:0 mf f[f0f08011243cf8 x2 :
> 0000000000000008
> m            [  v 41l121s.r5c8 5g0s4t9v]4 lx21s r:c .0c0:0502000:000980927
> x0 : 0000000000000008
> gst_v4l2s[r c _1f1i1x.a5t9e3:6<4v44]l 2Psrrocc0e>s[ 0v04ml 2fsic0:src (pid:
> 2467, stack limit = 0x(____ptrval____))
> tated c[a p s1 1v1i.d6e0o3/9x7-3r]a wC,a lflo rtmraatc=e(:s
>  ring)NV16, width=(i[n t )131814.06,0 9h6e1i9g]h t
> =f(iinndt_)r2e1f6_lock+0x1c/0x50
> , framera[t e =1(1f1r.a6c1t6i6o4n8)]6 0 /v14,l 2i_ngt_ecrtlralc+ex2c/0x78
> -mode=(strin[g ) p1r1o1g.r6e2s3s1i6v0e],
>  cvo4llo_rgi_mcettrrly+0x108/0x130
> 1string)1:0:[0 : 01
>  10.:60209:90341.]5 0 1_6_4v2i7d8e2o _[o3_ioctl+0x23c/0x498
> 6m 2465m    1 101x.565377621203f]8 f 0v i[e3o7_muDsEeBrUcGpy+0x144/0x518
>    m    1 1 1 . 6 4 4 2 5 4 ]  v 4vli2dseroc_ igoscttvl2+0x14/0x1c
> l2src.c:573[: g s1t1_1v.46l521s0r2c5_]n e gvo4tli2a_tieo:c<tvl4+lx3c/0x58
> 2src0> fi[x a t1e1d1 .t6o5:7 5v3i7d]e o /dxo-_rvafws,_ ifooctl+0xb8/0x8a0
> mat=(string)[N V 1161,1 .w6i6d4t4h8=0(]i n tk)s3y8s4_0i,o chteli+0x44/0x90
> ht=(int)21[6 0 ,1 1f1r.a6m7e1r0a7t8e]= (
> f_r_aacrtmi6o4n_)s6y0s/_ioctl+0x1c/0x28
> , interlace-mode=([s t r1i1n1g.)6p7r8o1g9r9e]s s ievle0,_
> scvocl_common+0x84/0xd8
> 2imetry=(str[i n g1)111:.06:805:400
>  ]0 : 0e0l:00_4s.v5c0_1h9a8ndler+0x68/0x80
> 116  2[4 6 51[10.06m9 2 4 303x]5 5 7e6l100_fs8vfc0+ 0[8/0xc
> 7mDEBUG   [ 0101m1 . 6 9 8 5 9 8 ]   C o d e :   dv248l02014 b4000160
> aa0003f3 2a0103f4 (f9401000)
>  gstv4l2objec[t . c1:1413.7740:8g0s5t9_]v 4-l-2-_[o bejnedc tt_rdce
> 78c476c9d98ec454 ]---
> ecide_allocation:<v4l2src0:src> decide allocation
> 0:00:04.502028880  2465   0x557610f8f0 DEBUG                   v4l2
> gstv4l2object.c:4400:gst_v4l2_object_decide_allocation:<v4l2src0:src>
> allocation: size:16588800 min:2 max:0 pool:(NULL)/
>
> In the DT file I've only the reserved memory for the driver and I'm using
> the same file that I was using in the previous version of petalinux
> (2018.3). In this new version of petalinux (2019.1) I get a warning when I
> load the module (The warning is thrown by platform_driver_register).
>
> /[   29.165507] ------------[ cut here ]------------
> [   29.173531] refcount_t: increment on 0; use-after-free.
> [   29.178787] WARNING: CPU: 3 PID: 2295 at lib/refcount.c:153
> refcount_inc_checked+0x40/0x48
> [   29.187038] Modules linked in: video(O+) al5d(O) al5e(O) allegro(O)
> xlnx_vcu_clk xlnx_vcu xilinx_hdmi_rx(O) xilinx_vphy(O) xlnx_vcu_core
> mali(O)
> uio_pdrv_genirq [last unloaded: video]
> [   29.203388] CPU: 3 PID: 2295 Comm: insmod Tainted: G           O
> 4.19.0-xilinx-v2019.1 #1
> [   29.211987] Hardware name: ZynqMP ZCU106 RevA (DT)
> [   29.216764] pstate: 60000005 (nZCv daif -PAN -UAO)
> [   29.221538] pc : refcount_inc_checked+0x40/0x48
> [   29.226052] lr : refcount_inc_checked+0x40/0x48
> [   29.230564] sp : ffffff8010f7b8f0
> [   29.233863] x29: ffffff8010f7b8f0 x28: ffffffc87aebb1b8
> [   29.239167] x27: ffffff800920fc18 x26: ffffffc87aebb000
> [   29.244471] x25: 0000000000000001 x24: ffffff8008d9c6d8
> [   29.249775] x23: 0000000000000000 x22: ffffff8008bfc7c8
> [   29.255079] x21: ffffff800918dc28 x20: ffffff8009138648
> [   29.260374] x19: 0000000000000001 x18: 0000000000000010
> [   29.265669] x17: 0000000000000000 x16: 0000000000000000
> [   29.270965] x15: ffffffffffffffff x14: ffffff8009138648
> [   29.276269] x13: ffffff80891d6f0f x12: ffffff80091d6f17
> [   29.281564] x11: ffffff800914a000 x10: ffffff8010f7b5d0
> [   29.286859] x9 : ffffff8009138648 x8 : ffffff8008569d70
> [   29.292163] x7 : 2d657375203b3020 x6 : 0000000000000189
> [   29.297458] x5 : 0000000000000001 x4 : 0000000000000000
> [   29.302754] x3 : 0000000000000000 x2 : ffffffffffffffff
> [   29.308049] x1 : c29b4d7389105500 x0 : 0000000000000000
> [   29.313345] Call trace:
> [   29.315778]  refcount_inc_checked+0x40/0x48
> [   29.319947]  __video_register_device+0x5f8/0xf00
> [   29.324561]  video_probe+0x394/0x550 [video]
> [   29.328818]  platform_drv_probe+0x50/0xa0
> [   29.332818]  really_probe+0x1c8/0x280
> [   29.336463]  driver_probe_device+0x54/0xe8
> [   29.340544]  __driver_attach+0xe4/0xe8
> [   29.344276]  bus_for_each_dev+0x70/0xc0
> [   29.348096]  driver_attach+0x20/0x28
> [   29.351655]  bus_add_driver+0x1dc/0x208
> [   29.355475]  driver_register+0x60/0x110
> [   29.359295]  __platform_driver_register+0x44/0x50
> [   29.363986]  video_init+0x28/0x1000 [video]
> [   29.368159]  do_one_initcall+0x74/0x178
> [   29.371987]  do_init_module+0x54/0x1c8
> [   29.375719]  load_module+0x1b5c/0x20e0
> [   29.379451]  __se_sys_finit_module+0xb8/0xc8
> [   29.383705]  __arm64_sys_finit_module+0x18/0x20
> [   29.388220]  el0_svc_common+0x84/0xd8
> [   29.391874]  el0_svc_handler+0x68/0x80
> [   29.395606]  el0_svc+0x8/0xc
> [   29.398470] ---[ end trace 6a49c9f1f8cce610 ]---
> /
>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190709/03d3acaa/attachment-0001.html>


More information about the gstreamer-devel mailing list