[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
The issue persists into 22.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
Continue discuss on upstream issue https://github.com/umlaeute/v4l2loopback/issues/404. Stay tuned. ** Bug watch added: github.com/umlaeute/v4l2loopback/issues #404 https://github.com/umlaeute/v4l2loopback/issues/404 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
Per inspection result from above comment, the behavior is actually a bug in the upstream v4l2loopback source, function v4l2_loopback_write: /* there's at least one writer, so don'stop announcing output capabilities */ dev->ready_for_output = 0; Which set `dev->ready_for_output` to zero without correcting its `dev->type`. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
The first open has: ``` [17047.368576] v4l2-loopback[1992]: opened dev:c093a43d with image: [17047.368577] /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.c:1993[v4l2_loopback_open] [17047.368582] video10: VIDIOC_QUERYCAP: driver=v4l2 loopback, card=OBS Video Source, bus=platform:v4l2loopback-000, version=0x00050f07, capabilities=0x 8522, device_caps=0x0522 ``` The second open has: ``` [17091.427287] /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.c:1964[v4l2_loopback_open] [17091.427292] v4l2-loopback[1992]: opened dev:c093a43d with image: [17091.427293] /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.c:1993[v4l2_loopback_open] [17091.427297] video10: VIDIOC_QUERYCAP: driver=v4l2 loopback, card=OBS Video Source, bus=platform:v4l2loopback-000, version=0x00050f07, capabilities=0x8520, device_caps=0x0520 [17091.427304] video10: VIDIOC_G_FMT: error -22: type=vid-out, width=4294966992, height=4294967295, pixelformat= little-endian (0x), field=any, bytesperline=1401200640, sizeimage=4288352138, colorspace=-744513136, flags=0xfed0, ycbcr_enc=0, quantization=0, xfer_func=0 ``` As indicated in the capabilities field returned from the VIDIOC_QUERYCAP call, 0x8520 means no V4L2_CAP_VIDEO_CAPTURE(0x01) neither V4L2_CAP_VIDEO_OUTPUT(0x02) is set. And since it reports neither, kernel `check_fmt` in "drivers/media/v4l2-core/v4l2-ioctl.c" will evaluate variable is_vid to false, and therefore returns -EINVAL. This is a direct result from https://github.com/umlaeute/v4l2loopback/commit/9a77eb6 merged in https://github.com/umlaeute/v4l2loopback/pull/415. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
This bug affects me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
To those who just wrote "This bug affects me": Please log in and follow this link: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+affectsmetoo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
This bug affects me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
This bug affects me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
This bug affects me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
This bug is still present in v4l2loopback-dkms_0.12.5-1ubuntu3 on impish. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1946660] Re: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: v4l2loopback (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1946660 Title: Ubuntu port of v4l2loopback doesn't behave the same as official port (v0.12.5) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1946660/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs