Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118313

ov5640 camera is not detected by the simple browser on IMX8MPLUS board

    XMLWordPrintable

Details

    • All

    Description

      =>I have enabled the qtwebengine in the IMX8Mpevk board by and builded the image by following the doc  https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf  
      =>After booting the IMX8MP board with this image and trying to test the webrtc samples from https://webrtc.github.io/samples/   ,the ov5640 camera which is connected to the MIPI1 CSI port is not detected by the simple browser application which is in the this path

      /usr/share/examples/webenginewidgets/simplebrowser/simplebrowser

      but when we connect the usb camera ,the usb camera is detected .

      =>When we try to debug in the application when accessing the camera I am getting the following log 

      root@imx8mpevk:~# /usr/share/examples/webenginewidgets/simplebrowser/simplebrowser https://webrtc.github.io/samples/ --webEngineArgs  --enable-logging --log-level=0  --v=1
      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      Sandboxing disabled by user.
      qt.webenginecontext:GL Type: egl
      Surface Type: OpenGLES
      Surface Profile: NoProfile
      Surface Version: 3.1
      QSG RHI Backend: OpenGL
      Using Supported QSG Backend: yes
      Using Software Dynamic GL: no
      Using Multithreaded OpenGL: yesInit Parameters:
        *  application-name simplebrowser
        *  browser-subprocess-path /usr/libexec/QtWebEngineProcess
        *  disable-composited-antialiasing
        *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
        *  disable-speech-api
        *  enable-features NetworkServiceInProcess2,TracingServiceInProcess,OverlayScrollbar
        *  enable-logging
        *  enable-threaded-compositing
        *  enable-viewport
        *  in-process-gpu
        *  log-level 0
        *  no-sandbox
        *  use-gl egl
        *  v 1Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      [1056:1056:1019/091810.183251:INFO:cpu_info.cc(53)] Available number of cores: 4
      [1055:1055:1019/091810.183252:INFO:cpu_info.cc(53)] Available number of cores: 4
      [1056:1056:1019/091810.185805:VERBOSE1:zygote_main_linux.cc(221)] ZygoteMain: initializing 0 fork delegates
      [1055:1055:1019/091810.185805:VERBOSE1:zygote_main_linux.cc(221)] ZygoteMain: initializing 0 fork delegates
      [1048:1048:1019/091810.383278:VERBOSE1:webrtc_internals.cc(124)] Could not get the download directory.
      [1048:1059:1019/091810.387053:VERBOSE1:media_stream_manager.cc(1112)] MSM::InitializeMaybeAsync([this=0xaaaad5a40400])
      [1048:1059:1019/091810.390363:VERBOSE1:media_stream_manager.cc(1112)] MDM::MediaDevicesManager()
      [1048:1059:1019/091810.390465:VERBOSE1:media_stream_manager.cc(1112)] MSM::MediaStreamManager([this=0xaaaad5a40400]))
      [1048:1065:1019/091810.411904:VERBOSE1:gpu_init.cc(981)] Vulkan disabled or failed to initialize
      [1048:1048:1019/091810.459670:VERBOSE1:first_party_sets_handler_impl.cc(279)] Empty path. Failed initializing First-Party Sets database.
      [1048:1091:1019/091811.269180:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/
      [1048:1065:1019/091811.340629:VERBOSE1:gles2_cmd_decoder.cc(3787)] GL_OES_packed_depth_stencil supported.
      [1048:1059:1019/091811.626299:VERBOSE1:media_stream_manager.cc(1112)] RFAOSF::Core() [process_id=3, frame_id=1]
      [1048:1065:1019/091811.675619:VERBOSE1:gles2_cmd_decoder.cc(3787)] GL_OES_packed_depth_stencil supported.
      js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
      [1048:1048:1019/091811.970056:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.", source:  (0)
      [1048:1059:1019/091812.015430:VERBOSE1:media_stream_manager.cc(1112)] RFAOSF::Core() [process_id=3, frame_id=1]
      [1094:1094:1019/091812.043052:VERBOSE1:local_window_proxy.cc(256)] A context is created NOT from snapshot
      [1094:1094:1019/091812.056644:VERBOSE1:script_context.cc(206)] Created context:
        extension id:           (none)
        frame:                  0x450020cea0
        URL:
        context_type:           WEB_PAGE
        effective extension id: (none)
        effective context type: WEB_PAGE
      [1094:1094:1019/091812.059891:VERBOSE1:script_context.cc(206)] Created context:
        extension id:           (none)
        frame:                  (nil)
        URL:
        context_type:           UNSPECIFIED
        effective extension id: (none)
        effective context type: UNSPECIFIED
      [1094:1094:1019/091812.063486:VERBOSE1:dispatcher.cc(452)] Num tracked contexts: 1
      [1048:1091:1019/091812.094634:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.googleapis.com/css?family=Roboto:300,400,500,700
      [1048:1091:1019/091812.097473:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/css/main.css
      [1048:1091:1019/091812.100158:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/js/lib/ga.js
      [1048:1091:1019/091812.199419:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://www.google-analytics.com/analytics.js
      [1048:1091:1019/091812.223160:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBBc4.woff2
      [1048:1091:1019/091812.224612:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2
      [1048:1091:1019/091812.229246:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2
      [1048:1091:1019/091812.565931:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://www.google-analytics.com/j/collect?v=1&_v=j101&a=906454820&t=pageview&_s=1&dl=https%3A%2F%2Fwebrtc.github.io%2Fsamples%2F&ul=en&de=UTF-8&dt=WebRTC%20samples&sd=32-bit&sr=1920x1080&vp=1280x629&je=0&_u=AACAAEABAAAAACAAI~&jid=1891872861&gjid=657111492&cid=554238122.1697643764&tid=UA-48530561-1&_gid=854620288.1697643764&_r=1&_slc=1&z=1826021397
      [1048:1091:1019/091812.586557:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/images/webrtc-icon-192x192.png
      [1048:1091:1019/091820.285246:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/content/peerconnection/pc1/
      [1048:1059:1019/091820.297549:VERBOSE1:media_stream_manager.cc(1112)] RFAOSF::Core() [process_id=4, frame_id=1]
      js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
      [1048:1048:1019/091820.608831:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.", source:  (0)
      [1134:1134:1019/091820.626702:VERBOSE1:local_window_proxy.cc(256)] A context is created NOT from snapshot
      [1134:1134:1019/091820.630866:VERBOSE1:script_context.cc(206)] Created context:
        extension id:           (none)
        frame:                  0x190020cea0
        URL:
        context_type:           WEB_PAGE
        effective extension id: (none)
        effective context type: WEB_PAGE
      [1134:1134:1019/091820.633787:VERBOSE1:script_context.cc(206)] Created context:
        extension id:           (none)
        frame:                  (nil)
        URL:
        context_type:           UNSPECIFIED
        effective extension id: (none)
        effective context type: UNSPECIFIED
      [1134:1134:1019/091820.634449:VERBOSE1:dispatcher.cc(452)] Num tracked contexts: 1
      [1048:1059:1019/091820.636932:VERBOSE1:media_stream_manager.cc(1112)] RFAOSF::Core() [process_id=4, frame_id=1]
      [1048:1091:1019/091820.653090:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.googleapis.com/css?family=Roboto:300,400,500,700
      [1048:1065:1019/091820.691151:VERBOSE1:gles2_cmd_decoder.cc(3787)] GL_OES_packed_depth_stencil supported.
      [1048:1091:1019/091820.730696:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/css/main.css
      [1048:1091:1019/091820.732251:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/content/peerconnection/pc1/css/main.css
      [1048:1091:1019/091820.746733:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/adapter/adapter-latest.js
      [1048:1091:1019/091820.764450:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/js/lib/ga.js
      [1048:1091:1019/091820.849074:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://webrtc.github.io/samples/src/content/peerconnection/pc1/js/main.js
      [1048:1091:1019/091821.097697:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2
      [1048:1091:1019/091821.099055:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBBc4.woff2
      [1048:1091:1019/091821.100419:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2
      [1048:1091:1019/091821.138038:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://www.google-analytics.com/analytics.js
      [1048:1091:1019/091821.311429:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://www.google-analytics.com/j/collect?v=1&_v=j101&a=1075605065&t=pageview&_s=1&dl=https%3A%2F%2Fwebrtc.github.io%2Fsamples%2Fsrc%2Fcontent%2Fpeerconnection%2Fpc1%2F&ul=en&de=UTF-8&dt=Peer%20connection&sd=32-bit&sr=1920x1080&vp=1280x607&je=0&_u=AACAAEABAAAAACAAI~&jid=&gjid=&cid=554238122.1697643764&tid=UA-48530561-1&_gid=854620288.1697643764&_slc=1&z=217033637
      [1048:1048:1019/091824.841611:INFO:CONSOLE(60)] "Requesting local stream", source: https://webrtc.github.io/samples/src/content/peerconnection/pc1/js/main.js (60)
      [1134:1134:1019/091824.854568:VERBOSE1:webrtc_logging.cc(35)] UMCI::RequestUserMedia({request_id=0}, {audio constraints=}, {video constraints=})
      [1134:1134:1019/091824.857878:VERBOSE1:webrtc_logging.cc(35)] UMP::ProcessRequest({request_id=0}, {audio=1}, {video=1})
      [1134:1134:1019/091824.858145:VERBOSE1:webrtc_logging.cc(35)] UMP::SetupAudioInput({request_id=0}, {constraints=})
      [1134:1134:1019/091824.858491:VERBOSE1:webrtc_logging.cc(35)] UMP::SetupAudioInput({request_id=0}) => (Requesting device capabilities)
      [1048:1059:1019/091824.860145:VERBOSE1:media_stream_manager.cc(1112)] MDM::StartMonitoring()
      [1048:1059:1019/091824.860214:VERBOSE1:media_stream_manager.cc(1112)] MDM::DoEnumerateDevices({type=AUDIO_INPUT})
      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      [1167:1167:1019/091825.069270:VERBOSE1:pulse_util.cc(236)] Failed to connect to the context.  Error: Connection refused
      [1167:1167:1019/091825.069436:WARNING:audio_manager_linux.cc(60)] Falling back to ALSA for audio output. PulseAudio is not available or could not be initialized.
      [1048:1059:1019/091825.130939:VERBOSE1:media_stream_manager.cc(1112)] MSM::NotifyDevicesChanged({device_type=DEVICE_AUDIO_INPUT})
      [1048:1059:1019/091825.131136:VERBOSE1:media_stream_manager.cc(1112)] MDM::DevicesEnumerated({type=AUDIO_INPUT}, {labels=[, bt-sco-audio, 30c20000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0-Default Audio Device, micfil-audio, micfil hifi snd-soc-dummy-dai-0-Default Audio Device, imx-audio-xcvr, XCVR PCM snd-soc-dummy-dai-0-Default Audio Device])
      [1134:1134:1019/091825.183352:VERBOSE1:webrtc_logging.cc(35)] UMP::SelectAudioSettings({request_id=0})
      [1134:1134:1019/091825.185731:VERBOSE1:webrtc_logging.cc(35)] UMP::SetupVideoInput. request_id=0, video constraints=
      [1048:1059:1019/091825.186667:VERBOSE1:media_stream_manager.cc(1112)] MDM::DoEnumerateDevices({type=VIDEO_INPUT})
      [1048:1059:1019/091825.186708:VERBOSE1:media_stream_manager.cc(1112)] video capture: VideoCaptureManager::EnumerateDevices
      [1048:1059:1019/091825.186729:VERBOSE1:media_stream_manager.cc(1112)] video capture: ServiceVideoCaptureProvider::GetDeviceInfosAsync
      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      [1048:1059:1019/091825.355046:VERBOSE1:media_stream_manager.cc(1112)] video capture: VideoCaptureManager::OnDeviceInfosReceived: Recevied 0 device infos.
      [1048:1059:1019/091825.355136:VERBOSE1:media_stream_manager.cc(1112)] MDM::DevicesEnumerated({type=VIDEO_INPUT}, {labels])
      [1134:1134:1019/091825.355427:VERBOSE1:webrtc_logging.cc(35)] UMP::SelectVideoDeviceSettings. request_id=0.
      [1134:1134:1019/091825.355653:VERBOSE1:webrtc_logging.cc(35)] UMP::GetUserMediaRequestFailed({request_id=0})
      [1134:1134:1019/091825.356001:VERBOSE1:webrtc_logging.cc(35)] UMP::DelayedGetUserMediaRequestFailed({request_id=0}, {result=NO_HARDWARE}) 

      Check the last lines of the log 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            rajesh_m Rajesh Mallempati
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes