debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #03920
[Bug 2071644] Re: sometimes takes ~5 seconds to _dma_fmt_to_dma_drm_fmts: assertion 'fmt != GST_VIDEO_FORMAT_UNKNOWN' failed
here's gstdebug log from:
```
GST_DEBUG_NO_COLOR=1 GST_DEBUG_FILE=/tmp/gstdebug.log GST_DEBUG='*:3'
gst-launch-1.0 pipewiresrc path=66 ! videoconvert ! ximagesink
(gst-plugin-scanner:190844): GStreamer-CRITICAL **: 10:14:41.016:
gst_value_collect_int_range: assertion 'collect_values[0].v_int <
collect_values[1].v_int' failed
(gst-plugin-scanner:190844): GStreamer-CRITICAL **: 10:14:41.016: range
start is not smaller than end for `GstIntRange'
(gst-plugin-scanner:190844): GStreamer-CRITICAL **: 10:14:41.016:
gst_value_collect_int_range: assertion 'collect_values[0].v_int <
collect_values[1].v_int' failed
(gst-plugin-scanner:190844): GStreamer-CRITICAL **: 10:14:41.016: range
start is not smaller than end for `GstIntRange'
(gst-plugin-scanner:190844): GStreamer-CRITICAL **: 10:14:41.020:
gst_value_collect_int_range: assertion 'collect_values[0].v_int <
collect_values[1].v_int' failed
(gst-plugin-scanner:190844): GStreamer-CRITICAL **: 10:14:41.020: range start is not smaller than end for `GstIntRange'
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: pipewireclock0
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Output window was closed
Additional debug info:
../sys/ximage/ximagesink.c(855): gst_x_image_sink_handle_xevents (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0
Execution ended after 0:00:02.409816582
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstPipeWireSrc:pipewiresrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3187): gst_base_src_loop (): /GstPipeline:pipeline0/GstPipeWireSrc:pipewiresrc0:
streaming stopped, reason error (-5)
Freeing pipeline ...
```
but it doesn't seem to have anything useful in it?
it seems that i DO get the same delayed behavior for the primary /dev/video0 camera as I do for the IR camera (via both pipewire source and v42l source).
also noticed that `mplayer tv:// -tv driver=v4l2:device=/dev/video2`
does NOT have the delay behavior.
** Attachment added: "gstdebug.log"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2071644/+attachment/5889181/+files/gstdebug.log
--
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:
New
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)
---
ProblemType: Bug
ApportVersion: 2.32.0-0ubuntu5.2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
DistroRelease: Ubuntu 25.04
InstallationDate: Installed on 2019-08-17 (2153 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
Package: linux (not installed)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/fish
TERM=xterm-ghostty
XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
Tags: plucky wayland-session
Uname: Linux 6.15.0-061500-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: Upgraded to plucky on 2025-03-25 (106 days ago)
UserGroups: adm audio cdrom dip docker lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.32.0-0ubuntu5.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: jbarnett 10534 F.... wireplumber
/dev/snd/seq: jbarnett 10529 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
DistroRelease: Ubuntu 25.04
InstallationDate: Installed on 2019-08-17 (2153 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:58f4 Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 003: ID 0489:e0a2 Foxconn / Hon Hai
Bus 001 Device 004: ID 27c6:5395 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
MachineType: Dell Inc. XPS 15 9575
Package: linux (not installed)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/fish
TERM=xterm-ghostty
XDG_RUNTIME_DIR=<set>
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.14.0-23-generic root=UUID=83cade14-7628-437d-8517-36ad82f00d20 ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7
ProcVersionSignature: Ubuntu 6.14.0-23.23-generic 6.14.5
RelatedPackageVersions:
linux-restricted-modules-6.14.0-23-generic N/A
linux-backports-modules-6.14.0-23-generic N/A
linux-firmware 20250317.git1d4c88ee-0ubuntu1.3
Tags: plucky wayland-session
Uname: Linux 6.14.0-23-generic x86_64
UpgradeStatus: Upgraded to plucky on 2025-03-25 (106 days ago)
UserGroups: adm audio cdrom dip docker lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 07/11/2023
dmi.bios.release: 1.28
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.28.0
dmi.board.name: 0N338G
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 31
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.28.0:bd07/11/2023:br1.28:svnDellInc.:pnXPS159575:pvr:rvnDellInc.:rn0N338G:rvrA00:cvnDellInc.:ct31:cvr:sku080D:
dmi.product.family: XPS
dmi.product.name: XPS 15 9575
dmi.product.sku: 080D
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gst-plugins-good1.0/+bug/2071644/+subscriptions