← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2071644] Re: sometimes takes ~5 seconds to _dma_fmt_to_dma_drm_fmts: assertion 'fmt != GST_VIDEO_FORMAT_UNKNOWN' failed

 

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 2071644

Please also include GStreamer debugging for your failing gst-launch-1.0
command,

GST_DEBUG_NO_COLOR=1 GST_DEBUG_FILE=/tmp/gstdebug.log
GST_DEBUG='v4l2*:5' gst-launch-1.0 v4l2src device="/dev/video0" !
videoconvert ! ximagesink

And attach `/tmp/gstdebug.log` to the report.

** Changed in: gst-plugins-good1.0 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gst-plugins-good1.0 in
Ubuntu.
https://bugs.launchpad.net/bugs/2071644

Title:
  sometimes takes ~5 seconds to _dma_fmt_to_dma_drm_fmts: assertion 'fmt
  != GST_VIDEO_FORMAT_UNKNOWN' failed

Status in gst-plugins-good1.0 package in Ubuntu:
  Incomplete
Status in linux package in Ubuntu:
  New

Bug description:
  since upgrading to noble, sometimes the following bit of code works
  instantaneously, and sometimes it takes ~5 seconds to report:

  ** (gst-plugin-scanner:692358): CRITICAL **: 10:55:31.508:
  _dma_fmt_to_dma_drm_fmts: assertion 'fmt != GST_VIDEO_FORMAT_UNKNOWN'
  failed

  
  code:
  >>> import cv2
  >>> vc = cv2.VideoCapture('/dev/video2')


  when it takes a long time and reports the assertion error, I see the
  following in journalctl logs (so maybe an amd/kernel bug instead of an
  opencv bug? -- also fwiw am on a hybrid amd/intel system where
  DRI_PRIME=1 generally activates the amd card but this should be
  running w/out DRI_PRIME set):

  Jul 01 10:55:29 taplop kernel: [drm] scheduler comp_1.2.1 is not ready, skipping
  Jul 01 10:55:29 taplop kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
  Jul 01 10:55:30 taplop kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.1.0 test failed (-110)
  Jul 01 10:55:30 taplop kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.2.0 test failed (-110)
  Jul 01 10:55:30 taplop kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.3.0 test failed (-110)
  Jul 01 10:55:30 taplop kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.0.1 test failed (-110)
  Jul 01 10:55:30 taplop kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.1.1 test failed (-110)
  Jul 01 10:55:31 taplop kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring comp_1.2.1 test failed (-110)
  Jul 01 10:55:31 taplop kernel: [drm] UVD and UVD ENC initialized successfully.
  Jul 01 10:55:31 taplop kernel: [drm] VCE initialized successfully.
  Jul 01 10:55:31 taplop kernel: [drm] scheduler comp_1.1.0 is not ready, skipping
  Jul 01 10:55:31 taplop kernel: [drm] scheduler comp_1.2.0 is not ready, skipping
  Jul 01 10:55:31 taplop kernel: [drm] scheduler comp_1.3.0 is not ready, skipping
  Jul 01 10:55:31 taplop kernel: [drm] scheduler comp_1.0.1 is not ready, skipping
  <<< not ready skipping lines repeat a whole bunch of times >>>

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: python3-opencv 4.6.0+dfsg-13.1ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
  Uname: Linux 6.8.0-35-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: GNOME
  Date: Mon Jul  1 10:59:12 2024
  InstallationDate: Installed on 2019-08-17 (1781 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: opencv
  UpgradeStatus: Upgraded to noble on 2024-03-23 (100 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gst-plugins-good1.0/+bug/2071644/+subscriptions